From b71a0fd527798cd2a83669577f5636df46d146b4 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 14 Feb 2022 13:10:55 +0500 Subject: [PATCH 001/183] add V2X info service with default codegen go server stubs --- .vscode/settings.json | 24 +- go-apps/meep-vis/.swagger-codegen-ignore | 23 + go-apps/meep-vis/.swagger-codegen/VERSION | 1 + go-apps/meep-vis/api/swagger.yaml | 2038 +++++++++++++++++ go-apps/meep-vis/go/README.md | 25 + go-apps/meep-vis/go/api_qo_s.go | 24 + go-apps/meep-vis/go/api_unsupported.go | 59 + go-apps/meep-vis/go/logger.go | 32 + .../go/model_app_termination_notification.go | 22 + ...del_app_termination_notification__links.go | 18 + go-apps/meep-vis/go/model_body.go | 13 + go-apps/meep-vis/go/model_body_1.go | 13 + go-apps/meep-vis/go/model_cell_id.go | 15 + go-apps/meep-vis/go/model_earfcn.go | 15 + go-apps/meep-vis/go/model_ecgi.go | 17 + go-apps/meep-vis/go/model_fdd_info.go | 21 + go-apps/meep-vis/go/model_link_type.go | 15 + go-apps/meep-vis/go/model_location_info.go | 17 + .../go/model_location_info_geo_area.go | 18 + go-apps/meep-vis/go/model_one_ofbody.go | 17 + go-apps/meep-vis/go/model_one_ofbody_1.go | 17 + .../go/model_operation_action_type.go | 18 + .../go/model_pc5_neighbour_cell_info.go | 19 + .../go/model_pc5_provisioning_info_inner.go | 17 + go-apps/meep-vis/go/model_plmn.go | 17 + go-apps/meep-vis/go/model_predicted_qos.go | 19 + .../meep-vis/go/model_predicted_qos_routes.go | 15 + go-apps/meep-vis/go/model_problem_details.go | 23 + .../go/model_prov_chg_pc5_notification.go | 23 + .../go/model_prov_chg_pc5_subscription.go | 27 + .../model_prov_chg_pc5_subscription__links.go | 16 + ...ov_chg_pc5_subscription_filter_criteria.go | 20 + .../go/model_prov_chg_uu_mbms_notification.go | 23 + .../go/model_prov_chg_uu_mbms_subscription.go | 27 + ...hg_uu_mbms_subscription_filter_criteria.go | 20 + .../go/model_prov_chg_uu_uni_notification.go | 23 + .../go/model_prov_chg_uu_uni_subscription.go | 27 + ...chg_uu_uni_subscription_filter_criteria.go | 20 + .../go/model_subscription_link_list.go | 15 + .../go/model_subscription_link_list__links.go | 17 + .../model_system_information_block_type21.go | 13 + go-apps/meep-vis/go/model_tdd_info.go | 19 + .../meep-vis/go/model_test_notification.go | 17 + .../go/model_test_notification__links.go | 16 + go-apps/meep-vis/go/model_time_stamp.go | 17 + .../go/model_transmission_bandwidth.go | 15 + .../go/model_uu_mbms_neighbour_cell_info.go | 25 + .../model_uu_mbms_provisioning_info_inner.go | 17 + .../go/model_uu_uni_neighbour_cell_info.go | 23 + ...odel_uu_unicast_provisioning_info_inner.go | 17 + .../go/model_v2x_application_server.go | 17 + .../meep-vis/go/model_v2x_msg_notification.go | 27 + .../go/model_v2x_msg_notification__links.go | 16 + .../meep-vis/go/model_v2x_msg_publication.go | 21 + .../meep-vis/go/model_v2x_msg_subscription.go | 27 + ...el_v2x_msg_subscription_filter_criteria.go | 18 + go-apps/meep-vis/go/model_v2x_server_usd.go | 19 + .../go/model_v2x_server_usd_sdp_info.go | 18 + .../meep-vis/go/model_v2x_server_usd_tmgi.go | 20 + .../meep-vis/go/model_websock_notif_config.go | 17 + go-apps/meep-vis/go/routers.go | 134 ++ go-apps/meep-vis/main.go | 32 + 62 files changed, 3373 insertions(+), 2 deletions(-) create mode 100644 go-apps/meep-vis/.swagger-codegen-ignore create mode 100644 go-apps/meep-vis/.swagger-codegen/VERSION create mode 100644 go-apps/meep-vis/api/swagger.yaml create mode 100644 go-apps/meep-vis/go/README.md create mode 100644 go-apps/meep-vis/go/api_qo_s.go create mode 100644 go-apps/meep-vis/go/api_unsupported.go create mode 100644 go-apps/meep-vis/go/logger.go create mode 100644 go-apps/meep-vis/go/model_app_termination_notification.go create mode 100644 go-apps/meep-vis/go/model_app_termination_notification__links.go create mode 100644 go-apps/meep-vis/go/model_body.go create mode 100644 go-apps/meep-vis/go/model_body_1.go create mode 100644 go-apps/meep-vis/go/model_cell_id.go create mode 100644 go-apps/meep-vis/go/model_earfcn.go create mode 100644 go-apps/meep-vis/go/model_ecgi.go create mode 100644 go-apps/meep-vis/go/model_fdd_info.go create mode 100644 go-apps/meep-vis/go/model_link_type.go create mode 100644 go-apps/meep-vis/go/model_location_info.go create mode 100644 go-apps/meep-vis/go/model_location_info_geo_area.go create mode 100644 go-apps/meep-vis/go/model_one_ofbody.go create mode 100644 go-apps/meep-vis/go/model_one_ofbody_1.go create mode 100644 go-apps/meep-vis/go/model_operation_action_type.go create mode 100644 go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go create mode 100644 go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go create mode 100644 go-apps/meep-vis/go/model_plmn.go create mode 100644 go-apps/meep-vis/go/model_predicted_qos.go create mode 100644 go-apps/meep-vis/go/model_predicted_qos_routes.go create mode 100644 go-apps/meep-vis/go/model_problem_details.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_pc5_notification.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go create mode 100644 go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go create mode 100644 go-apps/meep-vis/go/model_subscription_link_list.go create mode 100644 go-apps/meep-vis/go/model_subscription_link_list__links.go create mode 100644 go-apps/meep-vis/go/model_system_information_block_type21.go create mode 100644 go-apps/meep-vis/go/model_tdd_info.go create mode 100644 go-apps/meep-vis/go/model_test_notification.go create mode 100644 go-apps/meep-vis/go/model_test_notification__links.go create mode 100644 go-apps/meep-vis/go/model_time_stamp.go create mode 100644 go-apps/meep-vis/go/model_transmission_bandwidth.go create mode 100644 go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go create mode 100644 go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go create mode 100644 go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go create mode 100644 go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go create mode 100644 go-apps/meep-vis/go/model_v2x_application_server.go create mode 100644 go-apps/meep-vis/go/model_v2x_msg_notification.go create mode 100644 go-apps/meep-vis/go/model_v2x_msg_notification__links.go create mode 100644 go-apps/meep-vis/go/model_v2x_msg_publication.go create mode 100644 go-apps/meep-vis/go/model_v2x_msg_subscription.go create mode 100644 go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go create mode 100644 go-apps/meep-vis/go/model_v2x_server_usd.go create mode 100644 go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go create mode 100644 go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go create mode 100644 go-apps/meep-vis/go/model_websock_notif_config.go create mode 100644 go-apps/meep-vis/go/routers.go create mode 100644 go-apps/meep-vis/main.go diff --git a/.vscode/settings.json b/.vscode/settings.json index 8c45cda10..bd871a65f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,23 @@ { - "go.formatTool": "goimports" -} \ No newline at end of file + "files.eol": "\n", + "go.formatTool": "goimports", + "go.lintTool": "golangci-lint", + "go.lintFlags": [ + "--fast" + ], + "go.useLanguageServer": false, + "go.testOnSave": true, + "[go]": { + "editor.snippetSuggestions": "none", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + }, + "[javascript]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true, + }, + }, + "eslint.format.enable": true +} diff --git a/go-apps/meep-vis/.swagger-codegen-ignore b/go-apps/meep-vis/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/go-apps/meep-vis/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/go-apps/meep-vis/.swagger-codegen/VERSION b/go-apps/meep-vis/.swagger-codegen/VERSION new file mode 100644 index 000000000..812aaafe6 --- /dev/null +++ b/go-apps/meep-vis/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.22 \ No newline at end of file diff --git a/go-apps/meep-vis/api/swagger.yaml b/go-apps/meep-vis/api/swagger.yaml new file mode 100644 index 000000000..edea39376 --- /dev/null +++ b/go-apps/meep-vis/api/swagger.yaml @@ -0,0 +1,2038 @@ +openapi: 3.0.0 +info: + title: AdvantEDGE V2X Information Service REST API + description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about radio conditions in the network

**Note**
AdvantEDGE supports + a selected subset of RNI API endpoints (see below) and a subset of subscription + types. + contact: + name: InterDigital AdvantEDGE Support + email: AdvantEDGE@InterDigital.com + license: + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + version: 2.2.1 +externalDocs: + description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf +servers: +- url: https://localhost/sandboxname/vis/v2 +tags: +- name: QoS +- name: unsupported +paths: + /queries/uu_unicast_provisioning_info: + get: + tags: + - unsupported + summary: Used to query provisioning information for V2X communication over Uu + unicast. + description: Used to query provisioning information for V2X communication over + Uu unicast. + operationId: prov_info_uu_unicastGET + parameters: + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuUnicastProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /queries/uu_mbms_provisioning_info: + get: + tags: + - unsupported + summary: retrieve information required for V2X communication over Uu MBMS. + description: retrieve information required for V2X communication over Uu MBMS. + operationId: prov_info_uu_mbmsGET + parameters: + - name: location_info + in: query + description: omma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuMbmsProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /queries/pc5_provisioning_info: + get: + tags: + - unsupported + summary: Query provisioning information for V2X communication over PC5. + description: Query provisioning information for V2X communication over PC5. + operationId: prov_infoGET + parameters: + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing the PC5 provisioning information + is returned. + content: + application/json: + schema: + $ref: '#/components/schemas/Pc5ProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /provide_predicted_qos: + post: + tags: + - QoS + summary: Request the predicted QoS correspondent to potential routes of a vehicular + UE. + description: Request the predicted QoS correspondent to potential routes of + a vehicular UE. + operationId: predicted_qosPOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + required: true + responses: + "200": + description: The response body shall contain the predicted QoS corresponding + to potential routes of a vehicular UE + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /publish_v2x_message: + post: + tags: + - unsupported + summary: Used to publish a V2X message. + description: Used to publish a V2X message. + operationId: v2x_messagePOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/V2xMsgPublication' + required: true + responses: + "204": + description: No Content + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /subscriptions: + get: + tags: + - unsupported + summary: Request information about the subscriptions for this requestor. + description: Request information about the subscriptions for this requestor. + operationId: subGET + parameters: + - name: subscription_type + in: query + description: 'Query parameter to filter on a specific subscription type. Permitted + values: prov_chg_uu_uni: provisioning information change for V2X communication + over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X + communication over Uu MBMS prov_chg_uu_pc5: provisioning information change + for V2X communication over PC5. v2x_msg: V2X interoperability message' + required: false + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing the list of links to requestor subscriptions + is returned. + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + post: + tags: + - unsupported + summary: ' create a new subscription to VIS notifications.' + description: ' create a new subscription to VIS notifications.' + operationId: subPOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/body' + required: true + responses: + "201": + description: In the returned NotificationSubscription structure, the created + subscription is described using the appropriate data type. + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: 'Unsupported Media Type : used to indicate that the server + or the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + callbacks: + notification: + '{$request.body#/callbackReference}': + post: + summary: Callback POST used to send a notification + description: A notification from VIS. + operationId: notificationPOST + requestBody: + description: Subscription notification + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' + required: true + responses: + "204": + description: No Content + /subscriptions/{subscriptionId}: + get: + tags: + - unsupported + summary: Retrieve information about this subscription. + description: Retrieve information about this subscription. + operationId: individualSubscriptionGET + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + responses: + "200": + description: A response body containing the data type describing the specific + RNI event subscription is returned + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + put: + tags: + - unsupported + summary: Used to update the existing subscription. + description: Used to update the existing subscription. + operationId: individualSubscriptionPUT + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/body_1' + required: true + responses: + "200": + description: A response body containing data type describing the updated + subscription is returned + content: + application/json: + schema: + $ref: '#/components/schemas/body_1' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + delete: + tags: + - unsupported + summary: Used to cancel the existing subscription. + description: Used to cancel the existing subscription. + operationId: individualSubscriptionDELETE + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + responses: + "204": + description: No Content + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /notifications/mec011/appTermination: + post: + tags: + - QoS + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications +components: + schemas: + CellId: + required: + - cellId + type: object + properties: + cellId: + type: string + description: E-UTRAN Cell Identity as a bit string (size (28)). + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.6.2 + Earfcn: + required: + - earfcn + type: object + properties: + earfcn: + type: integer + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... + 65535) + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + x-etsi-ref: 6.6.3 + Ecgi: + required: + - cellId + - plmn + type: object + properties: + cellId: + $ref: '#/components/schemas/CellId' + plmn: + $ref: '#/components/schemas/Plmn' + x-etsi-ref: 6.5.5 + FddInfo: + required: + - dlEarfcn + - dlTransmissionBandwidth + - ulEarfcn + - ulTransmissionBandwidth + type: object + properties: + dlEarfcn: + $ref: '#/components/schemas/Earfcn' + dlTransmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + ulEarfcn: + $ref: '#/components/schemas/Earfcn' + ulTransmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + x-etsi-ref: 6.5.6 + LinkType: + required: + - href + type: object + properties: + href: + type: string + description: URI referring to a resource + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uri + example: + href: http://example.com/aeiou + x-etsi-ref: 6.5.13 + LocationInfo: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + geoArea: + $ref: '#/components/schemas/LocationInfo_geoArea' + x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." + x-etsi-ref: 6.5.3 + Pc5NeighbourCellInfo: + required: + - ecgi + - plmn + - siV2xConfig + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + plmn: + $ref: '#/components/schemas/Plmn' + siV2xConfig: + $ref: '#/components/schemas/SystemInformationBlockType21' + x-etsi-ref: 6.5.12 + Pc5ProvisioningInfo: + required: + - proInfoPc5 + type: array + items: + $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' + x-etsi-ref: 6.2.4 + x-schema-name: Pc5ProvisioningInfo + Plmn: + required: + - mcc + - mnc + type: object + properties: + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.5.4 + PredictedQos: + required: + - locationGranularity + - routes + type: object + properties: + locationGranularity: + type: string + description: Granularity of visited location. Measured in meters. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + routes: + minItems: 1 + required: + - routeInfo + type: array + description: Information relating to the potential routes of a vehicular + UE. + items: + $ref: '#/components/schemas/PredictedQos_routes' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeGranularity: + $ref: '#/components/schemas/TimeStamp' + example: + routes: + - routeInfo: + - {} + - {} + - routeInfo: + - {} + - {} + timeGranularity: + seconds: 6 + nanoSeconds: 0 + locationGranularity: locationGranularity + x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ + \ indicates the granularity of a visited location by means of latitudinal\ + \ and longitudinal margins." + x-etsi-ref: 6.2.5 + ProblemDetails: + type: object + properties: + detail: + type: string + description: A human-readable explanation specific to this occurrence of + the problem + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + type: string + description: A URI reference that identifies the specific occurrence of + the problem + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + type: integer + description: The HTTP status code for this occurrence of the problem + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + type: string + description: A short, human-readable summary of the problem type + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + type: string + description: A URI reference according to IETF RFC 3986 that identifies + the problem type + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + ProvChgPc5Notification: + required: + - locationInfo + - notificationType + type: object + properties: + dstLayer2Id: + type: string + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgPc5Notification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.4 + ProvChgPc5Subscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgPc5Subscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgPc5Subscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig + shall be provided by the service consumer. If both are provided, it is up + to VIS to choose an alternative and return only that alternative in the response, + as described in ETSI GS MEC 009 [i.1], clause 6.12a.' + x-etsi-ref: 6.3.4 + ProvChgUuMbmsNotification: + required: + - locationInfo + - notificationType + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgUuMbmsNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + x-etsi-ref: 6.4.3 + ProvChgUuMbmsSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuMbmsSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgUuMbmsSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.3 + ProvChgUuUniNotification: + required: + - locationInfo + - notificationType + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgUuUniNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + x-etsi-ref: 6.4.2 + ProvChgUuUniSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuUniSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgUuUniSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.2 + SubscriptionLinkList: + required: + - _links + type: object + properties: + _links: + required: + - self + type: array + description: List of hyperlinks related to the resource. + items: + $ref: '#/components/schemas/SubscriptionLinkList__links' + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + example: + _links: + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + x-etsi-ref: 6.3.6 + SystemInformationBlockType21: + type: object + TddInfo: + required: + - earfcn + - subframeAssignment + - transmissionBandwidth + type: object + properties: + earfcn: + $ref: '#/components/schemas/Earfcn' + subframeAssignment: + type: string + description: Uplink-downlink subframe configuration information. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + transmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + x-etsi-ref: 6.5.7 + TestNotification: + required: + - _links + - notificationType + type: object + properties: + _links: + $ref: '#/components/schemas/TestNotification__links' + notificationType: + type: string + description: Shall be set to "TestNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.4.6 + TimeStamp: + required: + - nanoSeconds + - seconds + type: object + properties: + nanoSeconds: + type: integer + description: The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC. + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + seconds: + type: integer + description: The seconds part of the time. Time is defined as Unixtime since + January 1, 1970, 00:00:00 UTC. + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + example: + seconds: 6 + nanoSeconds: 0 + x-etsi-ref: 6.5.2 + TransmissionBandwidth: + required: + - transmissionBandwidth + type: object + properties: + transmissionBandwidth: + type: string + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + + 1 = bw6 (6 resource blocks) + + 2 = bw15 (15 resource blocks) + + 3 = bw25 (25 resource blocks) + + 4 = bw50 (50 resource blocks) + + 5 = bw75 (75 resource blocks) + + 6 = bw100 (100 resource blocks)' + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + x-etsi-ref: 6.6.4 + UuMbmsNeighbourCellInfo: + required: + - ecgi + - fddInfo + - mbmsServiceAreaIdentity + - pci + - plmn + - tddInfo + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + fddInfo: + $ref: '#/components/schemas/FddInfo' + mbmsServiceAreaIdentity: + minItems: 1 + type: array + description: Supported MBMS Service Area Identities in the cell. + items: + type: string + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + pci: + type: integer + description: Physical Cell Identifier. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + plmn: + $ref: '#/components/schemas/Plmn' + tddInfo: + $ref: '#/components/schemas/TddInfo' + x-etsi-ref: 6.5.11 + UuMbmsProvisioningInfo: + required: + - proInfoUuMbms + type: array + items: + $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' + x-etsi-ref: 6.2.3 + x-schema-name: UuMbmsProvisioningInfo + UuUniNeighbourCellInfo: + required: + - ecgi + - fddInfo + - pci + - plmn + - tddInfo + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + fddInfo: + $ref: '#/components/schemas/FddInfo' + pci: + type: integer + description: Physical Cell Identifier. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + plmn: + $ref: '#/components/schemas/Plmn' + tddInfo: + $ref: '#/components/schemas/TddInfo' + x-etsi-ref: 6.5.9 + UuUnicastProvisioningInfo: + required: + - proInfoUuUnicast + type: array + items: + $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' + x-etsi-ref: 6.2.2 + x-schema-name: UuUnicastProvisioningInfo + V2xApplicationServer: + required: + - ipAddress + - udpPort + type: object + properties: + ipAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + udpPort: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.5.8 + V2xMsgNotification: + required: + - _links + - msgContent + - msgEncodeFormat + - msgType + - notificationType + - stdOrganization + - timeStamp + type: object + properties: + _links: + $ref: '#/components/schemas/V2xMsgNotification__links' + msgContent: + type: string + description: Published V2X message content. The format of the string is + defined by the standardization organization indicated by the attribute + stdOrganization. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgEncodeFormat: + type: string + description: The encode format of the V2X message, for example base64. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgType: + type: string + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + notificationType: + type: string + description: Shall be set to "V2xMsgNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + stdOrganization: + type: string + description: "Standardization organization which defines the published V2X\ + \ message type: \nETSI: European Telecommunications Standards Institute.\n\ + See note 1." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ + \ in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.4.5 + V2xMsgPublication: + required: + - msgContent + - msgEncodeFormat + - msgType + - stdOrganization + type: object + properties: + msgContent: + type: string + description: Published V2X message content. Its format is defined by the + standardization organization indicated by the attribute stdOrganization. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgEncodeFormat: + type: string + description: The encode format of the V2X message, for example base64. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgType: + type: string + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the published V2X\ + \ message type:\nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 1." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ + \ in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.2.6 + V2xMsgSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note 1. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/V2xMsgSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "V2xMsgSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\t\ + Other standardization organizations could be added as needed.\nNOTE 3:\tThe\ + \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ + \ [6], clause A.114." + x-etsi-ref: 6.3.5 + V2xServerUsd: + required: + - sdpInfo + - serviceAreaIdentifier + - tmgi + type: object + properties: + sdpInfo: + $ref: '#/components/schemas/V2xServerUsd_sdpInfo' + serviceAreaIdentifier: + minItems: 1 + type: array + description: A list of service area identifier for the applicable MBMS broadcast + area. + items: + type: string + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + tmgi: + $ref: '#/components/schemas/V2xServerUsd_tmgi' + x-etsi-ref: 6.5.10 + WebsockNotifConfig: + type: object + properties: + requestWebsocketUri: + type: boolean + description: Set to TRUE by the service consumer to indicate that Websocket + delivery is requested. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + websocketUri: + type: string + description: Set by VIS to indicate to the service consumer the Websocket + URI to be used for delivering notifications. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + x-etsi-ref: 6.5.14 + AppTerminationNotification: + required: + - _links + - maxGracefulTimeout + - notificationType + - operationAction + type: object + properties: + notificationType: + type: string + description: Shall be set to AppTerminationNotification. + operationAction: + $ref: '#/components/schemas/OperationActionType' + maxGracefulTimeout: + type: integer + description: Maximum timeout value in seconds for graceful termination or + graceful stop of an application instance. + format: uint32 + _links: + $ref: '#/components/schemas/AppTerminationNotification__links' + description: This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. + OperationActionType: + type: string + description: Operation that is being performed on the MEC application instance. + enum: + - STOPPING + - TERMINATING + body: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + body_1: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + LocationInfo_geoArea: + required: + - latitude + - longitude + type: object + properties: + latitude: + type: number + description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + longitude: + type: number + description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + description: Information of a geographical area. + Pc5ProvisioningInfo_inner: + type: object + properties: + proInfoPc5: + minItems: 1 + required: + - dstLayer2Id + - locationInfo + type: array + properties: + dstLayer2Id: + type: string + description: |- + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoPc5: + - {} + - {} + PredictedQos_routes: + type: object + properties: + routeInfo: + minItems: 2 + required: + - location + type: array + properties: + location: + $ref: '#/components/schemas/LocationInfo' + rsrp: + type: integer + description: |- + Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: |- + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + time: + $ref: '#/components/schemas/TimeStamp' + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + type: object + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + example: + routeInfo: + - {} + - {} + ProvChgPc5Subscription__links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + ProvChgPc5Subscription_filterCriteria: + required: + - dstLayer2Id + - locationInfo + type: object + properties: + dstLayer2Id: + type: string + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + ProvChgUuMbmsSubscription_filterCriteria: + required: + - locationInfo + - v2xServerUsd + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + ProvChgUuUniSubscription_filterCriteria: + required: + - locationInfo + - v2xApplicationServer + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + SubscriptionLinkList__links: + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + subscriptions: + minItems: 0 + required: + - href + - subscriptionType + type: array + properties: + href: + type: string + description: The URI referring to the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + subscriptionType: + type: string + description: Type of the subscription. The values are as defined in + the "subscriptionType" attribute for each different V2X information + event subscription data type. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: The service consumer's subscriptions. + items: + type: object + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + example: + subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + TestNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: 'Hyperlink related to the resource. ' + UuMbmsProvisioningInfo_inner: + type: object + properties: + proInfoUuMbms: + minItems: 1 + required: + - locationInfo + - v2xServerUsd + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoUuMbms: + - {} + - {} + UuUnicastProvisioningInfo_inner: + type: object + properties: + proInfoUuUnicast: + minItems: 1 + required: + - locationInfo + - v2xApplicationServer + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoUuUnicast: + - {} + - {} + V2xMsgNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Links to resources related to this notification. + V2xMsgSubscription_filterCriteria: + required: + - stdOrganization + type: object + properties: + msgType: + minItems: 0 + type: array + description: Subscribed V2X message type. Its value is defined by the standardization + organization indicated by the attribute stdOrganization. See note 3. + items: + type: string + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the subscribed\ + \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 2." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + V2xServerUsd_sdpInfo: + required: + - ipMulticastAddress + - portNumber + type: object + properties: + ipMulticastAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + portNumber: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: SDP with IP multicast address and port number used for V2X communication + via MBMS. + V2xServerUsd_tmgi: + required: + - mbmsServiceId + - mcc + - mnc + type: object + properties: + mbmsServiceId: + type: string + description: MBMS Service ID consisting of three octets. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS + to uniquely identify Multicast and Broadcast bearer services. + AppTerminationNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + description: Object containing hyperlinks related to the resource. + responses: + "204": + description: No Content + "206": + description: Partial content + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot be + mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "409": + description: 'Conflict : The operation cannot be executed currently, due to + a conflict with the state of the resource' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: 'Unsupported Media Type : used to indicate that the server or + the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained instructions. + This error condition can occur if an JSON request body is syntactically correct + but semantically incorrect, for example if the target area for the request + is considered too large. This error condition can also occur if the capabilities + required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' diff --git a/go-apps/meep-vis/go/README.md b/go-apps/meep-vis/go/README.md new file mode 100644 index 000000000..5ccdc01b5 --- /dev/null +++ b/go-apps/meep-vis/go/README.md @@ -0,0 +1,25 @@ +# Go API Server for swagger + +V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + +## Overview +This server was generated by the [swagger-codegen] +(https://github.com/swagger-api/swagger-codegen) project. +By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub. +- + +To see how to make this your own, look here: + +[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) + +- API version: 2.2.1 +- Build date: 2022-02-14T12:42:53.611161+05:00[Asia/Karachi] + + +### Running the server +To run the server, follow these simple steps: + +``` +go run main.go +``` + diff --git a/go-apps/meep-vis/go/api_qo_s.go b/go-apps/meep-vis/go/api_qo_s.go new file mode 100644 index 000000000..acbfc04c8 --- /dev/null +++ b/go-apps/meep-vis/go/api_qo_s.go @@ -0,0 +1,24 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "net/http" +) + +func Mec011AppTerminationPOST(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func PredictedQosPOST(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} diff --git a/go-apps/meep-vis/go/api_unsupported.go b/go-apps/meep-vis/go/api_unsupported.go new file mode 100644 index 000000000..72c1b87d8 --- /dev/null +++ b/go-apps/meep-vis/go/api_unsupported.go @@ -0,0 +1,59 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "net/http" +) + +func IndividualSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func IndividualSubscriptionGET(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func IndividualSubscriptionPUT(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func ProvInfoGET(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func ProvInfoUuMbmsGET(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func ProvInfoUuUnicastGET(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func SubGET(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func SubPOST(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + +func V2xMessagePOST(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} diff --git a/go-apps/meep-vis/go/logger.go b/go-apps/meep-vis/go/logger.go new file mode 100644 index 000000000..87382a99c --- /dev/null +++ b/go-apps/meep-vis/go/logger.go @@ -0,0 +1,32 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "log" + "net/http" + "time" +) + +func Logger(inner http.Handler, name string) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + start := time.Now() + + inner.ServeHTTP(w, r) + + log.Printf( + "%s %s %s %s", + r.Method, + r.RequestURI, + name, + time.Since(start), + ) + }) +} diff --git a/go-apps/meep-vis/go/model_app_termination_notification.go b/go-apps/meep-vis/go/model_app_termination_notification.go new file mode 100644 index 000000000..e77ef2d7b --- /dev/null +++ b/go-apps/meep-vis/go/model_app_termination_notification.go @@ -0,0 +1,22 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. +type AppTerminationNotification struct { + // Shall be set to AppTerminationNotification. + NotificationType string `json:"notificationType"` + + OperationAction *OperationActionType `json:"operationAction"` + // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. + MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` + + Links *AppTerminationNotificationLinks `json:"_links"` +} diff --git a/go-apps/meep-vis/go/model_app_termination_notification__links.go b/go-apps/meep-vis/go/model_app_termination_notification__links.go new file mode 100644 index 000000000..4db27eff5 --- /dev/null +++ b/go-apps/meep-vis/go/model_app_termination_notification__links.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Object containing hyperlinks related to the resource. +type AppTerminationNotificationLinks struct { + + Subscription *LinkType `json:"subscription"` + + ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_body.go b/go-apps/meep-vis/go/model_body.go new file mode 100644 index 000000000..85e712ada --- /dev/null +++ b/go-apps/meep-vis/go/model_body.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Body struct { +} diff --git a/go-apps/meep-vis/go/model_body_1.go b/go-apps/meep-vis/go/model_body_1.go new file mode 100644 index 000000000..b68a70d5c --- /dev/null +++ b/go-apps/meep-vis/go/model_body_1.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Body1 struct { +} diff --git a/go-apps/meep-vis/go/model_cell_id.go b/go-apps/meep-vis/go/model_cell_id.go new file mode 100644 index 000000000..55e879c74 --- /dev/null +++ b/go-apps/meep-vis/go/model_cell_id.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type CellId struct { + // E-UTRAN Cell Identity as a bit string (size (28)). + CellId string `json:"cellId"` +} diff --git a/go-apps/meep-vis/go/model_earfcn.go b/go-apps/meep-vis/go/model_earfcn.go new file mode 100644 index 000000000..d88118da5 --- /dev/null +++ b/go-apps/meep-vis/go/model_earfcn.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Earfcn struct { + // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) + Earfcn int32 `json:"earfcn"` +} diff --git a/go-apps/meep-vis/go/model_ecgi.go b/go-apps/meep-vis/go/model_ecgi.go new file mode 100644 index 000000000..e39f61dcc --- /dev/null +++ b/go-apps/meep-vis/go/model_ecgi.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Ecgi struct { + + CellId *CellId `json:"cellId"` + + Plmn *Plmn `json:"plmn"` +} diff --git a/go-apps/meep-vis/go/model_fdd_info.go b/go-apps/meep-vis/go/model_fdd_info.go new file mode 100644 index 000000000..2241dca24 --- /dev/null +++ b/go-apps/meep-vis/go/model_fdd_info.go @@ -0,0 +1,21 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type FddInfo struct { + + DlEarfcn *Earfcn `json:"dlEarfcn"` + + DlTransmissionBandwidth *TransmissionBandwidth `json:"dlTransmissionBandwidth"` + + UlEarfcn *Earfcn `json:"ulEarfcn"` + + UlTransmissionBandwidth *TransmissionBandwidth `json:"ulTransmissionBandwidth"` +} diff --git a/go-apps/meep-vis/go/model_link_type.go b/go-apps/meep-vis/go/model_link_type.go new file mode 100644 index 000000000..da545c06e --- /dev/null +++ b/go-apps/meep-vis/go/model_link_type.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type LinkType struct { + // URI referring to a resource + Href string `json:"href"` +} diff --git a/go-apps/meep-vis/go/model_location_info.go b/go-apps/meep-vis/go/model_location_info.go new file mode 100644 index 000000000..0672bbaa8 --- /dev/null +++ b/go-apps/meep-vis/go/model_location_info.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type LocationInfo struct { + + Ecgi *Ecgi `json:"ecgi,omitempty"` + + GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_location_info_geo_area.go b/go-apps/meep-vis/go/model_location_info_geo_area.go new file mode 100644 index 000000000..0f060d100 --- /dev/null +++ b/go-apps/meep-vis/go/model_location_info_geo_area.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Information of a geographical area. +type LocationInfoGeoArea struct { + // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd + Latitude float32 `json:"latitude"` + // Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd + Longitude float32 `json:"longitude"` +} diff --git a/go-apps/meep-vis/go/model_one_ofbody.go b/go-apps/meep-vis/go/model_one_ofbody.go new file mode 100644 index 000000000..9d1781233 --- /dev/null +++ b/go-apps/meep-vis/go/model_one_ofbody.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type OneOfbody struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-apps/meep-vis/go/model_one_ofbody_1.go b/go-apps/meep-vis/go/model_one_ofbody_1.go new file mode 100644 index 000000000..4357ebe47 --- /dev/null +++ b/go-apps/meep-vis/go/model_one_ofbody_1.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type OneOfbody1 struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-apps/meep-vis/go/model_operation_action_type.go b/go-apps/meep-vis/go/model_operation_action_type.go new file mode 100644 index 000000000..9b994de09 --- /dev/null +++ b/go-apps/meep-vis/go/model_operation_action_type.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger +// OperationActionType : Operation that is being performed on the MEC application instance. +type OperationActionType string + +// List of OperationActionType +const ( + STOPPING OperationActionType = "STOPPING" + TERMINATING OperationActionType = "TERMINATING" +) diff --git a/go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go b/go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go new file mode 100644 index 000000000..e9a6fa8a2 --- /dev/null +++ b/go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Pc5NeighbourCellInfo struct { + + Ecgi *Ecgi `json:"ecgi"` + + Plmn *Plmn `json:"plmn"` + + SiV2xConfig *SystemInformationBlockType21 `json:"siV2xConfig"` +} diff --git a/go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go b/go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go new file mode 100644 index 000000000..b9511a53c --- /dev/null +++ b/go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Pc5ProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoPc5 []interface{} `json:"proInfoPc5,omitempty"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_plmn.go b/go-apps/meep-vis/go/model_plmn.go new file mode 100644 index 000000000..15dbbbc4d --- /dev/null +++ b/go-apps/meep-vis/go/model_plmn.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Plmn struct { + // The Mobile Country Code part of PLMN Identity. + Mcc string `json:"mcc"` + // The Mobile Network Code part of PLMN Identity. + Mnc string `json:"mnc"` +} diff --git a/go-apps/meep-vis/go/model_predicted_qos.go b/go-apps/meep-vis/go/model_predicted_qos.go new file mode 100644 index 000000000..493fc5e04 --- /dev/null +++ b/go-apps/meep-vis/go/model_predicted_qos.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type PredictedQos struct { + // Granularity of visited location. Measured in meters. + LocationGranularity string `json:"locationGranularity"` + // Information relating to the potential routes of a vehicular UE. + Routes []PredictedQosRoutes `json:"routes"` + + TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_predicted_qos_routes.go b/go-apps/meep-vis/go/model_predicted_qos_routes.go new file mode 100644 index 000000000..1617a8adb --- /dev/null +++ b/go-apps/meep-vis/go/model_predicted_qos_routes.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type PredictedQosRoutes struct { + // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + RouteInfo []interface{} `json:"routeInfo,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_problem_details.go b/go-apps/meep-vis/go/model_problem_details.go new file mode 100644 index 000000000..dc61be600 --- /dev/null +++ b/go-apps/meep-vis/go/model_problem_details.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProblemDetails struct { + // A human-readable explanation specific to this occurrence of the problem + Detail string `json:"detail,omitempty"` + // A URI reference that identifies the specific occurrence of the problem + Instance string `json:"instance,omitempty"` + // The HTTP status code for this occurrence of the problem + Status int32 `json:"status,omitempty"` + // A short, human-readable summary of the problem type + Title string `json:"title,omitempty"` + // A URI reference according to IETF RFC 3986 that identifies the problem type + Type_ string `json:"type,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_notification.go b/go-apps/meep-vis/go/model_prov_chg_pc5_notification.go new file mode 100644 index 000000000..d91e037db --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_pc5_notification.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgPc5Notification struct { + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + DstLayer2Id string `json:"dstLayer2Id,omitempty"` + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgPc5Notification\". + NotificationType string `json:"notificationType"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go new file mode 100644 index 000000000..fd61bf497 --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go @@ -0,0 +1,27 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgPc5Subscription struct { + + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + FilterCriteria *ProvChgPc5SubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgPc5Subscription\". + SubscriptionType string `json:"subscriptionType"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go new file mode 100644 index 000000000..e2dfaefed --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. +type ProvChgPc5SubscriptionLinks struct { + + Self *LinkType `json:"self"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go new file mode 100644 index 000000000..03369224a --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgPc5SubscriptionFilterCriteria struct { + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + DstLayer2Id string `json:"dstLayer2Id"` + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go new file mode 100644 index 000000000..c36563ce6 --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuMbmsNotification struct { + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgUuMbmsNotification\". + NotificationType string `json:"notificationType"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go new file mode 100644 index 000000000..1729c26e6 --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go @@ -0,0 +1,27 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuMbmsSubscription struct { + + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + FilterCriteria *ProvChgUuMbmsSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgUuMbmsSubscription\". + SubscriptionType string `json:"subscriptionType"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go new file mode 100644 index 000000000..96d70ef27 --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgUuMbmsSubscriptionFilterCriteria struct { + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go b/go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go new file mode 100644 index 000000000..2ea94e73e --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuUniNotification struct { + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgUuUniNotification\". + NotificationType string `json:"notificationType"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go b/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go new file mode 100644 index 000000000..f8e32a60f --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go @@ -0,0 +1,27 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuUniSubscription struct { + + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + FilterCriteria *ProvChgUuUniSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgUuUniSubscription\". + SubscriptionType string `json:"subscriptionType"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go new file mode 100644 index 000000000..ff4f26a26 --- /dev/null +++ b/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgUuUniSubscriptionFilterCriteria struct { + + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer"` +} diff --git a/go-apps/meep-vis/go/model_subscription_link_list.go b/go-apps/meep-vis/go/model_subscription_link_list.go new file mode 100644 index 000000000..1fc923f7d --- /dev/null +++ b/go-apps/meep-vis/go/model_subscription_link_list.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SubscriptionLinkList struct { + // List of hyperlinks related to the resource. + Links []SubscriptionLinkListLinks `json:"_links"` +} diff --git a/go-apps/meep-vis/go/model_subscription_link_list__links.go b/go-apps/meep-vis/go/model_subscription_link_list__links.go new file mode 100644 index 000000000..2a64695dd --- /dev/null +++ b/go-apps/meep-vis/go/model_subscription_link_list__links.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SubscriptionLinkListLinks struct { + + Self *LinkType `json:"self,omitempty"` + // The service consumer's subscriptions. + Subscriptions []interface{} `json:"subscriptions,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_system_information_block_type21.go b/go-apps/meep-vis/go/model_system_information_block_type21.go new file mode 100644 index 000000000..c46b6122f --- /dev/null +++ b/go-apps/meep-vis/go/model_system_information_block_type21.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SystemInformationBlockType21 struct { +} diff --git a/go-apps/meep-vis/go/model_tdd_info.go b/go-apps/meep-vis/go/model_tdd_info.go new file mode 100644 index 000000000..20c84b4c0 --- /dev/null +++ b/go-apps/meep-vis/go/model_tdd_info.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TddInfo struct { + + Earfcn *Earfcn `json:"earfcn"` + // Uplink-downlink subframe configuration information. + SubframeAssignment string `json:"subframeAssignment"` + + TransmissionBandwidth *TransmissionBandwidth `json:"transmissionBandwidth"` +} diff --git a/go-apps/meep-vis/go/model_test_notification.go b/go-apps/meep-vis/go/model_test_notification.go new file mode 100644 index 000000000..6420510fc --- /dev/null +++ b/go-apps/meep-vis/go/model_test_notification.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TestNotification struct { + + Links *TestNotificationLinks `json:"_links"` + // Shall be set to \"TestNotification\". + NotificationType string `json:"notificationType"` +} diff --git a/go-apps/meep-vis/go/model_test_notification__links.go b/go-apps/meep-vis/go/model_test_notification__links.go new file mode 100644 index 000000000..c6383aa35 --- /dev/null +++ b/go-apps/meep-vis/go/model_test_notification__links.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Hyperlink related to the resource. +type TestNotificationLinks struct { + + Subscription *LinkType `json:"subscription"` +} diff --git a/go-apps/meep-vis/go/model_time_stamp.go b/go-apps/meep-vis/go/model_time_stamp.go new file mode 100644 index 000000000..8fbdce050 --- /dev/null +++ b/go-apps/meep-vis/go/model_time_stamp.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TimeStamp struct { + // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + NanoSeconds int32 `json:"nanoSeconds"` + // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + Seconds int32 `json:"seconds"` +} diff --git a/go-apps/meep-vis/go/model_transmission_bandwidth.go b/go-apps/meep-vis/go/model_transmission_bandwidth.go new file mode 100644 index 000000000..4347a6807 --- /dev/null +++ b/go-apps/meep-vis/go/model_transmission_bandwidth.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TransmissionBandwidth struct { + // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' + TransmissionBandwidth string `json:"transmissionBandwidth"` +} diff --git a/go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go b/go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go new file mode 100644 index 000000000..8c14f1e62 --- /dev/null +++ b/go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go @@ -0,0 +1,25 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuMbmsNeighbourCellInfo struct { + + Ecgi *Ecgi `json:"ecgi"` + + FddInfo *FddInfo `json:"fddInfo"` + // Supported MBMS Service Area Identities in the cell. + MbmsServiceAreaIdentity []string `json:"mbmsServiceAreaIdentity"` + // Physical Cell Identifier. + Pci int32 `json:"pci"` + + Plmn *Plmn `json:"plmn"` + + TddInfo *TddInfo `json:"tddInfo"` +} diff --git a/go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go b/go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go new file mode 100644 index 000000000..2f16e3bc3 --- /dev/null +++ b/go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuMbmsProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoUuMbms []interface{} `json:"proInfoUuMbms,omitempty"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go b/go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go new file mode 100644 index 000000000..ada5ae1d6 --- /dev/null +++ b/go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuUniNeighbourCellInfo struct { + + Ecgi *Ecgi `json:"ecgi"` + + FddInfo *FddInfo `json:"fddInfo"` + // Physical Cell Identifier. + Pci int32 `json:"pci"` + + Plmn *Plmn `json:"plmn"` + + TddInfo *TddInfo `json:"tddInfo"` +} diff --git a/go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go b/go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go new file mode 100644 index 000000000..3aa778acc --- /dev/null +++ b/go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuUnicastProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoUuUnicast []interface{} `json:"proInfoUuUnicast,omitempty"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_v2x_application_server.go b/go-apps/meep-vis/go/model_v2x_application_server.go new file mode 100644 index 000000000..b5703ab3b --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_application_server.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xApplicationServer struct { + + IpAddress string `json:"ipAddress"` + + UdpPort string `json:"udpPort"` +} diff --git a/go-apps/meep-vis/go/model_v2x_msg_notification.go b/go-apps/meep-vis/go/model_v2x_msg_notification.go new file mode 100644 index 000000000..28003b63c --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_msg_notification.go @@ -0,0 +1,27 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgNotification struct { + + Links *V2xMsgNotificationLinks `json:"_links"` + // Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. + MsgContent string `json:"msgContent"` + // The encode format of the V2X message, for example base64. + MsgEncodeFormat string `json:"msgEncodeFormat"` + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + MsgType string `json:"msgType"` + // Shall be set to \"V2xMsgNotification\". + NotificationType string `json:"notificationType"` + // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + StdOrganization string `json:"stdOrganization"` + + TimeStamp *TimeStamp `json:"timeStamp"` +} diff --git a/go-apps/meep-vis/go/model_v2x_msg_notification__links.go b/go-apps/meep-vis/go/model_v2x_msg_notification__links.go new file mode 100644 index 000000000..a0dd4e659 --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_msg_notification__links.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Links to resources related to this notification. +type V2xMsgNotificationLinks struct { + + Subscription *LinkType `json:"subscription"` +} diff --git a/go-apps/meep-vis/go/model_v2x_msg_publication.go b/go-apps/meep-vis/go/model_v2x_msg_publication.go new file mode 100644 index 000000000..b931f2805 --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_msg_publication.go @@ -0,0 +1,21 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgPublication struct { + // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. + MsgContent string `json:"msgContent"` + // The encode format of the V2X message, for example base64. + MsgEncodeFormat string `json:"msgEncodeFormat"` + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + MsgType string `json:"msgType"` + // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + StdOrganization string `json:"stdOrganization"` +} diff --git a/go-apps/meep-vis/go/model_v2x_msg_subscription.go b/go-apps/meep-vis/go/model_v2x_msg_subscription.go new file mode 100644 index 000000000..d7ccba6ef --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_msg_subscription.go @@ -0,0 +1,27 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgSubscription struct { + + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note 1. + CallbackReference string `json:"callbackReference,omitempty"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"V2xMsgSubscription\". + SubscriptionType string `json:"subscriptionType"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go b/go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go new file mode 100644 index 000000000..0acd5c36c --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type V2xMsgSubscriptionFilterCriteria struct { + // Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. + MsgType []string `json:"msgType,omitempty"` + // Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 2. + StdOrganization string `json:"stdOrganization"` +} diff --git a/go-apps/meep-vis/go/model_v2x_server_usd.go b/go-apps/meep-vis/go/model_v2x_server_usd.go new file mode 100644 index 000000000..82b53f7c4 --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_server_usd.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xServerUsd struct { + + SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` + // A list of service area identifier for the applicable MBMS broadcast area. + ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` + + Tmgi *V2xServerUsdTmgi `json:"tmgi"` +} diff --git a/go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go b/go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go new file mode 100644 index 000000000..26c994b39 --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// SDP with IP multicast address and port number used for V2X communication via MBMS. +type V2xServerUsdSdpInfo struct { + + IpMulticastAddress string `json:"ipMulticastAddress"` + + PortNumber string `json:"portNumber"` +} diff --git a/go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go b/go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go new file mode 100644 index 000000000..0a1a15e7a --- /dev/null +++ b/go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. +type V2xServerUsdTmgi struct { + // MBMS Service ID consisting of three octets. + MbmsServiceId string `json:"mbmsServiceId"` + // The Mobile Country Code part of PLMN Identity. + Mcc string `json:"mcc"` + // The Mobile Network Code part of PLMN Identity. + Mnc string `json:"mnc"` +} diff --git a/go-apps/meep-vis/go/model_websock_notif_config.go b/go-apps/meep-vis/go/model_websock_notif_config.go new file mode 100644 index 000000000..2fdcc2506 --- /dev/null +++ b/go-apps/meep-vis/go/model_websock_notif_config.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type WebsockNotifConfig struct { + // Set to TRUE by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` + // Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` +} diff --git a/go-apps/meep-vis/go/routers.go b/go-apps/meep-vis/go/routers.go new file mode 100644 index 000000000..47ed36f89 --- /dev/null +++ b/go-apps/meep-vis/go/routers.go @@ -0,0 +1,134 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "fmt" + "net/http" + "strings" + + "github.com/gorilla/mux" +) + +type Route struct { + Name string + Method string + Pattern string + HandlerFunc http.HandlerFunc +} + +type Routes []Route + +func NewRouter() *mux.Router { + router := mux.NewRouter().StrictSlash(true) + for _, route := range routes { + var handler http.Handler + handler = route.HandlerFunc + handler = Logger(handler, route.Name) + + router. + Methods(route.Method). + Path(route.Pattern). + Name(route.Name). + Handler(handler) + } + + return router +} + +func Index(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf(w, "Hello World!") +} + +var routes = Routes{ + Route{ + "Index", + "GET", + "/sandboxname/vis/v2/", + Index, + }, + + Route{ + "Mec011AppTerminationPOST", + strings.ToUpper("Post"), + "/sandboxname/vis/v2/notifications/mec011/appTermination", + Mec011AppTerminationPOST, + }, + + Route{ + "PredictedQosPOST", + strings.ToUpper("Post"), + "/sandboxname/vis/v2/provide_predicted_qos", + PredictedQosPOST, + }, + + Route{ + "IndividualSubscriptionDELETE", + strings.ToUpper("Delete"), + "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + IndividualSubscriptionDELETE, + }, + + Route{ + "IndividualSubscriptionGET", + strings.ToUpper("Get"), + "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + IndividualSubscriptionGET, + }, + + Route{ + "IndividualSubscriptionPUT", + strings.ToUpper("Put"), + "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + IndividualSubscriptionPUT, + }, + + Route{ + "ProvInfoGET", + strings.ToUpper("Get"), + "/sandboxname/vis/v2/queries/pc5_provisioning_info", + ProvInfoGET, + }, + + Route{ + "ProvInfoUuMbmsGET", + strings.ToUpper("Get"), + "/sandboxname/vis/v2/queries/uu_mbms_provisioning_info", + ProvInfoUuMbmsGET, + }, + + Route{ + "ProvInfoUuUnicastGET", + strings.ToUpper("Get"), + "/sandboxname/vis/v2/queries/uu_unicast_provisioning_info", + ProvInfoUuUnicastGET, + }, + + Route{ + "SubGET", + strings.ToUpper("Get"), + "/sandboxname/vis/v2/subscriptions", + SubGET, + }, + + Route{ + "SubPOST", + strings.ToUpper("Post"), + "/sandboxname/vis/v2/subscriptions", + SubPOST, + }, + + Route{ + "V2xMessagePOST", + strings.ToUpper("Post"), + "/sandboxname/vis/v2/publish_v2x_message", + V2xMessagePOST, + }, +} diff --git a/go-apps/meep-vis/main.go b/go-apps/meep-vis/main.go new file mode 100644 index 000000000..64fa5b470 --- /dev/null +++ b/go-apps/meep-vis/main.go @@ -0,0 +1,32 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package main + +import ( + "log" + "net/http" + + // WARNING! + // Change this to a fully-qualified import path + // once you place this file into your project. + // For example, + // + // sw "github.com/myname/myrepo/go" + // + sw "./go" +) + +func main() { + log.Printf("Server started") + + router := sw.NewRouter() + + log.Fatal(http.ListenAndServe(":8080", router)) +} -- GitLab From f88169371256c357bba5c31b38ebe6d000dd1d5f Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 15 Feb 2022 10:26:38 +0100 Subject: [PATCH 002/183] Add client side for MEC-030 VIS micro-service; Create files for Tests --- go-packages/meep-vis-client/.gitignore | 24 + .../meep-vis-client/.swagger-codegen-ignore | 23 + .../meep-vis-client/.swagger-codegen/VERSION | 1 + go-packages/meep-vis-client/.travis.yml | 8 + go-packages/meep-vis-client/README.md | 97 + go-packages/meep-vis-client/api/swagger.yaml | 2038 +++++++++++++++++ .../meep-vis-client/api_unsupported.go | 1332 +++++++++++ go-packages/meep-vis-client/api_vis.go | 221 ++ go-packages/meep-vis-client/client.go | 477 ++++ go-packages/meep-vis-client/configuration.go | 72 + .../docs/AppTerminationNotification.md | 12 + .../docs/AppTerminationNotificationLinks.md | 10 + go-packages/meep-vis-client/docs/Body.md | 8 + go-packages/meep-vis-client/docs/Body1.md | 8 + go-packages/meep-vis-client/docs/CellId.md | 9 + go-packages/meep-vis-client/docs/Earfcn.md | 9 + go-packages/meep-vis-client/docs/Ecgi.md | 10 + go-packages/meep-vis-client/docs/FddInfo.md | 12 + go-packages/meep-vis-client/docs/LinkType.md | 9 + .../meep-vis-client/docs/LocationInfo.md | 10 + .../docs/LocationInfoGeoArea.md | 10 + go-packages/meep-vis-client/docs/OneOfbody.md | 8 + .../meep-vis-client/docs/OneOfbody1.md | 8 + .../docs/OperationActionType.md | 8 + .../docs/Pc5NeighbourCellInfo.md | 11 + .../docs/Pc5ProvisioningInfoInner.md | 10 + go-packages/meep-vis-client/docs/Plmn.md | 10 + .../meep-vis-client/docs/PredictedQos.md | 11 + .../docs/PredictedQosRoutes.md | 9 + .../meep-vis-client/docs/ProblemDetails.md | 13 + .../docs/ProvChgPc5Notification.md | 13 + .../docs/ProvChgPc5Subscription.md | 15 + .../ProvChgPc5SubscriptionFilterCriteria.md | 11 + .../docs/ProvChgPc5SubscriptionLinks.md | 9 + .../docs/ProvChgUuMbmsNotification.md | 13 + .../docs/ProvChgUuMbmsSubscription.md | 15 + ...ProvChgUuMbmsSubscriptionFilterCriteria.md | 11 + .../docs/ProvChgUuUniNotification.md | 13 + .../docs/ProvChgUuUniSubscription.md | 15 + .../ProvChgUuUniSubscriptionFilterCriteria.md | 11 + go-packages/meep-vis-client/docs/QoSApi.md | 65 + .../docs/SubscriptionLinkList.md | 9 + .../docs/SubscriptionLinkListLinks.md | 10 + .../docs/SystemInformationBlockType21.md | 8 + go-packages/meep-vis-client/docs/TddInfo.md | 11 + .../meep-vis-client/docs/TestNotification.md | 10 + .../docs/TestNotificationLinks.md | 9 + go-packages/meep-vis-client/docs/TimeStamp.md | 10 + .../docs/TransmissionBandwidth.md | 9 + .../meep-vis-client/docs/UnsupportedApi.md | 275 +++ .../docs/UuMbmsNeighbourCellInfo.md | 14 + .../docs/UuMbmsProvisioningInfoInner.md | 10 + .../docs/UuUniNeighbourCellInfo.md | 13 + .../docs/UuUnicastProvisioningInfoInner.md | 10 + .../docs/V2xApplicationServer.md | 10 + .../docs/V2xMsgNotification.md | 15 + .../docs/V2xMsgNotificationLinks.md | 9 + .../meep-vis-client/docs/V2xMsgPublication.md | 12 + .../docs/V2xMsgSubscription.md | 15 + .../docs/V2xMsgSubscriptionFilterCriteria.md | 10 + .../meep-vis-client/docs/V2xServerUsd.md | 11 + .../docs/V2xServerUsdSdpInfo.md | 10 + .../meep-vis-client/docs/V2xServerUsdTmgi.md | 11 + .../docs/WebsockNotifConfig.md | 10 + go-packages/meep-vis-client/git_push.sh | 52 + .../model_app_termination_notification.go | 20 + ...del_app_termination_notification__links.go | 16 + go-packages/meep-vis-client/model_body.go | 13 + go-packages/meep-vis-client/model_body_1.go | 13 + go-packages/meep-vis-client/model_cell_id.go | 15 + go-packages/meep-vis-client/model_earfcn.go | 15 + go-packages/meep-vis-client/model_ecgi.go | 15 + go-packages/meep-vis-client/model_fdd_info.go | 17 + .../meep-vis-client/model_link_type.go | 15 + .../meep-vis-client/model_location_info.go | 15 + .../model_location_info_geo_area.go | 18 + .../meep-vis-client/model_one_ofbody.go | 17 + .../meep-vis-client/model_one_ofbody_1.go | 17 + .../model_operation_action_type.go | 18 + .../model_pc5_neighbour_cell_info.go | 16 + .../model_pc5_provisioning_info_inner.go | 16 + go-packages/meep-vis-client/model_plmn.go | 17 + .../meep-vis-client/model_predicted_qos.go | 18 + .../model_predicted_qos_routes.go | 15 + .../meep-vis-client/model_problem_details.go | 23 + .../model_prov_chg_pc5_notification.go | 21 + .../model_prov_chg_pc5_subscription.go | 23 + .../model_prov_chg_pc5_subscription__links.go | 15 + ...ov_chg_pc5_subscription_filter_criteria.go | 19 + .../model_prov_chg_uu_mbms_notification.go | 20 + .../model_prov_chg_uu_mbms_subscription.go | 23 + ...hg_uu_mbms_subscription_filter_criteria.go | 18 + .../model_prov_chg_uu_uni_notification.go | 20 + .../model_prov_chg_uu_uni_subscription.go | 23 + ...chg_uu_uni_subscription_filter_criteria.go | 18 + .../model_subscription_link_list.go | 15 + .../model_subscription_link_list__links.go | 16 + .../model_system_information_block_type21.go | 13 + go-packages/meep-vis-client/model_tdd_info.go | 17 + .../model_test_notification.go | 16 + .../model_test_notification__links.go | 15 + .../meep-vis-client/model_time_stamp.go | 17 + .../model_transmission_bandwidth.go | 15 + .../model_uu_mbms_neighbour_cell_info.go | 21 + .../model_uu_mbms_provisioning_info_inner.go | 16 + .../model_uu_uni_neighbour_cell_info.go | 19 + ...odel_uu_unicast_provisioning_info_inner.go | 16 + .../model_v2x_application_server.go | 15 + .../model_v2x_msg_notification.go | 25 + .../model_v2x_msg_notification__links.go | 15 + .../model_v2x_msg_publication.go | 21 + .../model_v2x_msg_subscription.go | 23 + ...el_v2x_msg_subscription_filter_criteria.go | 18 + .../meep-vis-client/model_v2x_server_usd.go | 17 + .../model_v2x_server_usd_sdp_info.go | 16 + .../model_v2x_server_usd_tmgi.go | 20 + .../model_websock_notif_config.go | 17 + go-packages/meep-vis-client/response.go | 43 + test/run-ut.sh | 1 + test/system/go.mod | 2 + test/system/vis-system-test.yaml | 0 test/system/vis_test.go | 95 + 122 files changed, 6295 insertions(+) create mode 100644 go-packages/meep-vis-client/.gitignore create mode 100644 go-packages/meep-vis-client/.swagger-codegen-ignore create mode 100644 go-packages/meep-vis-client/.swagger-codegen/VERSION create mode 100644 go-packages/meep-vis-client/.travis.yml create mode 100644 go-packages/meep-vis-client/README.md create mode 100644 go-packages/meep-vis-client/api/swagger.yaml create mode 100644 go-packages/meep-vis-client/api_unsupported.go create mode 100644 go-packages/meep-vis-client/api_vis.go create mode 100644 go-packages/meep-vis-client/client.go create mode 100644 go-packages/meep-vis-client/configuration.go create mode 100644 go-packages/meep-vis-client/docs/AppTerminationNotification.md create mode 100644 go-packages/meep-vis-client/docs/AppTerminationNotificationLinks.md create mode 100644 go-packages/meep-vis-client/docs/Body.md create mode 100644 go-packages/meep-vis-client/docs/Body1.md create mode 100644 go-packages/meep-vis-client/docs/CellId.md create mode 100644 go-packages/meep-vis-client/docs/Earfcn.md create mode 100644 go-packages/meep-vis-client/docs/Ecgi.md create mode 100644 go-packages/meep-vis-client/docs/FddInfo.md create mode 100644 go-packages/meep-vis-client/docs/LinkType.md create mode 100644 go-packages/meep-vis-client/docs/LocationInfo.md create mode 100644 go-packages/meep-vis-client/docs/LocationInfoGeoArea.md create mode 100644 go-packages/meep-vis-client/docs/OneOfbody.md create mode 100644 go-packages/meep-vis-client/docs/OneOfbody1.md create mode 100644 go-packages/meep-vis-client/docs/OperationActionType.md create mode 100644 go-packages/meep-vis-client/docs/Pc5NeighbourCellInfo.md create mode 100644 go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md create mode 100644 go-packages/meep-vis-client/docs/Plmn.md create mode 100644 go-packages/meep-vis-client/docs/PredictedQos.md create mode 100644 go-packages/meep-vis-client/docs/PredictedQosRoutes.md create mode 100644 go-packages/meep-vis-client/docs/ProblemDetails.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgPc5Notification.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionFilterCriteria.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuMbmsNotification.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscriptionFilterCriteria.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuUniNotification.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md create mode 100644 go-packages/meep-vis-client/docs/ProvChgUuUniSubscriptionFilterCriteria.md create mode 100644 go-packages/meep-vis-client/docs/QoSApi.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionLinkList.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md create mode 100644 go-packages/meep-vis-client/docs/SystemInformationBlockType21.md create mode 100644 go-packages/meep-vis-client/docs/TddInfo.md create mode 100644 go-packages/meep-vis-client/docs/TestNotification.md create mode 100644 go-packages/meep-vis-client/docs/TestNotificationLinks.md create mode 100644 go-packages/meep-vis-client/docs/TimeStamp.md create mode 100644 go-packages/meep-vis-client/docs/TransmissionBandwidth.md create mode 100644 go-packages/meep-vis-client/docs/UnsupportedApi.md create mode 100644 go-packages/meep-vis-client/docs/UuMbmsNeighbourCellInfo.md create mode 100644 go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md create mode 100644 go-packages/meep-vis-client/docs/UuUniNeighbourCellInfo.md create mode 100644 go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md create mode 100644 go-packages/meep-vis-client/docs/V2xApplicationServer.md create mode 100644 go-packages/meep-vis-client/docs/V2xMsgNotification.md create mode 100644 go-packages/meep-vis-client/docs/V2xMsgNotificationLinks.md create mode 100644 go-packages/meep-vis-client/docs/V2xMsgPublication.md create mode 100644 go-packages/meep-vis-client/docs/V2xMsgSubscription.md create mode 100644 go-packages/meep-vis-client/docs/V2xMsgSubscriptionFilterCriteria.md create mode 100644 go-packages/meep-vis-client/docs/V2xServerUsd.md create mode 100644 go-packages/meep-vis-client/docs/V2xServerUsdSdpInfo.md create mode 100644 go-packages/meep-vis-client/docs/V2xServerUsdTmgi.md create mode 100644 go-packages/meep-vis-client/docs/WebsockNotifConfig.md create mode 100644 go-packages/meep-vis-client/git_push.sh create mode 100644 go-packages/meep-vis-client/model_app_termination_notification.go create mode 100644 go-packages/meep-vis-client/model_app_termination_notification__links.go create mode 100644 go-packages/meep-vis-client/model_body.go create mode 100644 go-packages/meep-vis-client/model_body_1.go create mode 100644 go-packages/meep-vis-client/model_cell_id.go create mode 100644 go-packages/meep-vis-client/model_earfcn.go create mode 100644 go-packages/meep-vis-client/model_ecgi.go create mode 100644 go-packages/meep-vis-client/model_fdd_info.go create mode 100644 go-packages/meep-vis-client/model_link_type.go create mode 100644 go-packages/meep-vis-client/model_location_info.go create mode 100644 go-packages/meep-vis-client/model_location_info_geo_area.go create mode 100644 go-packages/meep-vis-client/model_one_ofbody.go create mode 100644 go-packages/meep-vis-client/model_one_ofbody_1.go create mode 100644 go-packages/meep-vis-client/model_operation_action_type.go create mode 100644 go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go create mode 100644 go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go create mode 100644 go-packages/meep-vis-client/model_plmn.go create mode 100644 go-packages/meep-vis-client/model_predicted_qos.go create mode 100644 go-packages/meep-vis-client/model_predicted_qos_routes.go create mode 100644 go-packages/meep-vis-client/model_problem_details.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_pc5_notification.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go create mode 100644 go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go create mode 100644 go-packages/meep-vis-client/model_subscription_link_list.go create mode 100644 go-packages/meep-vis-client/model_subscription_link_list__links.go create mode 100644 go-packages/meep-vis-client/model_system_information_block_type21.go create mode 100644 go-packages/meep-vis-client/model_tdd_info.go create mode 100644 go-packages/meep-vis-client/model_test_notification.go create mode 100644 go-packages/meep-vis-client/model_test_notification__links.go create mode 100644 go-packages/meep-vis-client/model_time_stamp.go create mode 100644 go-packages/meep-vis-client/model_transmission_bandwidth.go create mode 100644 go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go create mode 100644 go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go create mode 100644 go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go create mode 100644 go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go create mode 100644 go-packages/meep-vis-client/model_v2x_application_server.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_notification.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_notification__links.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_publication.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_subscription.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go create mode 100644 go-packages/meep-vis-client/model_v2x_server_usd.go create mode 100644 go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go create mode 100644 go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go create mode 100644 go-packages/meep-vis-client/model_websock_notif_config.go create mode 100644 go-packages/meep-vis-client/response.go create mode 100644 test/system/vis-system-test.yaml create mode 100644 test/system/vis_test.go diff --git a/go-packages/meep-vis-client/.gitignore b/go-packages/meep-vis-client/.gitignore new file mode 100644 index 000000000..daf913b1b --- /dev/null +++ b/go-packages/meep-vis-client/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/go-packages/meep-vis-client/.swagger-codegen-ignore b/go-packages/meep-vis-client/.swagger-codegen-ignore new file mode 100644 index 000000000..c5fa491b4 --- /dev/null +++ b/go-packages/meep-vis-client/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/go-packages/meep-vis-client/.swagger-codegen/VERSION b/go-packages/meep-vis-client/.swagger-codegen/VERSION new file mode 100644 index 000000000..1098afd3c --- /dev/null +++ b/go-packages/meep-vis-client/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.33 \ No newline at end of file diff --git a/go-packages/meep-vis-client/.travis.yml b/go-packages/meep-vis-client/.travis.yml new file mode 100644 index 000000000..f5cb2ce9a --- /dev/null +++ b/go-packages/meep-vis-client/.travis.yml @@ -0,0 +1,8 @@ +language: go + +install: + - go get -d -v . + +script: + - go build -v ./ + diff --git a/go-packages/meep-vis-client/README.md b/go-packages/meep-vis-client/README.md new file mode 100644 index 000000000..564fd06f8 --- /dev/null +++ b/go-packages/meep-vis-client/README.md @@ -0,0 +1,97 @@ +# Go API client for swagger + +V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + +## Overview +This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. + +- API version: 2.2.1 +- Package version: 1.0.0 +- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen + +## Installation +Put the package under your project folder and add the following in import: +```golang +import "./swagger" +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*QoSApi* | [**Mec011AppTerminationPOST**](docs/QoSApi.md#mec011appterminationpost) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +*QoSApi* | [**PredictedQosPOST**](docs/QoSApi.md#predictedqospost) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. +*UnsupportedApi* | [**IndividualSubscriptionDELETE**](docs/UnsupportedApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +*UnsupportedApi* | [**IndividualSubscriptionGET**](docs/UnsupportedApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +*UnsupportedApi* | [**IndividualSubscriptionPUT**](docs/UnsupportedApi.md#individualsubscriptionput) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. +*UnsupportedApi* | [**ProvInfoGET**](docs/UnsupportedApi.md#provinfoget) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +*UnsupportedApi* | [**ProvInfoUuMbmsGET**](docs/UnsupportedApi.md#provinfouumbmsget) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +*UnsupportedApi* | [**ProvInfoUuUnicastGET**](docs/UnsupportedApi.md#provinfouuunicastget) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +*UnsupportedApi* | [**SubGET**](docs/UnsupportedApi.md#subget) | **Get** /subscriptions | Request information about the subscriptions for this requestor. +*UnsupportedApi* | [**SubPOST**](docs/UnsupportedApi.md#subpost) | **Post** /subscriptions | create a new subscription to VIS notifications. +*UnsupportedApi* | [**V2xMessagePOST**](docs/UnsupportedApi.md#v2xmessagepost) | **Post** /publish_v2x_message | Used to publish a V2X message. + +## Documentation For Models + + - [AppTerminationNotification](docs/AppTerminationNotification.md) + - [AppTerminationNotificationLinks](docs/AppTerminationNotificationLinks.md) + - [Body](docs/Body.md) + - [Body1](docs/Body1.md) + - [CellId](docs/CellId.md) + - [Earfcn](docs/Earfcn.md) + - [Ecgi](docs/Ecgi.md) + - [FddInfo](docs/FddInfo.md) + - [LinkType](docs/LinkType.md) + - [LocationInfo](docs/LocationInfo.md) + - [LocationInfoGeoArea](docs/LocationInfoGeoArea.md) + - [OneOfbody](docs/OneOfbody.md) + - [OneOfbody1](docs/OneOfbody1.md) + - [OperationActionType](docs/OperationActionType.md) + - [Pc5NeighbourCellInfo](docs/Pc5NeighbourCellInfo.md) + - [Pc5ProvisioningInfoInner](docs/Pc5ProvisioningInfoInner.md) + - [Plmn](docs/Plmn.md) + - [PredictedQos](docs/PredictedQos.md) + - [PredictedQosRoutes](docs/PredictedQosRoutes.md) + - [ProblemDetails](docs/ProblemDetails.md) + - [ProvChgPc5Notification](docs/ProvChgPc5Notification.md) + - [ProvChgPc5Subscription](docs/ProvChgPc5Subscription.md) + - [ProvChgPc5SubscriptionFilterCriteria](docs/ProvChgPc5SubscriptionFilterCriteria.md) + - [ProvChgPc5SubscriptionLinks](docs/ProvChgPc5SubscriptionLinks.md) + - [ProvChgUuMbmsNotification](docs/ProvChgUuMbmsNotification.md) + - [ProvChgUuMbmsSubscription](docs/ProvChgUuMbmsSubscription.md) + - [ProvChgUuMbmsSubscriptionFilterCriteria](docs/ProvChgUuMbmsSubscriptionFilterCriteria.md) + - [ProvChgUuUniNotification](docs/ProvChgUuUniNotification.md) + - [ProvChgUuUniSubscription](docs/ProvChgUuUniSubscription.md) + - [ProvChgUuUniSubscriptionFilterCriteria](docs/ProvChgUuUniSubscriptionFilterCriteria.md) + - [SubscriptionLinkList](docs/SubscriptionLinkList.md) + - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) + - [SystemInformationBlockType21](docs/SystemInformationBlockType21.md) + - [TddInfo](docs/TddInfo.md) + - [TestNotification](docs/TestNotification.md) + - [TestNotificationLinks](docs/TestNotificationLinks.md) + - [TimeStamp](docs/TimeStamp.md) + - [TransmissionBandwidth](docs/TransmissionBandwidth.md) + - [UuMbmsNeighbourCellInfo](docs/UuMbmsNeighbourCellInfo.md) + - [UuMbmsProvisioningInfoInner](docs/UuMbmsProvisioningInfoInner.md) + - [UuUniNeighbourCellInfo](docs/UuUniNeighbourCellInfo.md) + - [UuUnicastProvisioningInfoInner](docs/UuUnicastProvisioningInfoInner.md) + - [V2xApplicationServer](docs/V2xApplicationServer.md) + - [V2xMsgNotification](docs/V2xMsgNotification.md) + - [V2xMsgNotificationLinks](docs/V2xMsgNotificationLinks.md) + - [V2xMsgPublication](docs/V2xMsgPublication.md) + - [V2xMsgSubscription](docs/V2xMsgSubscription.md) + - [V2xMsgSubscriptionFilterCriteria](docs/V2xMsgSubscriptionFilterCriteria.md) + - [V2xServerUsd](docs/V2xServerUsd.md) + - [V2xServerUsdSdpInfo](docs/V2xServerUsdSdpInfo.md) + - [V2xServerUsdTmgi](docs/V2xServerUsdTmgi.md) + - [WebsockNotifConfig](docs/WebsockNotifConfig.md) + +## Documentation For Authorization + Endpoints do not require authorization. + + +## Author + +AdvantEDGE@InterDigital.com diff --git a/go-packages/meep-vis-client/api/swagger.yaml b/go-packages/meep-vis-client/api/swagger.yaml new file mode 100644 index 000000000..edea39376 --- /dev/null +++ b/go-packages/meep-vis-client/api/swagger.yaml @@ -0,0 +1,2038 @@ +openapi: 3.0.0 +info: + title: AdvantEDGE V2X Information Service REST API + description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about radio conditions in the network

**Note**
AdvantEDGE supports + a selected subset of RNI API endpoints (see below) and a subset of subscription + types. + contact: + name: InterDigital AdvantEDGE Support + email: AdvantEDGE@InterDigital.com + license: + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + version: 2.2.1 +externalDocs: + description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf +servers: +- url: https://localhost/sandboxname/vis/v2 +tags: +- name: QoS +- name: unsupported +paths: + /queries/uu_unicast_provisioning_info: + get: + tags: + - unsupported + summary: Used to query provisioning information for V2X communication over Uu + unicast. + description: Used to query provisioning information for V2X communication over + Uu unicast. + operationId: prov_info_uu_unicastGET + parameters: + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuUnicastProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /queries/uu_mbms_provisioning_info: + get: + tags: + - unsupported + summary: retrieve information required for V2X communication over Uu MBMS. + description: retrieve information required for V2X communication over Uu MBMS. + operationId: prov_info_uu_mbmsGET + parameters: + - name: location_info + in: query + description: omma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuMbmsProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /queries/pc5_provisioning_info: + get: + tags: + - unsupported + summary: Query provisioning information for V2X communication over PC5. + description: Query provisioning information for V2X communication over PC5. + operationId: prov_infoGET + parameters: + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing the PC5 provisioning information + is returned. + content: + application/json: + schema: + $ref: '#/components/schemas/Pc5ProvisioningInfo' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /provide_predicted_qos: + post: + tags: + - QoS + summary: Request the predicted QoS correspondent to potential routes of a vehicular + UE. + description: Request the predicted QoS correspondent to potential routes of + a vehicular UE. + operationId: predicted_qosPOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + required: true + responses: + "200": + description: The response body shall contain the predicted QoS corresponding + to potential routes of a vehicular UE + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /publish_v2x_message: + post: + tags: + - unsupported + summary: Used to publish a V2X message. + description: Used to publish a V2X message. + operationId: v2x_messagePOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/V2xMsgPublication' + required: true + responses: + "204": + description: No Content + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /subscriptions: + get: + tags: + - unsupported + summary: Request information about the subscriptions for this requestor. + description: Request information about the subscriptions for this requestor. + operationId: subGET + parameters: + - name: subscription_type + in: query + description: 'Query parameter to filter on a specific subscription type. Permitted + values: prov_chg_uu_uni: provisioning information change for V2X communication + over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X + communication over Uu MBMS prov_chg_uu_pc5: provisioning information change + for V2X communication over PC5. v2x_msg: V2X interoperability message' + required: false + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing the list of links to requestor subscriptions + is returned. + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + post: + tags: + - unsupported + summary: ' create a new subscription to VIS notifications.' + description: ' create a new subscription to VIS notifications.' + operationId: subPOST + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/body' + required: true + responses: + "201": + description: In the returned NotificationSubscription structure, the created + subscription is described using the appropriate data type. + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: 'Unsupported Media Type : used to indicate that the server + or the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + callbacks: + notification: + '{$request.body#/callbackReference}': + post: + summary: Callback POST used to send a notification + description: A notification from VIS. + operationId: notificationPOST + requestBody: + description: Subscription notification + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' + required: true + responses: + "204": + description: No Content + /subscriptions/{subscriptionId}: + get: + tags: + - unsupported + summary: Retrieve information about this subscription. + description: Retrieve information about this subscription. + operationId: individualSubscriptionGET + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + responses: + "200": + description: A response body containing the data type describing the specific + RNI event subscription is returned + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + put: + tags: + - unsupported + summary: Used to update the existing subscription. + description: Used to update the existing subscription. + operationId: individualSubscriptionPUT + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/body_1' + required: true + responses: + "200": + description: A response body containing data type describing the updated + subscription is returned + content: + application/json: + schema: + $ref: '#/components/schemas/body_1' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + delete: + tags: + - unsupported + summary: Used to cancel the existing subscription. + description: Used to cancel the existing subscription. + operationId: individualSubscriptionDELETE + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + responses: + "204": + description: No Content + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + /notifications/mec011/appTermination: + post: + tags: + - QoS + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications +components: + schemas: + CellId: + required: + - cellId + type: object + properties: + cellId: + type: string + description: E-UTRAN Cell Identity as a bit string (size (28)). + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.6.2 + Earfcn: + required: + - earfcn + type: object + properties: + earfcn: + type: integer + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... + 65535) + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + x-etsi-ref: 6.6.3 + Ecgi: + required: + - cellId + - plmn + type: object + properties: + cellId: + $ref: '#/components/schemas/CellId' + plmn: + $ref: '#/components/schemas/Plmn' + x-etsi-ref: 6.5.5 + FddInfo: + required: + - dlEarfcn + - dlTransmissionBandwidth + - ulEarfcn + - ulTransmissionBandwidth + type: object + properties: + dlEarfcn: + $ref: '#/components/schemas/Earfcn' + dlTransmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + ulEarfcn: + $ref: '#/components/schemas/Earfcn' + ulTransmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + x-etsi-ref: 6.5.6 + LinkType: + required: + - href + type: object + properties: + href: + type: string + description: URI referring to a resource + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uri + example: + href: http://example.com/aeiou + x-etsi-ref: 6.5.13 + LocationInfo: + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + geoArea: + $ref: '#/components/schemas/LocationInfo_geoArea' + x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." + x-etsi-ref: 6.5.3 + Pc5NeighbourCellInfo: + required: + - ecgi + - plmn + - siV2xConfig + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + plmn: + $ref: '#/components/schemas/Plmn' + siV2xConfig: + $ref: '#/components/schemas/SystemInformationBlockType21' + x-etsi-ref: 6.5.12 + Pc5ProvisioningInfo: + required: + - proInfoPc5 + type: array + items: + $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' + x-etsi-ref: 6.2.4 + x-schema-name: Pc5ProvisioningInfo + Plmn: + required: + - mcc + - mnc + type: object + properties: + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.5.4 + PredictedQos: + required: + - locationGranularity + - routes + type: object + properties: + locationGranularity: + type: string + description: Granularity of visited location. Measured in meters. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + routes: + minItems: 1 + required: + - routeInfo + type: array + description: Information relating to the potential routes of a vehicular + UE. + items: + $ref: '#/components/schemas/PredictedQos_routes' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeGranularity: + $ref: '#/components/schemas/TimeStamp' + example: + routes: + - routeInfo: + - {} + - {} + - routeInfo: + - {} + - {} + timeGranularity: + seconds: 6 + nanoSeconds: 0 + locationGranularity: locationGranularity + x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ + \ indicates the granularity of a visited location by means of latitudinal\ + \ and longitudinal margins." + x-etsi-ref: 6.2.5 + ProblemDetails: + type: object + properties: + detail: + type: string + description: A human-readable explanation specific to this occurrence of + the problem + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + type: string + description: A URI reference that identifies the specific occurrence of + the problem + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + type: integer + description: The HTTP status code for this occurrence of the problem + format: uint32 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + type: string + description: A short, human-readable summary of the problem type + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + type: string + description: A URI reference according to IETF RFC 3986 that identifies + the problem type + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + ProvChgPc5Notification: + required: + - locationInfo + - notificationType + type: object + properties: + dstLayer2Id: + type: string + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgPc5Notification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-ref: 6.4.4 + ProvChgPc5Subscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgPc5Subscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgPc5Subscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig + shall be provided by the service consumer. If both are provided, it is up + to VIS to choose an alternative and return only that alternative in the response, + as described in ETSI GS MEC 009 [i.1], clause 6.12a.' + x-etsi-ref: 6.3.4 + ProvChgUuMbmsNotification: + required: + - locationInfo + - notificationType + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgUuMbmsNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + x-etsi-ref: 6.4.3 + ProvChgUuMbmsSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuMbmsSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgUuMbmsSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.3 + ProvChgUuUniNotification: + required: + - locationInfo + - notificationType + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + notificationType: + type: string + description: Shall be set to "ProvChgUuUniNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + timeStamp: + $ref: '#/components/schemas/TimeStamp' + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + x-etsi-ref: 6.4.2 + ProvChgUuUniSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuUniSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "ProvChgUuUniSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.2 + SubscriptionLinkList: + required: + - _links + type: object + properties: + _links: + required: + - self + type: array + description: List of hyperlinks related to the resource. + items: + $ref: '#/components/schemas/SubscriptionLinkList__links' + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + example: + _links: + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + x-etsi-ref: 6.3.6 + SystemInformationBlockType21: + type: object + TddInfo: + required: + - earfcn + - subframeAssignment + - transmissionBandwidth + type: object + properties: + earfcn: + $ref: '#/components/schemas/Earfcn' + subframeAssignment: + type: string + description: Uplink-downlink subframe configuration information. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + transmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth' + x-etsi-ref: 6.5.7 + TestNotification: + required: + - _links + - notificationType + type: object + properties: + _links: + $ref: '#/components/schemas/TestNotification__links' + notificationType: + type: string + description: Shall be set to "TestNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.4.6 + TimeStamp: + required: + - nanoSeconds + - seconds + type: object + properties: + nanoSeconds: + type: integer + description: The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC. + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + seconds: + type: integer + description: The seconds part of the time. Time is defined as Unixtime since + January 1, 1970, 00:00:00 UTC. + format: uint32 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Uint32 + example: + seconds: 6 + nanoSeconds: 0 + x-etsi-ref: 6.5.2 + TransmissionBandwidth: + required: + - transmissionBandwidth + type: object + properties: + transmissionBandwidth: + type: string + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + + 1 = bw6 (6 resource blocks) + + 2 = bw15 (15 resource blocks) + + 3 = bw25 (25 resource blocks) + + 4 = bw50 (50 resource blocks) + + 5 = bw75 (75 resource blocks) + + 6 = bw100 (100 resource blocks)' + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + x-etsi-ref: 6.6.4 + UuMbmsNeighbourCellInfo: + required: + - ecgi + - fddInfo + - mbmsServiceAreaIdentity + - pci + - plmn + - tddInfo + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + fddInfo: + $ref: '#/components/schemas/FddInfo' + mbmsServiceAreaIdentity: + minItems: 1 + type: array + description: Supported MBMS Service Area Identities in the cell. + items: + type: string + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + pci: + type: integer + description: Physical Cell Identifier. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + plmn: + $ref: '#/components/schemas/Plmn' + tddInfo: + $ref: '#/components/schemas/TddInfo' + x-etsi-ref: 6.5.11 + UuMbmsProvisioningInfo: + required: + - proInfoUuMbms + type: array + items: + $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' + x-etsi-ref: 6.2.3 + x-schema-name: UuMbmsProvisioningInfo + UuUniNeighbourCellInfo: + required: + - ecgi + - fddInfo + - pci + - plmn + - tddInfo + type: object + properties: + ecgi: + $ref: '#/components/schemas/Ecgi' + fddInfo: + $ref: '#/components/schemas/FddInfo' + pci: + type: integer + description: Physical Cell Identifier. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Integer + plmn: + $ref: '#/components/schemas/Plmn' + tddInfo: + $ref: '#/components/schemas/TddInfo' + x-etsi-ref: 6.5.9 + UuUnicastProvisioningInfo: + required: + - proInfoUuUnicast + type: array + items: + $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' + x-etsi-ref: 6.2.2 + x-schema-name: UuUnicastProvisioningInfo + V2xApplicationServer: + required: + - ipAddress + - udpPort + type: object + properties: + ipAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + udpPort: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + x-etsi-ref: 6.5.8 + V2xMsgNotification: + required: + - _links + - msgContent + - msgEncodeFormat + - msgType + - notificationType + - stdOrganization + - timeStamp + type: object + properties: + _links: + $ref: '#/components/schemas/V2xMsgNotification__links' + msgContent: + type: string + description: Published V2X message content. The format of the string is + defined by the standardization organization indicated by the attribute + stdOrganization. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgEncodeFormat: + type: string + description: The encode format of the V2X message, for example base64. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgType: + type: string + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + notificationType: + type: string + description: Shall be set to "V2xMsgNotification". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + stdOrganization: + type: string + description: "Standardization organization which defines the published V2X\ + \ message type: \nETSI: European Telecommunications Standards Institute.\n\ + See note 1." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + timeStamp: + $ref: '#/components/schemas/TimeStamp' + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ + \ in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.4.5 + V2xMsgPublication: + required: + - msgContent + - msgEncodeFormat + - msgType + - stdOrganization + type: object + properties: + msgContent: + type: string + description: Published V2X message content. Its format is defined by the + standardization organization indicated by the attribute stdOrganization. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgEncodeFormat: + type: string + description: The encode format of the V2X message, for example base64. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + msgType: + type: string + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the published V2X\ + \ message type:\nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 1." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ + \ in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.2.6 + V2xMsgSubscription: + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription__links' + callbackReference: + type: string + description: URI exposed by the client on which to receive notifications + via HTTP. See note 1. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/V2xMsgSubscription_filterCriteria' + requestTestNotification: + type: boolean + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + type: string + description: Shall be set to "V2xMsgSubscription". + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\t\ + Other standardization organizations could be added as needed.\nNOTE 3:\tThe\ + \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ + \ [6], clause A.114." + x-etsi-ref: 6.3.5 + V2xServerUsd: + required: + - sdpInfo + - serviceAreaIdentifier + - tmgi + type: object + properties: + sdpInfo: + $ref: '#/components/schemas/V2xServerUsd_sdpInfo' + serviceAreaIdentifier: + minItems: 1 + type: array + description: A list of service area identifier for the applicable MBMS broadcast + area. + items: + type: string + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + tmgi: + $ref: '#/components/schemas/V2xServerUsd_tmgi' + x-etsi-ref: 6.5.10 + WebsockNotifConfig: + type: object + properties: + requestWebsocketUri: + type: boolean + description: Set to TRUE by the service consumer to indicate that Websocket + delivery is requested. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + websocketUri: + type: string + description: Set by VIS to indicate to the service consumer the Websocket + URI to be used for delivering notifications. + format: uri + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + x-etsi-ref: 6.5.14 + AppTerminationNotification: + required: + - _links + - maxGracefulTimeout + - notificationType + - operationAction + type: object + properties: + notificationType: + type: string + description: Shall be set to AppTerminationNotification. + operationAction: + $ref: '#/components/schemas/OperationActionType' + maxGracefulTimeout: + type: integer + description: Maximum timeout value in seconds for graceful termination or + graceful stop of an application instance. + format: uint32 + _links: + $ref: '#/components/schemas/AppTerminationNotification__links' + description: This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. + OperationActionType: + type: string + description: Operation that is being performed on the MEC application instance. + enum: + - STOPPING + - TERMINATING + body: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + body_1: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + LocationInfo_geoArea: + required: + - latitude + - longitude + type: object + properties: + latitude: + type: number + description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + longitude: + type: number + description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + description: Information of a geographical area. + Pc5ProvisioningInfo_inner: + type: object + properties: + proInfoPc5: + minItems: 1 + required: + - dstLayer2Id + - locationInfo + type: array + properties: + dstLayer2Id: + type: string + description: |- + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoPc5: + - {} + - {} + PredictedQos_routes: + type: object + properties: + routeInfo: + minItems: 2 + required: + - location + type: array + properties: + location: + $ref: '#/components/schemas/LocationInfo' + rsrp: + type: integer + description: |- + Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: |- + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + time: + $ref: '#/components/schemas/TimeStamp' + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + type: object + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + example: + routeInfo: + - {} + - {} + ProvChgPc5Subscription__links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + ProvChgPc5Subscription_filterCriteria: + required: + - dstLayer2Id + - locationInfo + type: object + properties: + dstLayer2Id: + type: string + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + ProvChgUuMbmsSubscription_filterCriteria: + required: + - locationInfo + - v2xServerUsd + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + ProvChgUuUniSubscription_filterCriteria: + required: + - locationInfo + - v2xApplicationServer + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + SubscriptionLinkList__links: + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + subscriptions: + minItems: 0 + required: + - href + - subscriptionType + type: array + properties: + href: + type: string + description: The URI referring to the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + subscriptionType: + type: string + description: Type of the subscription. The values are as defined in + the "subscriptionType" attribute for each different V2X information + event subscription data type. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: The service consumer's subscriptions. + items: + type: object + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + example: + subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + TestNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: 'Hyperlink related to the resource. ' + UuMbmsProvisioningInfo_inner: + type: object + properties: + proInfoUuMbms: + minItems: 1 + required: + - locationInfo + - v2xServerUsd + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoUuMbms: + - {} + - {} + UuUnicastProvisioningInfo_inner: + type: object + properties: + proInfoUuUnicast: + minItems: 1 + required: + - locationInfo + - v2xApplicationServer + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN + that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 6 + nanoSeconds: 0 + proInfoUuUnicast: + - {} + - {} + V2xMsgNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Links to resources related to this notification. + V2xMsgSubscription_filterCriteria: + required: + - stdOrganization + type: object + properties: + msgType: + minItems: 0 + type: array + description: Subscribed V2X message type. Its value is defined by the standardization + organization indicated by the attribute stdOrganization. See note 3. + items: + type: string + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the subscribed\ + \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 2." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + V2xServerUsd_sdpInfo: + required: + - ipMulticastAddress + - portNumber + type: object + properties: + ipMulticastAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + portNumber: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: SDP with IP multicast address and port number used for V2X communication + via MBMS. + V2xServerUsd_tmgi: + required: + - mbmsServiceId + - mcc + - mnc + type: object + properties: + mbmsServiceId: + type: string + description: MBMS Service ID consisting of three octets. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS + to uniquely identify Multicast and Broadcast bearer services. + AppTerminationNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + description: Object containing hyperlinks related to the resource. + responses: + "204": + description: No Content + "206": + description: Partial content + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot be + mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "409": + description: 'Conflict : The operation cannot be executed currently, due to + a conflict with the state of the resource' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: 'Unsupported Media Type : used to indicate that the server or + the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained instructions. + This error condition can occur if an JSON request body is syntactically correct + but semantically incorrect, for example if the target area for the request + is considered too large. This error condition can also occur if the capabilities + required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' diff --git a/go-packages/meep-vis-client/api_unsupported.go b/go-packages/meep-vis-client/api_unsupported.go new file mode 100644 index 000000000..a339bbd18 --- /dev/null +++ b/go-packages/meep-vis-client/api_unsupported.go @@ -0,0 +1,1332 @@ + +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "context" + "io/ioutil" + "net/http" + "net/url" + "strings" + "fmt" + "github.com/antihax/optional" +) + +// Linger please +var ( + _ context.Context +) + +type UnsupportedApiService service +/* +UnsupportedApiService Used to cancel the existing subscription. +Used to cancel the existing subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + +*/ +func (a *UnsupportedApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} +/* +UnsupportedApiService Retrieve information about this subscription. +Retrieve information about this subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return Body +*/ +func (a *UnsupportedApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (Body, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v Body + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService Used to update the existing subscription. +Used to update the existing subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return Body1 +*/ +func (a *UnsupportedApiService) IndividualSubscriptionPUT(ctx context.Context, body Body1, subscriptionId string) (Body1, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body1 + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v Body1 + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 412 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService Query provisioning information for V2X communication over PC5. +Query provisioning information for V2X communication over PC5. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area +@return []Pc5ProvisioningInfoInner +*/ +func (a *UnsupportedApiService) ProvInfoGET(ctx context.Context, locationInfo string) ([]Pc5ProvisioningInfoInner, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []Pc5ProvisioningInfoInner + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/queries/pc5_provisioning_info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v []Pc5ProvisioningInfoInner + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService retrieve information required for V2X communication over Uu MBMS. +retrieve information required for V2X communication over Uu MBMS. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area +@return []UuMbmsProvisioningInfoInner +*/ +func (a *UnsupportedApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) ([]UuMbmsProvisioningInfoInner, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []UuMbmsProvisioningInfoInner + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/queries/uu_mbms_provisioning_info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v []UuMbmsProvisioningInfoInner + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService Used to query provisioning information for V2X communication over Uu unicast. +Used to query provisioning information for V2X communication over Uu unicast. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area +@return []UuUnicastProvisioningInfoInner +*/ +func (a *UnsupportedApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) ([]UuUnicastProvisioningInfoInner, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []UuUnicastProvisioningInfoInner + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/queries/uu_unicast_provisioning_info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v []UuUnicastProvisioningInfoInner + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService Request information about the subscriptions for this requestor. +Request information about the subscriptions for this requestor. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *UnsupportedApiSubGETOpts - Optional Parameters: + * @param "SubscriptionType" (optional.String) - Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message +@return SubscriptionLinkList +*/ + +type UnsupportedApiSubGETOpts struct { + SubscriptionType optional.String +} + +func (a *UnsupportedApiService) SubGET(ctx context.Context, localVarOptionals *UnsupportedApiSubGETOpts) (SubscriptionLinkList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionLinkList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.SubscriptionType.IsSet() { + localVarQueryParams.Add("subscription_type", parameterToString(localVarOptionals.SubscriptionType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v SubscriptionLinkList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService create a new subscription to VIS notifications. + create a new subscription to VIS notifications. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body +@return Body +*/ +func (a *UnsupportedApiService) SubPOST(ctx context.Context, body Body) (Body, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 201 { + var v Body + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 415 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +UnsupportedApiService Used to publish a V2X message. +Used to publish a V2X message. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body + +*/ +func (a *UnsupportedApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/publish_v2x_message" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_vis.go new file mode 100644 index 000000000..a879eb8f6 --- /dev/null +++ b/go-packages/meep-vis-client/api_vis.go @@ -0,0 +1,221 @@ + +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "context" + "io/ioutil" + "net/http" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type QoSApiService service +/* +QoSApiService MEC011 Application Termination notification for self termination +Terminates itself. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body Termination notification details + +*/ +func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/notifications/mec011/appTermination" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} +/* +QoSApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. +Request the predicted QoS correspondent to potential routes of a vehicular UE. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body +@return PredictedQos +*/ +func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PredictedQos + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/provide_predicted_qos" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v PredictedQos + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/go-packages/meep-vis-client/client.go b/go-packages/meep-vis-client/client.go new file mode 100644 index 000000000..ca13bcf5f --- /dev/null +++ b/go-packages/meep-vis-client/client.go @@ -0,0 +1,477 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "mime/multipart" + "net/http" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + + "golang.org/x/oauth2" +) + +var ( + jsonCheck = regexp.MustCompile("(?i:[application|text]/json)") + xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") +) + +// APIClient manages communication with the AdvantEDGE V2X Information Service REST API API v2.2.1 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + + QoSApi *QoSApiService + + UnsupportedApi *UnsupportedApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.QoSApi = (*QoSApiService)(&c.common) + c.UnsupportedApi = (*UnsupportedApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insenstive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.ToLower(a) == strings.ToLower(needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. +func parameterToString(obj interface{}, collectionFormat string) string { + var delimiter string + + switch collectionFormat { + case "pipes": + delimiter = "|" + case "ssv": + delimiter = " " + case "tsv": + delimiter = "\t" + case "csv": + delimiter = "," + } + + if reflect.TypeOf(obj).Kind() == reflect.Slice { + return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") + } + + return fmt.Sprintf("%v", obj) +} + +// callAPI do the request. +func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { + return c.cfg.HTTPClient.Do(request) +} + +// Change base path to allow switching to mocks +func (c *APIClient) ChangeBasePath(path string) { + c.cfg.BasePath = path +} + +// prepareRequest build the request +func (c *APIClient) prepareRequest( + ctx context.Context, + path string, method string, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams url.Values, + fileName string, + fileBytes []byte) (localVarRequest *http.Request, err error) { + + var body *bytes.Buffer + + // Detect postBody type and post. + if postBody != nil { + contentType := headerParams["Content-Type"] + if contentType == "" { + contentType = detectContentType(postBody) + headerParams["Content-Type"] = contentType + } + + body, err = setBody(postBody, contentType) + if err != nil { + return nil, err + } + } + + // add form parameters and file if available. + if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { + if body != nil { + return nil, errors.New("Cannot specify postBody and multipart form at the same time.") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + if len(fileBytes) > 0 && fileName != "" { + w.Boundary() + //_, fileNm := filepath.Split(fileName) + part, err := w.CreateFormFile("file", filepath.Base(fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(fileBytes) + if err != nil { + return nil, err + } + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + } + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = query.Encode() + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers.Set(h, v) + } + localVarRequest.Header = headers + } + + // Override request host, if applicable + if c.cfg.Host != "" { + localVarRequest.Host = c.cfg.Host + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + // OAuth2 authentication + if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { + // We were able to grab an oauth2 token from the context + var latestToken *oauth2.Token + if latestToken, err = tok.Token(); err != nil { + return nil, err + } + + latestToken.SetAuthHeader(localVarRequest) + } + + // Basic HTTP Authentication + if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { + localVarRequest.SetBasicAuth(auth.UserName, auth.Password) + } + + // AccessToken Authentication + if auth, ok := ctx.Value(ContextAccessToken).(string); ok { + localVarRequest.Header.Add("Authorization", "Bearer "+auth) + } + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if strings.Contains(contentType, "application/xml") { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } else if strings.Contains(contentType, "application/json") { + if err = json.Unmarshal(b, v); err != nil { + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("Invalid body type %s\n", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } + expires = now.Add(lifetime) + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericSwaggerError Provides access to the body, error and model on returned errors. +type GenericSwaggerError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericSwaggerError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericSwaggerError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericSwaggerError) Model() interface{} { + return e.model +} diff --git a/go-packages/meep-vis-client/configuration.go b/go-packages/meep-vis-client/configuration.go new file mode 100644 index 000000000..a8aa543cb --- /dev/null +++ b/go-packages/meep-vis-client/configuration.go @@ -0,0 +1,72 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "net/http" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. + ContextOAuth2 = contextKey("token") + + // ContextBasicAuth takes BasicAuth as authentication for the request. + ContextBasicAuth = contextKey("basic") + + // ContextAccessToken takes a string oauth2 access token as authentication for the request. + ContextAccessToken = contextKey("accesstoken") + + // ContextAPIKey takes an APIKey as authentication for the request + ContextAPIKey = contextKey("apikey") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +type Configuration struct { + BasePath string `json:"basePath,omitempty"` + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + HTTPClient *http.Client +} + +func NewConfiguration() *Configuration { + cfg := &Configuration{ + BasePath: "https://localhost/sandboxname/vis/v2", + DefaultHeader: make(map[string]string), + UserAgent: "Swagger-Codegen/1.0.0/go", + } + return cfg +} + +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} diff --git a/go-packages/meep-vis-client/docs/AppTerminationNotification.md b/go-packages/meep-vis-client/docs/AppTerminationNotification.md new file mode 100644 index 000000000..8156e455d --- /dev/null +++ b/go-packages/meep-vis-client/docs/AppTerminationNotification.md @@ -0,0 +1,12 @@ +# AppTerminationNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NotificationType** | **string** | Shall be set to AppTerminationNotification. | [default to null] +**OperationAction** | [***OperationActionType**](OperationActionType.md) | | [default to null] +**MaxGracefulTimeout** | **int32** | Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. | [default to null] +**Links** | [***AppTerminationNotificationLinks**](AppTerminationNotification__links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/AppTerminationNotificationLinks.md b/go-packages/meep-vis-client/docs/AppTerminationNotificationLinks.md new file mode 100644 index 000000000..67d7f0d90 --- /dev/null +++ b/go-packages/meep-vis-client/docs/AppTerminationNotificationLinks.md @@ -0,0 +1,10 @@ +# AppTerminationNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] +**ConfirmTermination** | [***LinkType**](LinkType.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Body.md b/go-packages/meep-vis-client/docs/Body.md new file mode 100644 index 000000000..6ab902617 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Body.md @@ -0,0 +1,8 @@ +# Body + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Body1.md b/go-packages/meep-vis-client/docs/Body1.md new file mode 100644 index 000000000..8a9eb3d41 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Body1.md @@ -0,0 +1,8 @@ +# Body1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/CellId.md b/go-packages/meep-vis-client/docs/CellId.md new file mode 100644 index 000000000..2358d1e3c --- /dev/null +++ b/go-packages/meep-vis-client/docs/CellId.md @@ -0,0 +1,9 @@ +# CellId + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CellId** | **string** | E-UTRAN Cell Identity as a bit string (size (28)). | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Earfcn.md b/go-packages/meep-vis-client/docs/Earfcn.md new file mode 100644 index 000000000..3c1de608a --- /dev/null +++ b/go-packages/meep-vis-client/docs/Earfcn.md @@ -0,0 +1,9 @@ +# Earfcn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Earfcn** | **int32** | E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Ecgi.md b/go-packages/meep-vis-client/docs/Ecgi.md new file mode 100644 index 000000000..591974dcc --- /dev/null +++ b/go-packages/meep-vis-client/docs/Ecgi.md @@ -0,0 +1,10 @@ +# Ecgi + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CellId** | [***CellId**](CellId.md) | | [default to null] +**Plmn** | [***Plmn**](Plmn.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/FddInfo.md b/go-packages/meep-vis-client/docs/FddInfo.md new file mode 100644 index 000000000..716b5d2bd --- /dev/null +++ b/go-packages/meep-vis-client/docs/FddInfo.md @@ -0,0 +1,12 @@ +# FddInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DlEarfcn** | [***Earfcn**](Earfcn.md) | | [default to null] +**DlTransmissionBandwidth** | [***TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] +**UlEarfcn** | [***Earfcn**](Earfcn.md) | | [default to null] +**UlTransmissionBandwidth** | [***TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/LinkType.md b/go-packages/meep-vis-client/docs/LinkType.md new file mode 100644 index 000000000..a8945efcd --- /dev/null +++ b/go-packages/meep-vis-client/docs/LinkType.md @@ -0,0 +1,9 @@ +# LinkType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | URI referring to a resource | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/LocationInfo.md b/go-packages/meep-vis-client/docs/LocationInfo.md new file mode 100644 index 000000000..2d5cb772c --- /dev/null +++ b/go-packages/meep-vis-client/docs/LocationInfo.md @@ -0,0 +1,10 @@ +# LocationInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ecgi** | [***Ecgi**](Ecgi.md) | | [optional] [default to null] +**GeoArea** | [***LocationInfoGeoArea**](LocationInfo_geoArea.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/LocationInfoGeoArea.md b/go-packages/meep-vis-client/docs/LocationInfoGeoArea.md new file mode 100644 index 000000000..11ce0b4b7 --- /dev/null +++ b/go-packages/meep-vis-client/docs/LocationInfoGeoArea.md @@ -0,0 +1,10 @@ +# LocationInfoGeoArea + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Latitude** | **float32** | Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd | [default to null] +**Longitude** | **float32** | Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/OneOfbody.md b/go-packages/meep-vis-client/docs/OneOfbody.md new file mode 100644 index 000000000..60b34231e --- /dev/null +++ b/go-packages/meep-vis-client/docs/OneOfbody.md @@ -0,0 +1,8 @@ +# OneOfbody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/OneOfbody1.md b/go-packages/meep-vis-client/docs/OneOfbody1.md new file mode 100644 index 000000000..add66742c --- /dev/null +++ b/go-packages/meep-vis-client/docs/OneOfbody1.md @@ -0,0 +1,8 @@ +# OneOfbody1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/OperationActionType.md b/go-packages/meep-vis-client/docs/OperationActionType.md new file mode 100644 index 000000000..4078c9e76 --- /dev/null +++ b/go-packages/meep-vis-client/docs/OperationActionType.md @@ -0,0 +1,8 @@ +# OperationActionType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Pc5NeighbourCellInfo.md b/go-packages/meep-vis-client/docs/Pc5NeighbourCellInfo.md new file mode 100644 index 000000000..9735d3193 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Pc5NeighbourCellInfo.md @@ -0,0 +1,11 @@ +# Pc5NeighbourCellInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ecgi** | [***Ecgi**](Ecgi.md) | | [default to null] +**Plmn** | [***Plmn**](Plmn.md) | | [default to null] +**SiV2xConfig** | [***SystemInformationBlockType21**](SystemInformationBlockType21.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md new file mode 100644 index 000000000..1282af742 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md @@ -0,0 +1,10 @@ +# Pc5ProvisioningInfoInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProInfoPc5** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Plmn.md b/go-packages/meep-vis-client/docs/Plmn.md new file mode 100644 index 000000000..74400dffa --- /dev/null +++ b/go-packages/meep-vis-client/docs/Plmn.md @@ -0,0 +1,10 @@ +# Plmn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Mcc** | **string** | The Mobile Country Code part of PLMN Identity. | [default to null] +**Mnc** | **string** | The Mobile Network Code part of PLMN Identity. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/PredictedQos.md b/go-packages/meep-vis-client/docs/PredictedQos.md new file mode 100644 index 000000000..009e72661 --- /dev/null +++ b/go-packages/meep-vis-client/docs/PredictedQos.md @@ -0,0 +1,11 @@ +# PredictedQos + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationGranularity** | **string** | Granularity of visited location. Measured in meters. | [default to null] +**Routes** | [**[]PredictedQosRoutes**](PredictedQos_routes.md) | Information relating to the potential routes of a vehicular UE. | [default to null] +**TimeGranularity** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/PredictedQosRoutes.md b/go-packages/meep-vis-client/docs/PredictedQosRoutes.md new file mode 100644 index 000000000..fdd7db005 --- /dev/null +++ b/go-packages/meep-vis-client/docs/PredictedQosRoutes.md @@ -0,0 +1,9 @@ +# PredictedQosRoutes + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RouteInfo** | [**[]interface{}**](interface{}.md) | Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProblemDetails.md b/go-packages/meep-vis-client/docs/ProblemDetails.md new file mode 100644 index 000000000..d6f1dfeb6 --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProblemDetails.md @@ -0,0 +1,13 @@ +# ProblemDetails + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Detail** | **string** | A human-readable explanation specific to this occurrence of the problem | [optional] [default to null] +**Instance** | **string** | A URI reference that identifies the specific occurrence of the problem | [optional] [default to null] +**Status** | **int32** | The HTTP status code for this occurrence of the problem | [optional] [default to null] +**Title** | **string** | A short, human-readable summary of the problem type | [optional] [default to null] +**Type_** | **string** | A URI reference according to IETF RFC 3986 that identifies the problem type | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5Notification.md b/go-packages/meep-vis-client/docs/ProvChgPc5Notification.md new file mode 100644 index 000000000..e8bf54373 --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgPc5Notification.md @@ -0,0 +1,13 @@ +# ProvChgPc5Notification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DstLayer2Id** | **string** | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. | [optional] [default to null] +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]Pc5NeighbourCellInfo**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"ProvChgPc5Notification\". | [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md new file mode 100644 index 000000000..98687c25b --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md @@ -0,0 +1,15 @@ +# ProvChgPc5Subscription + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**FilterCriteria** | [***ProvChgPc5SubscriptionFilterCriteria**](ProvChgPc5Subscription_filterCriteria.md) | | [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**SubscriptionType** | **string** | Shall be set to \"ProvChgPc5Subscription\". | [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionFilterCriteria.md b/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionFilterCriteria.md new file mode 100644 index 000000000..d5a973947 --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgPc5SubscriptionFilterCriteria + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DstLayer2Id** | **string** | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. | [default to null] +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]Pc5NeighbourCellInfo**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md b/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md new file mode 100644 index 000000000..99af73541 --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md @@ -0,0 +1,9 @@ +# ProvChgPc5SubscriptionLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuMbmsNotification.md b/go-packages/meep-vis-client/docs/ProvChgUuMbmsNotification.md new file mode 100644 index 000000000..c559bd82b --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuMbmsNotification.md @@ -0,0 +1,13 @@ +# ProvChgUuMbmsNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuMbmsNeighbourCellInfo**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"ProvChgUuMbmsNotification\". | [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**V2xServerUsd** | [***V2xServerUsd**](V2xServerUsd.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md new file mode 100644 index 000000000..6b9c776fc --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md @@ -0,0 +1,15 @@ +# ProvChgUuMbmsSubscription + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**FilterCriteria** | [***ProvChgUuMbmsSubscriptionFilterCriteria**](ProvChgUuMbmsSubscription_filterCriteria.md) | | [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**SubscriptionType** | **string** | Shall be set to \"ProvChgUuMbmsSubscription\". | [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscriptionFilterCriteria.md b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscriptionFilterCriteria.md new file mode 100644 index 000000000..198aab2e4 --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgUuMbmsSubscriptionFilterCriteria + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuMbmsNeighbourCellInfo**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**V2xServerUsd** | [***V2xServerUsd**](V2xServerUsd.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuUniNotification.md b/go-packages/meep-vis-client/docs/ProvChgUuUniNotification.md new file mode 100644 index 000000000..1da6caf2f --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuUniNotification.md @@ -0,0 +1,13 @@ +# ProvChgUuUniNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuUniNeighbourCellInfo**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"ProvChgUuUniNotification\". | [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**V2xApplicationServer** | [***V2xApplicationServer**](V2xApplicationServer.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md new file mode 100644 index 000000000..ee207989a --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md @@ -0,0 +1,15 @@ +# ProvChgUuUniSubscription + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**FilterCriteria** | [***ProvChgUuUniSubscriptionFilterCriteria**](ProvChgUuUniSubscription_filterCriteria.md) | | [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**SubscriptionType** | **string** | Shall be set to \"ProvChgUuUniSubscription\". | [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscriptionFilterCriteria.md b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscriptionFilterCriteria.md new file mode 100644 index 000000000..39294dfcb --- /dev/null +++ b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgUuUniSubscriptionFilterCriteria + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuUniNeighbourCellInfo**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**V2xApplicationServer** | [***V2xApplicationServer**](V2xApplicationServer.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/QoSApi.md b/go-packages/meep-vis-client/docs/QoSApi.md new file mode 100644 index 000000000..9fdcc2e90 --- /dev/null +++ b/go-packages/meep-vis-client/docs/QoSApi.md @@ -0,0 +1,65 @@ +# {{classname}} + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Mec011AppTerminationPOST**](QoSApi.md#Mec011AppTerminationPOST) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +[**PredictedQosPOST**](QoSApi.md#PredictedQosPOST) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. + +# **Mec011AppTerminationPOST** +> Mec011AppTerminationPOST(ctx, body) +MEC011 Application Termination notification for self termination + +Terminates itself. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**AppTerminationNotification**](AppTerminationNotification.md)| Termination notification details | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **PredictedQosPOST** +> PredictedQos PredictedQosPOST(ctx, body) +Request the predicted QoS correspondent to potential routes of a vehicular UE. + +Request the predicted QoS correspondent to potential routes of a vehicular UE. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**PredictedQos**](PredictedQos.md)| | + +### Return type + +[**PredictedQos**](PredictedQos.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkList.md b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md new file mode 100644 index 000000000..0675e1373 --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md @@ -0,0 +1,9 @@ +# SubscriptionLinkList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [**[]SubscriptionLinkListLinks**](SubscriptionLinkList__links.md) | List of hyperlinks related to the resource. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md new file mode 100644 index 000000000..3322d55ad --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md @@ -0,0 +1,10 @@ +# SubscriptionLinkListLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [optional] [default to null] +**Subscriptions** | [**[]interface{}**](interface{}.md) | The service consumer's subscriptions. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SystemInformationBlockType21.md b/go-packages/meep-vis-client/docs/SystemInformationBlockType21.md new file mode 100644 index 000000000..85f6df6fa --- /dev/null +++ b/go-packages/meep-vis-client/docs/SystemInformationBlockType21.md @@ -0,0 +1,8 @@ +# SystemInformationBlockType21 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TddInfo.md b/go-packages/meep-vis-client/docs/TddInfo.md new file mode 100644 index 000000000..0121dd270 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TddInfo.md @@ -0,0 +1,11 @@ +# TddInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Earfcn** | [***Earfcn**](Earfcn.md) | | [default to null] +**SubframeAssignment** | **string** | Uplink-downlink subframe configuration information. | [default to null] +**TransmissionBandwidth** | [***TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TestNotification.md b/go-packages/meep-vis-client/docs/TestNotification.md new file mode 100644 index 000000000..6aadfbca2 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TestNotification.md @@ -0,0 +1,10 @@ +# TestNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***TestNotificationLinks**](TestNotification__links.md) | | [default to null] +**NotificationType** | **string** | Shall be set to \"TestNotification\". | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TestNotificationLinks.md b/go-packages/meep-vis-client/docs/TestNotificationLinks.md new file mode 100644 index 000000000..3f06efa95 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TestNotificationLinks.md @@ -0,0 +1,9 @@ +# TestNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TimeStamp.md b/go-packages/meep-vis-client/docs/TimeStamp.md new file mode 100644 index 000000000..0646af8f6 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TimeStamp.md @@ -0,0 +1,10 @@ +# TimeStamp + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NanoSeconds** | **int32** | The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. | [default to null] +**Seconds** | **int32** | The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TransmissionBandwidth.md b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md new file mode 100644 index 000000000..5c3319a09 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md @@ -0,0 +1,9 @@ +# TransmissionBandwidth + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TransmissionBandwidth** | **string** | 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UnsupportedApi.md b/go-packages/meep-vis-client/docs/UnsupportedApi.md new file mode 100644 index 000000000..a4da865fd --- /dev/null +++ b/go-packages/meep-vis-client/docs/UnsupportedApi.md @@ -0,0 +1,275 @@ +# {{classname}} + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**IndividualSubscriptionDELETE**](UnsupportedApi.md#IndividualSubscriptionDELETE) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +[**IndividualSubscriptionGET**](UnsupportedApi.md#IndividualSubscriptionGET) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +[**IndividualSubscriptionPUT**](UnsupportedApi.md#IndividualSubscriptionPUT) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. +[**ProvInfoGET**](UnsupportedApi.md#ProvInfoGET) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +[**ProvInfoUuMbmsGET**](UnsupportedApi.md#ProvInfoUuMbmsGET) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +[**ProvInfoUuUnicastGET**](UnsupportedApi.md#ProvInfoUuUnicastGET) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +[**SubGET**](UnsupportedApi.md#SubGET) | **Get** /subscriptions | Request information about the subscriptions for this requestor. +[**SubPOST**](UnsupportedApi.md#SubPOST) | **Post** /subscriptions | create a new subscription to VIS notifications. +[**V2xMessagePOST**](UnsupportedApi.md#V2xMessagePOST) | **Post** /publish_v2x_message | Used to publish a V2X message. + +# **IndividualSubscriptionDELETE** +> IndividualSubscriptionDELETE(ctx, subscriptionId) +Used to cancel the existing subscription. + +Used to cancel the existing subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **IndividualSubscriptionGET** +> Body IndividualSubscriptionGET(ctx, subscriptionId) +Retrieve information about this subscription. + +Retrieve information about this subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + +[**Body**](body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **IndividualSubscriptionPUT** +> Body1 IndividualSubscriptionPUT(ctx, body, subscriptionId) +Used to update the existing subscription. + +Used to update the existing subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**Body1**](Body1.md)| | + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + +[**Body1**](body_1.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ProvInfoGET** +> []Pc5ProvisioningInfoInner ProvInfoGET(ctx, locationInfo) +Query provisioning information for V2X communication over PC5. + +Query provisioning information for V2X communication over PC5. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]Pc5ProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ProvInfoUuMbmsGET** +> []UuMbmsProvisioningInfoInner ProvInfoUuMbmsGET(ctx, locationInfo) +retrieve information required for V2X communication over Uu MBMS. + +retrieve information required for V2X communication over Uu MBMS. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| omma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]UuMbmsProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ProvInfoUuUnicastGET** +> []UuUnicastProvisioningInfoInner ProvInfoUuUnicastGET(ctx, locationInfo) +Used to query provisioning information for V2X communication over Uu unicast. + +Used to query provisioning information for V2X communication over Uu unicast. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]UuUnicastProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubGET** +> SubscriptionLinkList SubGET(ctx, optional) +Request information about the subscriptions for this requestor. + +Request information about the subscriptions for this requestor. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **optional** | ***UnsupportedApiSubGETOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a UnsupportedApiSubGETOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionType** | **optional.String**| Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message | + +### Return type + +[**SubscriptionLinkList**](SubscriptionLinkList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubPOST** +> Body SubPOST(ctx, body) + create a new subscription to VIS notifications. + + create a new subscription to VIS notifications. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**Body**](Body.md)| | + +### Return type + +[**Body**](body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **V2xMessagePOST** +> V2xMessagePOST(ctx, body) +Used to publish a V2X message. + +Used to publish a V2X message. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**V2xMsgPublication**](V2xMsgPublication.md)| | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UuMbmsNeighbourCellInfo.md b/go-packages/meep-vis-client/docs/UuMbmsNeighbourCellInfo.md new file mode 100644 index 000000000..20254a03c --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuMbmsNeighbourCellInfo.md @@ -0,0 +1,14 @@ +# UuMbmsNeighbourCellInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ecgi** | [***Ecgi**](Ecgi.md) | | [default to null] +**FddInfo** | [***FddInfo**](FddInfo.md) | | [default to null] +**MbmsServiceAreaIdentity** | **[]string** | Supported MBMS Service Area Identities in the cell. | [default to null] +**Pci** | **int32** | Physical Cell Identifier. | [default to null] +**Plmn** | [***Plmn**](Plmn.md) | | [default to null] +**TddInfo** | [***TddInfo**](TddInfo.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md new file mode 100644 index 000000000..2bdeb2fd9 --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md @@ -0,0 +1,10 @@ +# UuMbmsProvisioningInfoInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProInfoUuMbms** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UuUniNeighbourCellInfo.md b/go-packages/meep-vis-client/docs/UuUniNeighbourCellInfo.md new file mode 100644 index 000000000..a20cccd1f --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuUniNeighbourCellInfo.md @@ -0,0 +1,13 @@ +# UuUniNeighbourCellInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ecgi** | [***Ecgi**](Ecgi.md) | | [default to null] +**FddInfo** | [***FddInfo**](FddInfo.md) | | [default to null] +**Pci** | **int32** | Physical Cell Identifier. | [default to null] +**Plmn** | [***Plmn**](Plmn.md) | | [default to null] +**TddInfo** | [***TddInfo**](TddInfo.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md new file mode 100644 index 000000000..f57897764 --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md @@ -0,0 +1,10 @@ +# UuUnicastProvisioningInfoInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ProInfoUuUnicast** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xApplicationServer.md b/go-packages/meep-vis-client/docs/V2xApplicationServer.md new file mode 100644 index 000000000..a20b170fe --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xApplicationServer.md @@ -0,0 +1,10 @@ +# V2xApplicationServer + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IpAddress** | **string** | | [default to null] +**UdpPort** | **string** | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgNotification.md b/go-packages/meep-vis-client/docs/V2xMsgNotification.md new file mode 100644 index 000000000..0f21023b4 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xMsgNotification.md @@ -0,0 +1,15 @@ +# V2xMsgNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***V2xMsgNotificationLinks**](V2xMsgNotification__links.md) | | [default to null] +**MsgContent** | **string** | Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] +**MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] +**MsgType** | **string** | Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, | [default to null] +**NotificationType** | **string** | Shall be set to \"V2xMsgNotification\". | [default to null] +**StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] +**TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgNotificationLinks.md b/go-packages/meep-vis-client/docs/V2xMsgNotificationLinks.md new file mode 100644 index 000000000..40cb456ae --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xMsgNotificationLinks.md @@ -0,0 +1,9 @@ +# V2xMsgNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgPublication.md b/go-packages/meep-vis-client/docs/V2xMsgPublication.md new file mode 100644 index 000000000..2e513a5e6 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xMsgPublication.md @@ -0,0 +1,12 @@ +# V2xMsgPublication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MsgContent** | **string** | Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] +**MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] +**MsgType** | **string** | Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, | [default to null] +**StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgSubscription.md b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md new file mode 100644 index 000000000..89c5cbe0a --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md @@ -0,0 +1,15 @@ +# V2xMsgSubscription + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note 1. | [optional] [default to null] +**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**FilterCriteria** | [***V2xMsgSubscriptionFilterCriteria**](V2xMsgSubscription_filterCriteria.md) | | [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**SubscriptionType** | **string** | Shall be set to \"V2xMsgSubscription\". | [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgSubscriptionFilterCriteria.md b/go-packages/meep-vis-client/docs/V2xMsgSubscriptionFilterCriteria.md new file mode 100644 index 000000000..a83dbcc66 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xMsgSubscriptionFilterCriteria.md @@ -0,0 +1,10 @@ +# V2xMsgSubscriptionFilterCriteria + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MsgType** | **[]string** | Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. | [optional] [default to null] +**StdOrganization** | **string** | Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 2. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xServerUsd.md b/go-packages/meep-vis-client/docs/V2xServerUsd.md new file mode 100644 index 000000000..f9df27de0 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xServerUsd.md @@ -0,0 +1,11 @@ +# V2xServerUsd + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SdpInfo** | [***V2xServerUsdSdpInfo**](V2xServerUsd_sdpInfo.md) | | [default to null] +**ServiceAreaIdentifier** | **[]string** | A list of service area identifier for the applicable MBMS broadcast area. | [default to null] +**Tmgi** | [***V2xServerUsdTmgi**](V2xServerUsd_tmgi.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xServerUsdSdpInfo.md b/go-packages/meep-vis-client/docs/V2xServerUsdSdpInfo.md new file mode 100644 index 000000000..28d5d987b --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xServerUsdSdpInfo.md @@ -0,0 +1,10 @@ +# V2xServerUsdSdpInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IpMulticastAddress** | **string** | | [default to null] +**PortNumber** | **string** | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xServerUsdTmgi.md b/go-packages/meep-vis-client/docs/V2xServerUsdTmgi.md new file mode 100644 index 000000000..0f51886c6 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xServerUsdTmgi.md @@ -0,0 +1,11 @@ +# V2xServerUsdTmgi + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MbmsServiceId** | **string** | MBMS Service ID consisting of three octets. | [default to null] +**Mcc** | **string** | The Mobile Country Code part of PLMN Identity. | [default to null] +**Mnc** | **string** | The Mobile Network Code part of PLMN Identity. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/WebsockNotifConfig.md b/go-packages/meep-vis-client/docs/WebsockNotifConfig.md new file mode 100644 index 000000000..e4f305791 --- /dev/null +++ b/go-packages/meep-vis-client/docs/WebsockNotifConfig.md @@ -0,0 +1,10 @@ +# WebsockNotifConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestWebsocketUri** | **bool** | Set to TRUE by the service consumer to indicate that Websocket delivery is requested. | [optional] [default to null] +**WebsocketUri** | **string** | Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/git_push.sh b/go-packages/meep-vis-client/git_push.sh new file mode 100644 index 000000000..ae01b182a --- /dev/null +++ b/go-packages/meep-vis-client/git_push.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' + diff --git a/go-packages/meep-vis-client/model_app_termination_notification.go b/go-packages/meep-vis-client/model_app_termination_notification.go new file mode 100644 index 000000000..1769d7736 --- /dev/null +++ b/go-packages/meep-vis-client/model_app_termination_notification.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. +type AppTerminationNotification struct { + // Shall be set to AppTerminationNotification. + NotificationType string `json:"notificationType"` + OperationAction *OperationActionType `json:"operationAction"` + // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. + MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` + Links *AppTerminationNotificationLinks `json:"_links"` +} diff --git a/go-packages/meep-vis-client/model_app_termination_notification__links.go b/go-packages/meep-vis-client/model_app_termination_notification__links.go new file mode 100644 index 000000000..aa4bd181b --- /dev/null +++ b/go-packages/meep-vis-client/model_app_termination_notification__links.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Object containing hyperlinks related to the resource. +type AppTerminationNotificationLinks struct { + Subscription *LinkType `json:"subscription"` + ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_body.go b/go-packages/meep-vis-client/model_body.go new file mode 100644 index 000000000..85e712ada --- /dev/null +++ b/go-packages/meep-vis-client/model_body.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Body struct { +} diff --git a/go-packages/meep-vis-client/model_body_1.go b/go-packages/meep-vis-client/model_body_1.go new file mode 100644 index 000000000..b68a70d5c --- /dev/null +++ b/go-packages/meep-vis-client/model_body_1.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Body1 struct { +} diff --git a/go-packages/meep-vis-client/model_cell_id.go b/go-packages/meep-vis-client/model_cell_id.go new file mode 100644 index 000000000..55e879c74 --- /dev/null +++ b/go-packages/meep-vis-client/model_cell_id.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type CellId struct { + // E-UTRAN Cell Identity as a bit string (size (28)). + CellId string `json:"cellId"` +} diff --git a/go-packages/meep-vis-client/model_earfcn.go b/go-packages/meep-vis-client/model_earfcn.go new file mode 100644 index 000000000..d88118da5 --- /dev/null +++ b/go-packages/meep-vis-client/model_earfcn.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Earfcn struct { + // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) + Earfcn int32 `json:"earfcn"` +} diff --git a/go-packages/meep-vis-client/model_ecgi.go b/go-packages/meep-vis-client/model_ecgi.go new file mode 100644 index 000000000..4448f22f3 --- /dev/null +++ b/go-packages/meep-vis-client/model_ecgi.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Ecgi struct { + CellId *CellId `json:"cellId"` + Plmn *Plmn `json:"plmn"` +} diff --git a/go-packages/meep-vis-client/model_fdd_info.go b/go-packages/meep-vis-client/model_fdd_info.go new file mode 100644 index 000000000..3299f5bfd --- /dev/null +++ b/go-packages/meep-vis-client/model_fdd_info.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type FddInfo struct { + DlEarfcn *Earfcn `json:"dlEarfcn"` + DlTransmissionBandwidth *TransmissionBandwidth `json:"dlTransmissionBandwidth"` + UlEarfcn *Earfcn `json:"ulEarfcn"` + UlTransmissionBandwidth *TransmissionBandwidth `json:"ulTransmissionBandwidth"` +} diff --git a/go-packages/meep-vis-client/model_link_type.go b/go-packages/meep-vis-client/model_link_type.go new file mode 100644 index 000000000..da545c06e --- /dev/null +++ b/go-packages/meep-vis-client/model_link_type.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type LinkType struct { + // URI referring to a resource + Href string `json:"href"` +} diff --git a/go-packages/meep-vis-client/model_location_info.go b/go-packages/meep-vis-client/model_location_info.go new file mode 100644 index 000000000..13ce24da2 --- /dev/null +++ b/go-packages/meep-vis-client/model_location_info.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type LocationInfo struct { + Ecgi *Ecgi `json:"ecgi,omitempty"` + GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_location_info_geo_area.go b/go-packages/meep-vis-client/model_location_info_geo_area.go new file mode 100644 index 000000000..0f060d100 --- /dev/null +++ b/go-packages/meep-vis-client/model_location_info_geo_area.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Information of a geographical area. +type LocationInfoGeoArea struct { + // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd + Latitude float32 `json:"latitude"` + // Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd + Longitude float32 `json:"longitude"` +} diff --git a/go-packages/meep-vis-client/model_one_ofbody.go b/go-packages/meep-vis-client/model_one_ofbody.go new file mode 100644 index 000000000..9d1781233 --- /dev/null +++ b/go-packages/meep-vis-client/model_one_ofbody.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type OneOfbody struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-packages/meep-vis-client/model_one_ofbody_1.go b/go-packages/meep-vis-client/model_one_ofbody_1.go new file mode 100644 index 000000000..4357ebe47 --- /dev/null +++ b/go-packages/meep-vis-client/model_one_ofbody_1.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type OneOfbody1 struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-packages/meep-vis-client/model_operation_action_type.go b/go-packages/meep-vis-client/model_operation_action_type.go new file mode 100644 index 000000000..2db87cbbb --- /dev/null +++ b/go-packages/meep-vis-client/model_operation_action_type.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger +// OperationActionType : Operation that is being performed on the MEC application instance. +type OperationActionType string + +// List of OperationActionType +const ( + STOPPING_OperationActionType OperationActionType = "STOPPING" + TERMINATING_OperationActionType OperationActionType = "TERMINATING" +) diff --git a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go new file mode 100644 index 000000000..164a61af4 --- /dev/null +++ b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Pc5NeighbourCellInfo struct { + Ecgi *Ecgi `json:"ecgi"` + Plmn *Plmn `json:"plmn"` + SiV2xConfig *SystemInformationBlockType21 `json:"siV2xConfig"` +} diff --git a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go new file mode 100644 index 000000000..3db8da126 --- /dev/null +++ b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Pc5ProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoPc5 []interface{} `json:"proInfoPc5,omitempty"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_plmn.go b/go-packages/meep-vis-client/model_plmn.go new file mode 100644 index 000000000..15dbbbc4d --- /dev/null +++ b/go-packages/meep-vis-client/model_plmn.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Plmn struct { + // The Mobile Country Code part of PLMN Identity. + Mcc string `json:"mcc"` + // The Mobile Network Code part of PLMN Identity. + Mnc string `json:"mnc"` +} diff --git a/go-packages/meep-vis-client/model_predicted_qos.go b/go-packages/meep-vis-client/model_predicted_qos.go new file mode 100644 index 000000000..bb21a1b9f --- /dev/null +++ b/go-packages/meep-vis-client/model_predicted_qos.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type PredictedQos struct { + // Granularity of visited location. Measured in meters. + LocationGranularity string `json:"locationGranularity"` + // Information relating to the potential routes of a vehicular UE. + Routes []PredictedQosRoutes `json:"routes"` + TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes.go b/go-packages/meep-vis-client/model_predicted_qos_routes.go new file mode 100644 index 000000000..1617a8adb --- /dev/null +++ b/go-packages/meep-vis-client/model_predicted_qos_routes.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type PredictedQosRoutes struct { + // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + RouteInfo []interface{} `json:"routeInfo,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_problem_details.go b/go-packages/meep-vis-client/model_problem_details.go new file mode 100644 index 000000000..dc61be600 --- /dev/null +++ b/go-packages/meep-vis-client/model_problem_details.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProblemDetails struct { + // A human-readable explanation specific to this occurrence of the problem + Detail string `json:"detail,omitempty"` + // A URI reference that identifies the specific occurrence of the problem + Instance string `json:"instance,omitempty"` + // The HTTP status code for this occurrence of the problem + Status int32 `json:"status,omitempty"` + // A short, human-readable summary of the problem type + Title string `json:"title,omitempty"` + // A URI reference according to IETF RFC 3986 that identifies the problem type + Type_ string `json:"type,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go new file mode 100644 index 000000000..d41314206 --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go @@ -0,0 +1,21 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgPc5Notification struct { + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + DstLayer2Id string `json:"dstLayer2Id,omitempty"` + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgPc5Notification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go new file mode 100644 index 000000000..14eddefca --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgPc5Subscription struct { + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgPc5SubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgPc5Subscription\". + SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go new file mode 100644 index 000000000..ac2b08ec0 --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. +type ProvChgPc5SubscriptionLinks struct { + Self *LinkType `json:"self"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go new file mode 100644 index 000000000..4fdca518c --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgPc5SubscriptionFilterCriteria struct { + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + DstLayer2Id string `json:"dstLayer2Id"` + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go new file mode 100644 index 000000000..6943b3866 --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuMbmsNotification struct { + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgUuMbmsNotification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go new file mode 100644 index 000000000..bfe2aa44a --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuMbmsSubscription struct { + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgUuMbmsSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgUuMbmsSubscription\". + SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go new file mode 100644 index 000000000..cde1ca50f --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgUuMbmsSubscriptionFilterCriteria struct { + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go new file mode 100644 index 000000000..5fe414b08 --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuUniNotification struct { + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + // Shall be set to \"ProvChgUuUniNotification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go new file mode 100644 index 000000000..7e96559cf --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type ProvChgUuUniSubscription struct { + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgUuUniSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"ProvChgUuUniSubscription\". + SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go new file mode 100644 index 000000000..fd6d774be --- /dev/null +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type ProvChgUuUniSubscriptionFilterCriteria struct { + LocationInfo *LocationInfo `json:"locationInfo"` + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer"` +} diff --git a/go-packages/meep-vis-client/model_subscription_link_list.go b/go-packages/meep-vis-client/model_subscription_link_list.go new file mode 100644 index 000000000..1fc923f7d --- /dev/null +++ b/go-packages/meep-vis-client/model_subscription_link_list.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SubscriptionLinkList struct { + // List of hyperlinks related to the resource. + Links []SubscriptionLinkListLinks `json:"_links"` +} diff --git a/go-packages/meep-vis-client/model_subscription_link_list__links.go b/go-packages/meep-vis-client/model_subscription_link_list__links.go new file mode 100644 index 000000000..60e3ac033 --- /dev/null +++ b/go-packages/meep-vis-client/model_subscription_link_list__links.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SubscriptionLinkListLinks struct { + Self *LinkType `json:"self,omitempty"` + // The service consumer's subscriptions. + Subscriptions []interface{} `json:"subscriptions,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_system_information_block_type21.go b/go-packages/meep-vis-client/model_system_information_block_type21.go new file mode 100644 index 000000000..c46b6122f --- /dev/null +++ b/go-packages/meep-vis-client/model_system_information_block_type21.go @@ -0,0 +1,13 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type SystemInformationBlockType21 struct { +} diff --git a/go-packages/meep-vis-client/model_tdd_info.go b/go-packages/meep-vis-client/model_tdd_info.go new file mode 100644 index 000000000..f52a5dd30 --- /dev/null +++ b/go-packages/meep-vis-client/model_tdd_info.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TddInfo struct { + Earfcn *Earfcn `json:"earfcn"` + // Uplink-downlink subframe configuration information. + SubframeAssignment string `json:"subframeAssignment"` + TransmissionBandwidth *TransmissionBandwidth `json:"transmissionBandwidth"` +} diff --git a/go-packages/meep-vis-client/model_test_notification.go b/go-packages/meep-vis-client/model_test_notification.go new file mode 100644 index 000000000..58328b902 --- /dev/null +++ b/go-packages/meep-vis-client/model_test_notification.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TestNotification struct { + Links *TestNotificationLinks `json:"_links"` + // Shall be set to \"TestNotification\". + NotificationType string `json:"notificationType"` +} diff --git a/go-packages/meep-vis-client/model_test_notification__links.go b/go-packages/meep-vis-client/model_test_notification__links.go new file mode 100644 index 000000000..10af8c27d --- /dev/null +++ b/go-packages/meep-vis-client/model_test_notification__links.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Hyperlink related to the resource. +type TestNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-packages/meep-vis-client/model_time_stamp.go b/go-packages/meep-vis-client/model_time_stamp.go new file mode 100644 index 000000000..8fbdce050 --- /dev/null +++ b/go-packages/meep-vis-client/model_time_stamp.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TimeStamp struct { + // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + NanoSeconds int32 `json:"nanoSeconds"` + // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + Seconds int32 `json:"seconds"` +} diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth.go new file mode 100644 index 000000000..4347a6807 --- /dev/null +++ b/go-packages/meep-vis-client/model_transmission_bandwidth.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TransmissionBandwidth struct { + // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' + TransmissionBandwidth string `json:"transmissionBandwidth"` +} diff --git a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go new file mode 100644 index 000000000..54db2f5b5 --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go @@ -0,0 +1,21 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuMbmsNeighbourCellInfo struct { + Ecgi *Ecgi `json:"ecgi"` + FddInfo *FddInfo `json:"fddInfo"` + // Supported MBMS Service Area Identities in the cell. + MbmsServiceAreaIdentity []string `json:"mbmsServiceAreaIdentity"` + // Physical Cell Identifier. + Pci int32 `json:"pci"` + Plmn *Plmn `json:"plmn"` + TddInfo *TddInfo `json:"tddInfo"` +} diff --git a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go new file mode 100644 index 000000000..c3b93a9bd --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuMbmsProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoUuMbms []interface{} `json:"proInfoUuMbms,omitempty"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go new file mode 100644 index 000000000..b77a1709f --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go @@ -0,0 +1,19 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuUniNeighbourCellInfo struct { + Ecgi *Ecgi `json:"ecgi"` + FddInfo *FddInfo `json:"fddInfo"` + // Physical Cell Identifier. + Pci int32 `json:"pci"` + Plmn *Plmn `json:"plmn"` + TddInfo *TddInfo `json:"tddInfo"` +} diff --git a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go new file mode 100644 index 000000000..cd86c76ab --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type UuUnicastProvisioningInfoInner struct { + // The provisioning information per location as defined below. + ProInfoUuUnicast []interface{} `json:"proInfoUuUnicast,omitempty"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_v2x_application_server.go b/go-packages/meep-vis-client/model_v2x_application_server.go new file mode 100644 index 000000000..c3dff0585 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_application_server.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xApplicationServer struct { + IpAddress string `json:"ipAddress"` + UdpPort string `json:"udpPort"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification.go b/go-packages/meep-vis-client/model_v2x_msg_notification.go new file mode 100644 index 000000000..32d4b9925 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_notification.go @@ -0,0 +1,25 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgNotification struct { + Links *V2xMsgNotificationLinks `json:"_links"` + // Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. + MsgContent string `json:"msgContent"` + // The encode format of the V2X message, for example base64. + MsgEncodeFormat string `json:"msgEncodeFormat"` + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + MsgType string `json:"msgType"` + // Shall be set to \"V2xMsgNotification\". + NotificationType string `json:"notificationType"` + // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + StdOrganization string `json:"stdOrganization"` + TimeStamp *TimeStamp `json:"timeStamp"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification__links.go b/go-packages/meep-vis-client/model_v2x_msg_notification__links.go new file mode 100644 index 000000000..96b2d9375 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_notification__links.go @@ -0,0 +1,15 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Links to resources related to this notification. +type V2xMsgNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_publication.go b/go-packages/meep-vis-client/model_v2x_msg_publication.go new file mode 100644 index 000000000..b931f2805 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_publication.go @@ -0,0 +1,21 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgPublication struct { + // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. + MsgContent string `json:"msgContent"` + // The encode format of the V2X message, for example base64. + MsgEncodeFormat string `json:"msgEncodeFormat"` + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + MsgType string `json:"msgType"` + // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + StdOrganization string `json:"stdOrganization"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription.go b/go-packages/meep-vis-client/model_v2x_msg_subscription.go new file mode 100644 index 000000000..976377f1d --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription.go @@ -0,0 +1,23 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xMsgSubscription struct { + Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note 1. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + // Shall be set to \"V2xMsgSubscription\". + SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go new file mode 100644 index 000000000..0acd5c36c --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go @@ -0,0 +1,18 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. +type V2xMsgSubscriptionFilterCriteria struct { + // Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. + MsgType []string `json:"msgType,omitempty"` + // Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 2. + StdOrganization string `json:"stdOrganization"` +} diff --git a/go-packages/meep-vis-client/model_v2x_server_usd.go b/go-packages/meep-vis-client/model_v2x_server_usd.go new file mode 100644 index 000000000..74e5836db --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_server_usd.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type V2xServerUsd struct { + SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` + // A list of service area identifier for the applicable MBMS broadcast area. + ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` + Tmgi *V2xServerUsdTmgi `json:"tmgi"` +} diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go new file mode 100644 index 000000000..649b701d2 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go @@ -0,0 +1,16 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// SDP with IP multicast address and port number used for V2X communication via MBMS. +type V2xServerUsdSdpInfo struct { + IpMulticastAddress string `json:"ipMulticastAddress"` + PortNumber string `json:"portNumber"` +} diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go new file mode 100644 index 000000000..0a1a15e7a --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go @@ -0,0 +1,20 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. +type V2xServerUsdTmgi struct { + // MBMS Service ID consisting of three octets. + MbmsServiceId string `json:"mbmsServiceId"` + // The Mobile Country Code part of PLMN Identity. + Mcc string `json:"mcc"` + // The Mobile Network Code part of PLMN Identity. + Mnc string `json:"mnc"` +} diff --git a/go-packages/meep-vis-client/model_websock_notif_config.go b/go-packages/meep-vis-client/model_websock_notif_config.go new file mode 100644 index 000000000..2fdcc2506 --- /dev/null +++ b/go-packages/meep-vis-client/model_websock_notif_config.go @@ -0,0 +1,17 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type WebsockNotifConfig struct { + // Set to TRUE by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` + // Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` +} diff --git a/go-packages/meep-vis-client/response.go b/go-packages/meep-vis-client/response.go new file mode 100644 index 000000000..f994596a3 --- /dev/null +++ b/go-packages/meep-vis-client/response.go @@ -0,0 +1,43 @@ +/* + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +import ( + "net/http" +) + +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the swagger operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/test/run-ut.sh b/test/run-ut.sh index 767099daa..d4de974f8 100755 --- a/test/run-ut.sh +++ b/test/run-ut.sh @@ -9,6 +9,7 @@ GOAPPS=( meep-rnis/server meep-wais/server meep-ams/server + meep-vis/server ) GOPKGS=( diff --git a/test/system/go.mod b/test/system/go.mod index 71127b409..177c2809e 100644 --- a/test/system/go.mod +++ b/test/system/go.mod @@ -8,6 +8,7 @@ require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0-00010101000000-000000000000 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-platform-ctrl-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-rnis-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-wais-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 @@ -25,6 +26,7 @@ replace ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-platform-ctrl-client => ../../go-packages/meep-platform-ctrl-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-rnis-client => ../../go-packages/meep-rnis-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client => ../../go-packages/meep-vis-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client => ../../go-packages/meep-sandbox-ctrl-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-wais-client => ../../go-packages/meep-wais-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client => ../../go-packages/meep-service-mgmt-client diff --git a/test/system/vis-system-test.yaml b/test/system/vis-system-test.yaml new file mode 100644 index 000000000..e69de29bb diff --git a/test/system/vis_test.go b/test/system/vis_test.go new file mode 100644 index 000000000..bdf5a8328 --- /dev/null +++ b/test/system/vis_test.go @@ -0,0 +1,95 @@ +/* + * Copyright (c) 2021 ETSI STF 625 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package systemTest + +import ( + "encoding/json" + "fmt" + "strconv" + "testing" + + "context" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + visClient "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client" +) + +var visAppClient *visClient.APIClient +var visServerUrl string + +func init() { + + err := startSystemTest() + if err != nil { + log.Error("Cannot start system test: ", err) + } + //create client + visAppClientCfg := visClient.NewConfiguration() + if hostUrlStr == "" { + hostUrlStr = "http://localhost" + } + + visAppClientCfg.BasePath = hostUrlStr + "/" + sandboxName + "/vis/v2" + + visAppClient = visClient.NewAPIClient(visAppClientCfg) + if visAppClient == nil { + log.Error("Failed to create VIS App REST API client: ", visAppClientCfg.BasePath) + } + //NOTE: if localhost is set as the hostUrl, might not be reachable from the service, export MEEP_HOST_TEST_URL ="http://[yourhost]" + visServerUrl = hostUrlStr + ":" + httpListenerPort +} + +func initialiseVisTest() { + log.Info("activating Scenario") + err := activateScenario("vis-system-test") + if err != nil { + log.Fatal("Scenario cannot be activated: ", err) + } + time.Sleep(1000 * time.Millisecond) + if isAutomationReady(true, 10, 0) { + geAutomationUpdate(true, false, true, true) + } +} + +func clearUpVisTest() { + log.Info("terminating Scenario") + terminateScenario() + time.Sleep(1000 * time.Millisecond) +} + +//no really a test, but loading the scenarios needed that will be used in the following tests +//deletion of those scenarios at the end +func Test_VIS_load_scenarios(t *testing.T) { + + // no override if the name is already in the DB.. security not to override something important + err := createScenario("vis-system-test", "vis-system-test.yaml") + if err != nil { + t.Fatal("Cannot create scenario, keeping the one already there and continuing testing with it :", err) + } +} + +func Test_VIS_periodic_4g_5gNei(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + initialiseVisTest() + defer clearUpVisTest() + + testAddress := "ue2" + +} -- GitLab From 1ed35a18403f05dab8d06546151d1d62756852f0 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 15 Feb 2022 18:01:48 +0500 Subject: [PATCH 003/183] modify meep-vis to be in line with other mec services --- .vscode/settings.json | 2 +- go-apps/meep-vis/.swagger-codegen-ignore | 23 - go-apps/meep-vis/.swagger-codegen/VERSION | 1 - go-apps/meep-vis/Dockerfile | 23 + go-apps/meep-vis/entrypoint.sh | 41 ++ go-apps/meep-vis/go.mod | 43 ++ go-apps/meep-vis/go.sum | 482 ++++++++++++++ go-apps/meep-vis/go/logger.go | 32 - go-apps/meep-vis/main.go | 98 ++- go-apps/meep-vis/meep-vis-config.yaml | 16 + go-apps/meep-vis/sbi/vis-sbi.go | 503 +++++++++++++++ go-apps/meep-vis/{go => server}/README.md | 0 .../{go/api_qo_s.go => server/api_qos.go} | 22 +- .../{go => server}/api_unsupported.go | 43 +- go-apps/meep-vis/server/logger.go | 46 ++ .../model_app_termination_notification.go | 16 +- ...del_app_termination_notification__links.go | 17 +- go-apps/meep-vis/{go => server}/model_body.go | 16 +- .../meep-vis/{go => server}/model_body_1.go | 16 +- .../meep-vis/{go => server}/model_cell_id.go | 16 +- .../meep-vis/{go => server}/model_earfcn.go | 16 +- go-apps/meep-vis/{go => server}/model_ecgi.go | 17 +- .../meep-vis/{go => server}/model_fdd_info.go | 17 +- .../{go => server}/model_link_type.go | 16 +- .../{go => server}/model_location_info.go | 17 +- .../model_location_info_geo_area.go | 16 +- .../{go => server}/model_one_ofbody.go | 24 +- .../{go => server}/model_one_ofbody_1.go | 24 +- .../model_operation_action_type.go | 19 +- .../model_pc5_neighbour_cell_info.go | 17 +- .../model_pc5_provisioning_info_inner.go | 16 +- go-apps/meep-vis/{go => server}/model_plmn.go | 16 +- .../{go => server}/model_predicted_qos.go | 16 +- .../model_predicted_qos_routes.go | 16 +- .../{go => server}/model_problem_details.go | 16 +- .../model_prov_chg_pc5_notification.go | 16 +- .../model_prov_chg_pc5_subscription.go | 17 +- .../model_prov_chg_pc5_subscription__links.go | 17 +- ...ov_chg_pc5_subscription_filter_criteria.go | 16 +- .../model_prov_chg_uu_mbms_notification.go | 17 +- .../model_prov_chg_uu_mbms_subscription.go | 17 +- ...hg_uu_mbms_subscription_filter_criteria.go | 17 +- .../model_prov_chg_uu_uni_notification.go | 17 +- .../model_prov_chg_uu_uni_subscription.go | 17 +- ...chg_uu_uni_subscription_filter_criteria.go | 17 +- .../model_subscription_link_list.go | 16 +- .../model_subscription_link_list__links.go | 17 +- .../model_system_information_block_type21.go | 16 +- .../meep-vis/{go => server}/model_tdd_info.go | 17 +- .../{go => server}/model_test_notification.go | 17 +- .../model_test_notification__links.go | 19 +- .../{go => server}/model_time_stamp.go | 16 +- .../model_transmission_bandwidth.go | 18 +- .../model_uu_mbms_neighbour_cell_info.go | 17 +- .../model_uu_mbms_provisioning_info_inner.go | 16 +- .../model_uu_uni_neighbour_cell_info.go | 17 +- ...odel_uu_unicast_provisioning_info_inner.go | 16 +- .../model_v2x_application_server.go | 17 +- .../model_v2x_msg_notification.go | 19 +- .../model_v2x_msg_notification__links.go | 17 +- .../model_v2x_msg_publication.go | 18 +- .../model_v2x_msg_subscription.go | 17 +- ...el_v2x_msg_subscription_filter_criteria.go | 16 +- .../{go => server}/model_v2x_server_usd.go | 17 +- .../model_v2x_server_usd_sdp_info.go | 17 +- .../model_v2x_server_usd_tmgi.go | 16 +- .../model_websock_notif_config.go | 16 +- go-apps/meep-vis/{go => server}/routers.go | 38 +- go-apps/meep-vis/server/vis.go | 596 ++++++++++++++++++ 69 files changed, 2702 insertions(+), 191 deletions(-) delete mode 100644 go-apps/meep-vis/.swagger-codegen-ignore delete mode 100644 go-apps/meep-vis/.swagger-codegen/VERSION create mode 100644 go-apps/meep-vis/Dockerfile create mode 100644 go-apps/meep-vis/entrypoint.sh create mode 100644 go-apps/meep-vis/go.mod create mode 100644 go-apps/meep-vis/go.sum delete mode 100644 go-apps/meep-vis/go/logger.go create mode 100644 go-apps/meep-vis/meep-vis-config.yaml create mode 100644 go-apps/meep-vis/sbi/vis-sbi.go rename go-apps/meep-vis/{go => server}/README.md (100%) rename go-apps/meep-vis/{go/api_qo_s.go => server/api_qos.go} (59%) rename go-apps/meep-vis/{go => server}/api_unsupported.go (62%) create mode 100644 go-apps/meep-vis/server/logger.go rename go-apps/meep-vis/{go => server}/model_app_termination_notification.go (69%) rename go-apps/meep-vis/{go => server}/model_app_termination_notification__links.go (62%) rename go-apps/meep-vis/{go => server}/model_body.go (57%) rename go-apps/meep-vis/{go => server}/model_body_1.go (57%) rename go-apps/meep-vis/{go => server}/model_cell_id.go (59%) rename go-apps/meep-vis/{go => server}/model_earfcn.go (60%) rename go-apps/meep-vis/{go => server}/model_ecgi.go (59%) rename go-apps/meep-vis/{go => server}/model_fdd_info.go (63%) rename go-apps/meep-vis/{go => server}/model_link_type.go (59%) rename go-apps/meep-vis/{go => server}/model_location_info.go (60%) rename go-apps/meep-vis/{go => server}/model_location_info_geo_area.go (64%) rename go-apps/meep-vis/{go => server}/model_one_ofbody.go (54%) rename go-apps/meep-vis/{go => server}/model_one_ofbody_1.go (54%) rename go-apps/meep-vis/{go => server}/model_operation_action_type.go (60%) rename go-apps/meep-vis/{go => server}/model_pc5_neighbour_cell_info.go (61%) rename go-apps/meep-vis/{go => server}/model_pc5_provisioning_info_inner.go (62%) rename go-apps/meep-vis/{go => server}/model_plmn.go (61%) rename go-apps/meep-vis/{go => server}/model_predicted_qos.go (64%) rename go-apps/meep-vis/{go => server}/model_predicted_qos_routes.go (63%) rename go-apps/meep-vis/{go => server}/model_problem_details.go (69%) rename go-apps/meep-vis/{go => server}/model_prov_chg_pc5_notification.go (69%) rename go-apps/meep-vis/{go => server}/model_prov_chg_pc5_subscription.go (72%) rename go-apps/meep-vis/{go => server}/model_prov_chg_pc5_subscription__links.go (61%) rename go-apps/meep-vis/{go => server}/model_prov_chg_pc5_subscription_filter_criteria.go (69%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_mbms_notification.go (67%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_mbms_subscription.go (72%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_mbms_subscription_filter_criteria.go (67%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_uni_notification.go (68%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_uni_subscription.go (72%) rename go-apps/meep-vis/{go => server}/model_prov_chg_uu_uni_subscription_filter_criteria.go (68%) rename go-apps/meep-vis/{go => server}/model_subscription_link_list.go (60%) rename go-apps/meep-vis/{go => server}/model_subscription_link_list__links.go (61%) rename go-apps/meep-vis/{go => server}/model_system_information_block_type21.go (58%) rename go-apps/meep-vis/{go => server}/model_tdd_info.go (63%) rename go-apps/meep-vis/{go => server}/model_test_notification.go (61%) rename go-apps/meep-vis/{go => server}/model_test_notification__links.go (57%) rename go-apps/meep-vis/{go => server}/model_time_stamp.go (64%) rename go-apps/meep-vis/{go => server}/model_transmission_bandwidth.go (63%) rename go-apps/meep-vis/{go => server}/model_uu_mbms_neighbour_cell_info.go (65%) rename go-apps/meep-vis/{go => server}/model_uu_mbms_provisioning_info_inner.go (62%) rename go-apps/meep-vis/{go => server}/model_uu_uni_neighbour_cell_info.go (62%) rename go-apps/meep-vis/{go => server}/model_uu_unicast_provisioning_info_inner.go (62%) rename go-apps/meep-vis/{go => server}/model_v2x_application_server.go (59%) rename go-apps/meep-vis/{go => server}/model_v2x_msg_notification.go (81%) rename go-apps/meep-vis/{go => server}/model_v2x_msg_notification__links.go (60%) rename go-apps/meep-vis/{go => server}/model_v2x_msg_publication.go (79%) rename go-apps/meep-vis/{go => server}/model_v2x_msg_subscription.go (72%) rename go-apps/meep-vis/{go => server}/model_v2x_msg_subscription_filter_criteria.go (69%) rename go-apps/meep-vis/{go => server}/model_v2x_server_usd.go (63%) rename go-apps/meep-vis/{go => server}/model_v2x_server_usd_sdp_info.go (62%) rename go-apps/meep-vis/{go => server}/model_v2x_server_usd_tmgi.go (66%) rename go-apps/meep-vis/{go => server}/model_websock_notif_config.go (65%) rename go-apps/meep-vis/{go => server}/routers.go (69%) create mode 100644 go-apps/meep-vis/server/vis.go diff --git a/.vscode/settings.json b/.vscode/settings.json index bd871a65f..0b28541d4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,7 @@ "go.lintFlags": [ "--fast" ], - "go.useLanguageServer": false, + // "go.useLanguageServer": false, "go.testOnSave": true, "[go]": { "editor.snippetSuggestions": "none", diff --git a/go-apps/meep-vis/.swagger-codegen-ignore b/go-apps/meep-vis/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/go-apps/meep-vis/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/go-apps/meep-vis/.swagger-codegen/VERSION b/go-apps/meep-vis/.swagger-codegen/VERSION deleted file mode 100644 index 812aaafe6..000000000 --- a/go-apps/meep-vis/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.0.22 \ No newline at end of file diff --git a/go-apps/meep-vis/Dockerfile b/go-apps/meep-vis/Dockerfile new file mode 100644 index 000000000..45121e2a7 --- /dev/null +++ b/go-apps/meep-vis/Dockerfile @@ -0,0 +1,23 @@ +# Copyright (c) 2020 InterDigital Communications, Inc +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +FROM debian:9.6-slim +COPY ./meep-vis /meep-vis +COPY ./api /api +COPY ./user-api /user-api +COPY ./data / + +RUN chmod +x /entrypoint.sh + +ENTRYPOINT ["/entrypoint.sh"] diff --git a/go-apps/meep-vis/entrypoint.sh b/go-apps/meep-vis/entrypoint.sh new file mode 100644 index 000000000..e6c446621 --- /dev/null +++ b/go-apps/meep-vis/entrypoint.sh @@ -0,0 +1,41 @@ +#!/bin/bash +set -e + +echo "MEEP_HOST_URL: ${MEEP_HOST_URL}" +echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}" +echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}" + +if [[ ! -z "${MEEP_MEP_NAME}" ]]; then + svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}" +else + svcPath="${MEEP_SANDBOX_NAME}" +fi + +# Update API yaml basepaths to enable "Try-it-out" feature +# OAS2: Set relative path to sandbox name + endpoint path (origin will be derived from browser URL) +# OAS3: Set full path to provided Host URL + sandbox name + endpoint path +setBasepath() { + # OAS3 + hostName=$(echo "${MEEP_HOST_URL}" | sed -E 's/^\s*.*:\/\///g') + echo "Replacing [localhost] with ${hostName} to url in: '$1'" + sed -i "s,localhost,${hostName},g" "$1"; + + # OAS2 and OAS3 + echo "Replacing [sandboxname] with ${svcPath} to basepath or url in: '$1'" + sed -i "s,sandboxname,${svcPath},g" "$1"; +} + +# Set basepath for API files +for file in /api/*; do + if [[ ! -e "$file" ]]; then continue; fi + setBasepath "$file" +done + +# Set basepath for user-supplied API files +for file in /user-api/*; do + if [[ ! -e "$file" ]]; then continue; fi + setBasepath "$file" +done + +# Start service +exec /meep-vis diff --git a/go-apps/meep-vis/go.mod b/go-apps/meep-vis/go.mod new file mode 100644 index 000000000..c5a818ac5 --- /dev/null +++ b/go-apps/meep-vis/go.mod @@ -0,0 +1,43 @@ +module github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis + +go 1.12 + +require ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis v0.0.0 + // github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client v0.0.0 // indirect + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-subscriptions v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr v0.0.0 + github.com/gorilla/handlers v1.5.1 + github.com/gorilla/mux v1.8.0 + github.com/prometheus/client_golang v1.9.0 +) + +replace ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client => ../../go-packages/meep-app-support-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr => ../../go-packages/meep-data-key-mgr + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model => ../../go-packages/meep-data-model + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache => ../../go-packages/meep-gis-cache + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger => ../../go-packages/meep-http-logger + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics => ../../go-packages/meep-metrics + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model => ../../go-packages/meep-model + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq => ../../go-packages/meep-mq + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis => ../../go-packages/meep-redis + // github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client => ../../go-packages/meep-vis-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client => ../../go-packages/meep-sandbox-ctrl-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client => ../../go-packages/meep-service-mgmt-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-subscriptions => ../../go-packages/meep-subscriptions + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr => ../../go-packages/meep-swagger-api-mgr + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-websocket => ../../go-packages/meep-websocket +) diff --git a/go-apps/meep-vis/go.sum b/go-apps/meep-vis/go.sum new file mode 100644 index 000000000..317057dae --- /dev/null +++ b/go-apps/meep-vis/go.sum @@ -0,0 +1,482 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= +github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52 h1:trnwuu/Q8T59kgRjXcSDBODnyZP9wes+bnLn0lx4PgM= +github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52/go.mod h1:DdR6ymcLl8+sN/XOVNjnYO1NDYfgHskGjreZUDuQCTY= +github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345 h1:fgSpoKViTSqRb4hjDNj10ig5wUvO0CayCzFdLf6fuRM= +github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345/go.mod h1:OK4EvWJ441LQqGzed5NGB6vKBAE34n3z7iayPcEwr30= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= +github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= +github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72 h1:uGeGZl8PxSq8VZGG4QK5njJTFA4/G/x5CYORvQVXtAE= +github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72/go.mod h1:o+JdB7VetTHjLhU0N57x18B9voDBQe0paApdEAEoEfw= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= +github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= +github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= +github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= +github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= +github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= +github.com/go-redis/redis v6.15.2+incompatible h1:9SpNVG76gr6InJGxoZ6IuuxaCOQwDAhzyXg+Bs+0Sb4= +github.com/go-redis/redis v6.15.2+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= +github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.2.0 h1:qJYtXnJRWmpe7m/3XlyhrsLrEURqHRM2kxzoxXqyUDs= +github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= +github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= +github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= +github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= +github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= +github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d h1:/WZQPMZNsjZ7IlCpsLGdQBINg5bxKQ1K1sh6awxLtkA= +github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= +github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237 h1:acuCHBjzG7MFTugvx3buC4m5rLDLaKC9J8C9jtlraRc= +github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237/go.mod h1:UOnLAUmVG5paym8pD3C4B9BQylUDC2vXFJJpT7JrlEA= +github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= +github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= +github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= +github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.16.0 h1:6gjqkI8iiRHMvdccRJM8rVKjCWk6ZIm6FTm3ddIe4/c= +github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= +github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= +github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= +github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.9.0 h1:Rrch9mh17XcxvEu9D9DEpb4isxjGBtcevQjKvxPRQIU= +github.com/prometheus/client_golang v1.9.0/go.mod h1:FqZLKOZnGdFAhOK4nqGHa7D66IdsO+O441Eve7ptJDU= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.15.0 h1:4fgOnadei3EZvgRwxJ7RMpG1k1pOZth5Pc13tyspaKM= +github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.2.0 h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4= +github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 h1:DzZ89McO9/gWPsQXS/FVKAlG02ZjaQ6AlZRBimEYOd0= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da h1:b3NXsE2LusjYGGjL5bxEVZZORm/YEFFrWFjR8eFrw/c= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= +sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/go-apps/meep-vis/go/logger.go b/go-apps/meep-vis/go/logger.go deleted file mode 100644 index 87382a99c..000000000 --- a/go-apps/meep-vis/go/logger.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * AdvantEDGE V2X Information Service REST API - * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package swagger - -import ( - "log" - "net/http" - "time" -) - -func Logger(inner http.Handler, name string) http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - start := time.Now() - - inner.ServeHTTP(w, r) - - log.Printf( - "%s %s %s %s", - r.Method, - r.RequestURI, - name, - time.Since(start), - ) - }) -} diff --git a/go-apps/meep-vis/main.go b/go-apps/meep-vis/main.go index 64fa5b470..89f4f343c 100644 --- a/go-apps/meep-vis/main.go +++ b/go-apps/meep-vis/main.go @@ -1,32 +1,96 @@ /* - * AdvantEDGE V2X Information Service REST API + * Copyright (c) 2020 InterDigital Communications, Inc * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ + package main import ( - "log" "net/http" + "os" + "os/signal" + "syscall" + "time" + + server "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis/server" + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + "github.com/prometheus/client_golang/prometheus/promhttp" - // WARNING! - // Change this to a fully-qualified import path - // once you place this file into your project. - // For example, - // - // sw "github.com/myname/myrepo/go" - // - sw "./go" + "github.com/gorilla/handlers" ) +func init() { + // Log as JSON instead of the default ASCII formatter. + log.MeepJSONLogInit("meep-vis") +} + func main() { - log.Printf("Server started") + log.Info(os.Args) + + log.Info("Starting V2XI Service") + + run := true + go func() { + sigchan := make(chan os.Signal, 10) + signal.Notify(sigchan, syscall.SIGINT, syscall.SIGTERM) + <-sigchan + log.Info("Program killed !") + // do last actions and wait for all write operations to end + run = false + }() + + go func() { + // Initialize VIS + err := server.Init() + if err != nil { + log.Error("Failed to initialize V2XI Service") + run = false + return + } + + // Start VIS Event Handler thread + err = server.Run() + if err != nil { + log.Error("Failed to start V2XI Service") + run = false + return + } + + // Start VIS REST API Server + router := server.NewRouter() + methods := handlers.AllowedMethods([]string{"OPTIONS", "DELETE", "GET", "HEAD", "POST", "PUT"}) + header := handlers.AllowedHeaders([]string{"content-type"}) + log.Fatal(http.ListenAndServe(":80", handlers.CORS(methods, header)(router))) + run = false + }() + + go func() { + // Initialize Metrics Endpoint + http.Handle("/metrics", promhttp.Handler()) + log.Fatal(http.ListenAndServe(":9000", nil)) + run = false + }() - router := sw.NewRouter() + count := 0 + for { + if !run { + _ = server.Stop() + log.Info("Ran for ", count, " seconds") + break + } + time.Sleep(time.Second) + count++ + } - log.Fatal(http.ListenAndServe(":8080", router)) } diff --git a/go-apps/meep-vis/meep-vis-config.yaml b/go-apps/meep-vis/meep-vis-config.yaml new file mode 100644 index 000000000..846a14f0d --- /dev/null +++ b/go-apps/meep-vis/meep-vis-config.yaml @@ -0,0 +1,16 @@ +# This file defines the configuration of DAI edge application. All fields are required to run DAI AdvantEDGE + +# Set where mec application is running either on MEC Sandbox or AdvantEDGE. Expected fields: sandbox | advantedge +mode: 'advantedge' +# Set url of mec platform. Example field format: http://{MEC_IP_ADDRESS}/{SANDBOX_NAME}/{MEP_NAME}/ +sandbox: +# Set if sandbox url uses https. Expected fields: true | false +https: false +# Set the mec platform name demo-3 will run on. Example field: mep1 +mecplatform: '' +# Set user-application ID that is generated on MEC Sandbox frontend. Example field format: 7930ba6d-4581-444c-b966-3312517f3a51 +appid: '' +# Set host address of demo-3. +localurl: 'http://127.0.0.1' +# Set host port number of demo-3. Example field: '8093' +port: '8081' diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go new file mode 100644 index 000000000..77bf492bb --- /dev/null +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -0,0 +1,503 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package sbi + +import ( + "sync" + "time" + + dataModel "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model" + gc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache" + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" + mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" + sam "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr" +) + +const moduleName string = "meep-wais-sbi" + +var metricStore *met.MetricStore +var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" +var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" + +type SbiCfg struct { + ModuleName string + SandboxName string + MepName string + RedisAddr string + InfluxAddr string + PostgisHost string + PostgisPort string + Locality []string + // StaInfoCb func(string, string, string, *int32, *int32, *int32) + // ApInfoCb func(string, string, *float32, *float32, []string) + ScenarioNameCb func(string) + CleanUpCb func() +} + +type WaisSbi struct { + moduleName string + sandboxName string + mepName string + scenarioName string + localityEnabled bool + locality map[string]bool + mqLocal *mq.MsgQueue + handlerId int + apiMgr *sam.SwaggerApiMgr + activeModel *mod.Model + gisCache *gc.GisCache + refreshTicker *time.Ticker + // updateStaInfoCB func(string, string, string, *int32, *int32, *int32) + // updateAccessPointInfoCB func(string, string, *float32, *float32, []string) + updateScenarioNameCB func(string) + cleanUpCB func() + mutex sync.Mutex +} + +var sbi *WaisSbi + +// Init - WAI Service SBI initialization +func Init(cfg SbiCfg) (err error) { + + // Create new SBI instance + if sbi != nil { + sbi = nil + } + sbi = new(WaisSbi) + sbi.moduleName = cfg.ModuleName + sbi.sandboxName = cfg.SandboxName + sbi.mepName = cfg.MepName + sbi.scenarioName = "" + // sbi.updateStaInfoCB = cfg.StaInfoCb + // sbi.updateAccessPointInfoCB = cfg.ApInfoCb + sbi.updateScenarioNameCB = cfg.ScenarioNameCb + sbi.cleanUpCB = cfg.CleanUpCb + redisAddr = cfg.RedisAddr + influxAddr = cfg.InfluxAddr + + // Fill locality map + if len(cfg.Locality) > 0 { + sbi.locality = make(map[string]bool) + for _, locality := range cfg.Locality { + sbi.locality[locality] = true + } + sbi.localityEnabled = true + } else { + sbi.localityEnabled = false + } + + // Create message queue + sbi.mqLocal, err = mq.NewMsgQueue(mq.GetLocalName(sbi.sandboxName), moduleName, sbi.sandboxName, cfg.RedisAddr) + if err != nil { + log.Error("Failed to create Message Queue with error: ", err) + return err + } + log.Info("Message Queue created") + + // Create Swagger API Manager + sbi.apiMgr, err = sam.NewSwaggerApiMgr(sbi.moduleName, sbi.sandboxName, sbi.mepName, sbi.mqLocal) + if err != nil { + log.Error("Failed to create Swagger API Manager. Error: ", err) + return err + } + log.Info("Swagger API Manager created") + + // Create new active scenario model + modelCfg := mod.ModelCfg{ + Name: "activeScenario", + Namespace: sbi.sandboxName, + Module: moduleName, + UpdateCb: nil, + DbAddr: cfg.RedisAddr, + } + sbi.activeModel, err = mod.NewModel(modelCfg) + if err != nil { + log.Error("Failed to create model: ", err.Error()) + return err + } + + // Connect to GIS cache + sbi.gisCache, err = gc.NewGisCache(sbi.sandboxName, cfg.RedisAddr) + if err != nil { + log.Error("Failed to GIS Cache: ", err.Error()) + return err + } + log.Info("Connected to GIS Cache") + + // Initialize service + processActiveScenarioUpdate() + + return nil +} + +// Run - MEEP WAIS execution +func Run() (err error) { + + // Start Swagger API Manager (provider) + err = sbi.apiMgr.Start(true, false) + if err != nil { + log.Error("Failed to start Swagger API Manager with error: ", err.Error()) + return err + } + log.Info("Swagger API Manager started") + + // Add module Swagger APIs + err = sbi.apiMgr.AddApis() + if err != nil { + log.Error("Failed to add Swagger APIs with error: ", err.Error()) + return err + } + log.Info("Swagger APIs successfully added") + + // Register Message Queue handler + handler := mq.MsgHandler{Handler: msgHandler, UserData: nil} + sbi.handlerId, err = sbi.mqLocal.RegisterHandler(handler) + if err != nil { + log.Error("Failed to register message queue handler: ", err.Error()) + return err + } + + // Start refresh loop + // startRefreshTicker() + + return nil +} + +func Stop() (err error) { + if sbi == nil { + return + } + + // Stop refresh loop + // stopRefreshTicker() + + if sbi.mqLocal != nil { + sbi.mqLocal.UnregisterHandler(sbi.handlerId) + } + + if sbi.apiMgr != nil { + // Remove APIs + err = sbi.apiMgr.RemoveApis() + if err != nil { + log.Error("Failed to remove APIs with err: ", err.Error()) + return err + } + } + + return nil +} + +// func startRefreshTicker() { +// log.Debug("Starting refresh loop") +// sbi.refreshTicker = time.NewTicker(1000 * time.Millisecond) +// go func() { +// for range sbi.refreshTicker.C { +// refreshPositions() +// // refreshMeasurements() +// } +// }() +// } + +// func stopRefreshTicker() { +// if sbi.refreshTicker != nil { +// sbi.refreshTicker.Stop() +// sbi.refreshTicker = nil +// log.Debug("Refresh loop stopped") +// } +// } + +// Message Queue handler +func msgHandler(msg *mq.Msg, userData interface{}) { + switch msg.Message { + case mq.MsgScenarioActivate: + log.Debug("RX MSG: ", mq.PrintMsg(msg)) + processActiveScenarioUpdate() + case mq.MsgScenarioUpdate: + log.Debug("RX MSG: ", mq.PrintMsg(msg)) + processActiveScenarioUpdate() + case mq.MsgScenarioTerminate: + log.Debug("RX MSG: ", mq.PrintMsg(msg)) + processActiveScenarioTerminate() + default: + log.Trace("Ignoring unsupported message: ", mq.PrintMsg(msg)) + } +} + +func processActiveScenarioTerminate() { + log.Debug("processActiveScenarioTerminate") + + // Sync with active scenario store + sbi.activeModel.UpdateScenario() + + sbi.cleanUpCB() +} + +func getAppSumUlDl(apps []string) (float32, float32) { + sumUl := 0.0 + sumDl := 0.0 + //var appNames []string + for _, appName := range apps { + //appNames = append(appNames, process.Name) + if metricStore != nil { + metricsArray, err := metricStore.GetCachedNetworkMetrics("*", appName) + if err != nil { + log.Error("Failed to get network metric:", err) + } + + //downlink for the app is uplink for the UE, and vice-versa + for _, metrics := range metricsArray { + sumUl += metrics.DlTput + sumDl += metrics.UlTput + } + } + } + + return float32(sumUl), float32(sumDl) +} + +func processActiveScenarioUpdate() { + + sbi.mutex.Lock() + defer sbi.mutex.Unlock() + + log.Debug("processActiveScenarioUpdate") + + // Get previous list of connected UEs + prevUeNames := []string{} + prevUeNameList := sbi.activeModel.GetNodeNames("UE") + for _, name := range prevUeNameList { + if isUeConnected(name) && isInLocality(name) { + prevUeNames = append(prevUeNames, name) + } + } + + sbi.activeModel.UpdateScenario() + + scenarioName := sbi.activeModel.GetScenarioName() + + // Connect to Metric Store + sbi.updateScenarioNameCB(scenarioName) + + if scenarioName != sbi.scenarioName { + sbi.scenarioName = scenarioName + var err error + + metricStore, err = met.NewMetricStore(scenarioName, sbi.sandboxName, influxAddr, redisAddr) + if err != nil { + log.Error("Failed connection to metric-store: ", err) + } + } + // Get all POA positions & UE measurments + // poaPositionMap, _ := sbi.gisCache.GetAllPositions(gc.TypePoa) + // ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() + + // Update UE info + // ueNames := []string{} + // ueNameList := sbi.activeModel.GetNodeNames("UE") + // for _, name := range ueNameList { + // // Ignore disconnected UEs + // if !isUeConnected(name) || !isInLocality(name) { + // continue + // } + // ueNames = append(ueNames, name) + + // // Update STA Info + // ueParent := sbi.activeModel.GetNodeParent(name) + // if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { + // apMacId := "" + // var rssi *int32 + // switch poa.Type_ { + // case mod.NodeTypePoaWifi: + // apMacId = poa.PoaWifiConfig.MacId + // rssi = getRssi(name, poa.Name, ueMeasMap) + // } + // ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) + + // //get all appNames under the UE + // apps := (sbi.activeModel.GetNodeChild(name)).(*[]dataModel.Process) + + // var appNames []string + // for _, process := range *apps { + // appNames = append(appNames, process.Name) + // } + + // sumUl, sumDl := getAppSumUlDl(appNames) + // sumUlKbps := int32(sumUl * 1000) + // sumDlKbps := int32(sumDl * 1000) + // sbi.updateStaInfoCB(name, ue.MacId, apMacId, rssi, &sumUlKbps, &sumDlKbps) + // } + // } + + // // Update UEs that were removed + // for _, prevUeName := range prevUeNames { + // found := false + // for _, ueName := range ueNames { + // if ueName == prevUeName { + // found = true + // break + // } + // } + // if !found { + // sbi.updateStaInfoCB(prevUeName, "", "", nil, nil, nil) + // log.Info("Ue removed : ", prevUeName) + // } + // } + + // // Update POA Wifi info + // poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoaWifi) + // for _, name := range poaNameList { + // // Ignore POAs not in locality + // if !isInLocality(name) { + // continue + // } + + // poa := (sbi.activeModel.GetNode(name)).(*dataModel.NetworkLocation) + // if poa == nil { + // log.Error("Can't find poa named " + name) + // continue + // } + + // var longitude *float32 + // var latitude *float32 + // if position, found := poaPositionMap[name]; found { + // longitude = &position.Longitude + // latitude = &position.Latitude + // } + // //list of Ues MacIds + // var ueMacIdList []string + + // for _, pl := range poa.PhysicalLocations { + // if pl.Connected { + // ueMacIdList = append(ueMacIdList, pl.MacId) + // } + // } + // sbi.updateAccessPointInfoCB(name, poa.PoaWifiConfig.MacId, longitude, latitude, ueMacIdList) + // } +} + +// func refreshPositions() { + +// sbi.mutex.Lock() +// defer sbi.mutex.Unlock() + +// // Update POA Positions +// poaPositionMap, _ := sbi.gisCache.GetAllPositions(gc.TypePoa) +// poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoaWifi) +// for _, name := range poaNameList { +// // Ignore POAs not in locality +// if !isInLocality(name) { +// continue +// } +// // Get Network Location +// poa := (sbi.activeModel.GetNode(name)).(*dataModel.NetworkLocation) +// if poa == nil { +// log.Error("Can't find poa named " + name) +// continue +// } + +// // Get position +// var longitude *float32 +// var latitude *float32 +// if position, found := poaPositionMap[name]; found { +// longitude = &position.Longitude +// latitude = &position.Latitude +// } + +// // Get list UE MacIds +// var ueMacIdList []string +// for _, pl := range poa.PhysicalLocations { +// if pl.Connected { +// ueMacIdList = append(ueMacIdList, pl.MacId) +// } +// } + +// sbi.updateAccessPointInfoCB(name, poa.PoaWifiConfig.MacId, longitude, latitude, ueMacIdList) +// } +// } + +// func refreshMeasurements() { +// // Update UE measurements +// ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() +// ueNameList := sbi.activeModel.GetNodeNames("UE") +// for _, name := range ueNameList { +// // Ignore disconnected UEs +// if !isUeConnected(name) || !isInLocality(name) { +// continue +// } + +// // Update STA Info +// ueParent := sbi.activeModel.GetNodeParent(name) +// if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { +// apMacId := "" +// var rssi *int32 +// switch poa.Type_ { +// case mod.NodeTypePoaWifi: +// apMacId = poa.PoaWifiConfig.MacId +// rssi = getRssi(name, poa.Name, ueMeasMap) +// } +// ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) +// apps := (sbi.activeModel.GetNodeChild(name)).(*[]dataModel.Process) + +// var appNames []string +// for _, process := range *apps { +// appNames = append(appNames, process.Name) +// } + +// sumUl, sumDl := getAppSumUlDl(appNames) +// sumUlKbps := int32(sumUl * 1000) +// sumDlKbps := int32(sumDl * 1000) +// sbi.updateStaInfoCB(name, ue.MacId, apMacId, rssi, &sumUlKbps, &sumDlKbps) +// } +// } +// } + +func getRssi(ue string, poa string, ueMeasMap map[string]*gc.UeMeasurement) *int32 { + if ueMeas, ueFound := ueMeasMap[ue]; ueFound { + if meas, poaFound := ueMeas.Measurements[poa]; poaFound { + rssi := int32(meas.Rssi) + return &rssi + } + } + return nil +} + +func isUeConnected(name string) bool { + node := sbi.activeModel.GetNode(name) + if node != nil { + pl := node.(*dataModel.PhysicalLocation) + if pl.Connected { + return true + } + } + return false +} + +func isInLocality(name string) bool { + if sbi.localityEnabled { + ctx := sbi.activeModel.GetNodeContext(name) + if ctx == nil { + log.Error("Error getting context for: " + name) + return false + } + if _, found := sbi.locality[ctx.Parents[mod.Zone]]; !found { + return false + } + } + return true +} diff --git a/go-apps/meep-vis/go/README.md b/go-apps/meep-vis/server/README.md similarity index 100% rename from go-apps/meep-vis/go/README.md rename to go-apps/meep-vis/server/README.md diff --git a/go-apps/meep-vis/go/api_qo_s.go b/go-apps/meep-vis/server/api_qos.go similarity index 59% rename from go-apps/meep-vis/go/api_qo_s.go rename to go-apps/meep-vis/server/api_qos.go index acbfc04c8..b9bcc3d82 100644 --- a/go-apps/meep-vis/go/api_qo_s.go +++ b/go-apps/meep-vis/server/api_qos.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,18 +21,16 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server import ( "net/http" ) func Mec011AppTerminationPOST(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + mec011AppTerminationPost(w, r) } func PredictedQosPOST(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + predictedQosPost(w, r) } diff --git a/go-apps/meep-vis/go/api_unsupported.go b/go-apps/meep-vis/server/api_unsupported.go similarity index 62% rename from go-apps/meep-vis/go/api_unsupported.go rename to go-apps/meep-vis/server/api_unsupported.go index 72c1b87d8..6ae4c1568 100644 --- a/go-apps/meep-vis/go/api_unsupported.go +++ b/go-apps/meep-vis/server/api_unsupported.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,53 +21,44 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server import ( "net/http" ) func IndividualSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func IndividualSubscriptionGET(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func IndividualSubscriptionPUT(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func ProvInfoGET(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func ProvInfoUuMbmsGET(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func ProvInfoUuUnicastGET(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func SubGET(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func SubPOST(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } func V2xMessagePOST(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "application/json; charset=UTF-8") - w.WriteHeader(http.StatusOK) + notImplemented(w, r) } diff --git a/go-apps/meep-vis/server/logger.go b/go-apps/meep-vis/server/logger.go new file mode 100644 index 000000000..91abce0c4 --- /dev/null +++ b/go-apps/meep-vis/server/logger.go @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +import ( + "net/http" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" +) + +func Logger(inner http.Handler, name string) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + start := time.Now() + + inner.ServeHTTP(w, r) + + log.Debug( + r.Method, " ", + r.RequestURI, " ", + name, " ", + time.Since(start), + ) + }) +} diff --git a/go-apps/meep-vis/go/model_app_termination_notification.go b/go-apps/meep-vis/server/model_app_termination_notification.go similarity index 69% rename from go-apps/meep-vis/go/model_app_termination_notification.go rename to go-apps/meep-vis/server/model_app_termination_notification.go index e77ef2d7b..653d3a42c 100644 --- a/go-apps/meep-vis/go/model_app_termination_notification.go +++ b/go-apps/meep-vis/server/model_app_termination_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. type AppTerminationNotification struct { diff --git a/go-apps/meep-vis/go/model_app_termination_notification__links.go b/go-apps/meep-vis/server/model_app_termination_notification__links.go similarity index 62% rename from go-apps/meep-vis/go/model_app_termination_notification__links.go rename to go-apps/meep-vis/server/model_app_termination_notification__links.go index 4db27eff5..1c5944782 100644 --- a/go-apps/meep-vis/go/model_app_termination_notification__links.go +++ b/go-apps/meep-vis/server/model_app_termination_notification__links.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,10 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // Object containing hyperlinks related to the resource. type AppTerminationNotificationLinks struct { - Subscription *LinkType `json:"subscription"` ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` diff --git a/go-apps/meep-vis/go/model_body.go b/go-apps/meep-vis/server/model_body.go similarity index 57% rename from go-apps/meep-vis/go/model_body.go rename to go-apps/meep-vis/server/model_body.go index 85e712ada..4d6cf99c0 100644 --- a/go-apps/meep-vis/go/model_body.go +++ b/go-apps/meep-vis/server/model_body.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Body struct { } diff --git a/go-apps/meep-vis/go/model_body_1.go b/go-apps/meep-vis/server/model_body_1.go similarity index 57% rename from go-apps/meep-vis/go/model_body_1.go rename to go-apps/meep-vis/server/model_body_1.go index b68a70d5c..5480f841e 100644 --- a/go-apps/meep-vis/go/model_body_1.go +++ b/go-apps/meep-vis/server/model_body_1.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Body1 struct { } diff --git a/go-apps/meep-vis/go/model_cell_id.go b/go-apps/meep-vis/server/model_cell_id.go similarity index 59% rename from go-apps/meep-vis/go/model_cell_id.go rename to go-apps/meep-vis/server/model_cell_id.go index 55e879c74..e3926dafe 100644 --- a/go-apps/meep-vis/go/model_cell_id.go +++ b/go-apps/meep-vis/server/model_cell_id.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type CellId struct { // E-UTRAN Cell Identity as a bit string (size (28)). diff --git a/go-apps/meep-vis/go/model_earfcn.go b/go-apps/meep-vis/server/model_earfcn.go similarity index 60% rename from go-apps/meep-vis/go/model_earfcn.go rename to go-apps/meep-vis/server/model_earfcn.go index d88118da5..ed9508c9d 100644 --- a/go-apps/meep-vis/go/model_earfcn.go +++ b/go-apps/meep-vis/server/model_earfcn.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Earfcn struct { // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) diff --git a/go-apps/meep-vis/go/model_ecgi.go b/go-apps/meep-vis/server/model_ecgi.go similarity index 59% rename from go-apps/meep-vis/go/model_ecgi.go rename to go-apps/meep-vis/server/model_ecgi.go index e39f61dcc..c19cdf45e 100644 --- a/go-apps/meep-vis/go/model_ecgi.go +++ b/go-apps/meep-vis/server/model_ecgi.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Ecgi struct { - CellId *CellId `json:"cellId"` Plmn *Plmn `json:"plmn"` diff --git a/go-apps/meep-vis/go/model_fdd_info.go b/go-apps/meep-vis/server/model_fdd_info.go similarity index 63% rename from go-apps/meep-vis/go/model_fdd_info.go rename to go-apps/meep-vis/server/model_fdd_info.go index 2241dca24..c60707502 100644 --- a/go-apps/meep-vis/go/model_fdd_info.go +++ b/go-apps/meep-vis/server/model_fdd_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type FddInfo struct { - DlEarfcn *Earfcn `json:"dlEarfcn"` DlTransmissionBandwidth *TransmissionBandwidth `json:"dlTransmissionBandwidth"` diff --git a/go-apps/meep-vis/go/model_link_type.go b/go-apps/meep-vis/server/model_link_type.go similarity index 59% rename from go-apps/meep-vis/go/model_link_type.go rename to go-apps/meep-vis/server/model_link_type.go index da545c06e..3de72738b 100644 --- a/go-apps/meep-vis/go/model_link_type.go +++ b/go-apps/meep-vis/server/model_link_type.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type LinkType struct { // URI referring to a resource diff --git a/go-apps/meep-vis/go/model_location_info.go b/go-apps/meep-vis/server/model_location_info.go similarity index 60% rename from go-apps/meep-vis/go/model_location_info.go rename to go-apps/meep-vis/server/model_location_info.go index 0672bbaa8..00178feb6 100644 --- a/go-apps/meep-vis/go/model_location_info.go +++ b/go-apps/meep-vis/server/model_location_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type LocationInfo struct { - Ecgi *Ecgi `json:"ecgi,omitempty"` GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` diff --git a/go-apps/meep-vis/go/model_location_info_geo_area.go b/go-apps/meep-vis/server/model_location_info_geo_area.go similarity index 64% rename from go-apps/meep-vis/go/model_location_info_geo_area.go rename to go-apps/meep-vis/server/model_location_info_geo_area.go index 0f060d100..71f1e22f9 100644 --- a/go-apps/meep-vis/go/model_location_info_geo_area.go +++ b/go-apps/meep-vis/server/model_location_info_geo_area.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // Information of a geographical area. type LocationInfoGeoArea struct { diff --git a/go-apps/meep-vis/go/model_one_ofbody.go b/go-apps/meep-vis/server/model_one_ofbody.go similarity index 54% rename from go-apps/meep-vis/go/model_one_ofbody.go rename to go-apps/meep-vis/server/model_one_ofbody.go index 9d1781233..4a599bbd4 100644 --- a/go-apps/meep-vis/go/model_one_ofbody.go +++ b/go-apps/meep-vis/server/model_one_ofbody.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,11 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type OneOfbody struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription } diff --git a/go-apps/meep-vis/go/model_one_ofbody_1.go b/go-apps/meep-vis/server/model_one_ofbody_1.go similarity index 54% rename from go-apps/meep-vis/go/model_one_ofbody_1.go rename to go-apps/meep-vis/server/model_one_ofbody_1.go index 4357ebe47..5416983e5 100644 --- a/go-apps/meep-vis/go/model_one_ofbody_1.go +++ b/go-apps/meep-vis/server/model_one_ofbody_1.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,11 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type OneOfbody1 struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription } diff --git a/go-apps/meep-vis/go/model_operation_action_type.go b/go-apps/meep-vis/server/model_operation_action_type.go similarity index 60% rename from go-apps/meep-vis/go/model_operation_action_type.go rename to go-apps/meep-vis/server/model_operation_action_type.go index 9b994de09..516c9ed3f 100644 --- a/go-apps/meep-vis/go/model_operation_action_type.go +++ b/go-apps/meep-vis/server/model_operation_action_type.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,12 +21,13 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server + // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING OperationActionType = "STOPPING" + STOPPING OperationActionType = "STOPPING" TERMINATING OperationActionType = "TERMINATING" ) diff --git a/go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go b/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go similarity index 61% rename from go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go rename to go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go index e9a6fa8a2..16a1f1999 100644 --- a/go-apps/meep-vis/go/model_pc5_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Pc5NeighbourCellInfo struct { - Ecgi *Ecgi `json:"ecgi"` Plmn *Plmn `json:"plmn"` diff --git a/go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go b/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go similarity index 62% rename from go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go index b9511a53c..17729875b 100644 --- a/go-apps/meep-vis/go/model_pc5_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Pc5ProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-apps/meep-vis/go/model_plmn.go b/go-apps/meep-vis/server/model_plmn.go similarity index 61% rename from go-apps/meep-vis/go/model_plmn.go rename to go-apps/meep-vis/server/model_plmn.go index 15dbbbc4d..87b3eaa1b 100644 --- a/go-apps/meep-vis/go/model_plmn.go +++ b/go-apps/meep-vis/server/model_plmn.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type Plmn struct { // The Mobile Country Code part of PLMN Identity. diff --git a/go-apps/meep-vis/go/model_predicted_qos.go b/go-apps/meep-vis/server/model_predicted_qos.go similarity index 64% rename from go-apps/meep-vis/go/model_predicted_qos.go rename to go-apps/meep-vis/server/model_predicted_qos.go index 493fc5e04..fc818d534 100644 --- a/go-apps/meep-vis/go/model_predicted_qos.go +++ b/go-apps/meep-vis/server/model_predicted_qos.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type PredictedQos struct { // Granularity of visited location. Measured in meters. diff --git a/go-apps/meep-vis/go/model_predicted_qos_routes.go b/go-apps/meep-vis/server/model_predicted_qos_routes.go similarity index 63% rename from go-apps/meep-vis/go/model_predicted_qos_routes.go rename to go-apps/meep-vis/server/model_predicted_qos_routes.go index 1617a8adb..667a37c68 100644 --- a/go-apps/meep-vis/go/model_predicted_qos_routes.go +++ b/go-apps/meep-vis/server/model_predicted_qos_routes.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. diff --git a/go-apps/meep-vis/go/model_problem_details.go b/go-apps/meep-vis/server/model_problem_details.go similarity index 69% rename from go-apps/meep-vis/go/model_problem_details.go rename to go-apps/meep-vis/server/model_problem_details.go index dc61be600..4e4b4e094 100644 --- a/go-apps/meep-vis/go/model_problem_details.go +++ b/go-apps/meep-vis/server/model_problem_details.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_notification.go b/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go similarity index 69% rename from go-apps/meep-vis/go/model_prov_chg_pc5_notification.go rename to go-apps/meep-vis/server/model_prov_chg_pc5_notification.go index d91e037db..9b86c5a05 100644 --- a/go-apps/meep-vis/go/model_prov_chg_pc5_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgPc5Notification struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go similarity index 72% rename from go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go rename to go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go index fd61bf497..2991ae565 100644 --- a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgPc5Subscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go similarity index 61% rename from go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go rename to go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go index e2dfaefed..35455a70e 100644 --- a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription__links.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. type ProvChgPc5SubscriptionLinks struct { - Self *LinkType `json:"self"` } diff --git a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go similarity index 69% rename from go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go rename to go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go index 03369224a..6454ed791 100644 --- a/go-apps/meep-vis/go/model_prov_chg_pc5_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgPc5SubscriptionFilterCriteria struct { diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go similarity index 67% rename from go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go rename to go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go index c36563ce6..5afaa3959 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgUuMbmsNotification struct { - LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go similarity index 72% rename from go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go rename to go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go index 1729c26e6..b13381371 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgUuMbmsSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go similarity index 67% rename from go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go rename to go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go index 96d70ef27..d5db93ff4 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_mbms_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,10 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgUuMbmsSubscriptionFilterCriteria struct { - LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go similarity index 68% rename from go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go rename to go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go index 2ea94e73e..7cc3c27fc 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_uni_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgUuUniNotification struct { - LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go similarity index 72% rename from go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go rename to go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go index f8e32a60f..b24a745a1 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type ProvChgUuUniSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go similarity index 68% rename from go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go rename to go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go index ff4f26a26..e9f8888fe 100644 --- a/go-apps/meep-vis/go/model_prov_chg_uu_uni_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,10 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgUuUniSubscriptionFilterCriteria struct { - LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` diff --git a/go-apps/meep-vis/go/model_subscription_link_list.go b/go-apps/meep-vis/server/model_subscription_link_list.go similarity index 60% rename from go-apps/meep-vis/go/model_subscription_link_list.go rename to go-apps/meep-vis/server/model_subscription_link_list.go index 1fc923f7d..2f7ebce90 100644 --- a/go-apps/meep-vis/go/model_subscription_link_list.go +++ b/go-apps/meep-vis/server/model_subscription_link_list.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type SubscriptionLinkList struct { // List of hyperlinks related to the resource. diff --git a/go-apps/meep-vis/go/model_subscription_link_list__links.go b/go-apps/meep-vis/server/model_subscription_link_list__links.go similarity index 61% rename from go-apps/meep-vis/go/model_subscription_link_list__links.go rename to go-apps/meep-vis/server/model_subscription_link_list__links.go index 2a64695dd..94c2f5f8b 100644 --- a/go-apps/meep-vis/go/model_subscription_link_list__links.go +++ b/go-apps/meep-vis/server/model_subscription_link_list__links.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type SubscriptionLinkListLinks struct { - Self *LinkType `json:"self,omitempty"` // The service consumer's subscriptions. Subscriptions []interface{} `json:"subscriptions,omitempty"` diff --git a/go-apps/meep-vis/go/model_system_information_block_type21.go b/go-apps/meep-vis/server/model_system_information_block_type21.go similarity index 58% rename from go-apps/meep-vis/go/model_system_information_block_type21.go rename to go-apps/meep-vis/server/model_system_information_block_type21.go index c46b6122f..e8ef3c446 100644 --- a/go-apps/meep-vis/go/model_system_information_block_type21.go +++ b/go-apps/meep-vis/server/model_system_information_block_type21.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type SystemInformationBlockType21 struct { } diff --git a/go-apps/meep-vis/go/model_tdd_info.go b/go-apps/meep-vis/server/model_tdd_info.go similarity index 63% rename from go-apps/meep-vis/go/model_tdd_info.go rename to go-apps/meep-vis/server/model_tdd_info.go index 20c84b4c0..d4d559a44 100644 --- a/go-apps/meep-vis/go/model_tdd_info.go +++ b/go-apps/meep-vis/server/model_tdd_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type TddInfo struct { - Earfcn *Earfcn `json:"earfcn"` // Uplink-downlink subframe configuration information. SubframeAssignment string `json:"subframeAssignment"` diff --git a/go-apps/meep-vis/go/model_test_notification.go b/go-apps/meep-vis/server/model_test_notification.go similarity index 61% rename from go-apps/meep-vis/go/model_test_notification.go rename to go-apps/meep-vis/server/model_test_notification.go index 6420510fc..6e1f37955 100644 --- a/go-apps/meep-vis/go/model_test_notification.go +++ b/go-apps/meep-vis/server/model_test_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type TestNotification struct { - Links *TestNotificationLinks `json:"_links"` // Shall be set to \"TestNotification\". NotificationType string `json:"notificationType"` diff --git a/go-apps/meep-vis/go/model_test_notification__links.go b/go-apps/meep-vis/server/model_test_notification__links.go similarity index 57% rename from go-apps/meep-vis/go/model_test_notification__links.go rename to go-apps/meep-vis/server/model_test_notification__links.go index c6383aa35..d3e0a12bb 100644 --- a/go-apps/meep-vis/go/model_test_notification__links.go +++ b/go-apps/meep-vis/server/model_test_notification__links.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server -// Hyperlink related to the resource. +// Hyperlink related to the resource. type TestNotificationLinks struct { - Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-vis/go/model_time_stamp.go b/go-apps/meep-vis/server/model_time_stamp.go similarity index 64% rename from go-apps/meep-vis/go/model_time_stamp.go rename to go-apps/meep-vis/server/model_time_stamp.go index 8fbdce050..7eb3ab8bf 100644 --- a/go-apps/meep-vis/go/model_time_stamp.go +++ b/go-apps/meep-vis/server/model_time_stamp.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type TimeStamp struct { // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. diff --git a/go-apps/meep-vis/go/model_transmission_bandwidth.go b/go-apps/meep-vis/server/model_transmission_bandwidth.go similarity index 63% rename from go-apps/meep-vis/go/model_transmission_bandwidth.go rename to go-apps/meep-vis/server/model_transmission_bandwidth.go index 4347a6807..7933f6904 100644 --- a/go-apps/meep-vis/go/model_transmission_bandwidth.go +++ b/go-apps/meep-vis/server/model_transmission_bandwidth.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,9 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type TransmissionBandwidth struct { - // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' + // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' TransmissionBandwidth string `json:"transmissionBandwidth"` } diff --git a/go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go b/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go similarity index 65% rename from go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go rename to go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go index 8c14f1e62..e346b249a 100644 --- a/go-apps/meep-vis/go/model_uu_mbms_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type UuMbmsNeighbourCellInfo struct { - Ecgi *Ecgi `json:"ecgi"` FddInfo *FddInfo `json:"fddInfo"` diff --git a/go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go similarity index 62% rename from go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go index 2f16e3bc3..fb4ab359f 100644 --- a/go-apps/meep-vis/go/model_uu_mbms_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type UuMbmsProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go b/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go similarity index 62% rename from go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go rename to go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go index ada5ae1d6..d93b17b43 100644 --- a/go-apps/meep-vis/go/model_uu_uni_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type UuUniNeighbourCellInfo struct { - Ecgi *Ecgi `json:"ecgi"` FddInfo *FddInfo `json:"fddInfo"` diff --git a/go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go similarity index 62% rename from go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go index 3aa778acc..78fb85f14 100644 --- a/go-apps/meep-vis/go/model_uu_unicast_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type UuUnicastProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-apps/meep-vis/go/model_v2x_application_server.go b/go-apps/meep-vis/server/model_v2x_application_server.go similarity index 59% rename from go-apps/meep-vis/go/model_v2x_application_server.go rename to go-apps/meep-vis/server/model_v2x_application_server.go index b5703ab3b..591978390 100644 --- a/go-apps/meep-vis/go/model_v2x_application_server.go +++ b/go-apps/meep-vis/server/model_v2x_application_server.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type V2xApplicationServer struct { - IpAddress string `json:"ipAddress"` UdpPort string `json:"udpPort"` diff --git a/go-apps/meep-vis/go/model_v2x_msg_notification.go b/go-apps/meep-vis/server/model_v2x_msg_notification.go similarity index 81% rename from go-apps/meep-vis/go/model_v2x_msg_notification.go rename to go-apps/meep-vis/server/model_v2x_msg_notification.go index 28003b63c..9a84a9cb4 100644 --- a/go-apps/meep-vis/go/model_v2x_msg_notification.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,16 +21,15 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type V2xMsgNotification struct { - Links *V2xMsgNotificationLinks `json:"_links"` // Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, MsgType string `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` diff --git a/go-apps/meep-vis/go/model_v2x_msg_notification__links.go b/go-apps/meep-vis/server/model_v2x_msg_notification__links.go similarity index 60% rename from go-apps/meep-vis/go/model_v2x_msg_notification__links.go rename to go-apps/meep-vis/server/model_v2x_msg_notification__links.go index a0dd4e659..e6d8e553e 100644 --- a/go-apps/meep-vis/go/model_v2x_msg_notification__links.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification__links.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // Links to resources related to this notification. type V2xMsgNotificationLinks struct { - Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-vis/go/model_v2x_msg_publication.go b/go-apps/meep-vis/server/model_v2x_msg_publication.go similarity index 79% rename from go-apps/meep-vis/go/model_v2x_msg_publication.go rename to go-apps/meep-vis/server/model_v2x_msg_publication.go index b931f2805..f9a1bb57f 100644 --- a/go-apps/meep-vis/go/model_v2x_msg_publication.go +++ b/go-apps/meep-vis/server/model_v2x_msg_publication.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,14 +21,14 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type V2xMsgPublication struct { // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, MsgType string `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` diff --git a/go-apps/meep-vis/go/model_v2x_msg_subscription.go b/go-apps/meep-vis/server/model_v2x_msg_subscription.go similarity index 72% rename from go-apps/meep-vis/go/model_v2x_msg_subscription.go rename to go-apps/meep-vis/server/model_v2x_msg_subscription.go index d7ccba6ef..d92ab2af4 100644 --- a/go-apps/meep-vis/go/model_v2x_msg_subscription.go +++ b/go-apps/meep-vis/server/model_v2x_msg_subscription.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type V2xMsgSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note 1. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go similarity index 69% rename from go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go rename to go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go index 0acd5c36c..f60b0fd55 100644 --- a/go-apps/meep-vis/go/model_v2x_msg_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type V2xMsgSubscriptionFilterCriteria struct { diff --git a/go-apps/meep-vis/go/model_v2x_server_usd.go b/go-apps/meep-vis/server/model_v2x_server_usd.go similarity index 63% rename from go-apps/meep-vis/go/model_v2x_server_usd.go rename to go-apps/meep-vis/server/model_v2x_server_usd.go index 82b53f7c4..41fd5f459 100644 --- a/go-apps/meep-vis/go/model_v2x_server_usd.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,10 +21,9 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type V2xServerUsd struct { - SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` // A list of service area identifier for the applicable MBMS broadcast area. ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` diff --git a/go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go b/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go similarity index 62% rename from go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go rename to go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go index 26c994b39..f64ab6a2e 100644 --- a/go-apps/meep-vis/go/model_v2x_server_usd_sdp_info.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,11 +21,10 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // SDP with IP multicast address and port number used for V2X communication via MBMS. type V2xServerUsdSdpInfo struct { - IpMulticastAddress string `json:"ipMulticastAddress"` PortNumber string `json:"portNumber"` diff --git a/go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go b/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go similarity index 66% rename from go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go rename to go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go index 0a1a15e7a..1bdb4a537 100644 --- a/go-apps/meep-vis/go/model_v2x_server_usd_tmgi.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server // Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. type V2xServerUsdTmgi struct { diff --git a/go-apps/meep-vis/go/model_websock_notif_config.go b/go-apps/meep-vis/server/model_websock_notif_config.go similarity index 65% rename from go-apps/meep-vis/go/model_websock_notif_config.go rename to go-apps/meep-vis/server/model_websock_notif_config.go index 2fdcc2506..73933aac9 100644 --- a/go-apps/meep-vis/go/model_websock_notif_config.go +++ b/go-apps/meep-vis/server/model_websock_notif_config.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,7 +21,7 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server type WebsockNotifConfig struct { // Set to TRUE by the service consumer to indicate that Websocket delivery is requested. diff --git a/go-apps/meep-vis/go/routers.go b/go-apps/meep-vis/server/routers.go similarity index 69% rename from go-apps/meep-vis/go/routers.go rename to go-apps/meep-vis/server/routers.go index 47ed36f89..e609a4af2 100644 --- a/go-apps/meep-vis/go/routers.go +++ b/go-apps/meep-vis/server/routers.go @@ -1,4 +1,18 @@ /* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * * AdvantEDGE V2X Information Service REST API * * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. @@ -7,13 +21,16 @@ * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package swagger +package server import ( "fmt" "net/http" "strings" + httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" + met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + "github.com/gorilla/mux" ) @@ -27,12 +44,13 @@ type Route struct { type Routes []Route func NewRouter() *mux.Router { + var handler http.Handler router := mux.NewRouter().StrictSlash(true) for _, route := range routes { - var handler http.Handler handler = route.HandlerFunc handler = Logger(handler, route.Name) - + handler = met.MetricsHandler(handler, sandboxName, serviceName) + handler = httpLog.LogRx(handler, "") router. Methods(route.Method). Path(route.Pattern). @@ -40,6 +58,20 @@ func NewRouter() *mux.Router { Handler(handler) } + // Path prefix router order is important + // Service Api files + handler = http.StripPrefix("/vis/v2/api/", http.FileServer(http.Dir("./api/"))) + router. + PathPrefix("/vis/v2/api/"). + Name("Api"). + Handler(handler) + // User supplied service API files + handler = http.StripPrefix("/rni/v2/user-api/", http.FileServer(http.Dir("./user-api/"))) + router. + PathPrefix("/vis/v2/user-api/"). + Name("UserApi"). + Handler(handler) + return router } diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go new file mode 100644 index 000000000..dce6f9c4d --- /dev/null +++ b/go-apps/meep-vis/server/vis.go @@ -0,0 +1,596 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package server + +import ( + "context" + "encoding/json" + "errors" + "net/http" + "net/url" + "os" + "strconv" + "strings" + "time" + + sbi "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis/sbi" + asc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client" + dkm "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr" + httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + redis "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis" + scc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client" + smc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client" + sm "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-subscriptions" +) + +const moduleName = "meep-vis" +const visBasePath = "vis/v2/" +const visKey = "vis" +const serviceName = "V2XI Service" +const serviceCategory = "V2XI" +const defaultMepName = "global" +const defaultScopeOfLocality = "MEC_SYSTEM" +const defaultConsumedLocalOnly = true +const appTerminationPath = "notifications/mec011/appTermination" + +// const ( +// notifCellChange = "CellChangeNotification" +// notifRabEst = "RabEstNotification" +// notifRabMod = "RabModNotification" +// notifRabRel = "RabRelNotification" +// notifMeasRepUe = "MeasRepUeNotification" +// notifMeasTa = "MeasTaNotification" +// notifCaReConf = "CaReConfNotification" +// notifExpiry = "ExpiryNotification" +// notifS1Bearer = "S1BearerNotification" +// notifNrMeasRepUe = "NrMeasRepUeNotification" +// ) + +// var metricStore *met.MetricStore + +var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" +var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" +var sbxCtrlUrl string = "http://meep-sandbox-ctrl" + +// const cellChangeSubscriptionType = "cell_change" +// const rabEstSubscriptionType = "rab_est" +// const rabRelSubscriptionType = "rab_rel" +// const measRepUeSubscriptionType = "meas_rep_ue" +// const nrMeasRepUeSubscriptionType = "nr_meas_rep_ue" +// const poaType4G = "POA-4G" +// const poaType5G = "POA-5G" +// const plTypeUE = "UE" + +// var ccSubscriptionMap = map[int]*CellChangeSubscription{} +// var reSubscriptionMap = map[int]*RabEstSubscription{} +// var rrSubscriptionMap = map[int]*RabRelSubscription{} +// var mrSubscriptionMap = map[int]*MeasRepUeSubscription{} +// var nrMrSubscriptionMap = map[int]*NrMeasRepUeSubscription{} +// var subscriptionExpiryMap = map[int][]int{} +var currentStoreName = "" + +// const CELL_CHANGE_SUBSCRIPTION = "CellChangeSubscription" +// const RAB_EST_SUBSCRIPTION = "RabEstSubscription" +// const RAB_REL_SUBSCRIPTION = "RabRelSubscription" +// const MEAS_REP_UE_SUBSCRIPTION = "MeasRepUeSubscription" +// const NR_MEAS_REP_UE_SUBSCRIPTION = "NrMeasRepUeSubscription" +// const CELL_CHANGE_NOTIFICATION = "CellChangeNotification" +// const RAB_EST_NOTIFICATION = "RabEstNotification" +// const RAB_REL_NOTIFICATION = "RabRelNotification" +// const MEAS_REP_UE_NOTIFICATION = "MeasRepUeNotification" +// const NR_MEAS_REP_UE_NOTIFICATION = "NrMeasRepUeNotification" + +var VIS_DB = 0 + +var rc *redis.Connector +var hostUrl *url.URL +var instanceId string +var instanceName string +var sandboxName string +var mepName string = defaultMepName +var scopeOfLocality string = defaultScopeOfLocality +var consumedLocalOnly bool = defaultConsumedLocalOnly +var locality []string +var basePath string +var baseKey string + +// var mutex sync.Mutex + +// var expiryTicker *time.Ticker + +// var periodicTriggerTicker *time.Ticker +// var periodicNrTriggerTicker *time.Ticker + +// var nextSubscriptionIdAvailable int +// var nextAvailableErabId int + +// const defaultSupportedQci = 80 +// const defaultMeasRepUePeriodicTriggerInterval = 1 +// const defaultNrMeasRepUePeriodicTriggerInterval = 1 + +const serviceAppVersion = "2.1.1" + +var serviceAppInstanceId string + +var appEnablementUrl string +var appEnablementEnabled bool +var sendAppTerminationWhenDone bool = false +var appTermSubId string +var appEnablementServiceId string +var appSupportClient *asc.APIClient +var svcMgmtClient *smc.APIClient +var sbxCtrlClient *scc.APIClient + +var registrationTicker *time.Ticker +var subMgr *sm.SubscriptionMgr + +func notImplemented(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusNotImplemented) +} + +func getAppInstanceId() (id string, err error) { + var appInfo scc.ApplicationInfo + appInfo.Id = instanceId + appInfo.Name = serviceCategory + appInfo.Type_ = "SYSTEM" + appInfo.NodeName = mepName + if mepName == defaultMepName { + appInfo.Persist = true + } else { + appInfo.Persist = false + } + response, _, err := sbxCtrlClient.ApplicationsApi.ApplicationsPOST(context.TODO(), appInfo) + if err != nil { + log.Error("Failed to get App Instance ID with error: ", err) + return "", err + } + return response.Id, nil +} + +func deregisterService(appInstanceId string, serviceId string) error { + _, err := svcMgmtClient.MecServiceMgmtApi.AppServicesServiceIdDELETE(context.TODO(), appInstanceId, serviceId) + if err != nil { + log.Error("Failed to unregister the service to app enablement registry: ", err) + return err + } + return nil +} + +func registerService(appInstanceId string) error { + // Build Service Info + state := smc.ACTIVE_ServiceState + serializer := smc.JSON_SerializerType + transportType := smc.REST_HTTP_TransportType + localityType := smc.LocalityType(scopeOfLocality) + srvInfo := smc.ServiceInfoPost{ + SerName: instanceName, + Version: serviceAppVersion, + State: &state, + Serializer: &serializer, + ScopeOfLocality: &localityType, + ConsumedLocalOnly: consumedLocalOnly, + TransportInfo: &smc.TransportInfo{ + Id: "sandboxTransport", + Name: "REST", + Type_: &transportType, + Protocol: "HTTP", + Version: "2.0", + Endpoint: &smc.OneOfTransportInfoEndpoint{}, + }, + SerCategory: &smc.CategoryRef{ + Href: "catalogueHref", + Id: "visId", + Name: serviceCategory, + Version: "v2", + }, + } + srvInfo.TransportInfo.Endpoint.Uris = append(srvInfo.TransportInfo.Endpoint.Uris, hostUrl.String()+basePath) + + appServicesPostResponse, _, err := svcMgmtClient.MecServiceMgmtApi.AppServicesPOST(context.TODO(), srvInfo, appInstanceId) + if err != nil { + log.Error("Failed to register the service to app enablement registry: ", err) + return err + } + log.Info("Application Enablement Service instance Id: ", appServicesPostResponse.SerInstanceId) + appEnablementServiceId = appServicesPostResponse.SerInstanceId + return nil +} + +func sendReadyConfirmation(appInstanceId string) error { + var appReady asc.AppReadyConfirmation + appReady.Indication = "READY" + _, err := appSupportClient.MecAppSupportApi.ApplicationsConfirmReadyPOST(context.TODO(), appReady, appInstanceId) + if err != nil { + log.Error("Failed to send a ready confirm acknowlegement: ", err) + return err + } + return nil +} + +func sendTerminationConfirmation(appInstanceId string) error { + var appTermination asc.AppTerminationConfirmation + operationAction := asc.TERMINATING_OperationActionType + appTermination.OperationAction = &operationAction + _, err := appSupportClient.MecAppSupportApi.ApplicationsConfirmTerminationPOST(context.TODO(), appTermination, appInstanceId) + if err != nil { + log.Error("Failed to send a confirm termination acknowlegement: ", err) + return err + } + return nil +} + +func subscribeAppTermination(appInstanceId string) error { + var sub asc.AppTerminationNotificationSubscription + sub.SubscriptionType = "AppTerminationNotificationSubscription" + sub.AppInstanceId = appInstanceId + if mepName == defaultMepName { + sub.CallbackReference = "http://" + moduleName + "/" + visBasePath + appTerminationPath + } else { + sub.CallbackReference = "http://" + mepName + "-" + moduleName + "/" + visBasePath + appTerminationPath + } + subscription, _, err := appSupportClient.MecAppSupportApi.ApplicationsSubscriptionsPOST(context.TODO(), sub, appInstanceId) + if err != nil { + log.Error("Failed to register to App Support subscription: ", err) + return err + } + appTermSubLink := subscription.Links.Self.Href + appTermSubId = appTermSubLink[strings.LastIndex(appTermSubLink, "/")+1:] + return nil +} + +func unsubscribeAppTermination(appInstanceId string, subId string) error { + //only subscribe to one subscription, so we force number to be one, couldn't be anything else + _, err := appSupportClient.MecAppSupportApi.ApplicationsSubscriptionDELETE(context.TODO(), appInstanceId, subId) + if err != nil { + log.Error("Failed to unregister to App Support subscription: ", err) + return err + } + return nil +} + +func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + + var notification AppTerminationNotification + decoder := json.NewDecoder(r.Body) + err := decoder.Decode(¬ification) + if err != nil { + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + + if !appEnablementEnabled { + //just ignore the message + w.WriteHeader(http.StatusNoContent) + return + } + + go func() { + // Wait to allow app termination response to be sent + time.Sleep(20 * time.Millisecond) + + // Deregister service + _ = deregisterService(serviceAppInstanceId, appEnablementServiceId) + + // Delete subscriptions + _ = unsubscribeAppTermination(serviceAppInstanceId, appTermSubId) + + // Confirm App termination if necessary + if sendAppTerminationWhenDone { + _ = sendTerminationConfirmation(serviceAppInstanceId) + } + }() + + w.WriteHeader(http.StatusNoContent) +} + +// Init - V2XI Service initialization +func Init() (err error) { + + // Retrieve Instance ID from environment variable if present + instanceIdEnv := strings.TrimSpace(os.Getenv("MEEP_INSTANCE_ID")) + if instanceIdEnv != "" { + instanceId = instanceIdEnv + } + log.Info("MEEP_INSTANCE_ID: ", instanceId) + + // Retrieve Instance Name from environment variable + instanceName = moduleName + instanceNameEnv := strings.TrimSpace(os.Getenv("MEEP_POD_NAME")) + if instanceNameEnv != "" { + instanceName = instanceNameEnv + } + log.Info("MEEP_POD_NAME: ", instanceName) + + // Retrieve Sandbox name from environment variable + sandboxNameEnv := strings.TrimSpace(os.Getenv("MEEP_SANDBOX_NAME")) + if sandboxNameEnv != "" { + sandboxName = sandboxNameEnv + } + if sandboxName == "" { + err = errors.New("MEEP_SANDBOX_NAME env variable not set") + log.Error(err.Error()) + return err + } + log.Info("MEEP_SANDBOX_NAME: ", sandboxName) + + // hostUrl is the url of the node serving the resourceURL + // Retrieve public url address where service is reachable, if not present, use Host URL environment variable + hostUrl, err = url.Parse(strings.TrimSpace(os.Getenv("MEEP_PUBLIC_URL"))) + if err != nil || hostUrl == nil || hostUrl.String() == "" { + hostUrl, err = url.Parse(strings.TrimSpace(os.Getenv("MEEP_HOST_URL"))) + if err != nil { + hostUrl = new(url.URL) + } + } + log.Info("MEEP_HOST_URL: ", hostUrl) + + // Get MEP name + mepNameEnv := strings.TrimSpace(os.Getenv("MEEP_MEP_NAME")) + if mepNameEnv != "" { + mepName = mepNameEnv + } + log.Info("MEEP_MEP_NAME: ", mepName) + + // Get App Enablement URL + appEnablementEnabled = false + appEnablementEnv := strings.TrimSpace(os.Getenv("MEEP_APP_ENABLEMENT")) + if appEnablementEnv != "" { + appEnablementUrl = "http://" + appEnablementEnv + appEnablementEnabled = true + } + log.Info("MEEP_APP_ENABLEMENT: ", appEnablementUrl) + + // Get scope of locality + scopeOfLocalityEnv := strings.TrimSpace(os.Getenv("MEEP_SCOPE_OF_LOCALITY")) + if scopeOfLocalityEnv != "" { + scopeOfLocality = scopeOfLocalityEnv + } + log.Info("MEEP_SCOPE_OF_LOCALITY: ", scopeOfLocality) + + // Get local consumption + consumedLocalOnlyEnv := strings.TrimSpace(os.Getenv("MEEP_CONSUMED_LOCAL_ONLY")) + if consumedLocalOnlyEnv != "" { + value, err := strconv.ParseBool(consumedLocalOnlyEnv) + if err == nil { + consumedLocalOnly = value + } + } + log.Info("MEEP_CONSUMED_LOCAL_ONLY: ", consumedLocalOnly) + + // Get locality + localityEnv := strings.TrimSpace(os.Getenv("MEEP_LOCALITY")) + if localityEnv != "" { + locality = strings.Split(localityEnv, ":") + } + log.Info("MEEP_LOCALITY: ", locality) + + // Set base path + if mepName == defaultMepName { + basePath = "/" + sandboxName + "/" + visBasePath + } else { + basePath = "/" + sandboxName + "/" + mepName + "/" + visBasePath + } + + // Set base storage key + baseKey = dkm.GetKeyRoot(sandboxName) + visKey + ":mep:" + mepName + ":" + + // Connect to Redis DB (VIS_DB) + rc, err = redis.NewConnector(redisAddr, VIS_DB) + if err != nil { + log.Error("Failed connection to Redis DB (VIS_DB). Error: ", err) + return err + } + _ = rc.DBFlush(baseKey) + log.Info("Connected to Redis DB, V2XI service table") + + // Initialize SBI + sbiCfg := sbi.SbiCfg{ + ModuleName: moduleName, + SandboxName: sandboxName, + RedisAddr: redisAddr, + Locality: locality, + // UeDataCb: updateUeData, + // MeasInfoCb: updateMeasInfo, + // PoaInfoCb: updatePoaInfo, + // AppInfoCb: updateAppInfo, + // DomainDataCb: updateDomainData, + ScenarioNameCb: updateStoreName, + CleanUpCb: cleanUp, + } + if mepName != defaultMepName { + sbiCfg.MepName = mepName + } + err = sbi.Init(sbiCfg) + if err != nil { + log.Error("Failed initialize SBI. Error: ", err) + return err + } + log.Info("SBI Initialized") + + // Create App Enablement REST clients + if appEnablementEnabled { + // Create Sandbox Controller client + sbxCtrlClientCfg := scc.NewConfiguration() + sbxCtrlClientCfg.BasePath = sbxCtrlUrl + "/sandbox-ctrl/v1" + sbxCtrlClient = scc.NewAPIClient(sbxCtrlClientCfg) + if sbxCtrlClient == nil { + return errors.New("Failed to create Sandbox Controller REST API client") + } + log.Info("Create Sandbox Controller REST API client") + + // Create App Support client + appSupportClientCfg := asc.NewConfiguration() + appSupportClientCfg.BasePath = appEnablementUrl + "/mec_app_support/v1" + appSupportClient = asc.NewAPIClient(appSupportClientCfg) + if appSupportClient == nil { + return errors.New("Failed to create App Enablement App Support REST API client") + } + log.Info("Create App Enablement App Support REST API client") + + // Create App Info client + srvMgmtClientCfg := smc.NewConfiguration() + srvMgmtClientCfg.BasePath = appEnablementUrl + "/mec_service_mgmt/v1" + svcMgmtClient = smc.NewAPIClient(srvMgmtClientCfg) + if svcMgmtClient == nil { + return errors.New("Failed to create App Enablement Service Management REST API client") + } + log.Info("Create App Enablement Service Management REST API client") + } + + log.Info("VIS successfully initialized") + return nil +} + +// Run - Start VIS +func Run() (err error) { + // Start MEC Service registration ticker + if appEnablementEnabled { + startRegistrationTicker() + } + return sbi.Run() +} + +// Stop - Stop VIS +func Stop() (err error) { + // Stop MEC Service registration ticker + if appEnablementEnabled { + stopRegistrationTicker() + } + return sbi.Stop() +} + +func startRegistrationTicker() { + // Make sure ticker is not running + if registrationTicker != nil { + log.Warn("Registration ticker already running") + return + } + + // Wait a few seconds to allow App Enablement Service to start. + // This is done to avoid the default 20 second TCP socket connect timeout + // if the App Enablement Service is not yet running. + log.Info("Waiting for App Enablement Service to start") + time.Sleep(5 * time.Second) + + // Start registration ticker + registrationTicker = time.NewTicker(5 * time.Second) + go func() { + mecAppReadySent := false + registrationSent := false + subscriptionSent := false + for range registrationTicker.C { + // Get Application instance ID + if serviceAppInstanceId == "" { + // If a sandbox service, request an app instance ID from Sandbox Controller + // Otherwise use the scenario-provisioned instance ID + if mepName == defaultMepName { + var err error + serviceAppInstanceId, err = getAppInstanceId() + if err != nil || serviceAppInstanceId == "" { + continue + } + } else { + serviceAppInstanceId = instanceId + } + } + + // Send App Ready message + if !mecAppReadySent { + err := sendReadyConfirmation(serviceAppInstanceId) + if err != nil { + log.Error("Failure when sending the MecAppReady message. Error: ", err) + continue + } + mecAppReadySent = true + } + + // Register service instance + if !registrationSent { + err := registerService(serviceAppInstanceId) + if err != nil { + log.Error("Failed to register to appEnablement DB, keep trying. Error: ", err) + continue + } + registrationSent = true + } + + // Register for graceful termination + if !subscriptionSent { + err := subscribeAppTermination(serviceAppInstanceId) + if err != nil { + log.Error("Failed to subscribe to graceful termination. Error: ", err) + continue + } + sendAppTerminationWhenDone = true + subscriptionSent = true + } + + if mecAppReadySent && registrationSent && subscriptionSent { + + // Registration complete + log.Info("Successfully registered with App Enablement Service") + stopRegistrationTicker() + return + } + } + }() +} + +func stopRegistrationTicker() { + if registrationTicker != nil { + log.Info("Stopping App Enablement registration ticker") + registrationTicker.Stop() + registrationTicker = nil + } +} + +func cleanUp() { + log.Info("Terminate all") + + // Flush subscriptions + _ = subMgr.DeleteAllSubscriptions() + + // Flush all service data + rc.DBFlush(baseKey) + + // Reset metrics store name + updateStoreName("") +} + +func updateStoreName(storeName string) { + if currentStoreName != storeName { + currentStoreName = storeName + + logComponent := moduleName + if mepName != defaultMepName { + logComponent = moduleName + "-" + mepName + } + err := httpLog.ReInit(logComponent, sandboxName, storeName, redisAddr, influxAddr) + if err != nil { + log.Error("Failed to initialise httpLog: ", err) + return + } + } +} +func predictedQosPost(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} -- GitLab From 275618a1b4ac47f44718f74fb6b52eccaf08e67f Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 15 Feb 2022 17:26:12 +0100 Subject: [PATCH 004/183] Rename VIS client package --- .../meep-vis-client/api_unsupported.go | 4 +- go-packages/meep-vis-client/api_vis.go | 4 +- go-packages/meep-vis-client/client.go | 4 +- go-packages/meep-vis-client/configuration.go | 4 +- .../model_app_termination_notification.go | 4 +- ...del_app_termination_notification__links.go | 4 +- go-packages/meep-vis-client/model_body.go | 4 +- go-packages/meep-vis-client/model_body_1.go | 4 +- go-packages/meep-vis-client/model_cell_id.go | 4 +- go-packages/meep-vis-client/model_earfcn.go | 4 +- go-packages/meep-vis-client/model_ecgi.go | 4 +- go-packages/meep-vis-client/model_fdd_info.go | 4 +- .../meep-vis-client/model_link_type.go | 4 +- .../meep-vis-client/model_location_info.go | 4 +- .../model_location_info_geo_area.go | 4 +- .../meep-vis-client/model_one_ofbody.go | 4 +- .../meep-vis-client/model_one_ofbody_1.go | 4 +- .../model_operation_action_type.go | 4 +- .../model_pc5_neighbour_cell_info.go | 4 +- .../model_pc5_provisioning_info_inner.go | 4 +- go-packages/meep-vis-client/model_plmn.go | 4 +- .../meep-vis-client/model_predicted_qos.go | 4 +- .../model_predicted_qos_routes.go | 4 +- .../meep-vis-client/model_problem_details.go | 4 +- .../model_prov_chg_pc5_notification.go | 4 +- .../model_prov_chg_pc5_subscription.go | 4 +- .../model_prov_chg_pc5_subscription__links.go | 4 +- ...ov_chg_pc5_subscription_filter_criteria.go | 4 +- .../model_prov_chg_uu_mbms_notification.go | 4 +- .../model_prov_chg_uu_mbms_subscription.go | 4 +- ...hg_uu_mbms_subscription_filter_criteria.go | 4 +- .../model_prov_chg_uu_uni_notification.go | 4 +- .../model_prov_chg_uu_uni_subscription.go | 4 +- ...chg_uu_uni_subscription_filter_criteria.go | 4 +- .../model_subscription_link_list.go | 4 +- .../model_subscription_link_list__links.go | 4 +- .../model_system_information_block_type21.go | 4 +- go-packages/meep-vis-client/model_tdd_info.go | 4 +- .../model_test_notification.go | 4 +- .../model_test_notification__links.go | 4 +- .../meep-vis-client/model_time_stamp.go | 4 +- .../model_transmission_bandwidth.go | 4 +- .../model_uu_mbms_neighbour_cell_info.go | 4 +- .../model_uu_mbms_provisioning_info_inner.go | 4 +- .../model_uu_uni_neighbour_cell_info.go | 4 +- ...odel_uu_unicast_provisioning_info_inner.go | 4 +- .../model_v2x_application_server.go | 4 +- .../model_v2x_msg_notification.go | 4 +- .../model_v2x_msg_notification__links.go | 4 +- .../model_v2x_msg_publication.go | 4 +- .../model_v2x_msg_subscription.go | 4 +- ...el_v2x_msg_subscription_filter_criteria.go | 4 +- .../meep-vis-client/model_v2x_server_usd.go | 4 +- .../model_v2x_server_usd_sdp_info.go | 4 +- .../model_v2x_server_usd_tmgi.go | 4 +- .../model_websock_notif_config.go | 4 +- go-packages/meep-vis-client/response.go | 6 +- test/system/vis-system-test.yaml | 1197 +++++++++++++++++ test/system/vis_test.go | 81 +- 59 files changed, 1390 insertions(+), 118 deletions(-) diff --git a/go-packages/meep-vis-client/api_unsupported.go b/go-packages/meep-vis-client/api_unsupported.go index a339bbd18..882516a15 100644 --- a/go-packages/meep-vis-client/api_unsupported.go +++ b/go-packages/meep-vis-client/api_unsupported.go @@ -6,9 +6,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client import ( "context" diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_vis.go index a879eb8f6..d26d9c0c7 100644 --- a/go-packages/meep-vis-client/api_vis.go +++ b/go-packages/meep-vis-client/api_vis.go @@ -6,9 +6,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client import ( "context" diff --git a/go-packages/meep-vis-client/client.go b/go-packages/meep-vis-client/client.go index ca13bcf5f..1d2459ca5 100644 --- a/go-packages/meep-vis-client/client.go +++ b/go-packages/meep-vis-client/client.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client import ( "bytes" diff --git a/go-packages/meep-vis-client/configuration.go b/go-packages/meep-vis-client/configuration.go index a8aa543cb..edc80e3f6 100644 --- a/go-packages/meep-vis-client/configuration.go +++ b/go-packages/meep-vis-client/configuration.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client import ( "net/http" diff --git a/go-packages/meep-vis-client/model_app_termination_notification.go b/go-packages/meep-vis-client/model_app_termination_notification.go index 1769d7736..f7bb9bcd0 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification.go +++ b/go-packages/meep-vis-client/model_app_termination_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. type AppTerminationNotification struct { diff --git a/go-packages/meep-vis-client/model_app_termination_notification__links.go b/go-packages/meep-vis-client/model_app_termination_notification__links.go index aa4bd181b..0943033b8 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification__links.go +++ b/go-packages/meep-vis-client/model_app_termination_notification__links.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Object containing hyperlinks related to the resource. type AppTerminationNotificationLinks struct { diff --git a/go-packages/meep-vis-client/model_body.go b/go-packages/meep-vis-client/model_body.go index 85e712ada..d95aeefc7 100644 --- a/go-packages/meep-vis-client/model_body.go +++ b/go-packages/meep-vis-client/model_body.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Body struct { } diff --git a/go-packages/meep-vis-client/model_body_1.go b/go-packages/meep-vis-client/model_body_1.go index b68a70d5c..fd04fd8a3 100644 --- a/go-packages/meep-vis-client/model_body_1.go +++ b/go-packages/meep-vis-client/model_body_1.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Body1 struct { } diff --git a/go-packages/meep-vis-client/model_cell_id.go b/go-packages/meep-vis-client/model_cell_id.go index 55e879c74..ea7e3a96b 100644 --- a/go-packages/meep-vis-client/model_cell_id.go +++ b/go-packages/meep-vis-client/model_cell_id.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type CellId struct { // E-UTRAN Cell Identity as a bit string (size (28)). diff --git a/go-packages/meep-vis-client/model_earfcn.go b/go-packages/meep-vis-client/model_earfcn.go index d88118da5..7529a7431 100644 --- a/go-packages/meep-vis-client/model_earfcn.go +++ b/go-packages/meep-vis-client/model_earfcn.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Earfcn struct { // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) diff --git a/go-packages/meep-vis-client/model_ecgi.go b/go-packages/meep-vis-client/model_ecgi.go index 4448f22f3..6d148569b 100644 --- a/go-packages/meep-vis-client/model_ecgi.go +++ b/go-packages/meep-vis-client/model_ecgi.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Ecgi struct { CellId *CellId `json:"cellId"` diff --git a/go-packages/meep-vis-client/model_fdd_info.go b/go-packages/meep-vis-client/model_fdd_info.go index 3299f5bfd..7b934ab42 100644 --- a/go-packages/meep-vis-client/model_fdd_info.go +++ b/go-packages/meep-vis-client/model_fdd_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type FddInfo struct { DlEarfcn *Earfcn `json:"dlEarfcn"` diff --git a/go-packages/meep-vis-client/model_link_type.go b/go-packages/meep-vis-client/model_link_type.go index da545c06e..d40ea7324 100644 --- a/go-packages/meep-vis-client/model_link_type.go +++ b/go-packages/meep-vis-client/model_link_type.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type LinkType struct { // URI referring to a resource diff --git a/go-packages/meep-vis-client/model_location_info.go b/go-packages/meep-vis-client/model_location_info.go index 13ce24da2..e5feba491 100644 --- a/go-packages/meep-vis-client/model_location_info.go +++ b/go-packages/meep-vis-client/model_location_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type LocationInfo struct { Ecgi *Ecgi `json:"ecgi,omitempty"` diff --git a/go-packages/meep-vis-client/model_location_info_geo_area.go b/go-packages/meep-vis-client/model_location_info_geo_area.go index 0f060d100..178a98e67 100644 --- a/go-packages/meep-vis-client/model_location_info_geo_area.go +++ b/go-packages/meep-vis-client/model_location_info_geo_area.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Information of a geographical area. type LocationInfoGeoArea struct { diff --git a/go-packages/meep-vis-client/model_one_ofbody.go b/go-packages/meep-vis-client/model_one_ofbody.go index 9d1781233..e3c20cbe9 100644 --- a/go-packages/meep-vis-client/model_one_ofbody.go +++ b/go-packages/meep-vis-client/model_one_ofbody.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type OneOfbody struct { ProvChgUuUniSubscription diff --git a/go-packages/meep-vis-client/model_one_ofbody_1.go b/go-packages/meep-vis-client/model_one_ofbody_1.go index 4357ebe47..047dfaa1a 100644 --- a/go-packages/meep-vis-client/model_one_ofbody_1.go +++ b/go-packages/meep-vis-client/model_one_ofbody_1.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type OneOfbody1 struct { ProvChgUuUniSubscription diff --git a/go-packages/meep-vis-client/model_operation_action_type.go b/go-packages/meep-vis-client/model_operation_action_type.go index 2db87cbbb..0ef7041be 100644 --- a/go-packages/meep-vis-client/model_operation_action_type.go +++ b/go-packages/meep-vis-client/model_operation_action_type.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string diff --git a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go index 164a61af4..59b292aff 100644 --- a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Pc5NeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` diff --git a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go index 3db8da126..6741cbc07 100644 --- a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Pc5ProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-packages/meep-vis-client/model_plmn.go b/go-packages/meep-vis-client/model_plmn.go index 15dbbbc4d..12b01f70a 100644 --- a/go-packages/meep-vis-client/model_plmn.go +++ b/go-packages/meep-vis-client/model_plmn.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type Plmn struct { // The Mobile Country Code part of PLMN Identity. diff --git a/go-packages/meep-vis-client/model_predicted_qos.go b/go-packages/meep-vis-client/model_predicted_qos.go index bb21a1b9f..a653b7d62 100644 --- a/go-packages/meep-vis-client/model_predicted_qos.go +++ b/go-packages/meep-vis-client/model_predicted_qos.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type PredictedQos struct { // Granularity of visited location. Measured in meters. diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes.go b/go-packages/meep-vis-client/model_predicted_qos_routes.go index 1617a8adb..1cbc88f7d 100644 --- a/go-packages/meep-vis-client/model_predicted_qos_routes.go +++ b/go-packages/meep-vis-client/model_predicted_qos_routes.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. diff --git a/go-packages/meep-vis-client/model_problem_details.go b/go-packages/meep-vis-client/model_problem_details.go index dc61be600..b6536cd9d 100644 --- a/go-packages/meep-vis-client/model_problem_details.go +++ b/go-packages/meep-vis-client/model_problem_details.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go index d41314206..c75e5d5dd 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgPc5Notification struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go index 14eddefca..53f231f00 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgPc5Subscription struct { Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go index ac2b08ec0..88aaa5cbb 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. type ProvChgPc5SubscriptionLinks struct { diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go index 4fdca518c..da93571e2 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgPc5SubscriptionFilterCriteria struct { diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go index 6943b3866..d5415f37e 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgUuMbmsNotification struct { LocationInfo *LocationInfo `json:"locationInfo"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go index bfe2aa44a..9e7de0fec 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgUuMbmsSubscription struct { Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go index cde1ca50f..c43e2b736 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgUuMbmsSubscriptionFilterCriteria struct { diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go index 5fe414b08..41b10e7db 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgUuUniNotification struct { LocationInfo *LocationInfo `json:"locationInfo"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go index 7e96559cf..673a97be6 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type ProvChgUuUniSubscription struct { Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go index fd6d774be..82baf145f 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type ProvChgUuUniSubscriptionFilterCriteria struct { diff --git a/go-packages/meep-vis-client/model_subscription_link_list.go b/go-packages/meep-vis-client/model_subscription_link_list.go index 1fc923f7d..2e896ebf5 100644 --- a/go-packages/meep-vis-client/model_subscription_link_list.go +++ b/go-packages/meep-vis-client/model_subscription_link_list.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type SubscriptionLinkList struct { // List of hyperlinks related to the resource. diff --git a/go-packages/meep-vis-client/model_subscription_link_list__links.go b/go-packages/meep-vis-client/model_subscription_link_list__links.go index 60e3ac033..ebfe75bb1 100644 --- a/go-packages/meep-vis-client/model_subscription_link_list__links.go +++ b/go-packages/meep-vis-client/model_subscription_link_list__links.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type SubscriptionLinkListLinks struct { Self *LinkType `json:"self,omitempty"` diff --git a/go-packages/meep-vis-client/model_system_information_block_type21.go b/go-packages/meep-vis-client/model_system_information_block_type21.go index c46b6122f..ee938ad26 100644 --- a/go-packages/meep-vis-client/model_system_information_block_type21.go +++ b/go-packages/meep-vis-client/model_system_information_block_type21.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type SystemInformationBlockType21 struct { } diff --git a/go-packages/meep-vis-client/model_tdd_info.go b/go-packages/meep-vis-client/model_tdd_info.go index f52a5dd30..589a39bbe 100644 --- a/go-packages/meep-vis-client/model_tdd_info.go +++ b/go-packages/meep-vis-client/model_tdd_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type TddInfo struct { Earfcn *Earfcn `json:"earfcn"` diff --git a/go-packages/meep-vis-client/model_test_notification.go b/go-packages/meep-vis-client/model_test_notification.go index 58328b902..e3a0779db 100644 --- a/go-packages/meep-vis-client/model_test_notification.go +++ b/go-packages/meep-vis-client/model_test_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type TestNotification struct { Links *TestNotificationLinks `json:"_links"` diff --git a/go-packages/meep-vis-client/model_test_notification__links.go b/go-packages/meep-vis-client/model_test_notification__links.go index 10af8c27d..424efc07a 100644 --- a/go-packages/meep-vis-client/model_test_notification__links.go +++ b/go-packages/meep-vis-client/model_test_notification__links.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Hyperlink related to the resource. type TestNotificationLinks struct { diff --git a/go-packages/meep-vis-client/model_time_stamp.go b/go-packages/meep-vis-client/model_time_stamp.go index 8fbdce050..9e2ca8a39 100644 --- a/go-packages/meep-vis-client/model_time_stamp.go +++ b/go-packages/meep-vis-client/model_time_stamp.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type TimeStamp struct { // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth.go index 4347a6807..b15391c4b 100644 --- a/go-packages/meep-vis-client/model_transmission_bandwidth.go +++ b/go-packages/meep-vis-client/model_transmission_bandwidth.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type TransmissionBandwidth struct { // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' diff --git a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go index 54db2f5b5..b8809a2cb 100644 --- a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type UuMbmsNeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` diff --git a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go index c3b93a9bd..0750f6965 100644 --- a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type UuMbmsProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go index b77a1709f..0dd98e0ad 100644 --- a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type UuUniNeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` diff --git a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go index cd86c76ab..9627dca44 100644 --- a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type UuUnicastProvisioningInfoInner struct { // The provisioning information per location as defined below. diff --git a/go-packages/meep-vis-client/model_v2x_application_server.go b/go-packages/meep-vis-client/model_v2x_application_server.go index c3dff0585..2e0bc1067 100644 --- a/go-packages/meep-vis-client/model_v2x_application_server.go +++ b/go-packages/meep-vis-client/model_v2x_application_server.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type V2xApplicationServer struct { IpAddress string `json:"ipAddress"` diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification.go b/go-packages/meep-vis-client/model_v2x_msg_notification.go index 32d4b9925..2bf268ffc 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type V2xMsgNotification struct { Links *V2xMsgNotificationLinks `json:"_links"` diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification__links.go b/go-packages/meep-vis-client/model_v2x_msg_notification__links.go index 96b2d9375..9c6544264 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification__links.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification__links.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Links to resources related to this notification. type V2xMsgNotificationLinks struct { diff --git a/go-packages/meep-vis-client/model_v2x_msg_publication.go b/go-packages/meep-vis-client/model_v2x_msg_publication.go index b931f2805..7e51d53f9 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_publication.go +++ b/go-packages/meep-vis-client/model_v2x_msg_publication.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type V2xMsgPublication struct { // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription.go b/go-packages/meep-vis-client/model_v2x_msg_subscription.go index 976377f1d..4a3e028c6 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type V2xMsgSubscription struct { Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go index 0acd5c36c..7ab880e92 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type V2xMsgSubscriptionFilterCriteria struct { diff --git a/go-packages/meep-vis-client/model_v2x_server_usd.go b/go-packages/meep-vis-client/model_v2x_server_usd.go index 74e5836db..f3194da05 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type V2xServerUsd struct { SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go index 649b701d2..4cdd2ffc3 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // SDP with IP multicast address and port number used for V2X communication via MBMS. type V2xServerUsdSdpInfo struct { diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go index 0a1a15e7a..f902b4f0d 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client // Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. type V2xServerUsdTmgi struct { diff --git a/go-packages/meep-vis-client/model_websock_notif_config.go b/go-packages/meep-vis-client/model_websock_notif_config.go index 2fdcc2506..f0f2c13c9 100644 --- a/go-packages/meep-vis-client/model_websock_notif_config.go +++ b/go-packages/meep-vis-client/model_websock_notif_config.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client type WebsockNotifConfig struct { // Set to TRUE by the service consumer to indicate that Websocket delivery is requested. diff --git a/go-packages/meep-vis-client/response.go b/go-packages/meep-vis-client/response.go index f994596a3..3f4518856 100644 --- a/go-packages/meep-vis-client/response.go +++ b/go-packages/meep-vis-client/response.go @@ -5,9 +5,9 @@ * * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ -package swagger +package client import ( "net/http" @@ -16,7 +16,7 @@ import ( type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` - // Operation is the name of the swagger operation. + // Operation is the name of the client operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. diff --git a/test/system/vis-system-test.yaml b/test/system/vis-system-test.yaml index e69de29bb..1553d57f8 100644 --- a/test/system/vis-system-test.yaml +++ b/test/system/vis-system-test.yaml @@ -0,0 +1,1197 @@ +version: 1.6.0 +name: rnis-system-test +deployment: + netChar: + latency: 50 + latencyVariation: 10 + latencyDistribution: Normal + throughputDl: 1000 + throughputUl: 1000 + throughput: null + packetLoss: null + domains: + - + id: PUBLIC + name: PUBLIC + type: PUBLIC + netChar: + latency: 6 + latencyVariation: 2 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + zones: + - + id: PUBLIC-COMMON + name: PUBLIC-COMMON + type: COMMON + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + networkLocations: + - + id: PUBLIC-COMMON-DEFAULT + name: PUBLIC-COMMON-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + meta: null + userMeta: null + interZoneLatency: null + interZoneLatencyVariation: null + interZoneThroughput: null + interZonePacketLoss: null + meta: null + userMeta: null + cellularDomainConfig: null + - + id: 13411898-c7e1-472d-bdf7-c4afbefe4613 + name: operator-cell1 + type: OPERATOR-CELLULAR + netChar: + latency: 6 + latencyVariation: 2 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + cellularDomainConfig: + mnc: '001' + mcc: '001' + defaultCellId: FFFFFFF + zones: + - + id: operator-cell1-COMMON + name: operator-cell1-COMMON + type: COMMON + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + networkLocations: + - + id: operator-cell1-COMMON-DEFAULT + name: operator-cell1-COMMON-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + meta: null + userMeta: null + - + id: dcf59ab0-cb3d-4dbd-8946-b522eeed685b + name: zone1 + type: ZONE + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + meta: + display.map.color: "" + networkLocations: + - + id: zone1-DEFAULT + name: zone1-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + - + id: b412ccca-402a-4d9e-9f68-fca01bfdc2f9 + name: poa-4g1 + type: POA-4G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa4GConfig: + cellId: '4000001' + geoData: + location: + type: Point + coordinates: + - 7.413917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + physicalLocations: + - + id: abc18c96-1015-4dee-b32d-cac04ea5db36 + name: ue1 + type: UE + geoData: + eopMode: LOOP + location: null + radius: null + path: null + velocity: null + connected: true + wireless: true + wirelessType: 'wifi,5g,4g,other' + netChar: + throughputDl: 1000 + throughputUl: 1000 + latency: null + latencyVariation: null + latencyDistribution: null + throughput: null + packetLoss: null + macId: '111111111111' + isExternal: null + networkLocationsInRange: null + meta: null + userMeta: null + processes: null + linkLatency: null + linkLatencyVariation: null + linkThroughput: null + linkPacketLoss: null + - + id: abc18c96-1015-4dee-b32d-cac04ea5db37 + name: ue2 + type: UE + geoData: + eopMode: LOOP + location: null + radius: null + path: null + velocity: null + connected: true + wireless: true + wirelessType: 'wifi,4g,5g,other' + netChar: + throughputDl: 1000 + throughputUl: 1000 + latency: null + latencyVariation: null + latencyDistribution: null + throughput: null + packetLoss: null + macId: '222222222222' + isExternal: null + networkLocationsInRange: null + meta: null + userMeta: null + processes: null + linkLatency: null + linkLatencyVariation: null + linkThroughput: null + linkPacketLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa5GConfig: null + poaWifiConfig: null + - + id: 223933af-b399-41ca-999a-5e798bf6eb1d + name: poa-4g2 + type: POA-4G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa4GConfig: + cellId: '4000002' + geoData: + location: + type: Point + coordinates: + - 7.415917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 6a0e53da-f162-49cf-8c7b-0f1df0f2ccdf + name: poa1 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.413917 + - 43.732006 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 3bd21819-c104-4401-9ac7-b945461d3f87 + name: poa-5g1 + type: POA-5G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa5GConfig: + cellId: '500000001' + geoData: + location: + type: Point + coordinates: + - 7.411916 + - 43.733494 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 098419d2-e586-49ae-8605-c577616a8b50 + name: poa-wifi1 + type: POA-WIFI + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poaWifiConfig: + macId: a00000000001 + geoData: + location: + type: Point + coordinates: + - 7.413917 + - 43.735004 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + userMeta: null + - + id: a20bad45-bf09-426f-aed9-e55587c737db + name: zone2 + type: ZONE + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + meta: + display.map.color: "" + networkLocations: + - + id: zone2-DEFAULT + name: zone2-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + - + id: 5c64c906-a92b-4898-b861-18a13b3fd65c + name: poa-4g3 + type: POA-4G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa4GConfig: + cellId: '4000003' + geoData: + location: + type: Point + coordinates: + - 7.417917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: e7b158ee-fbc5-4362-854a-da36c4ca22bc + name: poa-5g2 + type: POA-5G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa5GConfig: + cellId: '500000002' + geoData: + location: + type: Point + coordinates: + - 7.419917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 5b21944f-ea19-4342-9485-5118a3b18435 + name: poa-5g3 + type: POA-5G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa5GConfig: + cellId: '500000003' + geoData: + location: + type: Point + coordinates: + - 7.421917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: d89d4ea2-6dea-40ce-b6ed-9640dcfd9422 + name: poa2 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.419917 + - 43.732006 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: df2fcd56-217f-4f61-a199-e3c72395a4e9 + name: poa-wifi2 + type: POA-WIFI + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poaWifiConfig: + macId: a00000000002 + geoData: + location: + type: Point + coordinates: + - 7.419917 + - 43.735004 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + userMeta: null + - + id: 432c8759-b277-48dd-bc9a-d6d702fa68d6 + name: zone3 + type: ZONE + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + meta: + display.map.color: "" + networkLocations: + - + id: zone3-DEFAULT + name: zone3-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + - + id: 1c9fc733-3d3e-4d40-8571-bde025e63728 + name: poa-wifi3 + type: POA-WIFI + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poaWifiConfig: + macId: a00000000003 + geoData: + location: + type: Point + coordinates: + - 7.425917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + physicalLocations: null + - + id: d626d8dc-21cb-44ed-acbc-e6669fe28245 + name: poa3 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.425917 + - 43.732006 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: b1470f5e-2556-432c-b8ca-842037a3ab9d + name: poa-wifi4 + type: POA-WIFI + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poaWifiConfig: + macId: a00000000004 + geoData: + location: + type: Point + coordinates: + - 7.427917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + physicalLocations: null + - + id: 3a1315a1-26f9-4259-9a4b-cf38f2af0c7f + name: poa-5g4 + type: POA-5G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa5GConfig: + cellId: '500000004' + geoData: + location: + type: Point + coordinates: + - 7.423917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: ea326a41-9063-4f28-9d19-96802418bd51 + name: poa-4g4 + type: POA-4G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa4GConfig: + cellId: '4000004' + geoData: + location: + type: Point + coordinates: + - 7.425917 + - 43.735004 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + userMeta: null + - + id: 143fa19f-52d4-4eec-9edc-098f06b4414d + name: zone4 + type: ZONE + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + meta: + display.map.color: "" + networkLocations: + - + id: zone4-DEFAULT + name: zone4-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + - + id: 81624ea4-a1d4-42d7-9263-42b93b9391cf + name: poa-wifi5 + type: POA-WIFI + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poaWifiConfig: + macId: a00000000005 + geoData: + location: + type: Point + coordinates: + - 7.429917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + physicalLocations: null + - + id: 4fe82b81-b9dc-45f5-b816-e5927e82747c + name: poa4 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.431917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 1f9f108b-5cec-47a4-8569-6afd2732ca6e + name: poa5 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.433917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: cef4bf85-164e-4232-94b8-ca5edec1e1d1 + name: poa-4g5 + type: POA-4G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa4GConfig: + cellId: '4000005' + geoData: + location: + type: Point + coordinates: + - 7.431917 + - 43.735004 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + - + id: 73fee2c4-284f-47ab-993d-273849dba667 + name: poa-5g5 + type: POA-5G + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + poa5GConfig: + cellId: '500000005' + geoData: + location: + type: Point + coordinates: + - 7.431917 + - 43.732006 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poaWifiConfig: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + userMeta: null + - + id: 48d182c3-3728-46d2-9b0f-22a110183eee + name: zone5 + type: ZONE + netChar: + latency: 5 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + meta: + display.map.color: "" + networkLocations: + - + id: zone5-DEFAULT + name: zone5-DEFAULT + type: DEFAULT + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + geoData: null + physicalLocations: null + - + id: 5ad4f50a-52f5-4b7f-b7d9-573d58afad3d + name: poa6 + type: POA + netChar: + latency: 1 + latencyVariation: 1 + throughputDl: 1000 + throughputUl: 1000 + latencyDistribution: null + throughput: null + packetLoss: null + geoData: + location: + type: Point + coordinates: + - 7.435917 + - 43.733505 + radius: 100 + path: null + eopMode: null + velocity: null + terminalLinkLatency: null + terminalLinkLatencyVariation: null + terminalLinkThroughput: null + terminalLinkPacketLoss: null + meta: null + userMeta: null + cellularPoaConfig: null + poa4GConfig: null + poa5GConfig: null + poaWifiConfig: null + physicalLocations: null + interFogLatency: null + interFogLatencyVariation: null + interFogThroughput: null + interFogPacketLoss: null + interEdgeLatency: null + interEdgeLatencyVariation: null + interEdgeThroughput: null + interEdgePacketLoss: null + edgeFogLatency: null + edgeFogLatencyVariation: null + edgeFogThroughput: null + edgeFogPacketLoss: null + userMeta: null + interZoneLatency: null + interZoneLatencyVariation: null + interZoneThroughput: null + interZonePacketLoss: null + meta: null + userMeta: null + interDomainLatency: null + interDomainLatencyVariation: null + interDomainThroughput: null + interDomainPacketLoss: null + meta: null + userMeta: null +id: null +description: null +config: null + diff --git a/test/system/vis_test.go b/test/system/vis_test.go index bdf5a8328..e917a6af7 100644 --- a/test/system/vis_test.go +++ b/test/system/vis_test.go @@ -17,12 +17,10 @@ package systemTest import ( + "context" "encoding/json" "fmt" - "strconv" "testing" - - "context" "time" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" @@ -90,6 +88,83 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { initialiseVisTest() defer clearUpVisTest() + // Initialize the data structure for the POST request + // MEC-030 Clause 6.2.5 + // MEC-030 Clause 7.6.3.4 + testPredictedQos := visClient.PredictedQos{} + // locationGranularity field + testPredictedQos.LocationGranularity = "100" // In meters + // Fill routes field + testPredictedQos.Routes = make([]visClient.PredictedQosRoutes, 0) + routeInfo := make([]interface{}, 2) + pointA := visClient.LocationInfoGeoArea{7.413917, 43.733505} + tsA := visClient.TimeStamp{0, 45} + pointB := visClient.LocationInfoGeoArea{7.413916, 43.733515} + tsB := visClient.TimeStamp{0, 60} + routeInfo[0] = + testPredictedQos.Routes = append(routeInfo) + // Fill timeGranularity field + testPredictedQos.TimeGranularity.NanoSeconds = 0 + testPredictedQos.TimeGranularity.Seconds = 10 + + // Moving to initial position testAddress := "ue2" + geMoveAssetCoordinates(testAddress, 7.413917, 43.733505) + time.Sleep(2000 * time.Millisecond) + + // + err := visPeriodicSubPOST(testPredictedQos) + if err != nil { + t.Fatal("Subscription failed: ", err) + } + + //only check the first one, the same one is repeated every second + //hard to say if the period should cover 2 or 3 response... based on the timer timing + if len(httpReqBody) > 1 { + var body visClient.PredictedQos + err = json.Unmarshal([]byte(httpReqBody[0]), &body) + if err != nil { + t.Fatalf("cannot unmarshall response") + } + errStr := validatePredictedQos(&body, &testPredictedQos) + if errStr != "" { + printHttpReqBody() + t.Fatalf(errStr) + } + /*err = json.Unmarshal([]byte(httpReqBody[len(httpReqBody)-1]), &body) + if err != nil { + t.Fatalf("cannot unmarshall response") + } + errStr = validateMeasRepUeNotification(&body, &testAssociateId, testTrgServing4GRsrq, nil, &testTrgNewRadioMeasNeiInfo) + if errStr != "" { + printHttpReqBody() + t.Fatalf(errStr) + }*/ + + } else { + printHttpReqBody() + t.Fatalf("Number of expected notifications not received") + } + +} + +func visPeriodicSubPOST(testPredictedQos visClient.PredictedQos) error { + + //PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) + _, _, err := visAppClient.APIClient.PeriodicSubPOST(context.TODO(), testPredictedQos) + if err != nil { + log.Error("Failed to send subscription: ", err) + return err + } + + return nil +} + +func validatePredictedQos(response *visClient.PredictedQos, expectedAssocId *visClient.PredictedQos) string { + + if response.LocationGranularity != expectedAssocId.LocationGranularity { + return ("PredictedQos.LocationGranularity not as expected: " + response.LocationGranularity + " instead of " + expectedAssocId.LocationGranularity) + } + return "" } -- GitLab From 7fa7b3c3a9950c20d62088a5987d423224d8c12a Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Tue, 15 Feb 2022 18:18:21 +0100 Subject: [PATCH 005/183] Finalize the first test --- test/system/vis_test.go | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/test/system/vis_test.go b/test/system/vis_test.go index e917a6af7..98b755b34 100644 --- a/test/system/vis_test.go +++ b/test/system/vis_test.go @@ -30,6 +30,14 @@ import ( var visAppClient *visClient.APIClient var visServerUrl string +// MEC-030 Clause 6.2.5 Type: PredictedQos, replaced by inteface{} in models +type PredictedQosRoutesRouteInfo struct { + LocationInfo visClient.LocationInfoGeoArea + time *visClient.TimeStamp + rsrp *int32 + rsrq *int32 +} + func init() { err := startSystemTest() @@ -94,25 +102,26 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { testPredictedQos := visClient.PredictedQos{} // locationGranularity field testPredictedQos.LocationGranularity = "100" // In meters - // Fill routes field - testPredictedQos.Routes = make([]visClient.PredictedQosRoutes, 0) - routeInfo := make([]interface{}, 2) + // Fill routeInfo list + routeInfo := make([]PredictedQosRoutesRouteInfo, 2) pointA := visClient.LocationInfoGeoArea{7.413917, 43.733505} tsA := visClient.TimeStamp{0, 45} + routeInfo[0] = PredictedQosRoutesRouteInfo{pointA, &tsA, nil, nil} pointB := visClient.LocationInfoGeoArea{7.413916, 43.733515} tsB := visClient.TimeStamp{0, 60} - routeInfo[0] = - testPredictedQos.Routes = append(routeInfo) - // Fill timeGranularity field - testPredictedQos.TimeGranularity.NanoSeconds = 0 - testPredictedQos.TimeGranularity.Seconds = 10 + routeInfo[1] = PredictedQosRoutesRouteInfo{pointB, &tsB, nil, nil} + // Fill routes list + testPredictedQos.Routes = make([]visClient.PredictedQosRoutes, 1) + testPredictedQos.Routes[0].RouteInfo = make([]interface{}, 1) + testPredictedQos.Routes[0].RouteInfo[0] = routeInfo + fmt.Println("testPredictedQos: ", testPredictedQos) // Moving to initial position testAddress := "ue2" geMoveAssetCoordinates(testAddress, 7.413917, 43.733505) time.Sleep(2000 * time.Millisecond) - // + // Request to test err := visPeriodicSubPOST(testPredictedQos) if err != nil { t.Fatal("Subscription failed: ", err) @@ -131,15 +140,6 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { printHttpReqBody() t.Fatalf(errStr) } - /*err = json.Unmarshal([]byte(httpReqBody[len(httpReqBody)-1]), &body) - if err != nil { - t.Fatalf("cannot unmarshall response") - } - errStr = validateMeasRepUeNotification(&body, &testAssociateId, testTrgServing4GRsrq, nil, &testTrgNewRadioMeasNeiInfo) - if errStr != "" { - printHttpReqBody() - t.Fatalf(errStr) - }*/ } else { printHttpReqBody() @@ -151,7 +151,7 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { func visPeriodicSubPOST(testPredictedQos visClient.PredictedQos) error { //PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) - _, _, err := visAppClient.APIClient.PeriodicSubPOST(context.TODO(), testPredictedQos) + _, _, err := visAppClient.QoSApi.PredictedQosPOST(context.TODO(), testPredictedQos) if err != nil { log.Error("Failed to send subscription: ", err) return err -- GitLab From db3329513107d467245a4e8f518fc9c598cb1e7f Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 16 Feb 2022 18:06:44 +0500 Subject: [PATCH 006/183] remove sandbox name in routers for meep-vis --- go-apps/meep-vis/meep-vis-config.yaml | 16 ------------- go-apps/meep-vis/server/routers.go | 34 +++++++++++++-------------- go-apps/meep-vis/server/vis.go | 3 ++- 3 files changed, 19 insertions(+), 34 deletions(-) delete mode 100644 go-apps/meep-vis/meep-vis-config.yaml diff --git a/go-apps/meep-vis/meep-vis-config.yaml b/go-apps/meep-vis/meep-vis-config.yaml deleted file mode 100644 index 846a14f0d..000000000 --- a/go-apps/meep-vis/meep-vis-config.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# This file defines the configuration of DAI edge application. All fields are required to run DAI AdvantEDGE - -# Set where mec application is running either on MEC Sandbox or AdvantEDGE. Expected fields: sandbox | advantedge -mode: 'advantedge' -# Set url of mec platform. Example field format: http://{MEC_IP_ADDRESS}/{SANDBOX_NAME}/{MEP_NAME}/ -sandbox: -# Set if sandbox url uses https. Expected fields: true | false -https: false -# Set the mec platform name demo-3 will run on. Example field: mep1 -mecplatform: '' -# Set user-application ID that is generated on MEC Sandbox frontend. Example field format: 7930ba6d-4581-444c-b966-3312517f3a51 -appid: '' -# Set host address of demo-3. -localurl: 'http://127.0.0.1' -# Set host port number of demo-3. Example field: '8093' -port: '8081' diff --git a/go-apps/meep-vis/server/routers.go b/go-apps/meep-vis/server/routers.go index e609a4af2..b70f64e01 100644 --- a/go-apps/meep-vis/server/routers.go +++ b/go-apps/meep-vis/server/routers.go @@ -28,8 +28,8 @@ import ( "net/http" "strings" - httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" - met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + // httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" + // met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" "github.com/gorilla/mux" ) @@ -49,8 +49,8 @@ func NewRouter() *mux.Router { for _, route := range routes { handler = route.HandlerFunc handler = Logger(handler, route.Name) - handler = met.MetricsHandler(handler, sandboxName, serviceName) - handler = httpLog.LogRx(handler, "") + // handler = met.MetricsHandler(handler, sandboxName, serviceName) + // handler = httpLog.LogRx(handler, "") router. Methods(route.Method). Path(route.Pattern). @@ -66,7 +66,7 @@ func NewRouter() *mux.Router { Name("Api"). Handler(handler) // User supplied service API files - handler = http.StripPrefix("/rni/v2/user-api/", http.FileServer(http.Dir("./user-api/"))) + handler = http.StripPrefix("/vis/v2/user-api/", http.FileServer(http.Dir("./user-api/"))) router. PathPrefix("/vis/v2/user-api/"). Name("UserApi"). @@ -83,84 +83,84 @@ var routes = Routes{ Route{ "Index", "GET", - "/sandboxname/vis/v2/", + "/vis/v2/", Index, }, Route{ "Mec011AppTerminationPOST", strings.ToUpper("Post"), - "/sandboxname/vis/v2/notifications/mec011/appTermination", + "/vis/v2/notifications/mec011/appTermination", Mec011AppTerminationPOST, }, Route{ "PredictedQosPOST", strings.ToUpper("Post"), - "/sandboxname/vis/v2/provide_predicted_qos", + "/vis/v2/provide_predicted_qos", PredictedQosPOST, }, Route{ "IndividualSubscriptionDELETE", strings.ToUpper("Delete"), - "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + "/vis/v2/subscriptions/{subscriptionId}", IndividualSubscriptionDELETE, }, Route{ "IndividualSubscriptionGET", strings.ToUpper("Get"), - "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + "/vis/v2/subscriptions/{subscriptionId}", IndividualSubscriptionGET, }, Route{ "IndividualSubscriptionPUT", strings.ToUpper("Put"), - "/sandboxname/vis/v2/subscriptions/{subscriptionId}", + "/vis/v2/subscriptions/{subscriptionId}", IndividualSubscriptionPUT, }, Route{ "ProvInfoGET", strings.ToUpper("Get"), - "/sandboxname/vis/v2/queries/pc5_provisioning_info", + "/vis/v2/queries/pc5_provisioning_info", ProvInfoGET, }, Route{ "ProvInfoUuMbmsGET", strings.ToUpper("Get"), - "/sandboxname/vis/v2/queries/uu_mbms_provisioning_info", + "/vis/v2/queries/uu_mbms_provisioning_info", ProvInfoUuMbmsGET, }, Route{ "ProvInfoUuUnicastGET", strings.ToUpper("Get"), - "/sandboxname/vis/v2/queries/uu_unicast_provisioning_info", + "/vis/v2/queries/uu_unicast_provisioning_info", ProvInfoUuUnicastGET, }, Route{ "SubGET", strings.ToUpper("Get"), - "/sandboxname/vis/v2/subscriptions", + "/vis/v2/subscriptions", SubGET, }, Route{ "SubPOST", strings.ToUpper("Post"), - "/sandboxname/vis/v2/subscriptions", + "/vis/v2/subscriptions", SubPOST, }, Route{ "V2xMessagePOST", strings.ToUpper("Post"), - "/sandboxname/vis/v2/publish_v2x_message", + "/vis/v2/publish_v2x_message", V2xMessagePOST, }, } diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index dce6f9c4d..5dd3267cb 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -41,7 +41,8 @@ import ( const moduleName = "meep-vis" const visBasePath = "vis/v2/" const visKey = "vis" -const serviceName = "V2XI Service" + +// const serviceName = "V2XI Service" const serviceCategory = "V2XI" const defaultMepName = "global" const defaultScopeOfLocality = "MEC_SYSTEM" -- GitLab From 322ba87da4a1b6fa3e4e0bd197a87464482c072d Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 16 Feb 2022 18:07:49 +0500 Subject: [PATCH 007/183] implement integration configuration for meep-vis --- .meepctl-repocfg.yaml | 44 +++++++++- charts/meep-vis/.helmignore | 21 +++++ charts/meep-vis/Chart.yaml | 5 ++ charts/meep-vis/templates/_helpers.tpl | 32 +++++++ .../templates/clusterrolebinding.yaml | 12 +++ charts/meep-vis/templates/codecov-pv.yaml | 35 ++++++++ charts/meep-vis/templates/deployment.yaml | 65 ++++++++++++++ charts/meep-vis/templates/ingress.yaml | 39 +++++++++ charts/meep-vis/templates/monitor.yaml | 33 +++++++ charts/meep-vis/templates/service.yaml | 28 ++++++ charts/meep-vis/templates/serviceaccount.yaml | 4 + charts/meep-vis/values-template.yaml | 87 +++++++++++++++++++ go-apps/meep-virt-engine/entrypoint.sh | 1 + 13 files changed, 402 insertions(+), 4 deletions(-) create mode 100644 charts/meep-vis/.helmignore create mode 100644 charts/meep-vis/Chart.yaml create mode 100644 charts/meep-vis/templates/_helpers.tpl create mode 100644 charts/meep-vis/templates/clusterrolebinding.yaml create mode 100644 charts/meep-vis/templates/codecov-pv.yaml create mode 100644 charts/meep-vis/templates/deployment.yaml create mode 100644 charts/meep-vis/templates/ingress.yaml create mode 100644 charts/meep-vis/templates/monitor.yaml create mode 100644 charts/meep-vis/templates/service.yaml create mode 100644 charts/meep-vis/templates/serviceaccount.yaml create mode 100644 charts/meep-vis/values-template.yaml diff --git a/.meepctl-repocfg.yaml b/.meepctl-repocfg.yaml index 9cb77df1b..0fc4e008b 100644 --- a/.meepctl-repocfg.yaml +++ b/.meepctl-repocfg.yaml @@ -205,7 +205,6 @@ repo: # Core Subsystem #------------------------------ core: - # Go Applications go-apps: meep-auth-svc: @@ -305,6 +304,7 @@ repo: - meep-sandbox-ctrl - meep-tc-engine - meep-app-enablement + - meep-vis # location of API specifications api: - name: 'AdvantEDGE Monitoring Engine REST API' @@ -383,6 +383,7 @@ repo: meep-tc-engine: charts/meep-tc-engine meep-app-enablement: charts/meep-app-enablement meep-virt-chart-templates: charts/meep-virt-chart-templates + meep-vis: charts/meep-vis # list of sandbox specific pods sandbox-pods: - meep-gis-engine @@ -395,6 +396,7 @@ repo: - meep-sandbox-ctrl - meep-tc-engine - meep-app-enablement + - meep-vis meep-webhook: # location of source code src: go-apps/meep-webhook @@ -447,7 +449,6 @@ repo: # Sandbox Subsystem #------------------------------ sandbox: - # Go Applications go-apps: meep-ams: @@ -771,6 +772,38 @@ repo: docker-data: # location of entry script 'entrypoint.sh': go-apps/meep-wais/entrypoint.sh + meep-vis: + # location of source code + src: go-apps/meep-vis + # location of binary + bin: bin/meep-vis + # location of deployment chart + chart: charts/meep-vis + # user supplied value file located @ .meep/user/values (use below file name) + chart-user-values: meep-vis.yaml + # extra build flags + build-flags: + - -mod=vendor + # enable meepctl build + build: true + # enable meepctl dockerize + dockerize: true + # enable meepctl deploy/delete + deploy: true + # supports code coverage measurement when built in codecov mode + codecov: true + # supports linting + lint: true + # location of API specifications + api: + - name: 'AdvantEDGE V2X Information Service REST API' + file: go-apps/meep-vis/api/swagger.yaml + # location of user supplied API specifications + user-api: + # resources available to docker container image + docker-data: + # location of entry script + 'entrypoint.sh': go-apps/meep-vis/entrypoint.sh #------------------------------ # Dependencies @@ -935,7 +968,6 @@ repo: # Packages #------------------------------ packages: - # Go Packages go-packages: meep-ams-client: @@ -1113,6 +1145,11 @@ repo: src: go-packages/meep-websocket # supports linting lint: true + meep-vis-client: + # location of source code + src: go-packages/meep-vis-client + # supports linting + lint: false # Javascript Packages js-packages: @@ -1156,4 +1193,3 @@ repo: src: js-packages/meep-service-mgmt-client # supports linting lint: false - diff --git a/charts/meep-vis/.helmignore b/charts/meep-vis/.helmignore new file mode 100644 index 000000000..f0c131944 --- /dev/null +++ b/charts/meep-vis/.helmignore @@ -0,0 +1,21 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj diff --git a/charts/meep-vis/Chart.yaml b/charts/meep-vis/Chart.yaml new file mode 100644 index 000000000..d51da9f4d --- /dev/null +++ b/charts/meep-vis/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: '1.0.0' +description: MEEP V2X Information Service Helm chart for Kubernetes +name: meep-vis +version: 1.0.0 diff --git a/charts/meep-vis/templates/_helpers.tpl b/charts/meep-vis/templates/_helpers.tpl new file mode 100644 index 000000000..de6845d3e --- /dev/null +++ b/charts/meep-vis/templates/_helpers.tpl @@ -0,0 +1,32 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "meep-vis.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "meep-vis.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "meep-vis.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} diff --git a/charts/meep-vis/templates/clusterrolebinding.yaml b/charts/meep-vis/templates/clusterrolebinding.yaml new file mode 100644 index 000000000..bf5d017f5 --- /dev/null +++ b/charts/meep-vis/templates/clusterrolebinding.yaml @@ -0,0 +1,12 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: "{{ .Release.Namespace }}:{{ template "meep-vis.fullname" . }}" +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: cluster-admin +subjects: +- kind: ServiceAccount + name: {{ template "meep-vis.fullname" . }} + namespace: {{ .Release.Namespace }} diff --git a/charts/meep-vis/templates/codecov-pv.yaml b/charts/meep-vis/templates/codecov-pv.yaml new file mode 100644 index 000000000..aad474352 --- /dev/null +++ b/charts/meep-vis/templates/codecov-pv.yaml @@ -0,0 +1,35 @@ +{{- if .Values.codecov.enabled}} +kind: PersistentVolume +apiVersion: v1 +metadata: + name: meep-vis-codecov-pv +spec: + storageClassName: meep-vis-codecov-sc + capacity: + storage: 100Mi + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + hostPath: + path: {{ .Values.codecov.location }} + +--- +kind: StorageClass +apiVersion: storage.k8s.io/v1 +metadata: + name: meep-vis-codecov-sc +provisioner: kubernetes.io/no-provisioner +volumeBindingMode: WaitForFirstConsumer +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: meep-vis-codecov-pvc +spec: + storageClassName: meep-vis-codecov-sc + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi +{{- end}} diff --git a/charts/meep-vis/templates/deployment.yaml b/charts/meep-vis/templates/deployment.yaml new file mode 100644 index 000000000..dbdde86ff --- /dev/null +++ b/charts/meep-vis/templates/deployment.yaml @@ -0,0 +1,65 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ template "meep-vis.fullname" . }} + labels: + app: {{ template "meep-vis.name" . }} + chart: {{ template "meep-vis.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} + meepOrigin: {{ .Values.meepOrigin }} +spec: + replicas: {{ .Values.deployment.replicas }} + selector: + matchLabels: + app: {{ template "meep-vis.name" . }} + release: {{ .Release.Name }} + template: + metadata: + labels: + app: {{ template "meep-vis.name" . }} + release: {{ .Release.Name }} + meepOrigin: {{ .Values.meepOrigin }} + spec: + serviceAccountName: {{ .Values.serviceAccount }} + {{- if .Values.codecov.enabled}} + volumes: + - name: codecov-storage + persistentVolumeClaim: + claimName: meep-vis-codecov-pvc + {{- end}} + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + {{- if .Values.codecov.enabled}} + command: [ "/meep-vis" ] + args: [ "-test.coverprofile=/codecov/codecov-meep-vis.out", "__DEVEL--code-cov" ] + {{- end}} + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - containerPort: {{ .Values.deployment.port }} + protocol: {{ .Values.deployment.protocol }} + env: + {{- range $key, $value := .Values.image.env }} + - name: {{ $key }} + value: {{ $value | quote }} + {{- end }} + {{- if .Values.codecov.enabled}} + volumeMounts: + - name: codecov-storage + mountPath: /codecov + {{- end}} + terminationGracePeriodSeconds: 5 + initContainers: + {{- range $value := .Values.deployment.dependencies.system }} + - name: init-system-{{ $value }} + image: busybox:1.28 + imagePullPolicy: IfNotPresent + command: ['sh', '-c', 'until nslookup {{ $value }}.kube-system ; do echo waiting for {{ $value }}; sleep 0.25; done;'] + {{- end}} + {{- range $value := .Values.deployment.dependencies.namespace }} + - name: init-{{ $value }} + image: busybox:1.28 + imagePullPolicy: IfNotPresent + command: ['sh', '-c', 'until nslookup {{ $value }} ; do echo waiting for {{ $value }}; sleep 0.25; done;'] + {{- end}} diff --git a/charts/meep-vis/templates/ingress.yaml b/charts/meep-vis/templates/ingress.yaml new file mode 100644 index 000000000..ae65d46b8 --- /dev/null +++ b/charts/meep-vis/templates/ingress.yaml @@ -0,0 +1,39 @@ +{{- if .Values.ingress.enabled -}} +{{- $serviceName := .Values.service.name -}} +{{- $servicePort := .Values.service.port -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ $serviceName }} + labels: + app: {{ template "meep-vis.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +{{- if .Values.ingress.labels }} +{{ toYaml .Values.ingress.labels | indent 4 }} +{{- end }} + annotations: + {{- range $key, $value := .Values.ingress.annotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} +spec: + rules: + {{- range .Values.ingress.hosts }} + - http: + paths: + {{- range $path := .paths }} + - path: {{ $path }} + backend: + serviceName: {{ $serviceName }} + servicePort: {{ $servicePort }} + {{- end -}} + {{- if .name }} + host: {{ .name }} + {{- end }} + {{- end -}} + {{- if .Values.ingress.tls }} + tls: +{{ toYaml .Values.ingress.tls | indent 4 }} + {{- end -}} +{{- end -}} diff --git a/charts/meep-vis/templates/monitor.yaml b/charts/meep-vis/templates/monitor.yaml new file mode 100644 index 000000000..0785c0535 --- /dev/null +++ b/charts/meep-vis/templates/monitor.yaml @@ -0,0 +1,33 @@ +{{- if .Values.prometheus.monitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ template "meep-vis.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: + app: {{ template "meep-vis.name" . }} + chart: {{ template "meep-vis.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} + meepOrigin: {{ .Values.meepOrigin }} + {{- if .Values.prometheus.monitor.additionalLabels }} +{{ toYaml .Values.prometheus.monitor.additionalLabels | indent 4 }} + {{- end }} +spec: + selector: + matchLabels: + app: {{ template "meep-vis.name" . }} + release: {{ .Release.Name }} + endpoints: + - port: metrics + {{- if .Values.prometheus.monitor.interval }} + interval: {{ .Values.prometheus.monitor.interval }} + {{- end }} + {{- if .Values.prometheus.monitor.scrapeTimeout }} + scrapeTimeout: {{ .Values.prometheus.monitor.scrapeTimeout }} + {{- end }} +{{- if .Values.prometheus.monitor.relabelings }} + relabelings: +{{ toYaml .Values.prometheus.monitor.relabelings | indent 6 }} +{{- end }} +{{- end }} diff --git a/charts/meep-vis/templates/service.yaml b/charts/meep-vis/templates/service.yaml new file mode 100644 index 000000000..e4797ca73 --- /dev/null +++ b/charts/meep-vis/templates/service.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.service.name }} + labels: + app: {{ template "meep-vis.name" . }} + chart: {{ template "meep-vis.chart" . }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} + meepOrigin: {{ .Values.meepOrigin }} +spec: + type: {{ .Values.service.type }} + selector: + app: {{ template "meep-vis.name" . }} + release: {{ .Release.Name }} + ports: + - name: vis + port: {{ .Values.service.port }} + targetPort: {{ .Values.deployment.port }} + {{- if .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} + {{- if .Values.prometheus.monitor.enabled}} + - name: metrics + port: {{ .Values.prometheus.monitor.port }} + targetPort: {{ .Values.prometheus.monitor.port }} + protocol: TCP + {{- end}} diff --git a/charts/meep-vis/templates/serviceaccount.yaml b/charts/meep-vis/templates/serviceaccount.yaml new file mode 100644 index 000000000..5a9a118d9 --- /dev/null +++ b/charts/meep-vis/templates/serviceaccount.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: { { template "meep-vis.fullname" . } } diff --git a/charts/meep-vis/values-template.yaml b/charts/meep-vis/values-template.yaml new file mode 100644 index 000000000..9ade544cc --- /dev/null +++ b/charts/meep-vis/values-template.yaml @@ -0,0 +1,87 @@ +# Default values for meep-vis. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +deployment: + replicas: 1 + port: 80 + protocol: TCP + dependencies: + system: + {{- if not .IsMepService }} + - kube-dns + {{- end }} + namespace: + +image: + repository: meep-docker-registry:30001/meep-vis + tag: latest + pullPolicy: Always + env: + MEEP_INSTANCE_ID: {{.InstanceId}} + MEEP_SANDBOX_NAME: {{.SandboxName}} + MEEP_SVC_PATH: /vis/v2 + MEEP_HOST_URL: {{.HostUrl}} + {{- if .IsMepService }} + MEEP_MEP_NAME: {{.MepName}} + {{- end }} + {{- if eq .AppEnablement "local" }} + MEEP_APP_ENABLEMENT: {{.MepName}}-meep-app-enablement + {{- else if eq .AppEnablement "global" }} + MEEP_APP_ENABLEMENT: meep-app-enablement + {{- end }} + {{- range .Env}} + {{.}} + {{- end}} + +service: + {{- if .IsMepService }} + name: {{.MepName}}-meep-vis + {{- else }} + name: meep-vis + {{- end }} + type: ClusterIP + port: 80 + +ingress: + enabled: true + hosts: + - name: '' + paths: + {{- if .IsMepService }} + - /{{.SandboxName}}/{{.MepName}}/vis + {{- else }} + - /{{.SandboxName}}/vis + {{- end }} + annotations: + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" + nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" + nginx.ingress.kubernetes.io/force-ssl-redirect: {{ .HttpsOnly }} + {{- if .IsMepService }} + nginx.ingress.kubernetes.io/configuration-snippet: | + rewrite ^/{{.SandboxName}}/{{.MepName}}/vis(/|$)(.*)$ /vis/$2 break; + {{- else }} + nginx.ingress.kubernetes.io/configuration-snippet: | + rewrite ^/{{.SandboxName}}/vis(/|$)(.*)$ /vis/$2 break; + {{- end }} + {{- if .AuthEnabled }} + nginx.ingress.kubernetes.io/auth-url: https://$http_host/auth/v1/authenticate?svc=meep-vis&sbox={{.SandboxName}}&mep={{.MepName}} + {{- end }} + labels: {} + tls: + +prometheus: + monitor: + enabled: true + port: 9000 + interval: 10s + additionalLabels: {} + relabelings: [] + scrapeTimeout: 5s + +codecov: + enabled: false + location: "/codecov/meep-vis" + +meepOrigin: core diff --git a/go-apps/meep-virt-engine/entrypoint.sh b/go-apps/meep-virt-engine/entrypoint.sh index 752cf1179..f48947a73 100644 --- a/go-apps/meep-virt-engine/entrypoint.sh +++ b/go-apps/meep-virt-engine/entrypoint.sh @@ -13,6 +13,7 @@ mv /meep-wais /templates/sandbox/meep-wais mv /meep-ams /templates/sandbox/meep-ams mv /meep-sandbox-ctrl /templates/sandbox/meep-sandbox-ctrl mv /meep-tc-engine /templates/sandbox/meep-tc-engine +mv /meep-vis /templates/sandbox/meep-vis mkdir -p /templates/scenario mv /meep-virt-chart-templates /templates/scenario/meep-virt-chart-templates -- GitLab From e3f5718f5e37ca7436772801de12f8ed438d017d Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Wed, 16 Feb 2022 15:31:13 +0100 Subject: [PATCH 008/183] Add go.mod file in meep-vis-client package --- go-packages/meep-vis-client/api_unsupported.go | 1 - go-packages/meep-vis-client/api_vis.go | 1 - go-packages/meep-vis-client/go.mod | 9 +++++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 go-packages/meep-vis-client/go.mod diff --git a/go-packages/meep-vis-client/api_unsupported.go b/go-packages/meep-vis-client/api_unsupported.go index 882516a15..4cd2ba2a8 100644 --- a/go-packages/meep-vis-client/api_unsupported.go +++ b/go-packages/meep-vis-client/api_unsupported.go @@ -1,4 +1,3 @@ - /* * AdvantEDGE V2X Information Service REST API * diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_vis.go index d26d9c0c7..ef44a6113 100644 --- a/go-packages/meep-vis-client/api_vis.go +++ b/go-packages/meep-vis-client/api_vis.go @@ -1,4 +1,3 @@ - /* * AdvantEDGE V2X Information Service REST API * diff --git a/go-packages/meep-vis-client/go.mod b/go-packages/meep-vis-client/go.mod new file mode 100644 index 000000000..fcf5109db --- /dev/null +++ b/go-packages/meep-vis-client/go.mod @@ -0,0 +1,9 @@ +module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client + +go 1.12 + +require ( + golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 + golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a +) + -- GitLab From ca4f33adb3671bb591ad7ed9bd6f571f6e42e222 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 17 Feb 2022 11:29:29 +0500 Subject: [PATCH 009/183] add procedure for standalone testing for meep-vis --- go-apps/meep-vis/README.md | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 go-apps/meep-vis/README.md diff --git a/go-apps/meep-vis/README.md b/go-apps/meep-vis/README.md new file mode 100644 index 000000000..d0fe3daf6 --- /dev/null +++ b/go-apps/meep-vis/README.md @@ -0,0 +1,40 @@ +# AdvantEDGE V2X Information System REST API + +## Running the Server in Standalone mode + +To run the server in standalone mode (for testing) i.e. without integrating it with AdvantEDGE, make the following changes: + +- In _main.go_, replace the complete file with the following code: + ```go + package main + + import ( + "log" + "net/http" + + sw "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis/server" + ) + + func main() { + log.Printf("Server started") + + router := sw.NewRouter() + + log.Fatal(http.ListenAndServe(":8080", router)) + } + ``` +- In _go.mod_, add the following line in `replace`: + ```go + github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis/server => ./server + ``` +- In _./server/vis.go_, remove all the code related to SBI and Redis. This includes + - _sbi_ and _dkm_ imports + - _Init()_, _Run()_ and _Stop()_ functions +- Run the server by using the command + ```sh + go run main.go + ``` +- Now the requests can be sent to + ``` + http://localhost:8080/vis/v2/ + ``` -- GitLab From 4a86a3a9a2585e53f787fb8f17d2ecd689f52007 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 17 Feb 2022 13:13:45 +0500 Subject: [PATCH 010/183] rename Cfg in SBI for meep-vis --- go-apps/meep-vis/sbi/vis-sbi.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 77bf492bb..81b56a6f0 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -29,7 +29,7 @@ import ( sam "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr" ) -const moduleName string = "meep-wais-sbi" +const moduleName string = "meep-vis-sbi" var metricStore *met.MetricStore var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" @@ -50,7 +50,7 @@ type SbiCfg struct { CleanUpCb func() } -type WaisSbi struct { +type VisSbi struct { moduleName string sandboxName string mepName string @@ -70,16 +70,16 @@ type WaisSbi struct { mutex sync.Mutex } -var sbi *WaisSbi +var sbi *VisSbi -// Init - WAI Service SBI initialization +// Init - V2XI Service SBI initialization func Init(cfg SbiCfg) (err error) { // Create new SBI instance if sbi != nil { sbi = nil } - sbi = new(WaisSbi) + sbi = new(VisSbi) sbi.moduleName = cfg.ModuleName sbi.sandboxName = cfg.SandboxName sbi.mepName = cfg.MepName @@ -146,7 +146,7 @@ func Init(cfg SbiCfg) (err error) { return nil } -// Run - MEEP WAIS execution +// Run - MEEP VIS execution func Run() (err error) { // Start Swagger API Manager (provider) -- GitLab From 076bdea826459f7b136cf63ca25cb2756ef40cff Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 18 Feb 2022 15:23:21 +0500 Subject: [PATCH 011/183] generate new models for meep-vis for clarity --- go-apps/meep-vis/api/swagger.yaml | 952 +++++++++--------- ..._subscription__links.go => model_links.go} | 2 +- .../model_pc5_provisioning_info_inner.go | 3 +- .../server/model_predicted_qos_routes.go | 2 +- .../model_predicted_qos_routes_route_info.go | 34 + .../server/model_prov_chg_pc5_subscription.go | 2 +- .../model_prov_chg_uu_mbms_subscription.go | 2 +- .../model_prov_chg_uu_uni_subscription.go | 2 +- .../server/model_subscription_link_list.go | 3 +- ...del_subscription_link_list_links_inner.go} | 6 +- .../model_uu_mbms_provisioning_info_inner.go | 3 +- ...odel_uu_unicast_provisioning_info_inner.go | 3 +- ...go => model_v2x_msg_notification_links.go} | 2 +- .../server/model_v2x_msg_subscription.go | 2 +- go-packages/meep-vis-client/go.mod | 1 - 15 files changed, 531 insertions(+), 488 deletions(-) rename go-apps/meep-vis/server/{model_prov_chg_pc5_subscription__links.go => model_links.go} (97%) create mode 100644 go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go rename go-apps/meep-vis/server/{model_subscription_link_list__links.go => model_subscription_link_list_links_inner.go} (91%) rename go-apps/meep-vis/server/{model_v2x_msg_notification__links.go => model_v2x_msg_notification_links.go} (96%) diff --git a/go-apps/meep-vis/api/swagger.yaml b/go-apps/meep-vis/api/swagger.yaml index edea39376..7d972c16e 100644 --- a/go-apps/meep-vis/api/swagger.yaml +++ b/go-apps/meep-vis/api/swagger.yaml @@ -1,26 +1,20 @@ openapi: 3.0.0 info: - title: AdvantEDGE V2X Information Service REST API - description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC - ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) -

**Type & Usage**
Edge Service used by edge applications that want to get - information about radio conditions in the network

**Note**
AdvantEDGE supports - a selected subset of RNI API endpoints (see below) and a subset of subscription - types. + title: ETSI GS MEC 030 V2X Information Service API + description: ETSI GS MEC 030 V2X Information Service API described using OpenAPI. contact: - name: InterDigital AdvantEDGE Support - email: AdvantEDGE@InterDigital.com + name: ETSI Forge + url: https://forge.etsi.org/rep/mec/gs030-vis-api + email: cti_support@etsi.org license: - name: Apache 2.0 - url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + name: BSD-3-Clause + url: https://forge.etsi.org/legal-matters version: 2.2.1 externalDocs: description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf servers: -- url: https://localhost/sandboxname/vis/v2 +- url: https://localhost/vis/v2 tags: - name: QoS - name: unsupported @@ -649,6 +643,42 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + post: + tags: + - QoS + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications delete: tags: - unsupported @@ -694,33 +724,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - /notifications/mec011/appTermination: - post: - tags: - - QoS - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. - operationId: mec011AppTerminationPOST - requestBody: - description: Termination notification details - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - _links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination - required: true - responses: - "204": - description: No Content - x-swagger-router-controller: notifications components: schemas: CellId: @@ -774,6 +777,17 @@ components: ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.6 + Links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) LinkType: required: - href @@ -794,9 +808,32 @@ components: ecgi: $ref: '#/components/schemas/Ecgi' geoArea: - $ref: '#/components/schemas/LocationInfo_geoArea' + $ref: '#/components/schemas/GeoArea' x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." x-etsi-ref: 6.5.3 + GeoArea: + required: + - latitude + - longitude + type: object + properties: + latitude: + type: number + description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + longitude: + type: number + description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + description: Information of a geographical area. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) Pc5NeighbourCellInfo: required: - ecgi @@ -819,6 +856,37 @@ components: $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' x-etsi-ref: 6.2.4 x-schema-name: Pc5ProvisioningInfo + ProInfoPc5: + minItems: 1 + required: + - dstLayer2Id + - locationInfo + type: array + properties: + dstLayer2Id: + type: string + description: |- + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoPc5 Plmn: required: - mcc @@ -848,16 +916,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String routes: - minItems: 1 - required: - - routeInfo - type: array - description: Information relating to the potential routes of a vehicular - UE. - items: - $ref: '#/components/schemas/PredictedQos_routes' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/Routes' timeGranularity: $ref: '#/components/schemas/TimeStamp' example: @@ -876,6 +935,51 @@ components: \ indicates the granularity of a visited location by means of latitudinal\ \ and longitudinal margins." x-etsi-ref: 6.2.5 + Routes: + minItems: 1 + required: + - routeInfo + type: array + description: Information relating to the potential routes of a vehicular UE. + items: + $ref: '#/components/schemas/Routes_inner' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: Routes + RouteInfo: + minItems: 2 + required: + - location + type: array + properties: + location: + $ref: '#/components/schemas/LocationInfo' + rsrp: + type: integer + description: |- + Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: |- + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + time: + $ref: '#/components/schemas/TimeStamp' + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + type: object + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: RouteInfo ProblemDetails: type: object properties: @@ -948,7 +1052,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -959,7 +1063,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgPc5Subscription_filterCriteria' + $ref: '#/components/schemas/ProvChgPc5SubscriptionFilterCriteria' requestTestNotification: type: boolean description: |- @@ -979,6 +1083,34 @@ components: to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.' x-etsi-ref: 6.3.4 + ProvChgPc5SubscriptionFilterCriteria: + required: + - dstLayer2Id + - locationInfo + type: object + properties: + dstLayer2Id: + type: string + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) ProvChgUuMbmsNotification: required: - locationInfo @@ -1013,7 +1145,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1024,7 +1156,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription_filterCriteria' + $ref: '#/components/schemas/ProvChgUuMbmsSubscriptionFilterCriteria' requestTestNotification: type: boolean description: |- @@ -1044,6 +1176,30 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.3 + ProvChgUuMbmsSubscriptionFilterCriteria: + required: + - locationInfo + - v2xServerUsd + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) ProvChgUuUniNotification: required: - locationInfo @@ -1078,7 +1234,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1089,7 +1245,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuUniSubscription_filterCriteria' + $ref: '#/components/schemas/ProvChgUuUniSubscriptionFilterCriteria' requestTestNotification: type: boolean description: |- @@ -1109,20 +1265,37 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.2 + ProvChgUuUniSubscriptionFilterCriteria: + required: + - locationInfo + - v2xApplicationServer + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) SubscriptionLinkList: required: - _links type: object properties: _links: - required: - - self - type: array - description: List of hyperlinks related to the resource. - items: - $ref: '#/components/schemas/SubscriptionLinkList__links' - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/SubscriptionLinkListLinks' example: _links: - subscriptions: @@ -1155,6 +1328,42 @@ components: transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.7 + SubscriptionLinkListLinks: + required: + - self + type: array + description: List of hyperlinks related to the resource. + items: + $ref: '#/components/schemas/SubscriptionLinkListLinks_inner' + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: SubscriptionLinkListLinks + SubscriptionLinkListLinksSubscriptions: + minItems: 0 + required: + - href + - subscriptionType + type: array + properties: + href: + type: string + description: The URI referring to the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + subscriptionType: + type: string + description: Type of the subscription. The values are as defined in the + "subscriptionType" attribute for each different V2X information event + subscription data type. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: The service consumer's subscriptions. + items: + type: object + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: SubscriptionLinkListLinksSubscriptions TestNotification: required: - _links @@ -1199,31 +1408,33 @@ components: type: object properties: transmissionBandwidth: - type: string - description: | - 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + $ref: '#/components/schemas/TransmissionBandwidth_transmissionBandwidth' + x-etsi-ref: 6.6.4 + TransmissionBandwidth_transmissionBandwidth: + type: string + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: - 1 = bw6 (6 resource blocks) + 1 = bw6 (6 resource blocks) - 2 = bw15 (15 resource blocks) + 2 = bw15 (15 resource blocks) - 3 = bw25 (25 resource blocks) + 3 = bw25 (25 resource blocks) - 4 = bw50 (50 resource blocks) + 4 = bw50 (50 resource blocks) - 5 = bw75 (75 resource blocks) + 5 = bw75 (75 resource blocks) - 6 = bw100 (100 resource blocks)' - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - x-etsi-ref: 6.6.4 + 6 = bw100 (100 resource blocks)' + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum UuMbmsNeighbourCellInfo: required: - ecgi @@ -1264,6 +1475,32 @@ components: $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' x-etsi-ref: 6.2.3 x-schema-name: UuMbmsProvisioningInfo + ProInfoUuMbms: + minItems: 1 + required: + - locationInfo + - v2xServerUsd + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoUuMbms UuUniNeighbourCellInfo: required: - ecgi @@ -1295,14 +1532,40 @@ components: $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' x-etsi-ref: 6.2.2 x-schema-name: UuUnicastProvisioningInfo - V2xApplicationServer: + ProInfoUuUnicast: + minItems: 1 required: - - ipAddress - - udpPort - type: object + - locationInfo + - v2xApplicationServer + type: array properties: - ipAddress: - type: string + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoUuUnicast + V2xApplicationServer: + required: + - ipAddress + - udpPort + type: object + properties: + ipAddress: + type: string x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String udpPort: @@ -1322,7 +1585,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/V2xMsgNotification__links' + $ref: '#/components/schemas/V2xMsgNotificationLinks' msgContent: type: string description: Published V2X message content. The format of the string is @@ -1336,38 +1599,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: string - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/MsgType' notificationType: type: string description: Shall be set to "V2xMsgNotification". @@ -1388,6 +1620,16 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.4.5 + V2xMsgNotificationLinks: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Links to resources related to this notification. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) V2xMsgPublication: required: - msgContent @@ -1408,38 +1650,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: string - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/MsgType' stdOrganization: type: string description: "Standardization organization which defines the published V2X\ @@ -1453,6 +1664,39 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 + MsgType: + type: string + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum V2xMsgSubscription: required: - filterCriteria @@ -1460,7 +1704,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1471,7 +1715,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/V2xMsgSubscription_filterCriteria' + $ref: '#/components/schemas/V2xMsgSubscriptionFilterCriteria' requestTestNotification: type: boolean description: |- @@ -1494,6 +1738,34 @@ components: \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ \ [6], clause A.114." x-etsi-ref: 6.3.5 + V2xMsgSubscriptionFilterCriteria: + required: + - stdOrganization + type: object + properties: + msgType: + minItems: 0 + type: array + description: Subscribed V2X message type. Its value is defined by the standardization + organization indicated by the attribute stdOrganization. See note 3. + items: + type: string + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the subscribed\ + \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 2." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd: required: - sdpInfo @@ -1502,7 +1774,7 @@ components: type: object properties: sdpInfo: - $ref: '#/components/schemas/V2xServerUsd_sdpInfo' + $ref: '#/components/schemas/SdpInfo' serviceAreaIdentifier: minItems: 1 type: array @@ -1513,8 +1785,52 @@ components: x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: String tmgi: - $ref: '#/components/schemas/V2xServerUsd_tmgi' + $ref: '#/components/schemas/Tmgi' x-etsi-ref: 6.5.10 + SdpInfo: + required: + - ipMulticastAddress + - portNumber + type: object + properties: + ipMulticastAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + portNumber: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: SDP with IP multicast address and port number used for V2X communication + via MBMS. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + Tmgi: + required: + - mbmsServiceId + - mcc + - mnc + type: object + properties: + mbmsServiceId: + type: string + description: MBMS Service ID consisting of three octets. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS + to uniquely identify Multicast and Broadcast bearer services. + x-etsi-mec-cardinality: "" + x-etsi-mec-origin-type: Structure (inlined) WebsockNotifConfig: type: object properties: @@ -1573,60 +1889,11 @@ components: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' - LocationInfo_geoArea: - required: - - latitude - - longitude - type: object - properties: - latitude: - type: number - description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format - DDD.ddd - format: float - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Float - longitude: - type: number - description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format - DDD.ddd - format: float - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Float - description: Information of a geographical area. Pc5ProvisioningInfo_inner: type: object properties: proInfoPc5: - minItems: 1 - required: - - dstLayer2Id - - locationInfo - type: array - properties: - dstLayer2Id: - type: string - description: |- - For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoPc5' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1636,155 +1903,22 @@ components: proInfoPc5: - {} - {} - PredictedQos_routes: + Routes_inner: type: object properties: routeInfo: - minItems: 2 - required: - - location - type: array - properties: - location: - $ref: '#/components/schemas/LocationInfo' - rsrp: - type: integer - description: |- - Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. - Shall only be included in the response. - format: uint8 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - type: integer - description: |- - Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. - Shall only be included in the response. - format: uint8 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - time: - $ref: '#/components/schemas/TimeStamp' - description: |- - Information relating to a specific route. - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - items: - type: object - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/RouteInfo' example: routeInfo: - {} - {} - ProvChgPc5Subscription__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - description: Hyperlink related to the resource. This shall be only included - in the HTTP responses and in HTTP PUT requests. - ProvChgPc5Subscription_filterCriteria: - required: - - dstLayer2Id - - locationInfo - type: object - properties: - dstLayer2Id: - type: string - description: For sidelink communication, the Destination Layer-2 ID is set - to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - ProvChgUuMbmsSubscription_filterCriteria: - required: - - locationInfo - - v2xServerUsd - type: object - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - $ref: '#/components/schemas/V2xServerUsd' - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - ProvChgUuUniSubscription_filterCriteria: - required: - - locationInfo - - v2xApplicationServer - type: object - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - $ref: '#/components/schemas/V2xApplicationServer' - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - SubscriptionLinkList__links: + SubscriptionLinkListLinks_inner: type: object properties: self: $ref: '#/components/schemas/LinkType' subscriptions: - minItems: 0 - required: - - href - - subscriptionType - type: array - properties: - href: - type: string - description: The URI referring to the subscription. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - subscriptionType: - type: string - description: Type of the subscription. The values are as defined in - the "subscriptionType" attribute for each different V2X information - event subscription data type. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: The service consumer's subscriptions. - items: - type: object - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/SubscriptionLinkListLinksSubscriptions' example: subscriptions: - {} @@ -1803,30 +1937,7 @@ components: type: object properties: proInfoUuMbms: - minItems: 1 - required: - - locationInfo - - v2xServerUsd - type: array - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - $ref: '#/components/schemas/V2xServerUsd' - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoUuMbms' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1840,30 +1951,7 @@ components: type: object properties: proInfoUuUnicast: - minItems: 1 - required: - - locationInfo - - v2xApplicationServer - type: array - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - $ref: '#/components/schemas/V2xApplicationServer' - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoUuUnicast' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1873,80 +1961,6 @@ components: proInfoUuUnicast: - {} - {} - V2xMsgNotification__links: - required: - - subscription - type: object - properties: - subscription: - $ref: '#/components/schemas/LinkType' - description: Links to resources related to this notification. - V2xMsgSubscription_filterCriteria: - required: - - stdOrganization - type: object - properties: - msgType: - minItems: 0 - type: array - description: Subscribed V2X message type. Its value is defined by the standardization - organization indicated by the attribute stdOrganization. See note 3. - items: - type: string - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Enum - stdOrganization: - type: string - description: "Standardization organization which defines the subscribed\ - \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ - \ \nSee note 2." - enum: - - ETSI - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - V2xServerUsd_sdpInfo: - required: - - ipMulticastAddress - - portNumber - type: object - properties: - ipMulticastAddress: - type: string - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - portNumber: - type: string - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: SDP with IP multicast address and port number used for V2X communication - via MBMS. - V2xServerUsd_tmgi: - required: - - mbmsServiceId - - mcc - - mnc - type: object - properties: - mbmsServiceId: - type: string - description: MBMS Service ID consisting of three octets. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mcc: - type: string - description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mnc: - type: string - description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: Temporary Mobile Group Identity (TMGI), which is used within MBMS - to uniquely identify Multicast and Broadcast bearer services. AppTerminationNotification__links: required: - subscription diff --git a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go b/go-apps/meep-vis/server/model_links.go similarity index 97% rename from go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go rename to go-apps/meep-vis/server/model_links.go index 35455a70e..497fd5790 100644 --- a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription__links.go +++ b/go-apps/meep-vis/server/model_links.go @@ -24,6 +24,6 @@ package server // Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. -type ProvChgPc5SubscriptionLinks struct { +type Links struct { Self *LinkType `json:"self"` } diff --git a/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go b/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go index 17729875b..a935d6eae 100644 --- a/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go @@ -24,8 +24,7 @@ package server type Pc5ProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoPc5 []interface{} `json:"proInfoPc5,omitempty"` + ProInfoPc5 *[]interface{} `json:"proInfoPc5,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_predicted_qos_routes.go b/go-apps/meep-vis/server/model_predicted_qos_routes.go index 667a37c68..97ae0d5d7 100644 --- a/go-apps/meep-vis/server/model_predicted_qos_routes.go +++ b/go-apps/meep-vis/server/model_predicted_qos_routes.go @@ -25,5 +25,5 @@ package server type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - RouteInfo []interface{} `json:"routeInfo,omitempty"` + RouteInfo []PredictedQosRoutesRouteInfo `json:"routeInfo"` } diff --git a/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go b/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go new file mode 100644 index 000000000..bf29d3f6e --- /dev/null +++ b/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type PredictedQosRoutesRouteInfo struct { + Location *LocationInfo `json:"location"` + // Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. + Rsrp int32 `json:"rsrp,omitempty"` + // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. + Rsrq int32 `json:"rsrq,omitempty"` + + Time *TimeStamp `json:"time,omitempty"` +} diff --git a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go index 2991ae565..b243d6875 100644 --- a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go @@ -24,7 +24,7 @@ package server type ProvChgPc5Subscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go index b13381371..042b940d4 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go @@ -24,7 +24,7 @@ package server type ProvChgUuMbmsSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go index b24a745a1..c6ebef298 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go @@ -24,7 +24,7 @@ package server type ProvChgUuUniSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-vis/server/model_subscription_link_list.go b/go-apps/meep-vis/server/model_subscription_link_list.go index 2f7ebce90..acd29e64f 100644 --- a/go-apps/meep-vis/server/model_subscription_link_list.go +++ b/go-apps/meep-vis/server/model_subscription_link_list.go @@ -24,6 +24,5 @@ package server type SubscriptionLinkList struct { - // List of hyperlinks related to the resource. - Links []SubscriptionLinkListLinks `json:"_links"` + Links *[]SubscriptionLinkListLinksInner `json:"_links"` } diff --git a/go-apps/meep-vis/server/model_subscription_link_list__links.go b/go-apps/meep-vis/server/model_subscription_link_list_links_inner.go similarity index 91% rename from go-apps/meep-vis/server/model_subscription_link_list__links.go rename to go-apps/meep-vis/server/model_subscription_link_list_links_inner.go index 94c2f5f8b..9f367064c 100644 --- a/go-apps/meep-vis/server/model_subscription_link_list__links.go +++ b/go-apps/meep-vis/server/model_subscription_link_list_links_inner.go @@ -23,8 +23,8 @@ */ package server -type SubscriptionLinkListLinks struct { +type SubscriptionLinkListLinksInner struct { Self *LinkType `json:"self,omitempty"` - // The service consumer's subscriptions. - Subscriptions []interface{} `json:"subscriptions,omitempty"` + + Subscriptions *[]interface{} `json:"subscriptions,omitempty"` } diff --git a/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go index fb4ab359f..ab461f832 100644 --- a/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go @@ -24,8 +24,7 @@ package server type UuMbmsProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoUuMbms []interface{} `json:"proInfoUuMbms,omitempty"` + ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go index 78fb85f14..c692bbe20 100644 --- a/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go @@ -24,8 +24,7 @@ package server type UuUnicastProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoUuUnicast []interface{} `json:"proInfoUuUnicast,omitempty"` + ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_v2x_msg_notification__links.go b/go-apps/meep-vis/server/model_v2x_msg_notification_links.go similarity index 96% rename from go-apps/meep-vis/server/model_v2x_msg_notification__links.go rename to go-apps/meep-vis/server/model_v2x_msg_notification_links.go index e6d8e553e..f74edc48c 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_notification__links.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification_links.go @@ -23,7 +23,7 @@ */ package server -// Links to resources related to this notification. +// links to resources related to this notification. type V2xMsgNotificationLinks struct { Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-vis/server/model_v2x_msg_subscription.go b/go-apps/meep-vis/server/model_v2x_msg_subscription.go index d92ab2af4..5e4a9d8a4 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_subscription.go +++ b/go-apps/meep-vis/server/model_v2x_msg_subscription.go @@ -24,7 +24,7 @@ package server type V2xMsgSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note 1. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-packages/meep-vis-client/go.mod b/go-packages/meep-vis-client/go.mod index fcf5109db..d1533dc04 100644 --- a/go-packages/meep-vis-client/go.mod +++ b/go-packages/meep-vis-client/go.mod @@ -6,4 +6,3 @@ require ( golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a ) - -- GitLab From bedfe3149e6b62ac905806fafa6ad266d1f51659 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Fri, 18 Feb 2022 14:23:10 +0100 Subject: [PATCH 012/183] Update with new MEC-030 OpenAPI file --- go-packages/meep-vis-client/README.md | 23 +- go-packages/meep-vis-client/api/swagger.yaml | 1301 +++++++++-------- .../meep-vis-client/api_unsupported.go | 7 +- go-packages/meep-vis-client/api_vis.go | 14 +- go-packages/meep-vis-client/client.go | 8 +- go-packages/meep-vis-client/configuration.go | 8 +- go-packages/meep-vis-client/docs/GeoArea.md | 10 + go-packages/meep-vis-client/docs/Links.md | 9 + .../meep-vis-client/docs/LocationInfo.md | 2 +- go-packages/meep-vis-client/docs/MsgType.md | 8 + .../docs/Pc5ProvisioningInfoInner.md | 2 +- .../meep-vis-client/docs/PredictedQos.md | 2 +- .../docs/ProvChgPc5Subscription.md | 4 +- .../docs/ProvChgUuMbmsSubscription.md | 4 +- .../docs/ProvChgUuUniSubscription.md | 4 +- go-packages/meep-vis-client/docs/QoSApi.md | 7 +- .../meep-vis-client/docs/RoutesInner.md | 9 + go-packages/meep-vis-client/docs/SdpInfo.md | 10 + .../docs/SubscriptionLinkList.md | 2 +- .../docs/SubscriptionLinkListLinksInner.md | 10 + go-packages/meep-vis-client/docs/Tmgi.md | 11 + .../docs/TransmissionBandwidth.md | 2 +- ...nsmissionBandwidthTransmissionBandwidth.md | 8 + .../meep-vis-client/docs/UnsupportedApi.md | 2 +- .../docs/UuMbmsProvisioningInfoInner.md | 2 +- .../docs/UuUnicastProvisioningInfoInner.md | 2 +- .../docs/V2xMsgNotification.md | 4 +- .../meep-vis-client/docs/V2xMsgPublication.md | 2 +- .../docs/V2xMsgSubscription.md | 4 +- .../meep-vis-client/docs/V2xServerUsd.md | 4 +- .../model_app_termination_notification.go | 6 +- ...del_app_termination_notification__links.go | 6 +- go-packages/meep-vis-client/model_body.go | 6 +- go-packages/meep-vis-client/model_body_1.go | 6 +- go-packages/meep-vis-client/model_cell_id.go | 6 +- go-packages/meep-vis-client/model_earfcn.go | 6 +- go-packages/meep-vis-client/model_ecgi.go | 6 +- go-packages/meep-vis-client/model_fdd_info.go | 6 +- go-packages/meep-vis-client/model_geo_area.go | 18 + .../meep-vis-client/model_link_type.go | 6 +- go-packages/meep-vis-client/model_links.go | 15 + .../meep-vis-client/model_location_info.go | 8 +- go-packages/meep-vis-client/model_msg_type.go | 29 + .../meep-vis-client/model_one_ofbody.go | 6 +- .../meep-vis-client/model_one_ofbody_1.go | 6 +- .../model_operation_action_type.go | 6 +- .../model_pc5_neighbour_cell_info.go | 6 +- .../model_pc5_provisioning_info_inner.go | 9 +- go-packages/meep-vis-client/model_plmn.go | 6 +- .../meep-vis-client/model_predicted_qos.go | 9 +- .../meep-vis-client/model_problem_details.go | 6 +- .../model_prov_chg_pc5_notification.go | 6 +- .../model_prov_chg_pc5_subscription.go | 8 +- ...ov_chg_pc5_subscription_filter_criteria.go | 6 +- .../model_prov_chg_uu_mbms_notification.go | 6 +- .../model_prov_chg_uu_mbms_subscription.go | 8 +- ...hg_uu_mbms_subscription_filter_criteria.go | 6 +- .../model_prov_chg_uu_uni_notification.go | 6 +- .../model_prov_chg_uu_uni_subscription.go | 8 +- ...chg_uu_uni_subscription_filter_criteria.go | 6 +- .../meep-vis-client/model_routes_inner.go | 14 + go-packages/meep-vis-client/model_sdp_info.go | 16 + .../model_subscription_link_list.go | 9 +- ...odel_subscription_link_list_links_inner.go | 15 + .../model_system_information_block_type21.go | 6 +- go-packages/meep-vis-client/model_tdd_info.go | 6 +- .../model_test_notification.go | 6 +- .../model_test_notification__links.go | 6 +- .../meep-vis-client/model_time_stamp.go | 6 +- go-packages/meep-vis-client/model_tmgi.go | 20 + .../model_transmission_bandwidth.go | 9 +- ...ission_bandwidth_transmission_bandwidth.go | 22 + .../model_uu_mbms_neighbour_cell_info.go | 6 +- .../model_uu_mbms_provisioning_info_inner.go | 9 +- .../model_uu_uni_neighbour_cell_info.go | 6 +- ...odel_uu_unicast_provisioning_info_inner.go | 9 +- .../model_v2x_application_server.go | 6 +- .../model_v2x_msg_notification.go | 9 +- .../model_v2x_msg_notification_links.go | 15 + .../model_v2x_msg_publication.go | 9 +- .../model_v2x_msg_subscription.go | 8 +- ...el_v2x_msg_subscription_filter_criteria.go | 6 +- .../meep-vis-client/model_v2x_server_usd.go | 10 +- .../model_websock_notif_config.go | 6 +- go-packages/meep-vis-client/response.go | 6 +- test/system/vis-system-test.yaml | 2 +- 86 files changed, 1113 insertions(+), 852 deletions(-) create mode 100644 go-packages/meep-vis-client/docs/GeoArea.md create mode 100644 go-packages/meep-vis-client/docs/Links.md create mode 100644 go-packages/meep-vis-client/docs/MsgType.md create mode 100644 go-packages/meep-vis-client/docs/RoutesInner.md create mode 100644 go-packages/meep-vis-client/docs/SdpInfo.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md create mode 100644 go-packages/meep-vis-client/docs/Tmgi.md create mode 100644 go-packages/meep-vis-client/docs/TransmissionBandwidthTransmissionBandwidth.md create mode 100644 go-packages/meep-vis-client/model_geo_area.go create mode 100644 go-packages/meep-vis-client/model_links.go create mode 100644 go-packages/meep-vis-client/model_msg_type.go create mode 100644 go-packages/meep-vis-client/model_routes_inner.go create mode 100644 go-packages/meep-vis-client/model_sdp_info.go create mode 100644 go-packages/meep-vis-client/model_subscription_link_list_links_inner.go create mode 100644 go-packages/meep-vis-client/model_tmgi.go create mode 100644 go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go create mode 100644 go-packages/meep-vis-client/model_v2x_msg_notification_links.go diff --git a/go-packages/meep-vis-client/README.md b/go-packages/meep-vis-client/README.md index 564fd06f8..50923d44c 100644 --- a/go-packages/meep-vis-client/README.md +++ b/go-packages/meep-vis-client/README.md @@ -1,6 +1,6 @@ # Go API client for swagger -V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. +ETSI GS MEC 030 V2X Information Service API described using OpenAPI. ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. @@ -8,6 +8,7 @@ This API client was generated by the [swagger-codegen](https://github.com/swagge - API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen +For more information, please visit [https://forge.etsi.org/rep/mec/gs030-vis-api](https://forge.etsi.org/rep/mec/gs030-vis-api) ## Installation Put the package under your project folder and add the following in import: @@ -17,11 +18,11 @@ import "./swagger" ## Documentation for API Endpoints -All URIs are relative to *https://localhost/sandboxname/vis/v2* +All URIs are relative to *https://localhost/vis/v2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*QoSApi* | [**Mec011AppTerminationPOST**](docs/QoSApi.md#mec011appterminationpost) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +*QoSApi* | [**Mec011AppTerminationPOST**](docs/QoSApi.md#mec011appterminationpost) | **Post** /subscriptions/{subscriptionId} | MEC011 Application Termination notification for self termination *QoSApi* | [**PredictedQosPOST**](docs/QoSApi.md#predictedqospost) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. *UnsupportedApi* | [**IndividualSubscriptionDELETE**](docs/UnsupportedApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. *UnsupportedApi* | [**IndividualSubscriptionGET**](docs/UnsupportedApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. @@ -43,9 +44,11 @@ Class | Method | HTTP request | Description - [Earfcn](docs/Earfcn.md) - [Ecgi](docs/Ecgi.md) - [FddInfo](docs/FddInfo.md) + - [GeoArea](docs/GeoArea.md) - [LinkType](docs/LinkType.md) + - [Links](docs/Links.md) - [LocationInfo](docs/LocationInfo.md) - - [LocationInfoGeoArea](docs/LocationInfoGeoArea.md) + - [MsgType](docs/MsgType.md) - [OneOfbody](docs/OneOfbody.md) - [OneOfbody1](docs/OneOfbody1.md) - [OperationActionType](docs/OperationActionType.md) @@ -53,26 +56,28 @@ Class | Method | HTTP request | Description - [Pc5ProvisioningInfoInner](docs/Pc5ProvisioningInfoInner.md) - [Plmn](docs/Plmn.md) - [PredictedQos](docs/PredictedQos.md) - - [PredictedQosRoutes](docs/PredictedQosRoutes.md) - [ProblemDetails](docs/ProblemDetails.md) - [ProvChgPc5Notification](docs/ProvChgPc5Notification.md) - [ProvChgPc5Subscription](docs/ProvChgPc5Subscription.md) - [ProvChgPc5SubscriptionFilterCriteria](docs/ProvChgPc5SubscriptionFilterCriteria.md) - - [ProvChgPc5SubscriptionLinks](docs/ProvChgPc5SubscriptionLinks.md) - [ProvChgUuMbmsNotification](docs/ProvChgUuMbmsNotification.md) - [ProvChgUuMbmsSubscription](docs/ProvChgUuMbmsSubscription.md) - [ProvChgUuMbmsSubscriptionFilterCriteria](docs/ProvChgUuMbmsSubscriptionFilterCriteria.md) - [ProvChgUuUniNotification](docs/ProvChgUuUniNotification.md) - [ProvChgUuUniSubscription](docs/ProvChgUuUniSubscription.md) - [ProvChgUuUniSubscriptionFilterCriteria](docs/ProvChgUuUniSubscriptionFilterCriteria.md) + - [RoutesInner](docs/RoutesInner.md) + - [SdpInfo](docs/SdpInfo.md) - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) + - [SubscriptionLinkListLinksInner](docs/SubscriptionLinkListLinksInner.md) - [SystemInformationBlockType21](docs/SystemInformationBlockType21.md) - [TddInfo](docs/TddInfo.md) - [TestNotification](docs/TestNotification.md) - [TestNotificationLinks](docs/TestNotificationLinks.md) - [TimeStamp](docs/TimeStamp.md) + - [Tmgi](docs/Tmgi.md) - [TransmissionBandwidth](docs/TransmissionBandwidth.md) + - [TransmissionBandwidthTransmissionBandwidth](docs/TransmissionBandwidthTransmissionBandwidth.md) - [UuMbmsNeighbourCellInfo](docs/UuMbmsNeighbourCellInfo.md) - [UuMbmsProvisioningInfoInner](docs/UuMbmsProvisioningInfoInner.md) - [UuUniNeighbourCellInfo](docs/UuUniNeighbourCellInfo.md) @@ -84,8 +89,6 @@ Class | Method | HTTP request | Description - [V2xMsgSubscription](docs/V2xMsgSubscription.md) - [V2xMsgSubscriptionFilterCriteria](docs/V2xMsgSubscriptionFilterCriteria.md) - [V2xServerUsd](docs/V2xServerUsd.md) - - [V2xServerUsdSdpInfo](docs/V2xServerUsdSdpInfo.md) - - [V2xServerUsdTmgi](docs/V2xServerUsdTmgi.md) - [WebsockNotifConfig](docs/WebsockNotifConfig.md) ## Documentation For Authorization @@ -94,4 +97,4 @@ Class | Method | HTTP request | Description ## Author -AdvantEDGE@InterDigital.com +cti_support@etsi.org diff --git a/go-packages/meep-vis-client/api/swagger.yaml b/go-packages/meep-vis-client/api/swagger.yaml index edea39376..1b205e597 100644 --- a/go-packages/meep-vis-client/api/swagger.yaml +++ b/go-packages/meep-vis-client/api/swagger.yaml @@ -1,26 +1,20 @@ openapi: 3.0.0 info: - title: AdvantEDGE V2X Information Service REST API - description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC - ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) -

**Type & Usage**
Edge Service used by edge applications that want to get - information about radio conditions in the network

**Note**
AdvantEDGE supports - a selected subset of RNI API endpoints (see below) and a subset of subscription - types. + title: ETSI GS MEC 030 V2X Information Service API + description: ETSI GS MEC 030 V2X Information Service API described using OpenAPI. contact: - name: InterDigital AdvantEDGE Support - email: AdvantEDGE@InterDigital.com + name: ETSI Forge + url: https://forge.etsi.org/rep/mec/gs030-vis-api + email: cti_support@etsi.org license: - name: Apache 2.0 - url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + name: BSD-3-Clause + url: https://forge.etsi.org/legal-matters version: 2.2.1 externalDocs: - description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 + description: "ETSI GS MEC 030 V2X Information Service API, v2.2.1" url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf servers: -- url: https://localhost/sandboxname/vis/v2 +- url: https://localhost/vis/v2 tags: - name: QoS - name: unsupported @@ -52,41 +46,41 @@ paths: schema: $ref: '#/components/schemas/UuUnicastProvisioningInfo' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -116,41 +110,41 @@ paths: schema: $ref: '#/components/schemas/UuMbmsProvisioningInfo' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -181,41 +175,41 @@ paths: schema: $ref: '#/components/schemas/Pc5ProvisioningInfo' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -244,28 +238,28 @@ paths: schema: $ref: '#/components/schemas/PredictedQos' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: @@ -287,41 +281,41 @@ paths: "204": description: No Content "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -336,11 +330,11 @@ paths: parameters: - name: subscription_type in: query - description: 'Query parameter to filter on a specific subscription type. Permitted - values: prov_chg_uu_uni: provisioning information change for V2X communication - over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X - communication over Uu MBMS prov_chg_uu_pc5: provisioning information change - for V2X communication over PC5. v2x_msg: V2X interoperability message' + description: "Query parameter to filter on a specific subscription type. Permitted\ + \ values: prov_chg_uu_uni: provisioning information change for V2X communication\ + \ over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X\ + \ communication over Uu MBMS prov_chg_uu_pc5: provisioning information change\ + \ for V2X communication over PC5. v2x_msg: V2X interoperability message" required: false style: form explode: true @@ -355,41 +349,41 @@ paths: schema: $ref: '#/components/schemas/SubscriptionLinkList' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -408,67 +402,68 @@ paths: required: true responses: "201": - description: In the returned NotificationSubscription structure, the created - subscription is described using the appropriate data type. + description: "In the returned NotificationSubscription structure, the created\ + \ subscription is described using the appropriate data type." content: application/json: schema: $ref: '#/components/schemas/body' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "415": - description: 'Unsupported Media Type : used to indicate that the server - or the client does not support the content type of the entity body.' + description: "Unsupported Media Type : used to indicate that the server\ + \ or the client does not support the content type of the entity body." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: 'Unprocessable Entity : used to indicate that the server understands - the content type of the request entity and that the syntax of the request - entity is correct but that the server is unable to process the contained - instructions. This error condition can occur if an JSON request body is - syntactically correct but semantically incorrect, for example if the target - area for the request is considered too large. This error condition can - also occur if the capabilities required by the request are not supported.' + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body\ + \ is syntactically correct but semantically incorrect, for example if\ + \ the target area for the request is considered too large. This error\ + \ condition can also occur if the capabilities required by the request\ + \ are not supported." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -504,8 +499,8 @@ paths: parameters: - name: subscriptionId in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription + description: "Refers to created subscription, where the VIS API allocates\ + \ a unique resource name for this subscription" required: true style: simple explode: false @@ -520,41 +515,41 @@ paths: schema: $ref: '#/components/schemas/body' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: @@ -568,8 +563,8 @@ paths: parameters: - name: subscriptionId in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription + description: "Refers to created subscription, where the VIS API allocates\ + \ a unique resource name for this subscription" required: true style: simple explode: false @@ -590,65 +585,102 @@ paths: schema: $ref: '#/components/schemas/body_1' "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: 'Precondition failed : used when a condition has failed during - conditional requests, e.g. when using ETags to avoid write conflicts when - using PUT' + description: "Precondition failed : used when a condition has failed during\ + \ conditional requests, e.g. when using ETags to avoid write conflicts\ + \ when using PUT" content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: 'Unprocessable Entity : used to indicate that the server understands - the content type of the request entity and that the syntax of the request - entity is correct but that the server is unable to process the contained - instructions. This error condition can occur if an JSON request body is - syntactically correct but semantically incorrect, for example if the target - area for the request is considered too large. This error condition can - also occur if the capabilities required by the request are not supported.' + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body\ + \ is syntactically correct but semantically incorrect, for example if\ + \ the target area for the request is considered too large. This error\ + \ condition can also occur if the capabilities required by the request\ + \ are not supported." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + post: + tags: + - QoS + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + parameters: + - name: subscriptionId + in: path + description: "Refers to created subscription, where the VIS API allocates\ + \ a unique resource name for this subscription" + required: true + style: simple + explode: false + schema: + type: string + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications delete: tags: - unsupported @@ -658,8 +690,8 @@ paths: parameters: - name: subscriptionId in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription + description: "Refers to created subscription, where the VIS API allocates\ + \ a unique resource name for this subscription" required: true style: simple explode: false @@ -669,58 +701,31 @@ paths: "204": description: No Content "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot - be mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot\ + \ be mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - /notifications/mec011/appTermination: - post: - tags: - - QoS - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. - operationId: mec011AppTerminationPOST - requestBody: - description: Termination notification details - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - _links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination - required: true - responses: - "204": - description: No Content - x-swagger-router-controller: notifications components: schemas: CellId: @@ -741,8 +746,8 @@ components: properties: earfcn: type: integer - description: E-UTRA Absolute Radio Frequency Channel Number, range (0... - 65535) + description: "E-UTRA Absolute Radio Frequency Channel Number, range (0...\ + \ 65535)" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Integer x-etsi-ref: 6.6.3 @@ -774,6 +779,17 @@ components: ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.6 + Links: + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) LinkType: required: - href @@ -794,9 +810,32 @@ components: ecgi: $ref: '#/components/schemas/Ecgi' geoArea: - $ref: '#/components/schemas/LocationInfo_geoArea' + $ref: '#/components/schemas/GeoArea' x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." x-etsi-ref: 6.5.3 + GeoArea: + required: + - latitude + - longitude + type: object + properties: + latitude: + type: number + description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + longitude: + type: number + description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + DDD.ddd + format: float + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Float + description: Information of a geographical area. + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) Pc5NeighbourCellInfo: required: - ecgi @@ -819,6 +858,38 @@ components: $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' x-etsi-ref: 6.2.4 x-schema-name: Pc5ProvisioningInfo + ProInfoPc5: + minItems: 1 + required: + - dstLayer2Id + - locationInfo + type: array + properties: + dstLayer2Id: + type: string + description: "For sidelink communication, the Destination Layer-2 ID is\ + \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS\_136\_\ + 321 [i.12].\nPLMN operators coordinate to make sure Destination Layer2\ + \ ID(s) for different V2X services are configured in a consistent manner." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoPc5 Plmn: required: - mcc @@ -848,16 +919,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String routes: - minItems: 1 - required: - - routeInfo - type: array - description: Information relating to the potential routes of a vehicular - UE. - items: - $ref: '#/components/schemas/PredictedQos_routes' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/Routes' timeGranularity: $ref: '#/components/schemas/TimeStamp' example: @@ -876,6 +938,49 @@ components: \ indicates the granularity of a visited location by means of latitudinal\ \ and longitudinal margins." x-etsi-ref: 6.2.5 + Routes: + minItems: 1 + required: + - routeInfo + type: array + description: Information relating to the potential routes of a vehicular UE. + items: + $ref: '#/components/schemas/Routes_inner' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: Routes + RouteInfo: + minItems: 2 + required: + - location + type: array + properties: + location: + $ref: '#/components/schemas/LocationInfo' + rsrp: + type: integer + description: "Reference Signal Received Power as defined in ETSI TS 136\ + \ 214 [i.13].\nShall only be included in the response." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + type: integer + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214 [i.13].\nShall only be included in the response." + format: uint8 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + time: + $ref: '#/components/schemas/TimeStamp' + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + type: object + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: RouteInfo ProblemDetails: type: object properties: @@ -900,7 +1005,7 @@ components: x-etsi-mec-origin-type: Uint32 title: type: string - description: A short, human-readable summary of the problem type + description: "A short, human-readable summary of the problem type" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String type: @@ -918,8 +1023,9 @@ components: properties: dstLayer2Id: type: string - description: For sidelink communication, the Destination Layer-2 ID is set - to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + description: "For sidelink communication, the Destination Layer-2 ID is\ + \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321\ + \ [i.12]." x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String locationInfo: @@ -948,7 +1054,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -959,12 +1065,12 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgPc5Subscription_filterCriteria' + $ref: '#/components/schemas/ProvChgPc5SubscriptionFilterCriteria' requestTestNotification: type: boolean - description: |- - Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. - Default: FALSE. + description: "Shall be set to TRUE by the service consumer to request a\ + \ test notification via HTTP on the callbackReference URI, as described\ + \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -974,11 +1080,40 @@ components: x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig - shall be provided by the service consumer. If both are provided, it is up - to VIS to choose an alternative and return only that alternative in the response, - as described in ETSI GS MEC 009 [i.1], clause 6.12a.' + x-etsi-notes: "NOTE: At least one of callbackReference and websockNotifConfig\ + \ shall be provided by the service consumer. If both are provided, it is up\ + \ to VIS to choose an alternative and return only that alternative in the\ + \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.4 + ProvChgPc5SubscriptionFilterCriteria: + required: + - dstLayer2Id + - locationInfo + type: object + properties: + dstLayer2Id: + type: string + description: "For sidelink communication, the Destination Layer-2 ID is\ + \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321\ + \ [i.12]." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) ProvChgUuMbmsNotification: required: - locationInfo @@ -1013,7 +1148,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1024,12 +1159,12 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription_filterCriteria' + $ref: '#/components/schemas/ProvChgUuMbmsSubscriptionFilterCriteria' requestTestNotification: type: boolean - description: |- - Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. - Default: FALSE. + description: "Shall be set to TRUE by the service consumer to request a\ + \ test notification via HTTP on the callbackReference URI, as described\ + \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1044,6 +1179,30 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.3 + ProvChgUuMbmsSubscriptionFilterCriteria: + required: + - locationInfo + - v2xServerUsd + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) ProvChgUuUniNotification: required: - locationInfo @@ -1078,7 +1237,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1089,12 +1248,12 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuUniSubscription_filterCriteria' + $ref: '#/components/schemas/ProvChgUuUniSubscriptionFilterCriteria' requestTestNotification: type: boolean - description: |- - Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. - Default: FALSE. + description: "Shall be set to TRUE by the service consumer to request a\ + \ test notification via HTTP on the callbackReference URI, as described\ + \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1109,20 +1268,37 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.2 + ProvChgUuUniSubscriptionFilterCriteria: + required: + - locationInfo + - v2xApplicationServer + type: object + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) SubscriptionLinkList: required: - _links type: object properties: _links: - required: - - self - type: array - description: List of hyperlinks related to the resource. - items: - $ref: '#/components/schemas/SubscriptionLinkList__links' - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/SubscriptionLinkListLinks' example: _links: - subscriptions: @@ -1155,6 +1331,42 @@ components: transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.7 + SubscriptionLinkListLinks: + required: + - self + type: array + description: List of hyperlinks related to the resource. + items: + $ref: '#/components/schemas/SubscriptionLinkListLinks_inner' + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: SubscriptionLinkListLinks + SubscriptionLinkListLinksSubscriptions: + minItems: 0 + required: + - href + - subscriptionType + type: array + properties: + href: + type: string + description: The URI referring to the subscription. + format: uri + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: URI + subscriptionType: + type: string + description: Type of the subscription. The values are as defined in the + "subscriptionType" attribute for each different V2X information event + subscription data type. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: The service consumer's subscriptions. + items: + type: object + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: SubscriptionLinkListLinksSubscriptions TestNotification: required: - _links @@ -1177,15 +1389,15 @@ components: properties: nanoSeconds: type: integer - description: The nanoseconds part of the time. Time is defined as Unix-time - since January 1, 1970, 00:00:00 UTC. + description: "The nanoseconds part of the time. Time is defined as Unix-time\ + \ since January 1, 1970, 00:00:00 UTC." format: uint32 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 seconds: type: integer - description: The seconds part of the time. Time is defined as Unixtime since - January 1, 1970, 00:00:00 UTC. + description: "The seconds part of the time. Time is defined as Unixtime\ + \ since January 1, 1970, 00:00:00 UTC." format: uint32 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 @@ -1199,31 +1411,33 @@ components: type: object properties: transmissionBandwidth: - type: string - description: | - 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + $ref: '#/components/schemas/TransmissionBandwidth_transmissionBandwidth' + x-etsi-ref: 6.6.4 + TransmissionBandwidth_transmissionBandwidth: + type: string + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: - 1 = bw6 (6 resource blocks) + 1 = bw6 (6 resource blocks) - 2 = bw15 (15 resource blocks) + 2 = bw15 (15 resource blocks) - 3 = bw25 (25 resource blocks) + 3 = bw25 (25 resource blocks) - 4 = bw50 (50 resource blocks) + 4 = bw50 (50 resource blocks) - 5 = bw75 (75 resource blocks) + 5 = bw75 (75 resource blocks) - 6 = bw100 (100 resource blocks)' - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - x-etsi-ref: 6.6.4 + 6 = bw100 (100 resource blocks)' + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum UuMbmsNeighbourCellInfo: required: - ecgi @@ -1264,6 +1478,32 @@ components: $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' x-etsi-ref: 6.2.3 x-schema-name: UuMbmsProvisioningInfo + ProInfoUuMbms: + minItems: 1 + required: + - locationInfo + - v2xServerUsd + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + $ref: '#/components/schemas/V2xServerUsd' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoUuMbms UuUniNeighbourCellInfo: required: - ecgi @@ -1295,6 +1535,32 @@ components: $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' x-etsi-ref: 6.2.2 x-schema-name: UuUnicastProvisioningInfo + ProInfoUuUnicast: + minItems: 1 + required: + - locationInfo + - v2xApplicationServer + type: array + properties: + locationInfo: + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + minItems: 0 + type: array + description: The information of the neighbour cells in a visiting PLMN that + support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + $ref: '#/components/schemas/V2xApplicationServer' + description: The provisioning information per location as defined below. + items: + type: object + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + x-schema-name: ProInfoUuUnicast V2xApplicationServer: required: - ipAddress @@ -1322,7 +1588,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/V2xMsgNotification__links' + $ref: '#/components/schemas/V2xMsgNotificationLinks' msgContent: type: string description: Published V2X message content. The format of the string is @@ -1332,42 +1598,11 @@ components: x-etsi-mec-origin-type: String msgEncodeFormat: type: string - description: The encode format of the V2X message, for example base64. + description: "The encode format of the V2X message, for example base64." x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: string - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/MsgType' notificationType: type: string description: Shall be set to "V2xMsgNotification". @@ -1388,6 +1623,16 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.4.5 + V2xMsgNotificationLinks: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Links to resources related to this notification. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) V2xMsgPublication: required: - msgContent @@ -1404,42 +1649,11 @@ components: x-etsi-mec-origin-type: String msgEncodeFormat: type: string - description: The encode format of the V2X message, for example base64. + description: "The encode format of the V2X message, for example base64." x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: string - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/MsgType' stdOrganization: type: string description: "Standardization organization which defines the published V2X\ @@ -1453,6 +1667,43 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 + MsgType: + type: string + description: "Published V2X message type. Its value is defined by the standardization\ + \ organization indicated by the attribute stdOrganization. See note 2.\n−\ + \ denm(1): Decentralized Environmental Notification Message (DENM) as specified\ + \ in ETSI EN 302 637-3,\n− cam(2): Cooperative Awareness Message (CAM) as\ + \ specified in ETSI EN 302 637-2,\n− poi(3): Point of Interest message as\ + \ specified in ETSI TS 101 556-1,\n− spatem(4): Signal Phase And Timing (SPAT)\ + \ message as specified in SAE J2735 and in ETSI TS 103 301,\n− mapem(5): MAP\ + \ message as specified in SAE J2735 and in ETSI TS 103 301,\n− ivim(6): In\ + \ Vehicle Information (IVI) message as defined in ISO TS 19321,\n− ev-rsr(7):\ + \ Electric vehicle recharging spot reservation message, as defined in ETSI\ + \ TS 101 556-3,\n− tistpgtransaction(8): messages for Tyre Information System\ + \ (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI\ + \ TS 101 556-2,\n− srem(9): Traffic light Signal Request Message as specified\ + \ in ETSI TS 103 301,\n− ssem(10): Traffic Light Signal Request Status Message\ + \ as specified in ETSI TS 103 301.\n− evcsn(11): Electrical Vehicle Charging\ + \ Spot Notification message as specified in ETSI TS 101 556-1,\n− saem(12):\ + \ Services Announcement Extended Message as specified in ETSI TS 102 890-1,\n\ + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message\ + \ as specified in ETSI TS 103 301,\n" + enum: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum V2xMsgSubscription: required: - filterCriteria @@ -1460,7 +1711,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/ProvChgPc5Subscription__links' + $ref: '#/components/schemas/Links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1471,12 +1722,12 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/V2xMsgSubscription_filterCriteria' + $ref: '#/components/schemas/V2xMsgSubscriptionFilterCriteria' requestTestNotification: type: boolean - description: |- - Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. - Default: FALSE. + description: "Shall be set to TRUE by the service consumer to request a\ + \ test notification via HTTP on the callbackReference URI, as described\ + \ in ETSI GS\_MEC 009 [i.1], clause 6.12a.\nDefault: FALSE." x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1494,6 +1745,34 @@ components: \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ \ [6], clause A.114." x-etsi-ref: 6.3.5 + V2xMsgSubscriptionFilterCriteria: + required: + - stdOrganization + type: object + properties: + msgType: + minItems: 0 + type: array + description: Subscribed V2X message type. Its value is defined by the standardization + organization indicated by the attribute stdOrganization. See note 3. + items: + type: string + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + type: string + description: "Standardization organization which defines the subscribed\ + \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ + \ \nSee note 2." + enum: + - ETSI + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum + description: "List of filtering criteria for the subscription. Any filtering\ + \ criteria from below, which is included in the request, shall also be included\ + \ in the response." + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd: required: - sdpInfo @@ -1502,7 +1781,7 @@ components: type: object properties: sdpInfo: - $ref: '#/components/schemas/V2xServerUsd_sdpInfo' + $ref: '#/components/schemas/SdpInfo' serviceAreaIdentifier: minItems: 1 type: array @@ -1513,8 +1792,52 @@ components: x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: String tmgi: - $ref: '#/components/schemas/V2xServerUsd_tmgi' + $ref: '#/components/schemas/Tmgi' x-etsi-ref: 6.5.10 + SdpInfo: + required: + - ipMulticastAddress + - portNumber + type: object + properties: + ipMulticastAddress: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + portNumber: + type: string + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: SDP with IP multicast address and port number used for V2X communication + via MBMS. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Structure (inlined) + Tmgi: + required: + - mbmsServiceId + - mcc + - mnc + type: object + properties: + mbmsServiceId: + type: string + description: MBMS Service ID consisting of three octets. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mcc: + type: string + description: The Mobile Country Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + mnc: + type: string + description: The Mobile Network Code part of PLMN Identity. + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: String + description: "Temporary Mobile Group Identity (TMGI), which is used within MBMS\ + \ to uniquely identify Multicast and Broadcast bearer services." + x-etsi-mec-cardinality: "" + x-etsi-mec-origin-type: Structure (inlined) WebsockNotifConfig: type: object properties: @@ -1573,60 +1896,11 @@ components: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' - LocationInfo_geoArea: - required: - - latitude - - longitude - type: object - properties: - latitude: - type: number - description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format - DDD.ddd - format: float - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Float - longitude: - type: number - description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format - DDD.ddd - format: float - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Float - description: Information of a geographical area. Pc5ProvisioningInfo_inner: type: object properties: proInfoPc5: - minItems: 1 - required: - - dstLayer2Id - - locationInfo - type: array - properties: - dstLayer2Id: - type: string - description: |- - For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoPc5' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1636,155 +1910,22 @@ components: proInfoPc5: - {} - {} - PredictedQos_routes: + Routes_inner: type: object properties: routeInfo: - minItems: 2 - required: - - location - type: array - properties: - location: - $ref: '#/components/schemas/LocationInfo' - rsrp: - type: integer - description: |- - Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. - Shall only be included in the response. - format: uint8 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - type: integer - description: |- - Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. - Shall only be included in the response. - format: uint8 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - time: - $ref: '#/components/schemas/TimeStamp' - description: |- - Information relating to a specific route. - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - items: - type: object - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/RouteInfo' example: routeInfo: - {} - {} - ProvChgPc5Subscription__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - description: Hyperlink related to the resource. This shall be only included - in the HTTP responses and in HTTP PUT requests. - ProvChgPc5Subscription_filterCriteria: - required: - - dstLayer2Id - - locationInfo - type: object - properties: - dstLayer2Id: - type: string - description: For sidelink communication, the Destination Layer-2 ID is set - to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - ProvChgUuMbmsSubscription_filterCriteria: - required: - - locationInfo - - v2xServerUsd - type: object - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - $ref: '#/components/schemas/V2xServerUsd' - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - ProvChgUuUniSubscription_filterCriteria: - required: - - locationInfo - - v2xApplicationServer - type: object - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN that - support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - $ref: '#/components/schemas/V2xApplicationServer' - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - SubscriptionLinkList__links: + SubscriptionLinkListLinks_inner: type: object properties: self: $ref: '#/components/schemas/LinkType' subscriptions: - minItems: 0 - required: - - href - - subscriptionType - type: array - properties: - href: - type: string - description: The URI referring to the subscription. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - subscriptionType: - type: string - description: Type of the subscription. The values are as defined in - the "subscriptionType" attribute for each different V2X information - event subscription data type. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: The service consumer's subscriptions. - items: - type: object - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/SubscriptionLinkListLinksSubscriptions' example: subscriptions: - {} @@ -1803,30 +1944,7 @@ components: type: object properties: proInfoUuMbms: - minItems: 1 - required: - - locationInfo - - v2xServerUsd - type: array - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - $ref: '#/components/schemas/V2xServerUsd' - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoUuMbms' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1840,30 +1958,7 @@ components: type: object properties: proInfoUuUnicast: - minItems: 1 - required: - - locationInfo - - v2xApplicationServer - type: array - properties: - locationInfo: - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - minItems: 0 - type: array - description: The information of the neighbour cells in a visiting PLMN - that support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - $ref: '#/components/schemas/V2xApplicationServer' - description: The provisioning information per location as defined below. - items: - type: object - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/ProInfoUuUnicast' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1873,80 +1968,6 @@ components: proInfoUuUnicast: - {} - {} - V2xMsgNotification__links: - required: - - subscription - type: object - properties: - subscription: - $ref: '#/components/schemas/LinkType' - description: Links to resources related to this notification. - V2xMsgSubscription_filterCriteria: - required: - - stdOrganization - type: object - properties: - msgType: - minItems: 0 - type: array - description: Subscribed V2X message type. Its value is defined by the standardization - organization indicated by the attribute stdOrganization. See note 3. - items: - type: string - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Enum - stdOrganization: - type: string - description: "Standardization organization which defines the subscribed\ - \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ - \ \nSee note 2." - enum: - - ETSI - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - description: List of filtering criteria for the subscription. Any filtering - criteria from below, which is included in the request, shall also be included - in the response. - V2xServerUsd_sdpInfo: - required: - - ipMulticastAddress - - portNumber - type: object - properties: - ipMulticastAddress: - type: string - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - portNumber: - type: string - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: SDP with IP multicast address and port number used for V2X communication - via MBMS. - V2xServerUsd_tmgi: - required: - - mbmsServiceId - - mcc - - mnc - type: object - properties: - mbmsServiceId: - type: string - description: MBMS Service ID consisting of three octets. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mcc: - type: string - description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mnc: - type: string - description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: Temporary Mobile Group Identity (TMGI), which is used within MBMS - to uniquely identify Multicast and Broadcast bearer services. AppTerminationNotification__links: required: - subscription @@ -1963,75 +1984,75 @@ components: "206": description: Partial content "400": - description: 'Bad Request : used to indicate that incorrect parameters were - passed to the request.' + description: "Bad Request : used to indicate that incorrect parameters were\ + \ passed to the request." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: 'Unauthorized : used when the client did not submit credentials.' + description: "Unauthorized : used when the client did not submit credentials." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: 'Forbidden : operation is not allowed given the current status - of the resource.' + description: "Forbidden : operation is not allowed given the current status\ + \ of the resource." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: 'Not Found : used when a client provided a URI that cannot be - mapped to a valid resource URI.' + description: "Not Found : used when a client provided a URI that cannot be\ + \ mapped to a valid resource URI." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: 'Not Acceptable : used to indicate that the server cannot provide - the any of the content formats supported by the client.' + description: "Not Acceptable : used to indicate that the server cannot provide\ + \ the any of the content formats supported by the client." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "409": - description: 'Conflict : The operation cannot be executed currently, due to - a conflict with the state of the resource' + description: "Conflict : The operation cannot be executed currently, due to\ + \ a conflict with the state of the resource" content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: 'Precondition failed : used when a condition has failed during - conditional requests, e.g. when using ETags to avoid write conflicts when - using PUT' + description: "Precondition failed : used when a condition has failed during\ + \ conditional requests, e.g. when using ETags to avoid write conflicts when\ + \ using PUT" content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "415": - description: 'Unsupported Media Type : used to indicate that the server or - the client does not support the content type of the entity body.' + description: "Unsupported Media Type : used to indicate that the server or\ + \ the client does not support the content type of the entity body." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: 'Unprocessable Entity : used to indicate that the server understands - the content type of the request entity and that the syntax of the request - entity is correct but that the server is unable to process the contained instructions. - This error condition can occur if an JSON request body is syntactically correct - but semantically incorrect, for example if the target area for the request - is considered too large. This error condition can also occur if the capabilities - required by the request are not supported.' + description: "Unprocessable Entity : used to indicate that the server understands\ + \ the content type of the request entity and that the syntax of the request\ + \ entity is correct but that the server is unable to process the contained\ + \ instructions. This error condition can occur if an JSON request body is\ + \ syntactically correct but semantically incorrect, for example if the target\ + \ area for the request is considered too large. This error condition can also\ + \ occur if the capabilities required by the request are not supported." content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: 'Too Many Requests : used when a rate limiter has triggered.' + description: "Too Many Requests : used when a rate limiter has triggered." content: application/json: schema: diff --git a/go-packages/meep-vis-client/api_unsupported.go b/go-packages/meep-vis-client/api_unsupported.go index 4cd2ba2a8..142b5dc14 100644 --- a/go-packages/meep-vis-client/api_unsupported.go +++ b/go-packages/meep-vis-client/api_unsupported.go @@ -1,10 +1,11 @@ + /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_vis.go index ef44a6113..b0f7d9db5 100644 --- a/go-packages/meep-vis-client/api_vis.go +++ b/go-packages/meep-vis-client/api_vis.go @@ -1,10 +1,11 @@ + /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -15,6 +16,7 @@ import ( "net/http" "net/url" "strings" + "fmt" ) // Linger please @@ -28,9 +30,10 @@ QoSApiService MEC011 Application Termination notification for self termination Terminates itself. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param body Termination notification details + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription */ -func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error) { +func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification, subscriptionId string) (*http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Post") localVarPostBody interface{} @@ -40,7 +43,8 @@ func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTe ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/notifications/mec011/appTermination" + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} diff --git a/go-packages/meep-vis-client/client.go b/go-packages/meep-vis-client/client.go index 1d2459ca5..13be3ee65 100644 --- a/go-packages/meep-vis-client/client.go +++ b/go-packages/meep-vis-client/client.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -37,7 +37,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the AdvantEDGE V2X Information Service REST API API v2.2.1 +// APIClient manages communication with the ETSI GS MEC 030 V2X Information Service API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/go-packages/meep-vis-client/configuration.go b/go-packages/meep-vis-client/configuration.go index edc80e3f6..4fc40811d 100644 --- a/go-packages/meep-vis-client/configuration.go +++ b/go-packages/meep-vis-client/configuration.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -60,7 +60,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ - BasePath: "https://localhost/sandboxname/vis/v2", + BasePath: "https://localhost/vis/v2", DefaultHeader: make(map[string]string), UserAgent: "Swagger-Codegen/1.0.0/go", } diff --git a/go-packages/meep-vis-client/docs/GeoArea.md b/go-packages/meep-vis-client/docs/GeoArea.md new file mode 100644 index 000000000..c0d3c5140 --- /dev/null +++ b/go-packages/meep-vis-client/docs/GeoArea.md @@ -0,0 +1,10 @@ +# GeoArea + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Latitude** | **float32** | Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd | [default to null] +**Longitude** | **float32** | Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Links.md b/go-packages/meep-vis-client/docs/Links.md new file mode 100644 index 000000000..dc27914ca --- /dev/null +++ b/go-packages/meep-vis-client/docs/Links.md @@ -0,0 +1,9 @@ +# Links + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/LocationInfo.md b/go-packages/meep-vis-client/docs/LocationInfo.md index 2d5cb772c..354213026 100644 --- a/go-packages/meep-vis-client/docs/LocationInfo.md +++ b/go-packages/meep-vis-client/docs/LocationInfo.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Ecgi** | [***Ecgi**](Ecgi.md) | | [optional] [default to null] -**GeoArea** | [***LocationInfoGeoArea**](LocationInfo_geoArea.md) | | [optional] [default to null] +**GeoArea** | [***GeoArea**](GeoArea.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/MsgType.md b/go-packages/meep-vis-client/docs/MsgType.md new file mode 100644 index 000000000..106e5e3db --- /dev/null +++ b/go-packages/meep-vis-client/docs/MsgType.md @@ -0,0 +1,8 @@ +# MsgType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md index 1282af742..c39550ac5 100644 --- a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoPc5** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**ProInfoPc5** | [***[]interface{}**](array.md) | | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/PredictedQos.md b/go-packages/meep-vis-client/docs/PredictedQos.md index 009e72661..7189a13cf 100644 --- a/go-packages/meep-vis-client/docs/PredictedQos.md +++ b/go-packages/meep-vis-client/docs/PredictedQos.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **LocationGranularity** | **string** | Granularity of visited location. Measured in meters. | [default to null] -**Routes** | [**[]PredictedQosRoutes**](PredictedQos_routes.md) | Information relating to the potential routes of a vehicular UE. | [default to null] +**Routes** | [***[]RoutesInner**](array.md) | | [default to null] **TimeGranularity** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md index 98687c25b..fd36dc8ba 100644 --- a/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**Links** | [***Links**](Links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgPc5SubscriptionFilterCriteria**](ProvChgPc5Subscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgPc5SubscriptionFilterCriteria**](ProvChgPc5SubscriptionFilterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgPc5Subscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md index 6b9c776fc..eae31be21 100644 --- a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**Links** | [***Links**](Links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgUuMbmsSubscriptionFilterCriteria**](ProvChgUuMbmsSubscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgUuMbmsSubscriptionFilterCriteria**](ProvChgUuMbmsSubscriptionFilterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgUuMbmsSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md index ee207989a..52080a118 100644 --- a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**Links** | [***Links**](Links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgUuUniSubscriptionFilterCriteria**](ProvChgUuUniSubscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgUuUniSubscriptionFilterCriteria**](ProvChgUuUniSubscriptionFilterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgUuUniSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/QoSApi.md b/go-packages/meep-vis-client/docs/QoSApi.md index 9fdcc2e90..7a52994b6 100644 --- a/go-packages/meep-vis-client/docs/QoSApi.md +++ b/go-packages/meep-vis-client/docs/QoSApi.md @@ -1,14 +1,14 @@ # {{classname}} -All URIs are relative to *https://localhost/sandboxname/vis/v2* +All URIs are relative to *https://localhost/vis/v2* Method | HTTP request | Description ------------- | ------------- | ------------- -[**Mec011AppTerminationPOST**](QoSApi.md#Mec011AppTerminationPOST) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +[**Mec011AppTerminationPOST**](QoSApi.md#Mec011AppTerminationPOST) | **Post** /subscriptions/{subscriptionId} | MEC011 Application Termination notification for self termination [**PredictedQosPOST**](QoSApi.md#PredictedQosPOST) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. # **Mec011AppTerminationPOST** -> Mec011AppTerminationPOST(ctx, body) +> Mec011AppTerminationPOST(ctx, body, subscriptionId) MEC011 Application Termination notification for self termination Terminates itself. @@ -19,6 +19,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **body** | [**AppTerminationNotification**](AppTerminationNotification.md)| Termination notification details | + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | ### Return type diff --git a/go-packages/meep-vis-client/docs/RoutesInner.md b/go-packages/meep-vis-client/docs/RoutesInner.md new file mode 100644 index 000000000..b7fe7b2f5 --- /dev/null +++ b/go-packages/meep-vis-client/docs/RoutesInner.md @@ -0,0 +1,9 @@ +# RoutesInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RouteInfo** | [***[]interface{}**](array.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SdpInfo.md b/go-packages/meep-vis-client/docs/SdpInfo.md new file mode 100644 index 000000000..c5de9961d --- /dev/null +++ b/go-packages/meep-vis-client/docs/SdpInfo.md @@ -0,0 +1,10 @@ +# SdpInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IpMulticastAddress** | **string** | | [default to null] +**PortNumber** | **string** | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkList.md b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md index 0675e1373..cb1bd0d12 100644 --- a/go-packages/meep-vis-client/docs/SubscriptionLinkList.md +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [**[]SubscriptionLinkListLinks**](SubscriptionLinkList__links.md) | List of hyperlinks related to the resource. | [default to null] +**Links** | [***[]SubscriptionLinkListLinksInner**](array.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md new file mode 100644 index 000000000..29b410e6c --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md @@ -0,0 +1,10 @@ +# SubscriptionLinkListLinksInner + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [optional] [default to null] +**Subscriptions** | [***[]interface{}**](array.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/Tmgi.md b/go-packages/meep-vis-client/docs/Tmgi.md new file mode 100644 index 000000000..2bbd71763 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Tmgi.md @@ -0,0 +1,11 @@ +# Tmgi + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MbmsServiceId** | **string** | MBMS Service ID consisting of three octets. | [default to null] +**Mcc** | **string** | The Mobile Country Code part of PLMN Identity. | [default to null] +**Mnc** | **string** | The Mobile Network Code part of PLMN Identity. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TransmissionBandwidth.md b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md index 5c3319a09..4b6a6ad6d 100644 --- a/go-packages/meep-vis-client/docs/TransmissionBandwidth.md +++ b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransmissionBandwidth** | **string** | 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' | [default to null] +**TransmissionBandwidth** | [***TransmissionBandwidthTransmissionBandwidth**](TransmissionBandwidth_transmissionBandwidth.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/TransmissionBandwidthTransmissionBandwidth.md b/go-packages/meep-vis-client/docs/TransmissionBandwidthTransmissionBandwidth.md new file mode 100644 index 000000000..9058dbd04 --- /dev/null +++ b/go-packages/meep-vis-client/docs/TransmissionBandwidthTransmissionBandwidth.md @@ -0,0 +1,8 @@ +# TransmissionBandwidthTransmissionBandwidth + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UnsupportedApi.md b/go-packages/meep-vis-client/docs/UnsupportedApi.md index a4da865fd..839ea41d4 100644 --- a/go-packages/meep-vis-client/docs/UnsupportedApi.md +++ b/go-packages/meep-vis-client/docs/UnsupportedApi.md @@ -1,6 +1,6 @@ # {{classname}} -All URIs are relative to *https://localhost/sandboxname/vis/v2* +All URIs are relative to *https://localhost/vis/v2* Method | HTTP request | Description ------------- | ------------- | ------------- diff --git a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md index 2bdeb2fd9..4dc6d71f7 100644 --- a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoUuMbms** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**ProInfoUuMbms** | [***[]interface{}**](array.md) | | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md index f57897764..6fb76b8ce 100644 --- a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoUuUnicast** | [**[]interface{}**](interface{}.md) | The provisioning information per location as defined below. | [optional] [default to null] +**ProInfoUuUnicast** | [***[]interface{}**](array.md) | | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/V2xMsgNotification.md b/go-packages/meep-vis-client/docs/V2xMsgNotification.md index 0f21023b4..4bd03670e 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgNotification.md +++ b/go-packages/meep-vis-client/docs/V2xMsgNotification.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***V2xMsgNotificationLinks**](V2xMsgNotification__links.md) | | [default to null] +**Links** | [***V2xMsgNotificationLinks**](V2xMsgNotificationLinks.md) | | [default to null] **MsgContent** | **string** | Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] **MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] -**MsgType** | **string** | Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, | [default to null] +**MsgType** | [***MsgType**](MsgType.md) | | [default to null] **NotificationType** | **string** | Shall be set to \"V2xMsgNotification\". | [default to null] **StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [default to null] diff --git a/go-packages/meep-vis-client/docs/V2xMsgPublication.md b/go-packages/meep-vis-client/docs/V2xMsgPublication.md index 2e513a5e6..5796b9f03 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgPublication.md +++ b/go-packages/meep-vis-client/docs/V2xMsgPublication.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MsgContent** | **string** | Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] **MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] -**MsgType** | **string** | Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, | [default to null] +**MsgType** | [***MsgType**](MsgType.md) | | [default to null] **StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/V2xMsgSubscription.md b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md index 89c5cbe0a..ddbbb0bb0 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgSubscription.md +++ b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***ProvChgPc5SubscriptionLinks**](ProvChgPc5Subscription__links.md) | | [optional] [default to null] +**Links** | [***Links**](Links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note 1. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***V2xMsgSubscriptionFilterCriteria**](V2xMsgSubscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***V2xMsgSubscriptionFilterCriteria**](V2xMsgSubscriptionFilterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"V2xMsgSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/V2xServerUsd.md b/go-packages/meep-vis-client/docs/V2xServerUsd.md index f9df27de0..98a20868f 100644 --- a/go-packages/meep-vis-client/docs/V2xServerUsd.md +++ b/go-packages/meep-vis-client/docs/V2xServerUsd.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**SdpInfo** | [***V2xServerUsdSdpInfo**](V2xServerUsd_sdpInfo.md) | | [default to null] +**SdpInfo** | [***SdpInfo**](SdpInfo.md) | | [default to null] **ServiceAreaIdentifier** | **[]string** | A list of service area identifier for the applicable MBMS broadcast area. | [default to null] -**Tmgi** | [***V2xServerUsdTmgi**](V2xServerUsd_tmgi.md) | | [default to null] +**Tmgi** | [***Tmgi**](Tmgi.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/model_app_termination_notification.go b/go-packages/meep-vis-client/model_app_termination_notification.go index f7bb9bcd0..8199809d8 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification.go +++ b/go-packages/meep-vis-client/model_app_termination_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_app_termination_notification__links.go b/go-packages/meep-vis-client/model_app_termination_notification__links.go index 0943033b8..010866002 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification__links.go +++ b/go-packages/meep-vis-client/model_app_termination_notification__links.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_body.go b/go-packages/meep-vis-client/model_body.go index d95aeefc7..89ef79841 100644 --- a/go-packages/meep-vis-client/model_body.go +++ b/go-packages/meep-vis-client/model_body.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_body_1.go b/go-packages/meep-vis-client/model_body_1.go index fd04fd8a3..8dabf1be9 100644 --- a/go-packages/meep-vis-client/model_body_1.go +++ b/go-packages/meep-vis-client/model_body_1.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_cell_id.go b/go-packages/meep-vis-client/model_cell_id.go index ea7e3a96b..679a39010 100644 --- a/go-packages/meep-vis-client/model_cell_id.go +++ b/go-packages/meep-vis-client/model_cell_id.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_earfcn.go b/go-packages/meep-vis-client/model_earfcn.go index 7529a7431..46d2bdf46 100644 --- a/go-packages/meep-vis-client/model_earfcn.go +++ b/go-packages/meep-vis-client/model_earfcn.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_ecgi.go b/go-packages/meep-vis-client/model_ecgi.go index 6d148569b..7b967f3cd 100644 --- a/go-packages/meep-vis-client/model_ecgi.go +++ b/go-packages/meep-vis-client/model_ecgi.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_fdd_info.go b/go-packages/meep-vis-client/model_fdd_info.go index 7b934ab42..b96590fa7 100644 --- a/go-packages/meep-vis-client/model_fdd_info.go +++ b/go-packages/meep-vis-client/model_fdd_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_geo_area.go b/go-packages/meep-vis-client/model_geo_area.go new file mode 100644 index 000000000..36c785a76 --- /dev/null +++ b/go-packages/meep-vis-client/model_geo_area.go @@ -0,0 +1,18 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +// Information of a geographical area. +type GeoArea struct { + // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd + Latitude float32 `json:"latitude"` + // Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd + Longitude float32 `json:"longitude"` +} diff --git a/go-packages/meep-vis-client/model_link_type.go b/go-packages/meep-vis-client/model_link_type.go index d40ea7324..77210d95f 100644 --- a/go-packages/meep-vis-client/model_link_type.go +++ b/go-packages/meep-vis-client/model_link_type.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_links.go b/go-packages/meep-vis-client/model_links.go new file mode 100644 index 000000000..0a5c7cae0 --- /dev/null +++ b/go-packages/meep-vis-client/model_links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. +type Links struct { + Self *LinkType `json:"self"` +} diff --git a/go-packages/meep-vis-client/model_location_info.go b/go-packages/meep-vis-client/model_location_info.go index e5feba491..35844a402 100644 --- a/go-packages/meep-vis-client/model_location_info.go +++ b/go-packages/meep-vis-client/model_location_info.go @@ -1,15 +1,15 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type LocationInfo struct { Ecgi *Ecgi `json:"ecgi,omitempty"` - GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` + GeoArea *GeoArea `json:"geoArea,omitempty"` } diff --git a/go-packages/meep-vis-client/model_msg_type.go b/go-packages/meep-vis-client/model_msg_type.go new file mode 100644 index 000000000..7bc4614bf --- /dev/null +++ b/go-packages/meep-vis-client/model_msg_type.go @@ -0,0 +1,29 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client +// MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, +type MsgType string + +// List of MsgType +const ( + 1__MsgType MsgType = "1" + 2__MsgType MsgType = "2" + 3__MsgType MsgType = "3" + 4__MsgType MsgType = "4" + 5__MsgType MsgType = "5" + 6__MsgType MsgType = "6" + 7__MsgType MsgType = "7" + 8__MsgType MsgType = "8" + 9__MsgType MsgType = "9" + 10__MsgType MsgType = "10" + 11__MsgType MsgType = "11" + 12__MsgType MsgType = "12" + 13__MsgType MsgType = "13" +) diff --git a/go-packages/meep-vis-client/model_one_ofbody.go b/go-packages/meep-vis-client/model_one_ofbody.go index e3c20cbe9..53735a365 100644 --- a/go-packages/meep-vis-client/model_one_ofbody.go +++ b/go-packages/meep-vis-client/model_one_ofbody.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_one_ofbody_1.go b/go-packages/meep-vis-client/model_one_ofbody_1.go index 047dfaa1a..1507149bd 100644 --- a/go-packages/meep-vis-client/model_one_ofbody_1.go +++ b/go-packages/meep-vis-client/model_one_ofbody_1.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_operation_action_type.go b/go-packages/meep-vis-client/model_operation_action_type.go index 0ef7041be..aa2edcdea 100644 --- a/go-packages/meep-vis-client/model_operation_action_type.go +++ b/go-packages/meep-vis-client/model_operation_action_type.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go index 59b292aff..a90eef1d5 100644 --- a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go index 6741cbc07..245c44c4d 100644 --- a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go @@ -1,16 +1,15 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type Pc5ProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoPc5 []interface{} `json:"proInfoPc5,omitempty"` + ProInfoPc5 *[]interface{} `json:"proInfoPc5,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-vis-client/model_plmn.go b/go-packages/meep-vis-client/model_plmn.go index 12b01f70a..995e1ea03 100644 --- a/go-packages/meep-vis-client/model_plmn.go +++ b/go-packages/meep-vis-client/model_plmn.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_predicted_qos.go b/go-packages/meep-vis-client/model_predicted_qos.go index a653b7d62..1460986a2 100644 --- a/go-packages/meep-vis-client/model_predicted_qos.go +++ b/go-packages/meep-vis-client/model_predicted_qos.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -12,7 +12,6 @@ package client type PredictedQos struct { // Granularity of visited location. Measured in meters. LocationGranularity string `json:"locationGranularity"` - // Information relating to the potential routes of a vehicular UE. - Routes []PredictedQosRoutes `json:"routes"` + Routes *[]RoutesInner `json:"routes"` TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` } diff --git a/go-packages/meep-vis-client/model_problem_details.go b/go-packages/meep-vis-client/model_problem_details.go index b6536cd9d..e2aa0cf01 100644 --- a/go-packages/meep-vis-client/model_problem_details.go +++ b/go-packages/meep-vis-client/model_problem_details.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go index c75e5d5dd..198b69352 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go index 53f231f00..773d0b718 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go @@ -1,16 +1,16 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type ProvChgPc5Subscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go index da93571e2..d576935c1 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go index d5415f37e..d5f3fcefb 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go index 9e7de0fec..24e2ea60f 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go @@ -1,16 +1,16 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type ProvChgUuMbmsSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go index c43e2b736..8bfc3bfe0 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go index 41b10e7db..a6f6b3c1c 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go index 673a97be6..2d09d8cc0 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go @@ -1,16 +1,16 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type ProvChgUuUniSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go index 82baf145f..a52123d96 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_routes_inner.go b/go-packages/meep-vis-client/model_routes_inner.go new file mode 100644 index 000000000..3709857f3 --- /dev/null +++ b/go-packages/meep-vis-client/model_routes_inner.go @@ -0,0 +1,14 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type RoutesInner struct { + RouteInfo *[]interface{} `json:"routeInfo,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_sdp_info.go b/go-packages/meep-vis-client/model_sdp_info.go new file mode 100644 index 000000000..1517f980b --- /dev/null +++ b/go-packages/meep-vis-client/model_sdp_info.go @@ -0,0 +1,16 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +// SDP with IP multicast address and port number used for V2X communication via MBMS. +type SdpInfo struct { + IpMulticastAddress string `json:"ipMulticastAddress"` + PortNumber string `json:"portNumber"` +} diff --git a/go-packages/meep-vis-client/model_subscription_link_list.go b/go-packages/meep-vis-client/model_subscription_link_list.go index 2e896ebf5..09bb405fb 100644 --- a/go-packages/meep-vis-client/model_subscription_link_list.go +++ b/go-packages/meep-vis-client/model_subscription_link_list.go @@ -1,15 +1,14 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type SubscriptionLinkList struct { - // List of hyperlinks related to the resource. - Links []SubscriptionLinkListLinks `json:"_links"` + Links *[]SubscriptionLinkListLinksInner `json:"_links"` } diff --git a/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go b/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go new file mode 100644 index 000000000..83266089e --- /dev/null +++ b/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type SubscriptionLinkListLinksInner struct { + Self *LinkType `json:"self,omitempty"` + Subscriptions *[]interface{} `json:"subscriptions,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_system_information_block_type21.go b/go-packages/meep-vis-client/model_system_information_block_type21.go index ee938ad26..3b1a08f4b 100644 --- a/go-packages/meep-vis-client/model_system_information_block_type21.go +++ b/go-packages/meep-vis-client/model_system_information_block_type21.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_tdd_info.go b/go-packages/meep-vis-client/model_tdd_info.go index 589a39bbe..adc3b393c 100644 --- a/go-packages/meep-vis-client/model_tdd_info.go +++ b/go-packages/meep-vis-client/model_tdd_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_test_notification.go b/go-packages/meep-vis-client/model_test_notification.go index e3a0779db..db1b84aaa 100644 --- a/go-packages/meep-vis-client/model_test_notification.go +++ b/go-packages/meep-vis-client/model_test_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_test_notification__links.go b/go-packages/meep-vis-client/model_test_notification__links.go index 424efc07a..1861c7dad 100644 --- a/go-packages/meep-vis-client/model_test_notification__links.go +++ b/go-packages/meep-vis-client/model_test_notification__links.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_time_stamp.go b/go-packages/meep-vis-client/model_time_stamp.go index 9e2ca8a39..efa8bf68c 100644 --- a/go-packages/meep-vis-client/model_time_stamp.go +++ b/go-packages/meep-vis-client/model_time_stamp.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_tmgi.go b/go-packages/meep-vis-client/model_tmgi.go new file mode 100644 index 000000000..0c901b952 --- /dev/null +++ b/go-packages/meep-vis-client/model_tmgi.go @@ -0,0 +1,20 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +// Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. +type Tmgi struct { + // MBMS Service ID consisting of three octets. + MbmsServiceId string `json:"mbmsServiceId"` + // The Mobile Country Code part of PLMN Identity. + Mcc string `json:"mcc"` + // The Mobile Network Code part of PLMN Identity. + Mnc string `json:"mnc"` +} diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth.go index b15391c4b..364865b37 100644 --- a/go-packages/meep-vis-client/model_transmission_bandwidth.go +++ b/go-packages/meep-vis-client/model_transmission_bandwidth.go @@ -1,15 +1,14 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type TransmissionBandwidth struct { - // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' - TransmissionBandwidth string `json:"transmissionBandwidth"` + TransmissionBandwidth *TransmissionBandwidthTransmissionBandwidth `json:"transmissionBandwidth"` } diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go new file mode 100644 index 000000000..1f5e08452 --- /dev/null +++ b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go @@ -0,0 +1,22 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client +// TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' +type TransmissionBandwidthTransmissionBandwidth string + +// List of TransmissionBandwidth_transmissionBandwidth +const ( + 1__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "1" + 2__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "2" + 3__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "3" + 4__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "4" + 5__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "5" + 6__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "6" +) diff --git a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go index b8809a2cb..7338ce753 100644 --- a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go index 0750f6965..a32fb8666 100644 --- a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go @@ -1,16 +1,15 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type UuMbmsProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoUuMbms []interface{} `json:"proInfoUuMbms,omitempty"` + ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go index 0dd98e0ad..760706219 100644 --- a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go index 9627dca44..e29e704b9 100644 --- a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go +++ b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go @@ -1,16 +1,15 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type UuUnicastProvisioningInfoInner struct { - // The provisioning information per location as defined below. - ProInfoUuUnicast []interface{} `json:"proInfoUuUnicast,omitempty"` + ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-vis-client/model_v2x_application_server.go b/go-packages/meep-vis-client/model_v2x_application_server.go index 2e0bc1067..f8246ecad 100644 --- a/go-packages/meep-vis-client/model_v2x_application_server.go +++ b/go-packages/meep-vis-client/model_v2x_application_server.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification.go b/go-packages/meep-vis-client/model_v2x_msg_notification.go index 2bf268ffc..aa977968b 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -15,8 +15,7 @@ type V2xMsgNotification struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType string `json:"msgType"` + MsgType *MsgType `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification_links.go b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go new file mode 100644 index 000000000..ebc73b8f2 --- /dev/null +++ b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +// Links to resources related to this notification. +type V2xMsgNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-packages/meep-vis-client/model_v2x_msg_publication.go b/go-packages/meep-vis-client/model_v2x_msg_publication.go index 7e51d53f9..b5156a1c3 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_publication.go +++ b/go-packages/meep-vis-client/model_v2x_msg_publication.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client @@ -14,8 +14,7 @@ type V2xMsgPublication struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType string `json:"msgType"` + MsgType *MsgType `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` } diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription.go b/go-packages/meep-vis-client/model_v2x_msg_subscription.go index 4a3e028c6..978474b10 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription.go @@ -1,16 +1,16 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type V2xMsgSubscription struct { - Links *ProvChgPc5SubscriptionLinks `json:"_links,omitempty"` + Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note 1. CallbackReference string `json:"callbackReference,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go index 7ab880e92..87a59b824 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_v2x_server_usd.go b/go-packages/meep-vis-client/model_v2x_server_usd.go index f3194da05..357a15f91 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd.go @@ -1,17 +1,17 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type V2xServerUsd struct { - SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` + SdpInfo *SdpInfo `json:"sdpInfo"` // A list of service area identifier for the applicable MBMS broadcast area. ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` - Tmgi *V2xServerUsdTmgi `json:"tmgi"` + Tmgi *Tmgi `json:"tmgi"` } diff --git a/go-packages/meep-vis-client/model_websock_notif_config.go b/go-packages/meep-vis-client/model_websock_notif_config.go index f0f2c13c9..88ad5b77e 100644 --- a/go-packages/meep-vis-client/model_websock_notif_config.go +++ b/go-packages/meep-vis-client/model_websock_notif_config.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/response.go b/go-packages/meep-vis-client/response.go index 3f4518856..821fa954e 100644 --- a/go-packages/meep-vis-client/response.go +++ b/go-packages/meep-vis-client/response.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/test/system/vis-system-test.yaml b/test/system/vis-system-test.yaml index 1553d57f8..4f58953de 100644 --- a/test/system/vis-system-test.yaml +++ b/test/system/vis-system-test.yaml @@ -1,5 +1,5 @@ version: 1.6.0 -name: rnis-system-test +name: vis-system-test deployment: netChar: latency: 50 -- GitLab From c221b06a960b85a4c10ed10b1314d8955dbd500f Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 18 Feb 2022 16:01:37 +0100 Subject: [PATCH 013/183] Add test file in meep-vis --- go-apps/meep-vis/main_test.go | 58 +++++++++++++++++++++++++++++++++++ test/run-ut.sh | 30 ++++++++++-------- 2 files changed, 76 insertions(+), 12 deletions(-) create mode 100644 go-apps/meep-vis/main_test.go diff --git a/go-apps/meep-vis/main_test.go b/go-apps/meep-vis/main_test.go new file mode 100644 index 000000000..f12275209 --- /dev/null +++ b/go-apps/meep-vis/main_test.go @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2021 ETSI STF 625 + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package main + +import ( + "os" + "strings" + "testing" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" +) + +// Build: +// $ go test -covermode=count -coverpkg=./... -c -o +// Run: +// $ ./ -test.coverprofile=cover.out __DEVEL--code-cov + +// TestMain is a hack that allows us to figure out what the coverage is during +// integration tests. I would not recommend that you use a binary built using +// this hack outside of a test suite. +func TestMain(t *testing.T) { + var ( + args []string + run bool + ) + + log.Info(os.Args) + for _, arg := range os.Args { + switch { + case arg == "__DEVEL--code-cov": + run = true + case strings.HasPrefix(arg, "-test"): + case strings.HasPrefix(arg, "__DEVEL"): + default: + args = append(args, arg) + } + } + os.Args = args + log.Info(os.Args) + + if run { + main() + } +} diff --git a/test/run-ut.sh b/test/run-ut.sh index d4de974f8..bf0519318 100755 --- a/test/run-ut.sh +++ b/test/run-ut.sh @@ -31,16 +31,22 @@ echo ">>> Running Unit Tests" echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" -for pkg in "${GOPKGS[@]}" ; do - echo "+ pkg: $pkg" - cd $BASEDIR/../go-packages/$pkg - go test -count=1 ./... -cover - echo "" -done +#for pkg in "${GOPKGS[@]}" ; do +# echo "+ pkg: $pkg" +# cd $BASEDIR/../go-packages/$pkg +# go test -count=1 ./... -cover +# echo "" +#done -for app in "${GOAPPS[@]}" ; do - echo "+ app: $app" - cd $BASEDIR/../go-apps/$app - go test -count=1 ./... -cover - echo "" -done +#for app in "${GOAPPS[@]}" ; do +# echo "+ app: $app" +# cd $BASEDIR/../go-apps/$app +# go test -count=1 ./... -cover +# echo "" +#done + +app=meep-vis/server +echo "+ app: $app" +cd $BASEDIR/../go-apps/$app +go test -count=1 ./... -cover +echo "" -- GitLab From 64f69a88654da290917ca6c214534152171fd966 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 21 Feb 2022 11:39:48 +0500 Subject: [PATCH 014/183] comment out unused functions/variables from SBI --- go-apps/meep-vis/sbi/vis-sbi.go | 125 +++++++++--------- go-apps/meep-vis/server/model_one_ofbody.go | 8 +- go-apps/meep-vis/server/model_one_ofbody_1.go | 8 +- 3 files changed, 70 insertions(+), 71 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 81b56a6f0..438257db9 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -18,9 +18,8 @@ package sbi import ( "sync" - "time" + // "time" - dataModel "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model" gc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" @@ -62,7 +61,7 @@ type VisSbi struct { apiMgr *sam.SwaggerApiMgr activeModel *mod.Model gisCache *gc.GisCache - refreshTicker *time.Ticker + // refreshTicker *time.Ticker // updateStaInfoCB func(string, string, string, *int32, *int32, *int32) // updateAccessPointInfoCB func(string, string, *float32, *float32, []string) updateScenarioNameCB func(string) @@ -248,28 +247,28 @@ func processActiveScenarioTerminate() { sbi.cleanUpCB() } -func getAppSumUlDl(apps []string) (float32, float32) { - sumUl := 0.0 - sumDl := 0.0 - //var appNames []string - for _, appName := range apps { - //appNames = append(appNames, process.Name) - if metricStore != nil { - metricsArray, err := metricStore.GetCachedNetworkMetrics("*", appName) - if err != nil { - log.Error("Failed to get network metric:", err) - } - - //downlink for the app is uplink for the UE, and vice-versa - for _, metrics := range metricsArray { - sumUl += metrics.DlTput - sumDl += metrics.UlTput - } - } - } +// func getAppSumUlDl(apps []string) (float32, float32) { +// sumUl := 0.0 +// sumDl := 0.0 +// //var appNames []string +// for _, appName := range apps { +// //appNames = append(appNames, process.Name) +// if metricStore != nil { +// metricsArray, err := metricStore.GetCachedNetworkMetrics("*", appName) +// if err != nil { +// log.Error("Failed to get network metric:", err) +// } - return float32(sumUl), float32(sumDl) -} +// //downlink for the app is uplink for the UE, and vice-versa +// for _, metrics := range metricsArray { +// sumUl += metrics.DlTput +// sumDl += metrics.UlTput +// } +// } +// } + +// return float32(sumUl), float32(sumDl) +// } func processActiveScenarioUpdate() { @@ -279,13 +278,13 @@ func processActiveScenarioUpdate() { log.Debug("processActiveScenarioUpdate") // Get previous list of connected UEs - prevUeNames := []string{} - prevUeNameList := sbi.activeModel.GetNodeNames("UE") - for _, name := range prevUeNameList { - if isUeConnected(name) && isInLocality(name) { - prevUeNames = append(prevUeNames, name) - } - } + // prevUeNames := []string{} + // prevUeNameList := sbi.activeModel.GetNodeNames("UE") + // for _, name := range prevUeNameList { + // if isUeConnected(name) && isInLocality(name) { + // prevUeNames = append(prevUeNames, name) + // } + // } sbi.activeModel.UpdateScenario() @@ -467,37 +466,37 @@ func processActiveScenarioUpdate() { // } // } -func getRssi(ue string, poa string, ueMeasMap map[string]*gc.UeMeasurement) *int32 { - if ueMeas, ueFound := ueMeasMap[ue]; ueFound { - if meas, poaFound := ueMeas.Measurements[poa]; poaFound { - rssi := int32(meas.Rssi) - return &rssi - } - } - return nil -} +// func getRssi(ue string, poa string, ueMeasMap map[string]*gc.UeMeasurement) *int32 { +// if ueMeas, ueFound := ueMeasMap[ue]; ueFound { +// if meas, poaFound := ueMeas.Measurements[poa]; poaFound { +// rssi := int32(meas.Rssi) +// return &rssi +// } +// } +// return nil +// } -func isUeConnected(name string) bool { - node := sbi.activeModel.GetNode(name) - if node != nil { - pl := node.(*dataModel.PhysicalLocation) - if pl.Connected { - return true - } - } - return false -} +// func isUeConnected(name string) bool { +// node := sbi.activeModel.GetNode(name) +// if node != nil { +// pl := node.(*dataModel.PhysicalLocation) +// if pl.Connected { +// return true +// } +// } +// return false +// } -func isInLocality(name string) bool { - if sbi.localityEnabled { - ctx := sbi.activeModel.GetNodeContext(name) - if ctx == nil { - log.Error("Error getting context for: " + name) - return false - } - if _, found := sbi.locality[ctx.Parents[mod.Zone]]; !found { - return false - } - } - return true -} +// func isInLocality(name string) bool { +// if sbi.localityEnabled { +// ctx := sbi.activeModel.GetNodeContext(name) +// if ctx == nil { +// log.Error("Error getting context for: " + name) +// return false +// } +// if _, found := sbi.locality[ctx.Parents[mod.Zone]]; !found { +// return false +// } +// } +// return true +// } diff --git a/go-apps/meep-vis/server/model_one_ofbody.go b/go-apps/meep-vis/server/model_one_ofbody.go index 4a599bbd4..df80a54e7 100644 --- a/go-apps/meep-vis/server/model_one_ofbody.go +++ b/go-apps/meep-vis/server/model_one_ofbody.go @@ -24,8 +24,8 @@ package server type OneOfbody struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + // ProvChgUuUniSubscription + // ProvChgUuMbmsSubscription + // ProvChgPc5Subscription + // V2xMsgSubscription } diff --git a/go-apps/meep-vis/server/model_one_ofbody_1.go b/go-apps/meep-vis/server/model_one_ofbody_1.go index 5416983e5..ce10a1116 100644 --- a/go-apps/meep-vis/server/model_one_ofbody_1.go +++ b/go-apps/meep-vis/server/model_one_ofbody_1.go @@ -24,8 +24,8 @@ package server type OneOfbody1 struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + // ProvChgUuUniSubscription + // ProvChgUuMbmsSubscription + // ProvChgPc5Subscription + // V2xMsgSubscription } -- GitLab From 7fc6119681728e00b7cc22640228dc747b3b0316 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 21 Feb 2022 13:44:27 +0500 Subject: [PATCH 015/183] remove formatting bug in helm chart for meep-vis --- charts/meep-vis/templates/serviceaccount.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/meep-vis/templates/serviceaccount.yaml b/charts/meep-vis/templates/serviceaccount.yaml index 5a9a118d9..3eb861417 100644 --- a/charts/meep-vis/templates/serviceaccount.yaml +++ b/charts/meep-vis/templates/serviceaccount.yaml @@ -1,4 +1,4 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: { { template "meep-vis.fullname" . } } + name: {{ template "meep-vis.fullname" . }} -- GitLab From 200a1ac6ee1f32fb7862b33de851c0c0d58bc2a1 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 21 Feb 2022 13:45:31 +0500 Subject: [PATCH 016/183] add vis original OAS YAML file --- .../meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml | 1775 +++++++++++++++++ 1 file changed, 1775 insertions(+) create mode 100644 go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml diff --git a/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml b/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml new file mode 100644 index 000000000..7bf4fe1e2 --- /dev/null +++ b/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml @@ -0,0 +1,1775 @@ +openapi: 3.0.0 +info: + title: AdvantEDGE V2X Information Service REST API + description: + V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about radio conditions in the network

**Note**
AdvantEDGE supports + a selected subset of RNI API endpoints (see below) and a subset of subscription + types. + contact: + name: InterDigital AdvantEDGE Support + email: AdvantEDGE@InterDigital.com + license: + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + version: 2.2.1 +externalDocs: + description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf +servers: + - url: https://localhost/sandboxname/vis/v2 +tags: + - name: QoS + - name: unsupported + +paths: + /queries/uu_unicast_provisioning_info: + get: + tags: + - 'unsupported' + summary: 'Used to query provisioning information for V2X communication over Uu unicast.' + description: 'Used to query provisioning information for V2X communication over Uu unicast.' + operationId: prov_info_uu_unicastGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' + + responses: + '200': + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuUnicastProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /queries/uu_mbms_provisioning_info: + get: + tags: + - 'unsupported' + summary: 'retrieve information required for V2X communication over Uu MBMS.' + description: 'retrieve information required for V2X communication over Uu MBMS.' + operationId: prov_info_uu_mbmsGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'omma separated list of locations to identify a cell of a base station or a particular geographical area' + + responses: + '200': + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuMbmsProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /queries/pc5_provisioning_info: + get: + tags: + - 'unsupported' + summary: 'Query provisioning information for V2X communication over PC5.' + description: 'Query provisioning information for V2X communication over PC5.' + operationId: prov_infoGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' + responses: + '200': + description: 'A response body containing the PC5 provisioning information is returned.' + content: + application/json: + schema: + $ref: '#/components/schemas/Pc5ProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /provide_predicted_qos: + post: + tags: + - 'QoS' + summary: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' + description: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' + operationId: predicted_qosPOST + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + responses: + '200': + description: 'The response body shall contain the predicted QoS corresponding to potential routes of a vehicular UE' + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + + /publish_v2x_message: + post: + tags: + - 'unsupported' + summary: 'Used to publish a V2X message.' + description: 'Used to publish a V2X message.' + operationId: v2x_messagePOST + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/V2xMsgPublication' + responses: + '204': + $ref: '#/components/responses/204' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /subscriptions: + get: + tags: + - 'unsupported' + summary: 'Request information about the subscriptions for this requestor.' + description: 'Request information about the subscriptions for this requestor.' + operationId: subGET + parameters: + - in: query + name: subscription_type + description: 'Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message' + schema: + type: string + required: false + responses: + '200': + description: 'A response body containing the list of links to requestor subscriptions is returned.' + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + post: + tags: + - 'unsupported' + summary: ' create a new subscription to VIS notifications.' + description: ' create a new subscription to VIS notifications.' + operationId: subPOST + requestBody: + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + responses: + '201': + description: 'In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type.' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '415': + $ref: '#/components/responses/415' + '422': + $ref: '#/components/responses/422' + '429': + $ref: '#/components/responses/429' + + callbacks: + notification: + '{$request.body#/callbackReference}': + post: + summary: 'Callback POST used to send a notification' + description: 'A notification from VIS.' + operationId: notificationPOST + requestBody: + description: Subscription notification + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' + responses: + '204': + $ref: '#/components/responses/204' + + /subscriptions/{subscriptionId}: + parameters: + - in: path + name: subscriptionId + description: 'Refers to created subscription, where the VIS API allocates a unique resource name for this subscription' + schema: + type: string + required: true + + get: + tags: + - 'unsupported' + summary: 'Retrieve information about this subscription.' + description: 'Retrieve information about this subscription.' + operationId: individualSubscriptionGET + + responses: + '200': + description: 'A response body containing the data type describing the specific RNI event subscription is returned' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + put: + tags: + - 'unsupported' + summary: 'Used to update the existing subscription.' + description: 'Used to update the existing subscription.' + operationId: individualSubscriptionPUT + requestBody: + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + responses: + '200': + description: 'A response body containing data type describing the updated subscription is returned' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + + '403': + $ref: '#/components/responses/403' + + '404': + $ref: '#/components/responses/404' + + '406': + $ref: '#/components/responses/406' + + '412': + $ref: '#/components/responses/412' + + '422': + $ref: '#/components/responses/422' + + '429': + $ref: '#/components/responses/429' + delete: + tags: + - 'unsupported' + summary: 'Used to cancel the existing subscription.' + description: 'Used to cancel the existing subscription.' + operationId: individualSubscriptionDELETE + responses: + '204': + $ref: '#/components/responses/204' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '429': + $ref: '#/components/responses/429' + + # /notifitication_end_point_provided_by_client + #post: + + /notifications/mec011/appTermination: + post: + tags: + - 'QoS' + summary: 'MEC011 Application Termination notification for self termination' + description: 'Terminates itself.' + operationId: mec011AppTerminationPOST + requestBody: + description: 'Termination notification details' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: 'AppTerminationNotification' + operationAction: 'TERMINATING' + maxGracefulTimeout: 10 + _links: + subscription: + href: 'http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123' + confirmTermination: + href: 'http://mec011Server.example.com/mec_app_support/v1/confirm_termination' + responses: + '204': + description: No Content + x-swagger-router-controller: 'notifications' + +components: + schemas: + 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 + Earfcn: + properties: + earfcn: + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - earfcn + type: object + x-etsi-ref: 6.6.3 + Ecgi: + properties: + cellId: + # description': The E-UTRAN Cell Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + required: + - plmn + - cellId + type: object + x-etsi-ref: 6.5.5 + FddInfo: + properties: + dlEarfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + dlTransmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + ulEarfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + ulTransmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + required: + - ulEarfcn + - dlEarfcn + - ulTransmissionBandwidth + - dlTransmissionBandwidth + type: object + x-etsi-ref: 6.5.6 + links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + LinkType: + properties: + href: + description: URI referring to a resource + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uri + required: + - href + type: object + x-etsi-ref: 6.5.13 + LocationInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier of the serving cell. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + geoArea: + $ref: '#/components/schemas/LocationInfo.geoArea' + type: object + x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." + x-etsi-ref: 6.5.3 + LocationInfo.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 + x-etsi-mec-origin-type: Structure (inlined) + Pc5NeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + siV2xConfig: + # description': V2X sidelink communication configuration, as defined in ETSI TS 136 331 [i.11]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': SystemInformationBlockType21 (as defined in ETSI TS 136 331 [i.11]) + $ref: '#/components/schemas/SystemInformationBlockType21' + required: + - plmn + - ecgi + - siV2xConfig + type: object + x-etsi-ref: 6.5.12 + Pc5ProvisioningInfo: + items: + properties: + proInfoPc5: + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + type: object + required: + - proInfoPc5 + type: object + x-etsi-ref: 6.2.4 + Pc5ProvisioningInfo.proInfoPc5: + description: The provisioning information per location as defined below. + items: + type: object + minItems: 1 + 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 TS\_136\_321 [i.12].\nPLMN operators coordinate to make sure Destination Layer2 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: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + required: + - locationInfo + - dstLayer2Id + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + 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 + PredictedQos: + properties: + locationGranularity: + description: Granularity of visited location. Measured in meters. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + routes: + description: Information relating to the potential routes of a vehicular UE. + items: + $ref: '#/components/schemas/PredictedQos.routes' + minItems: 1 + required: + - routeInfo + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeGranularity: + # description': Time granularity of visiting a location. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - locationGranularity + - routes + type: object + x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which indicates the granularity of a visited location by means of latitudinal and longitudinal margins." + x-etsi-ref: 6.2.5 + PredictedQos.routes: + properties: + routeInfo: + description: 'Information relating to a specific route. + + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided.' + items: + $ref: '#/components/schemas/PredictedQos.routes.routeInfo' + required: + - location + minItems: 2 + type: array + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + type: object + minItems: 1 + PredictedQos.routes.routeInfo: + type: object + properties: + location: + # description': Vehicular UE location. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + rsrp: + description: + 'Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. + + Shall only be included in the response.' + format: uint8 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + description: + 'Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. + + Shall only be included in the response.' + format: uint8 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + time: + # description': Estimated time at the location. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + ProblemDetails: + properties: + detail: + description: A human-readable explanation specific to this occurrence of the problem + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + description: A URI reference that identifies the specific occurrence of the problem + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + description: The HTTP status code for this occurrence of the problem + format: uint32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + description: A short, human-readable summary of the problem type + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + description: A URI reference according to IETF RFC 3986 that identifies the problem type + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + type: object + ProvChgPc5Notification: + 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 TS 136 321 [i.12]. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgPc5Notification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.4 + ProvChgPc5Subscription: + properties: + _links: + $ref: '#/components/schemas/links' + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' + requestTestNotification: + description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + description: Shall be set to "ProvChgPc5Subscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + websockNotifConfig: + # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': WebsockNotifConfig + $ref: '#/components/schemas/WebsockNotifConfig' + required: + - subscriptionType + - filterCriteria + type: object + x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.' + x-etsi-ref: 6.3.4 + ProvChgPc5Subscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + 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 TS 136 321 [i.12]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + required: + - locationInfo + - dstLayer2Id + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + ProvChgUuMbmsNotification: + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgUuMbmsNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.3 + ProvChgUuMbmsSubscription: + properties: + _links: + $ref: '#/components/schemas/links' + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' + requestTestNotification: + description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + description: Shall be set to "ProvChgUuMbmsSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + websockNotifConfig: + # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': WebsockNotifConfig + $ref: '#/components/schemas/WebsockNotifConfig' + required: + - subscriptionType + - filterCriteria + type: object + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.3 + ProvChgUuMbmsSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - locationInfo + - v2xServerUsd + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + ProvChgUuUniNotification: + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgUuUniNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.2 + ProvChgUuUniSubscription: + properties: + _links: + $ref: '#/components/schemas/links' + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' + requestTestNotification: + description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + description: Shall be set to "ProvChgUuUniSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + websockNotifConfig: + # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': WebsockNotifConfig + $ref: '#/components/schemas/WebsockNotifConfig' + required: + - subscriptionType + - filterCriteria + type: object + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-ref: 6.3.2 + ProvChgUuUniSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - locationInfo + - v2xApplicationServer + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + SubscriptionLinkList: + properties: + _links: + $ref: '#/components/schemas/SubscriptionLinkList.links' + required: + - _links + type: object + x-etsi-ref: 6.3.6 + SystemInformationBlockType21: + type: object + TddInfo: + properties: + earfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + subframeAssignment: + description: Uplink-downlink subframe configuration information. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + transmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + required: + - earfcn + - transmissionBandwidth + - subframeAssignment + type: object + x-etsi-ref: 6.5.7 + SubscriptionLinkList.links: + description: List of hyperlinks related to the resource. + items: + properties: + self: + # description': URI of this resource. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + subscriptions: + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' + type: object + required: + - self + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + SubscriptionLinkList.links.subscriptions: + description: The service consumer's subscriptions. + items: + type: object + minItems: 0 + properties: + href: + description: The URI referring to the subscription. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + subscriptionType: + description: Type of the subscription. The values are as defined in the "subscriptionType" attribute for each different V2X information event subscription data type. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - href + - subscriptionType + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + TestNotification: + properties: + _links: + description: 'Hyperlink related to the resource. ' + properties: + subscription: + # description': URI identifying the subscription for the test notification. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - subscription + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + description: Shall be set to "TestNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - notificationType + - _links + type: object + x-etsi-ref: 6.4.6 + TimeStamp: + properties: + nanoSeconds: + description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + format: uint32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + seconds: + description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + format: uint32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + required: + - seconds + - nanoSeconds + type: object + x-etsi-ref: 6.5.2 + TransmissionBandwidth: + properties: + transmissionBandwidth: + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + + 1 = bw6 (6 resource blocks) + + 2 = bw15 (15 resource blocks) + + 3 = bw25 (25 resource blocks) + + 4 = bw50 (50 resource blocks) + + 5 = bw75 (75 resource blocks) + + 6 = bw100 (100 resource blocks)' + enum: + - '1' + - '2' + - '3' + - '4' + - '5' + - '6' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + required: + - transmissionBandwidth + type: object + x-etsi-ref: 6.6.4 + UuMbmsNeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + fddInfo: + # description': Information for FDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': FddInfo + $ref: '#/components/schemas/FddInfo' + mbmsServiceAreaIdentity: + description: Supported MBMS Service Area Identities in the cell. + items: + type: string + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + pci: + description: Physical Cell Identifier. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + tddInfo: + # description': Information for TDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TddInfo + $ref: '#/components/schemas/TddInfo' + required: + - plmn + - ecgi + - pci + - fddInfo + - tddInfo + - mbmsServiceAreaIdentity + type: object + x-etsi-ref: 6.5.11 + UuMbmsProvisioningInfo: + items: + properties: + proInfoUuMbms: + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + type: object + required: + - proInfoUuMbms + type: object + x-etsi-ref: 6.2.3 + UuMbmsProvisioningInfo.proInfoUuMbms: + description: The provisioning information per location as defined below. + items: + type: object + minItems: 1 + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - locationInfo + - v2xServerUsd + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + UuUniNeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + fddInfo: + # description': Information for FDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': FddInfo + $ref: '#/components/schemas/FddInfo' + pci: + description: Physical Cell Identifier. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + tddInfo: + # description': Information for TDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TddInfo + $ref: '#/components/schemas/TddInfo' + required: + - plmn + - ecgi + - pci + - fddInfo + - tddInfo + type: object + x-etsi-ref: 6.5.9 + UuUnicastProvisioningInfo: + items: + properties: + proInfoUuUnicast: + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + type: object + required: + - proInfoUuUnicast + type: object + x-etsi-ref: 6.2.2 + UuUnicastProvisioningInfo.proInfoUuUnicast: + description: The provisioning information per location as defined below. + items: + type: object + minItems: 1 + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - locationInfo + - v2xApplicationServer + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + V2xApplicationServer: + properties: + ipAddress: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + udpPort: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - udpPort + type: object + x-etsi-ref: 6.5.8 + V2xMsgNotification: + properties: + _links: + $ref: '#/components/schemas/V2xMsgNotification.links' + msgContent: + description: Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgEncodeFormat: + description: The encode format of the V2X message, for example base64. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgType: + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - '1' + - '2' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - '10' + - '11' + - '12' + - '13' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + notificationType: + description: Shall be set to "V2xMsgNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + stdOrganization: + description: "Standardization organization which defines the published V2X message type: \nETSI: European Telecommunications Standards Institute.\nSee note 1." + enum: + - ETSI + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + timeStamp: + # description': Date and time of the notification generation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - notificationType + - timeStamp + - stdOrganization + - msgType + - msgEncodeFormat + - msgContent + - _links + type: object + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.4.5 + V2xMsgNotification.links: + description: links to resources related to this notification. + properties: + subscription: + # description': A link to the related subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - subscription + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + V2xMsgPublication: + properties: + msgContent: + description: Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgEncodeFormat: + description: The encode format of the V2X message, for example base64. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgType: + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - '1' + - '2' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - '10' + - '11' + - '12' + - '13' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + stdOrganization: + description: "Standardization organization which defines the published V2X message type:\nETSI: European Telecommunications Standards Institute. \nSee note 1." + enum: + - ETSI + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + required: + - stdOrganization + - msgType + - msgEncodeFormat + - msgContent + type: object + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.2.6 + V2xMsgSubscription: + properties: + _links: + $ref: '#/components/schemas/links' + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note 1. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' + requestTestNotification: + description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC 009 [i.1], clause 6.12a.\nDefault: FALSE." + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + subscriptionType: + description: Shall be set to "V2xMsgSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + websockNotifConfig: + # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note 1. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': WebsockNotifConfig + $ref: '#/components/schemas/WebsockNotifConfig' + required: + - subscriptionType + - filterCriteria + type: object + x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\tOther standardization organizations could be added as needed.\nNOTE 3:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.3.5 + V2xMsgSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + msgType: + description: Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. + items: + type: string + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + description: "Standardization organization which defines the subscribed V2X message type: \nETSI: European Telecommunications Standards Institute. \nSee note 2." + enum: + - ETSI + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + required: + - stdOrganization + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + V2xServerUsd: + properties: + sdpInfo: + $ref: '#/components/schemas/V2xServerUsd.sdpInfo' + serviceAreaIdentifier: + description: A list of service area identifier for the applicable MBMS broadcast area. + items: + type: string + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + tmgi: + $ref: '#/components/schemas/V2xServerUsd.tmgi' + required: + - tmgi + - serviceAreaIdentifier + - sdpInfo + type: object + x-etsi-ref: 6.5.10 + V2xServerUsd.sdpInfo: + description: SDP with IP multicast address and port number used for V2X communication via MBMS. + properties: + ipMulticastAddress: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + portNumber: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipMulticastAddress + - portNumber + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + V2xServerUsd.tmgi: + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. + properties: + mbmsServiceId: + description: MBMS Service ID consisting of three octets. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + 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: + - mbmsServiceId + - mcc + - mnc + type: object + x-etsi-mec-cardinality: '' + x-etsi-mec-origin-type: Structure (inlined) + WebsockNotifConfig: + properties: + requestWebsocketUri: + description: Set to TRUE by the service consumer to indicate that Websocket delivery is requested. + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Boolean + websocketUri: + description: Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + type: object + x-etsi-ref: 6.5.14 + AppTerminationNotification: + description: >- + This type represents the information that the MEC platform + notifies the subscribed application instance about the corresponding + application instance termination/stop. + type: object + required: + - notificationType + - operationAction + - maxGracefulTimeout + - _links + properties: + notificationType: + description: Shall be set to AppTerminationNotification. + type: string + operationAction: + $ref: '#/components/schemas/OperationActionType' + maxGracefulTimeout: + description: >- + Maximum timeout value in seconds for graceful termination or graceful + stop of an application instance. + type: integer + format: uint32 + _links: + description: >- + Object containing hyperlinks related to the resource. + type: object + required: + - subscription + properties: + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + OperationActionType: + description: Operation that is being performed on the MEC application instance. + type: string + enum: + - STOPPING + - TERMINATING + + responses: + '204': + description: No Content + '206': + description: Partial content + '400': + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '401': + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '403': + description: 'Forbidden : operation is not allowed given the current status of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '404': + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '406': + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '409': + description: 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '412': + description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '415': + description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '422': + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + '429': + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' -- GitLab From c721d74f6bff69beaa10ba34d5f5e4b0777b09f4 Mon Sep 17 00:00:00 2001 From: YannGarcia Date: Mon, 21 Feb 2022 11:29:42 +0100 Subject: [PATCH 017/183] Update with new MEC-030 OpenAPI file --- .../meep-vis-client/.swagger-codegen/VERSION | 2 +- go-packages/meep-vis-client/README.md | 39 +- go-packages/meep-vis-client/api/swagger.yaml | 406 ++--- .../meep-vis-client/api_unsupported.go | 1332 ----------------- go-packages/meep-vis-client/api_vis.go | 1281 +++++++++++++++- go-packages/meep-vis-client/client.go | 10 +- .../meep-vis-client/docs/LocationInfo.md | 2 +- ...tionLinks.md => OneOfsubscriptionsBody.md} | 3 +- ...> OneOfsubscriptionsSubscriptionIdBody.md} | 4 +- .../meep-vis-client/docs/PredictedQos.md | 2 +- .../docs/PredictedQosRoutes.md | 2 +- .../docs/PredictedQosRoutesRouteInfo.md | 12 + .../docs/ProvChgPc5Subscription.md | 4 +- .../docs/ProvChgUuMbmsSubscription.md | 4 +- .../docs/ProvChgUuUniSubscription.md | 4 +- go-packages/meep-vis-client/docs/QoSApi.md | 30 - .../meep-vis-client/docs/QueriesApi.md | 94 ++ .../meep-vis-client/docs/SubscriptionApi.md | 159 ++ .../meep-vis-client/docs/SubscriptionsBody.md | 8 + .../docs/SubscriptionsSubscriptionIdBody.md | 8 + .../docs/TransmissionBandwidth.md | 2 +- go-packages/meep-vis-client/docs/V2XMsgApi.md | 36 + .../docs/V2xMsgNotification.md | 4 +- .../meep-vis-client/docs/V2xMsgPublication.md | 2 +- .../docs/V2xMsgSubscription.md | 4 +- .../meep-vis-client/docs/V2xServerUsd.md | 4 +- .../meep-vis-client/model_location_info.go | 2 +- .../model_location_info_geo_area.go | 6 +- go-packages/meep-vis-client/model_msg_type.go | 28 +- .../model_one_ofsubscriptions_body.go | 17 + ...ne_ofsubscriptions_subscription_id_body.go | 17 + .../meep-vis-client/model_predicted_qos.go | 3 +- .../model_predicted_qos_routes.go | 8 +- .../model_predicted_qos_routes_route_info.go | 19 + .../model_prov_chg_pc5_subscription__links.go | 15 - .../model_subscription_link_list__links.go | 16 - .../model_subscriptions_body.go | 13 + ...odel_subscriptions_subscription_id_body.go | 13 + ...ission_bandwidth_transmission_bandwidth.go | 14 +- .../model_v2x_msg_notification__links.go | 15 - .../model_v2x_msg_notification_links.go | 2 +- .../meep-vis-client/model_v2x_server_usd.go | 4 +- .../model_v2x_server_usd_sdp_info.go | 6 +- .../model_v2x_server_usd_tmgi.go | 6 +- test/system/vis_test.go | 29 +- 45 files changed, 1988 insertions(+), 1703 deletions(-) delete mode 100644 go-packages/meep-vis-client/api_unsupported.go rename go-packages/meep-vis-client/docs/{ProvChgPc5SubscriptionLinks.md => OneOfsubscriptionsBody.md} (74%) rename go-packages/meep-vis-client/docs/{SubscriptionLinkListLinks.md => OneOfsubscriptionsSubscriptionIdBody.md} (53%) create mode 100644 go-packages/meep-vis-client/docs/PredictedQosRoutesRouteInfo.md create mode 100644 go-packages/meep-vis-client/docs/QueriesApi.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionApi.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionsBody.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md create mode 100644 go-packages/meep-vis-client/docs/V2XMsgApi.md create mode 100644 go-packages/meep-vis-client/model_one_ofsubscriptions_body.go create mode 100644 go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go create mode 100644 go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go delete mode 100644 go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go delete mode 100644 go-packages/meep-vis-client/model_subscription_link_list__links.go create mode 100644 go-packages/meep-vis-client/model_subscriptions_body.go create mode 100644 go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go delete mode 100644 go-packages/meep-vis-client/model_v2x_msg_notification__links.go diff --git a/go-packages/meep-vis-client/.swagger-codegen/VERSION b/go-packages/meep-vis-client/.swagger-codegen/VERSION index 1098afd3c..0667b5ffc 100644 --- a/go-packages/meep-vis-client/.swagger-codegen/VERSION +++ b/go-packages/meep-vis-client/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.33 \ No newline at end of file +3.0.29 \ No newline at end of file diff --git a/go-packages/meep-vis-client/README.md b/go-packages/meep-vis-client/README.md index 50923d44c..2461c735b 100644 --- a/go-packages/meep-vis-client/README.md +++ b/go-packages/meep-vis-client/README.md @@ -22,40 +22,36 @@ All URIs are relative to *https://localhost/vis/v2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*QoSApi* | [**Mec011AppTerminationPOST**](docs/QoSApi.md#mec011appterminationpost) | **Post** /subscriptions/{subscriptionId} | MEC011 Application Termination notification for self termination *QoSApi* | [**PredictedQosPOST**](docs/QoSApi.md#predictedqospost) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. -*UnsupportedApi* | [**IndividualSubscriptionDELETE**](docs/UnsupportedApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. -*UnsupportedApi* | [**IndividualSubscriptionGET**](docs/UnsupportedApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. -*UnsupportedApi* | [**IndividualSubscriptionPUT**](docs/UnsupportedApi.md#individualsubscriptionput) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. -*UnsupportedApi* | [**ProvInfoGET**](docs/UnsupportedApi.md#provinfoget) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. -*UnsupportedApi* | [**ProvInfoUuMbmsGET**](docs/UnsupportedApi.md#provinfouumbmsget) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. -*UnsupportedApi* | [**ProvInfoUuUnicastGET**](docs/UnsupportedApi.md#provinfouuunicastget) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. -*UnsupportedApi* | [**SubGET**](docs/UnsupportedApi.md#subget) | **Get** /subscriptions | Request information about the subscriptions for this requestor. -*UnsupportedApi* | [**SubPOST**](docs/UnsupportedApi.md#subpost) | **Post** /subscriptions | create a new subscription to VIS notifications. -*UnsupportedApi* | [**V2xMessagePOST**](docs/UnsupportedApi.md#v2xmessagepost) | **Post** /publish_v2x_message | Used to publish a V2X message. +*QueriesApi* | [**ProvInfoGET**](docs/QueriesApi.md#provinfoget) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +*QueriesApi* | [**ProvInfoUuMbmsGET**](docs/QueriesApi.md#provinfouumbmsget) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +*QueriesApi* | [**ProvInfoUuUnicastGET**](docs/QueriesApi.md#provinfouuunicastget) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +*SubscriptionApi* | [**IndividualSubscriptionDELETE**](docs/SubscriptionApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +*SubscriptionApi* | [**IndividualSubscriptionGET**](docs/SubscriptionApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +*SubscriptionApi* | [**IndividualSubscriptionPUT**](docs/SubscriptionApi.md#individualsubscriptionput) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. +*SubscriptionApi* | [**SubGET**](docs/SubscriptionApi.md#subget) | **Get** /subscriptions | Request information about the subscriptions for this requestor. +*SubscriptionApi* | [**SubPOST**](docs/SubscriptionApi.md#subpost) | **Post** /subscriptions | create a new subscription to VIS notifications. +*V2XMsgApi* | [**V2xMessagePOST**](docs/V2XMsgApi.md#v2xmessagepost) | **Post** /publish_v2x_message | Used to publish a V2X message. ## Documentation For Models - - [AppTerminationNotification](docs/AppTerminationNotification.md) - - [AppTerminationNotificationLinks](docs/AppTerminationNotificationLinks.md) - - [Body](docs/Body.md) - - [Body1](docs/Body1.md) - [CellId](docs/CellId.md) - [Earfcn](docs/Earfcn.md) - [Ecgi](docs/Ecgi.md) - [FddInfo](docs/FddInfo.md) - - [GeoArea](docs/GeoArea.md) - [LinkType](docs/LinkType.md) - [Links](docs/Links.md) - [LocationInfo](docs/LocationInfo.md) + - [LocationInfoGeoArea](docs/LocationInfoGeoArea.md) - [MsgType](docs/MsgType.md) - - [OneOfbody](docs/OneOfbody.md) - - [OneOfbody1](docs/OneOfbody1.md) - - [OperationActionType](docs/OperationActionType.md) + - [OneOfsubscriptionsBody](docs/OneOfsubscriptionsBody.md) + - [OneOfsubscriptionsSubscriptionIdBody](docs/OneOfsubscriptionsSubscriptionIdBody.md) - [Pc5NeighbourCellInfo](docs/Pc5NeighbourCellInfo.md) - [Pc5ProvisioningInfoInner](docs/Pc5ProvisioningInfoInner.md) - [Plmn](docs/Plmn.md) - [PredictedQos](docs/PredictedQos.md) + - [PredictedQosRoutes](docs/PredictedQosRoutes.md) + - [PredictedQosRoutesRouteInfo](docs/PredictedQosRoutesRouteInfo.md) - [ProblemDetails](docs/ProblemDetails.md) - [ProvChgPc5Notification](docs/ProvChgPc5Notification.md) - [ProvChgPc5Subscription](docs/ProvChgPc5Subscription.md) @@ -66,16 +62,15 @@ Class | Method | HTTP request | Description - [ProvChgUuUniNotification](docs/ProvChgUuUniNotification.md) - [ProvChgUuUniSubscription](docs/ProvChgUuUniSubscription.md) - [ProvChgUuUniSubscriptionFilterCriteria](docs/ProvChgUuUniSubscriptionFilterCriteria.md) - - [RoutesInner](docs/RoutesInner.md) - - [SdpInfo](docs/SdpInfo.md) - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - [SubscriptionLinkListLinksInner](docs/SubscriptionLinkListLinksInner.md) + - [SubscriptionsBody](docs/SubscriptionsBody.md) + - [SubscriptionsSubscriptionIdBody](docs/SubscriptionsSubscriptionIdBody.md) - [SystemInformationBlockType21](docs/SystemInformationBlockType21.md) - [TddInfo](docs/TddInfo.md) - [TestNotification](docs/TestNotification.md) - [TestNotificationLinks](docs/TestNotificationLinks.md) - [TimeStamp](docs/TimeStamp.md) - - [Tmgi](docs/Tmgi.md) - [TransmissionBandwidth](docs/TransmissionBandwidth.md) - [TransmissionBandwidthTransmissionBandwidth](docs/TransmissionBandwidthTransmissionBandwidth.md) - [UuMbmsNeighbourCellInfo](docs/UuMbmsNeighbourCellInfo.md) @@ -89,6 +84,8 @@ Class | Method | HTTP request | Description - [V2xMsgSubscription](docs/V2xMsgSubscription.md) - [V2xMsgSubscriptionFilterCriteria](docs/V2xMsgSubscriptionFilterCriteria.md) - [V2xServerUsd](docs/V2xServerUsd.md) + - [V2xServerUsdSdpInfo](docs/V2xServerUsdSdpInfo.md) + - [V2xServerUsdTmgi](docs/V2xServerUsdTmgi.md) - [WebsockNotifConfig](docs/WebsockNotifConfig.md) ## Documentation For Authorization diff --git a/go-packages/meep-vis-client/api/swagger.yaml b/go-packages/meep-vis-client/api/swagger.yaml index 1b205e597..49e21968e 100644 --- a/go-packages/meep-vis-client/api/swagger.yaml +++ b/go-packages/meep-vis-client/api/swagger.yaml @@ -16,13 +16,17 @@ externalDocs: servers: - url: https://localhost/vis/v2 tags: +- name: queries + description: Queries +- name: subscription + description: Subscription - name: QoS -- name: unsupported +- name: V2X_msg paths: /queries/uu_unicast_provisioning_info: get: tags: - - unsupported + - queries summary: Used to query provisioning information for V2X communication over Uu unicast. description: Used to query provisioning information for V2X communication over @@ -88,7 +92,7 @@ paths: /queries/uu_mbms_provisioning_info: get: tags: - - unsupported + - queries summary: retrieve information required for V2X communication over Uu MBMS. description: retrieve information required for V2X communication over Uu MBMS. operationId: prov_info_uu_mbmsGET @@ -152,7 +156,7 @@ paths: /queries/pc5_provisioning_info: get: tags: - - unsupported + - queries summary: Query provisioning information for V2X communication over PC5. description: Query provisioning information for V2X communication over PC5. operationId: prov_infoGET @@ -267,7 +271,7 @@ paths: /publish_v2x_message: post: tags: - - unsupported + - V2X_msg summary: Used to publish a V2X message. description: Used to publish a V2X message. operationId: v2x_messagePOST @@ -323,7 +327,7 @@ paths: /subscriptions: get: tags: - - unsupported + - subscription summary: Request information about the subscriptions for this requestor. description: Request information about the subscriptions for this requestor. operationId: subGET @@ -390,7 +394,7 @@ paths: $ref: '#/components/schemas/ProblemDetails' post: tags: - - unsupported + - subscription summary: ' create a new subscription to VIS notifications.' description: ' create a new subscription to VIS notifications.' operationId: subPOST @@ -398,7 +402,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/body' + $ref: '#/components/schemas/subscriptions_body' required: true responses: "201": @@ -407,7 +411,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/body' + $ref: '#/components/schemas/subscriptions_body' "400": description: "Bad Request : used to indicate that incorrect parameters were\ \ passed to the request." @@ -492,7 +496,7 @@ paths: /subscriptions/{subscriptionId}: get: tags: - - unsupported + - subscription summary: Retrieve information about this subscription. description: Retrieve information about this subscription. operationId: individualSubscriptionGET @@ -513,7 +517,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/body' + $ref: '#/components/schemas/subscriptions_body' "400": description: "Bad Request : used to indicate that incorrect parameters were\ \ passed to the request." @@ -556,7 +560,7 @@ paths: $ref: '#/components/schemas/ProblemDetails' put: tags: - - unsupported + - subscription summary: Used to update the existing subscription. description: Used to update the existing subscription. operationId: individualSubscriptionPUT @@ -574,7 +578,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/body_1' + $ref: '#/components/schemas/subscriptions_subscriptionId_body' required: true responses: "200": @@ -583,7 +587,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/body_1' + $ref: '#/components/schemas/subscriptions_subscriptionId_body' "400": description: "Bad Request : used to indicate that incorrect parameters were\ \ passed to the request." @@ -645,45 +649,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - post: - tags: - - QoS - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. - operationId: mec011AppTerminationPOST - parameters: - - name: subscriptionId - in: path - description: "Refers to created subscription, where the VIS API allocates\ - \ a unique resource name for this subscription" - required: true - style: simple - explode: false - schema: - type: string - requestBody: - description: Termination notification details - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - _links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination - required: true - responses: - "204": - description: No Content - x-swagger-router-controller: notifications delete: tags: - - unsupported + - subscription summary: Used to cancel the existing subscription. description: Used to cancel the existing subscription. operationId: individualSubscriptionDELETE @@ -738,6 +706,8 @@ components: description: E-UTRAN Cell Identity as a bit string (size (28)). x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String + example: + cellId: cellId x-etsi-ref: 6.6.2 Earfcn: required: @@ -761,6 +731,12 @@ components: $ref: '#/components/schemas/CellId' plmn: $ref: '#/components/schemas/Plmn' + example: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.5 FddInfo: required: @@ -779,7 +755,7 @@ components: ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.6 - Links: + links: required: - self type: object @@ -810,10 +786,20 @@ components: ecgi: $ref: '#/components/schemas/Ecgi' geoArea: - $ref: '#/components/schemas/GeoArea' + $ref: '#/components/schemas/LocationInfo.geoArea' + example: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." x-etsi-ref: 6.5.3 - GeoArea: + LocationInfo.geoArea: required: - latitude - longitude @@ -834,6 +820,9 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Float description: Information of a geographical area. + example: + latitude: 0.8008282 + longitude: 6.0274563 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) Pc5NeighbourCellInfo: @@ -858,7 +847,7 @@ components: $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' x-etsi-ref: 6.2.4 x-schema-name: Pc5ProvisioningInfo - ProInfoPc5: + Pc5ProvisioningInfo.proInfoPc5: minItems: 1 required: - dstLayer2Id @@ -889,7 +878,7 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoPc5 + x-schema-name: Pc5ProvisioningInfo.proInfoPc5 Plmn: required: - mcc @@ -906,6 +895,9 @@ components: description: The Mobile Network Code part of PLMN Identity. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String + example: + mnc: mnc + mcc: mcc x-etsi-ref: 6.5.4 PredictedQos: required: @@ -919,41 +911,138 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String routes: - $ref: '#/components/schemas/Routes' + minItems: 1 + required: + - routeInfo + type: array + description: Information relating to the potential routes of a vehicular + UE. + items: + $ref: '#/components/schemas/PredictedQos.routes' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) timeGranularity: $ref: '#/components/schemas/TimeStamp' example: routes: - routeInfo: - - {} - - {} + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 - routeInfo: - - {} - - {} - timeGranularity: - seconds: 6 - nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + timeGranularity: null locationGranularity: locationGranularity x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ \ indicates the granularity of a visited location by means of latitudinal\ \ and longitudinal margins." x-etsi-ref: 6.2.5 - Routes: + PredictedQos.routes: minItems: 1 - required: - - routeInfo - type: array - description: Information relating to the potential routes of a vehicular UE. - items: - $ref: '#/components/schemas/Routes_inner' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: Routes - RouteInfo: - minItems: 2 - required: - - location - type: array + type: object + properties: + routeInfo: + minItems: 2 + required: + - location + type: array + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + $ref: '#/components/schemas/PredictedQos.routes.routeInfo' + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + example: + routeInfo: + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + PredictedQos.routes.routeInfo: + type: object properties: location: $ref: '#/components/schemas/LocationInfo' @@ -973,14 +1062,22 @@ components: x-etsi-mec-origin-type: Uint8 time: $ref: '#/components/schemas/TimeStamp' - description: |- - Information relating to a specific route. - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - items: - type: object - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: RouteInfo + example: + rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 ProblemDetails: type: object properties: @@ -1054,7 +1151,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1065,7 +1162,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgPc5SubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' requestTestNotification: type: boolean description: "Shall be set to TRUE by the service consumer to request a\ @@ -1085,7 +1182,7 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.4 - ProvChgPc5SubscriptionFilterCriteria: + ProvChgPc5Subscription.filterCriteria: required: - dstLayer2Id - locationInfo @@ -1148,7 +1245,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1159,7 +1256,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuMbmsSubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' requestTestNotification: type: boolean description: "Shall be set to TRUE by the service consumer to request a\ @@ -1179,7 +1276,7 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.3 - ProvChgUuMbmsSubscriptionFilterCriteria: + ProvChgUuMbmsSubscription.filterCriteria: required: - locationInfo - v2xServerUsd @@ -1237,7 +1334,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1248,7 +1345,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuUniSubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' requestTestNotification: type: boolean description: "Shall be set to TRUE by the service consumer to request a\ @@ -1268,7 +1365,7 @@ components: \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.2 - ProvChgUuUniSubscriptionFilterCriteria: + ProvChgUuUniSubscription.filterCriteria: required: - locationInfo - v2xApplicationServer @@ -1298,7 +1395,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/SubscriptionLinkListLinks' + $ref: '#/components/schemas/SubscriptionLinkList.links' example: _links: - subscriptions: @@ -1331,17 +1428,17 @@ components: transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.7 - SubscriptionLinkListLinks: + SubscriptionLinkList.links: required: - self type: array description: List of hyperlinks related to the resource. items: - $ref: '#/components/schemas/SubscriptionLinkListLinks_inner' + $ref: SubscriptionLinkList.links_inner x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkListLinks - SubscriptionLinkListLinksSubscriptions: + x-schema-name: SubscriptionLinkList.links + SubscriptionLinkList.links.subscriptions: minItems: 0 required: - href @@ -1366,7 +1463,7 @@ components: type: object x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkListLinksSubscriptions + x-schema-name: SubscriptionLinkList.links.subscriptions TestNotification: required: - _links @@ -1411,9 +1508,9 @@ components: type: object properties: transmissionBandwidth: - $ref: '#/components/schemas/TransmissionBandwidth_transmissionBandwidth' + $ref: '#/components/schemas/TransmissionBandwidth.transmissionBandwidth' x-etsi-ref: 6.6.4 - TransmissionBandwidth_transmissionBandwidth: + TransmissionBandwidth.transmissionBandwidth: type: string description: | 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: @@ -1478,7 +1575,7 @@ components: $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' x-etsi-ref: 6.2.3 x-schema-name: UuMbmsProvisioningInfo - ProInfoUuMbms: + UuMbmsProvisioningInfo.proInfoUuMbms: minItems: 1 required: - locationInfo @@ -1503,7 +1600,7 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoUuMbms + x-schema-name: UuMbmsProvisioningInfo.proInfoUuMbms UuUniNeighbourCellInfo: required: - ecgi @@ -1535,7 +1632,7 @@ components: $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' x-etsi-ref: 6.2.2 x-schema-name: UuUnicastProvisioningInfo - ProInfoUuUnicast: + UuUnicastProvisioningInfo.proInfoUuUnicast: minItems: 1 required: - locationInfo @@ -1560,7 +1657,7 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoUuUnicast + x-schema-name: UuUnicastProvisioningInfo.proInfoUuUnicast V2xApplicationServer: required: - ipAddress @@ -1569,10 +1666,12 @@ components: properties: ipAddress: type: string + description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String udpPort: type: string + description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String x-etsi-ref: 6.5.8 @@ -1588,7 +1687,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/V2xMsgNotificationLinks' + $ref: '#/components/schemas/V2xMsgNotification.links' msgContent: type: string description: Published V2X message content. The format of the string is @@ -1602,7 +1701,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - $ref: '#/components/schemas/MsgType' + $ref: '#/components/schemas/msgType' notificationType: type: string description: Shall be set to "V2xMsgNotification". @@ -1623,14 +1722,14 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.4.5 - V2xMsgNotificationLinks: + V2xMsgNotification.links: required: - subscription type: object properties: subscription: $ref: '#/components/schemas/LinkType' - description: Links to resources related to this notification. + description: links to resources related to this notification. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xMsgPublication: @@ -1653,7 +1752,7 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - $ref: '#/components/schemas/MsgType' + $ref: '#/components/schemas/msgType' stdOrganization: type: string description: "Standardization organization which defines the published V2X\ @@ -1667,7 +1766,7 @@ components: \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 - MsgType: + msgType: type: string description: "Published V2X message type. Its value is defined by the standardization\ \ organization indicated by the attribute stdOrganization. See note 2.\n−\ @@ -1711,7 +1810,7 @@ components: type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string description: URI exposed by the client on which to receive notifications @@ -1722,7 +1821,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/V2xMsgSubscriptionFilterCriteria' + $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' requestTestNotification: type: boolean description: "Shall be set to TRUE by the service consumer to request a\ @@ -1745,7 +1844,7 @@ components: \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ \ [6], clause A.114." x-etsi-ref: 6.3.5 - V2xMsgSubscriptionFilterCriteria: + V2xMsgSubscription.filterCriteria: required: - stdOrganization type: object @@ -1781,7 +1880,7 @@ components: type: object properties: sdpInfo: - $ref: '#/components/schemas/SdpInfo' + $ref: '#/components/schemas/V2xServerUsd.sdpInfo' serviceAreaIdentifier: minItems: 1 type: array @@ -1792,9 +1891,9 @@ components: x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: String tmgi: - $ref: '#/components/schemas/Tmgi' + $ref: '#/components/schemas/V2xServerUsd.tmgi' x-etsi-ref: 6.5.10 - SdpInfo: + V2xServerUsd.sdpInfo: required: - ipMulticastAddress - portNumber @@ -1802,17 +1901,19 @@ components: properties: ipMulticastAddress: type: string + description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String portNumber: type: string + description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: SDP with IP multicast address and port number used for V2X communication via MBMS. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) - Tmgi: + V2xServerUsd.tmgi: required: - mbmsServiceId - mcc @@ -1855,42 +1956,13 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uri x-etsi-ref: 6.5.14 - AppTerminationNotification: - required: - - _links - - maxGracefulTimeout - - notificationType - - operationAction - type: object - properties: - notificationType: - type: string - description: Shall be set to AppTerminationNotification. - operationAction: - $ref: '#/components/schemas/OperationActionType' - maxGracefulTimeout: - type: integer - description: Maximum timeout value in seconds for graceful termination or - graceful stop of an application instance. - format: uint32 - _links: - $ref: '#/components/schemas/AppTerminationNotification__links' - description: This type represents the information that the MEC platform notifies - the subscribed application instance about the corresponding application instance - termination/stop. - OperationActionType: - type: string - description: Operation that is being performed on the MEC application instance. - enum: - - STOPPING - - TERMINATING - body: + subscriptions_body: oneOf: - $ref: '#/components/schemas/ProvChgUuUniSubscription' - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' - body_1: + subscriptions_subscriptionId_body: oneOf: - $ref: '#/components/schemas/ProvChgUuUniSubscription' - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' @@ -1900,7 +1972,7 @@ components: type: object properties: proInfoPc5: - $ref: '#/components/schemas/ProInfoPc5' + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1910,22 +1982,13 @@ components: proInfoPc5: - {} - {} - Routes_inner: - type: object - properties: - routeInfo: - $ref: '#/components/schemas/RouteInfo' - example: - routeInfo: - - {} - - {} - SubscriptionLinkListLinks_inner: + SubscriptionLinkList.links_inner: type: object properties: self: $ref: '#/components/schemas/LinkType' subscriptions: - $ref: '#/components/schemas/SubscriptionLinkListLinksSubscriptions' + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' example: subscriptions: - {} @@ -1940,11 +2003,12 @@ components: subscription: $ref: '#/components/schemas/LinkType' description: 'Hyperlink related to the resource. ' + example: null UuMbmsProvisioningInfo_inner: type: object properties: proInfoUuMbms: - $ref: '#/components/schemas/ProInfoUuMbms' + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1958,7 +2022,7 @@ components: type: object properties: proInfoUuUnicast: - $ref: '#/components/schemas/ProInfoUuUnicast' + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1968,16 +2032,6 @@ components: proInfoUuUnicast: - {} - {} - AppTerminationNotification__links: - required: - - subscription - type: object - properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' - description: Object containing hyperlinks related to the resource. responses: "204": description: No Content diff --git a/go-packages/meep-vis-client/api_unsupported.go b/go-packages/meep-vis-client/api_unsupported.go deleted file mode 100644 index 142b5dc14..000000000 --- a/go-packages/meep-vis-client/api_unsupported.go +++ /dev/null @@ -1,1332 +0,0 @@ - -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -import ( - "context" - "io/ioutil" - "net/http" - "net/url" - "strings" - "fmt" - "github.com/antihax/optional" -) - -// Linger please -var ( - _ context.Context -) - -type UnsupportedApiService service -/* -UnsupportedApiService Used to cancel the existing subscription. -Used to cancel the existing subscription. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription - -*/ -func (a *UnsupportedApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - return localVarHttpResponse, newErr - } - - return localVarHttpResponse, nil -} -/* -UnsupportedApiService Retrieve information about this subscription. -Retrieve information about this subscription. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription -@return Body -*/ -func (a *UnsupportedApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (Body, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue Body - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v Body - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService Used to update the existing subscription. -Used to update the existing subscription. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription -@return Body1 -*/ -func (a *UnsupportedApiService) IndividualSubscriptionPUT(ctx context.Context, body Body1, subscriptionId string) (Body1, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue Body1 - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v Body1 - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 412 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 422 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService Query provisioning information for V2X communication over PC5. -Query provisioning information for V2X communication over PC5. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area -@return []Pc5ProvisioningInfoInner -*/ -func (a *UnsupportedApiService) ProvInfoGET(ctx context.Context, locationInfo string) ([]Pc5ProvisioningInfoInner, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []Pc5ProvisioningInfoInner - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/pc5_provisioning_info" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v []Pc5ProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService retrieve information required for V2X communication over Uu MBMS. -retrieve information required for V2X communication over Uu MBMS. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area -@return []UuMbmsProvisioningInfoInner -*/ -func (a *UnsupportedApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) ([]UuMbmsProvisioningInfoInner, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []UuMbmsProvisioningInfoInner - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/uu_mbms_provisioning_info" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v []UuMbmsProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService Used to query provisioning information for V2X communication over Uu unicast. -Used to query provisioning information for V2X communication over Uu unicast. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area -@return []UuUnicastProvisioningInfoInner -*/ -func (a *UnsupportedApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) ([]UuUnicastProvisioningInfoInner, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []UuUnicastProvisioningInfoInner - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/uu_unicast_provisioning_info" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v []UuUnicastProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService Request information about the subscriptions for this requestor. -Request information about the subscriptions for this requestor. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *UnsupportedApiSubGETOpts - Optional Parameters: - * @param "SubscriptionType" (optional.String) - Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message -@return SubscriptionLinkList -*/ - -type UnsupportedApiSubGETOpts struct { - SubscriptionType optional.String -} - -func (a *UnsupportedApiService) SubGET(ctx context.Context, localVarOptionals *UnsupportedApiSubGETOpts) (SubscriptionLinkList, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue SubscriptionLinkList - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.SubscriptionType.IsSet() { - localVarQueryParams.Add("subscription_type", parameterToString(localVarOptionals.SubscriptionType.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v SubscriptionLinkList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService create a new subscription to VIS notifications. - create a new subscription to VIS notifications. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body -@return Body -*/ -func (a *UnsupportedApiService) SubPOST(ctx context.Context, body Body) (Body, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue Body - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 201 { - var v Body - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 415 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 422 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -UnsupportedApiService Used to publish a V2X message. -Used to publish a V2X message. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - -*/ -func (a *UnsupportedApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/publish_v2x_message" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarHttpResponse, err - } - - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 429 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - return localVarHttpResponse, newErr - } - - return localVarHttpResponse, nil -} diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_vis.go index b0f7d9db5..e762483ef 100644 --- a/go-packages/meep-vis-client/api_vis.go +++ b/go-packages/meep-vis-client/api_vis.go @@ -17,6 +17,7 @@ import ( "net/url" "strings" "fmt" + "github.com/antihax/optional" ) // Linger please @@ -26,14 +27,141 @@ var ( type QoSApiService service /* -QoSApiService MEC011 Application Termination notification for self termination -Terminates itself. +QoSApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. +Request the predicted QoS correspondent to potential routes of a vehicular UE. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body Termination notification details - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + * @param body +@return PredictedQos +*/ +func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PredictedQos + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/provide_predicted_qos" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v PredictedQos + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +type V2XMsgApiService service +/* +V2XMsgApiService Used to publish a V2X message. +Used to publish a V2X message. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body */ -func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification, subscriptionId string) (*http.Response, error) { +func (a *V2XMsgApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Post") localVarPostBody interface{} @@ -43,8 +171,7 @@ func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTe ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + localVarPath := a.client.cfg.BasePath + "/publish_v2x_message" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -60,7 +187,7 @@ func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTe } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{"application/json"} // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -91,36 +218,99 @@ func (a *QoSApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTe body: localVarBody, error: localVarHttpResponse.Status, } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } return localVarHttpResponse, newErr } return localVarHttpResponse, nil } + +type QueriesApiService service /* -QoSApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. -Request the predicted QoS correspondent to potential routes of a vehicular UE. +QueriesApiService Query provisioning information for V2X communication over PC5. +Query provisioning information for V2X communication over PC5. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body -@return PredictedQos + * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area +@return []Pc5ProvisioningInfoInner */ -func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) { +func (a *QueriesApiService) ProvInfoGET(ctx context.Context, locationInfo string) ([]Pc5ProvisioningInfoInner, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") + localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue PredictedQos + localVarReturnValue []Pc5ProvisioningInfoInner ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/provide_predicted_qos" + localVarPath := a.client.cfg.BasePath + "/queries/pc5_provisioning_info" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} + localVarHttpContentTypes := []string{} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -136,8 +326,6 @@ func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - // body params - localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { return localVarReturnValue, nil, err @@ -168,7 +356,7 @@ func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v PredictedQos + var v []Pc5ProvisioningInfoInner err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() @@ -217,6 +405,1059 @@ func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) newErr.model = v return localVarReturnValue, localVarHttpResponse, newErr } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +QueriesApiService retrieve information required for V2X communication over Uu MBMS. +retrieve information required for V2X communication over Uu MBMS. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area +@return []UuMbmsProvisioningInfoInner +*/ +func (a *QueriesApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) ([]UuMbmsProvisioningInfoInner, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []UuMbmsProvisioningInfoInner + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/queries/uu_mbms_provisioning_info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v []UuMbmsProvisioningInfoInner + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +QueriesApiService Used to query provisioning information for V2X communication over Uu unicast. +Used to query provisioning information for V2X communication over Uu unicast. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area +@return []UuUnicastProvisioningInfoInner +*/ +func (a *QueriesApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) ([]UuUnicastProvisioningInfoInner, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue []UuUnicastProvisioningInfoInner + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/queries/uu_unicast_provisioning_info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v []UuUnicastProvisioningInfoInner + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +type SubscriptionApiService service +/* +SubscriptionApiService Used to cancel the existing subscription. +Used to cancel the existing subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + +*/ +func (a *SubscriptionApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Delete") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} +/* +SubscriptionApiService Retrieve information about this subscription. +Retrieve information about this subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return SubscriptionsBody +*/ +func (a *SubscriptionApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (SubscriptionsBody, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsBody + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v SubscriptionsBody + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +SubscriptionApiService Used to update the existing subscription. +Used to update the existing subscription. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return SubscriptionsSubscriptionIdBody +*/ +func (a *SubscriptionApiService) IndividualSubscriptionPUT(ctx context.Context, body SubscriptionsSubscriptionIdBody, subscriptionId string) (SubscriptionsSubscriptionIdBody, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsSubscriptionIdBody + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v SubscriptionsSubscriptionIdBody + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 412 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + +/* +SubscriptionApiService Request information about the subscriptions for this requestor. +Request information about the subscriptions for this requestor. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param optional nil or *SubscriptionApiSubGETOpts - Optional Parameters: + * @param "SubscriptionType" (optional.String) - Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message +@return SubscriptionLinkList +*/ + +type SubscriptionApiSubGETOpts struct { + SubscriptionType optional.String +} + +func (a *SubscriptionApiService) SubGET(ctx context.Context, localVarOptionals *SubscriptionApiSubGETOpts) (SubscriptionLinkList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionLinkList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.SubscriptionType.IsSet() { + localVarQueryParams.Add("subscription_type", parameterToString(localVarOptionals.SubscriptionType.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v SubscriptionLinkList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +SubscriptionApiService create a new subscription to VIS notifications. + create a new subscription to VIS notifications. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body +@return SubscriptionsBody +*/ +func (a *SubscriptionApiService) SubPOST(ctx context.Context, body SubscriptionsBody) (SubscriptionsBody, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionsBody + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/subscriptions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 201 { + var v SubscriptionsBody + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 415 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 429 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } return localVarReturnValue, localVarHttpResponse, newErr } diff --git a/go-packages/meep-vis-client/client.go b/go-packages/meep-vis-client/client.go index 13be3ee65..baa51463f 100644 --- a/go-packages/meep-vis-client/client.go +++ b/go-packages/meep-vis-client/client.go @@ -47,7 +47,11 @@ type APIClient struct { QoSApi *QoSApiService - UnsupportedApi *UnsupportedApiService + QueriesApi *QueriesApiService + + SubscriptionApi *SubscriptionApiService + + V2XMsgApi *V2XMsgApiService } type service struct { @@ -67,7 +71,9 @@ func NewAPIClient(cfg *Configuration) *APIClient { // API Services c.QoSApi = (*QoSApiService)(&c.common) - c.UnsupportedApi = (*UnsupportedApiService)(&c.common) + c.QueriesApi = (*QueriesApiService)(&c.common) + c.SubscriptionApi = (*SubscriptionApiService)(&c.common) + c.V2XMsgApi = (*V2XMsgApiService)(&c.common) return c } diff --git a/go-packages/meep-vis-client/docs/LocationInfo.md b/go-packages/meep-vis-client/docs/LocationInfo.md index 354213026..b7f750606 100644 --- a/go-packages/meep-vis-client/docs/LocationInfo.md +++ b/go-packages/meep-vis-client/docs/LocationInfo.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Ecgi** | [***Ecgi**](Ecgi.md) | | [optional] [default to null] -**GeoArea** | [***GeoArea**](GeoArea.md) | | [optional] [default to null] +**GeoArea** | [***LocationInfoGeoArea**](LocationInfo.geoArea.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md b/go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md similarity index 74% rename from go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md rename to go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md index 99af73541..d560aa3e4 100644 --- a/go-packages/meep-vis-client/docs/ProvChgPc5SubscriptionLinks.md +++ b/go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md @@ -1,9 +1,8 @@ -# ProvChgPc5SubscriptionLinks +# OneOfsubscriptionsBody ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | [***LinkType**](LinkType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md similarity index 53% rename from go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md rename to go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md index 3322d55ad..763bac5dd 100644 --- a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md +++ b/go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md @@ -1,10 +1,8 @@ -# SubscriptionLinkListLinks +# OneOfsubscriptionsSubscriptionIdBody ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | [***LinkType**](LinkType.md) | | [optional] [default to null] -**Subscriptions** | [**[]interface{}**](interface{}.md) | The service consumer's subscriptions. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/PredictedQos.md b/go-packages/meep-vis-client/docs/PredictedQos.md index 7189a13cf..6295543d3 100644 --- a/go-packages/meep-vis-client/docs/PredictedQos.md +++ b/go-packages/meep-vis-client/docs/PredictedQos.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **LocationGranularity** | **string** | Granularity of visited location. Measured in meters. | [default to null] -**Routes** | [***[]RoutesInner**](array.md) | | [default to null] +**Routes** | [**[]PredictedQosRoutes**](PredictedQos.routes.md) | Information relating to the potential routes of a vehicular UE. | [default to null] **TimeGranularity** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/PredictedQosRoutes.md b/go-packages/meep-vis-client/docs/PredictedQosRoutes.md index fdd7db005..b781e4d91 100644 --- a/go-packages/meep-vis-client/docs/PredictedQosRoutes.md +++ b/go-packages/meep-vis-client/docs/PredictedQosRoutes.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**RouteInfo** | [**[]interface{}**](interface{}.md) | Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. | [optional] [default to null] +**RouteInfo** | [**[]PredictedQosRoutesRouteInfo**](PredictedQos.routes.routeInfo.md) | Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/PredictedQosRoutesRouteInfo.md b/go-packages/meep-vis-client/docs/PredictedQosRoutesRouteInfo.md new file mode 100644 index 000000000..3914fad0a --- /dev/null +++ b/go-packages/meep-vis-client/docs/PredictedQosRoutesRouteInfo.md @@ -0,0 +1,12 @@ +# PredictedQosRoutesRouteInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Location** | [***LocationInfo**](LocationInfo.md) | | [optional] [default to null] +**Rsrp** | **int32** | Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. | [optional] [default to null] +**Rsrq** | **int32** | Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. | [optional] [default to null] +**Time** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md index fd36dc8ba..b1270a777 100644 --- a/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgPc5Subscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***Links**](Links.md) | | [optional] [default to null] +**Links** | [***Links**](links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgPc5SubscriptionFilterCriteria**](ProvChgPc5SubscriptionFilterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgPc5SubscriptionFilterCriteria**](ProvChgPc5Subscription.filterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgPc5Subscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md index eae31be21..93aed48f1 100644 --- a/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgUuMbmsSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***Links**](Links.md) | | [optional] [default to null] +**Links** | [***Links**](links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgUuMbmsSubscriptionFilterCriteria**](ProvChgUuMbmsSubscriptionFilterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgUuMbmsSubscriptionFilterCriteria**](ProvChgUuMbmsSubscription.filterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgUuMbmsSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md index 52080a118..909130b74 100644 --- a/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md +++ b/go-packages/meep-vis-client/docs/ProvChgUuUniSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***Links**](Links.md) | | [optional] [default to null] +**Links** | [***Links**](links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***ProvChgUuUniSubscriptionFilterCriteria**](ProvChgUuUniSubscriptionFilterCriteria.md) | | [default to null] +**FilterCriteria** | [***ProvChgUuUniSubscriptionFilterCriteria**](ProvChgUuUniSubscription.filterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"ProvChgUuUniSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/QoSApi.md b/go-packages/meep-vis-client/docs/QoSApi.md index 7a52994b6..b8d481945 100644 --- a/go-packages/meep-vis-client/docs/QoSApi.md +++ b/go-packages/meep-vis-client/docs/QoSApi.md @@ -4,38 +4,8 @@ All URIs are relative to *https://localhost/vis/v2* Method | HTTP request | Description ------------- | ------------- | ------------- -[**Mec011AppTerminationPOST**](QoSApi.md#Mec011AppTerminationPOST) | **Post** /subscriptions/{subscriptionId} | MEC011 Application Termination notification for self termination [**PredictedQosPOST**](QoSApi.md#PredictedQosPOST) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. -# **Mec011AppTerminationPOST** -> Mec011AppTerminationPOST(ctx, body, subscriptionId) -MEC011 Application Termination notification for self termination - -Terminates itself. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **body** | [**AppTerminationNotification**](AppTerminationNotification.md)| Termination notification details | - **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | - -### Return type - - (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **PredictedQosPOST** > PredictedQos PredictedQosPOST(ctx, body) Request the predicted QoS correspondent to potential routes of a vehicular UE. diff --git a/go-packages/meep-vis-client/docs/QueriesApi.md b/go-packages/meep-vis-client/docs/QueriesApi.md new file mode 100644 index 000000000..79398e60d --- /dev/null +++ b/go-packages/meep-vis-client/docs/QueriesApi.md @@ -0,0 +1,94 @@ +# {{classname}} + +All URIs are relative to *https://localhost/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ProvInfoGET**](QueriesApi.md#ProvInfoGET) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +[**ProvInfoUuMbmsGET**](QueriesApi.md#ProvInfoUuMbmsGET) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +[**ProvInfoUuUnicastGET**](QueriesApi.md#ProvInfoUuUnicastGET) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. + +# **ProvInfoGET** +> []Pc5ProvisioningInfoInner ProvInfoGET(ctx, locationInfo) +Query provisioning information for V2X communication over PC5. + +Query provisioning information for V2X communication over PC5. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]Pc5ProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ProvInfoUuMbmsGET** +> []UuMbmsProvisioningInfoInner ProvInfoUuMbmsGET(ctx, locationInfo) +retrieve information required for V2X communication over Uu MBMS. + +retrieve information required for V2X communication over Uu MBMS. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| omma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]UuMbmsProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ProvInfoUuUnicastGET** +> []UuUnicastProvisioningInfoInner ProvInfoUuUnicastGET(ctx, locationInfo) +Used to query provisioning information for V2X communication over Uu unicast. + +Used to query provisioning information for V2X communication over Uu unicast. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | + +### Return type + +[**[]UuUnicastProvisioningInfoInner**](array.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionApi.md b/go-packages/meep-vis-client/docs/SubscriptionApi.md new file mode 100644 index 000000000..f202900a2 --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionApi.md @@ -0,0 +1,159 @@ +# {{classname}} + +All URIs are relative to *https://localhost/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**IndividualSubscriptionDELETE**](SubscriptionApi.md#IndividualSubscriptionDELETE) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +[**IndividualSubscriptionGET**](SubscriptionApi.md#IndividualSubscriptionGET) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +[**IndividualSubscriptionPUT**](SubscriptionApi.md#IndividualSubscriptionPUT) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. +[**SubGET**](SubscriptionApi.md#SubGET) | **Get** /subscriptions | Request information about the subscriptions for this requestor. +[**SubPOST**](SubscriptionApi.md#SubPOST) | **Post** /subscriptions | create a new subscription to VIS notifications. + +# **IndividualSubscriptionDELETE** +> IndividualSubscriptionDELETE(ctx, subscriptionId) +Used to cancel the existing subscription. + +Used to cancel the existing subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **IndividualSubscriptionGET** +> SubscriptionsBody IndividualSubscriptionGET(ctx, subscriptionId) +Retrieve information about this subscription. + +Retrieve information about this subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + +[**SubscriptionsBody**](subscriptions_body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **IndividualSubscriptionPUT** +> SubscriptionsSubscriptionIdBody IndividualSubscriptionPUT(ctx, body, subscriptionId) +Used to update the existing subscription. + +Used to update the existing subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**SubscriptionsSubscriptionIdBody**](SubscriptionsSubscriptionIdBody.md)| | + **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | + +### Return type + +[**SubscriptionsSubscriptionIdBody**](subscriptions_subscriptionId_body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubGET** +> SubscriptionLinkList SubGET(ctx, optional) +Request information about the subscriptions for this requestor. + +Request information about the subscriptions for this requestor. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **optional** | ***SubscriptionApiSubGETOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a SubscriptionApiSubGETOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionType** | **optional.String**| Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message | + +### Return type + +[**SubscriptionLinkList**](SubscriptionLinkList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubPOST** +> SubscriptionsBody SubPOST(ctx, body) + create a new subscription to VIS notifications. + + create a new subscription to VIS notifications. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**SubscriptionsBody**](SubscriptionsBody.md)| | + +### Return type + +[**SubscriptionsBody**](subscriptions_body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionsBody.md b/go-packages/meep-vis-client/docs/SubscriptionsBody.md new file mode 100644 index 000000000..6db54136f --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionsBody.md @@ -0,0 +1,8 @@ +# SubscriptionsBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md b/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md new file mode 100644 index 000000000..39c0bd8b8 --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md @@ -0,0 +1,8 @@ +# SubscriptionsSubscriptionIdBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/TransmissionBandwidth.md b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md index 4b6a6ad6d..85032c05f 100644 --- a/go-packages/meep-vis-client/docs/TransmissionBandwidth.md +++ b/go-packages/meep-vis-client/docs/TransmissionBandwidth.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**TransmissionBandwidth** | [***TransmissionBandwidthTransmissionBandwidth**](TransmissionBandwidth_transmissionBandwidth.md) | | [default to null] +**TransmissionBandwidth** | [***TransmissionBandwidthTransmissionBandwidth**](TransmissionBandwidth.transmissionBandwidth.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/V2XMsgApi.md b/go-packages/meep-vis-client/docs/V2XMsgApi.md new file mode 100644 index 000000000..b14f1df8d --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2XMsgApi.md @@ -0,0 +1,36 @@ +# {{classname}} + +All URIs are relative to *https://localhost/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**V2xMessagePOST**](V2XMsgApi.md#V2xMessagePOST) | **Post** /publish_v2x_message | Used to publish a V2X message. + +# **V2xMessagePOST** +> V2xMessagePOST(ctx, body) +Used to publish a V2X message. + +Used to publish a V2X message. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**V2xMsgPublication**](V2xMsgPublication.md)| | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2xMsgNotification.md b/go-packages/meep-vis-client/docs/V2xMsgNotification.md index 4bd03670e..ef858b284 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgNotification.md +++ b/go-packages/meep-vis-client/docs/V2xMsgNotification.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***V2xMsgNotificationLinks**](V2xMsgNotificationLinks.md) | | [default to null] +**Links** | [***V2xMsgNotificationLinks**](V2xMsgNotification.links.md) | | [default to null] **MsgContent** | **string** | Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] **MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] -**MsgType** | [***MsgType**](MsgType.md) | | [default to null] +**MsgType** | [***MsgType**](msgType.md) | | [default to null] **NotificationType** | **string** | Shall be set to \"V2xMsgNotification\". | [default to null] **StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [default to null] diff --git a/go-packages/meep-vis-client/docs/V2xMsgPublication.md b/go-packages/meep-vis-client/docs/V2xMsgPublication.md index 5796b9f03..22b6f2cbf 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgPublication.md +++ b/go-packages/meep-vis-client/docs/V2xMsgPublication.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MsgContent** | **string** | Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] **MsgEncodeFormat** | **string** | The encode format of the V2X message, for example base64. | [default to null] -**MsgType** | [***MsgType**](MsgType.md) | | [default to null] +**MsgType** | [***MsgType**](msgType.md) | | [default to null] **StdOrganization** | **string** | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/V2xMsgSubscription.md b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md index ddbbb0bb0..fbdaed727 100644 --- a/go-packages/meep-vis-client/docs/V2xMsgSubscription.md +++ b/go-packages/meep-vis-client/docs/V2xMsgSubscription.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***Links**](Links.md) | | [optional] [default to null] +**Links** | [***Links**](links.md) | | [optional] [default to null] **CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note 1. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***V2xMsgSubscriptionFilterCriteria**](V2xMsgSubscriptionFilterCriteria.md) | | [default to null] +**FilterCriteria** | [***V2xMsgSubscriptionFilterCriteria**](V2xMsgSubscription.filterCriteria.md) | | [default to null] **RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"V2xMsgSubscription\". | [default to null] **WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] diff --git a/go-packages/meep-vis-client/docs/V2xServerUsd.md b/go-packages/meep-vis-client/docs/V2xServerUsd.md index 98a20868f..0d484fbc6 100644 --- a/go-packages/meep-vis-client/docs/V2xServerUsd.md +++ b/go-packages/meep-vis-client/docs/V2xServerUsd.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**SdpInfo** | [***SdpInfo**](SdpInfo.md) | | [default to null] +**SdpInfo** | [***V2xServerUsdSdpInfo**](V2xServerUsd.sdpInfo.md) | | [default to null] **ServiceAreaIdentifier** | **[]string** | A list of service area identifier for the applicable MBMS broadcast area. | [default to null] -**Tmgi** | [***Tmgi**](Tmgi.md) | | [default to null] +**Tmgi** | [***V2xServerUsdTmgi**](V2xServerUsd.tmgi.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/model_location_info.go b/go-packages/meep-vis-client/model_location_info.go index 35844a402..f25168b6c 100644 --- a/go-packages/meep-vis-client/model_location_info.go +++ b/go-packages/meep-vis-client/model_location_info.go @@ -11,5 +11,5 @@ package client type LocationInfo struct { Ecgi *Ecgi `json:"ecgi,omitempty"` - GeoArea *GeoArea `json:"geoArea,omitempty"` + GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` } diff --git a/go-packages/meep-vis-client/model_location_info_geo_area.go b/go-packages/meep-vis-client/model_location_info_geo_area.go index 178a98e67..18472ec77 100644 --- a/go-packages/meep-vis-client/model_location_info_geo_area.go +++ b/go-packages/meep-vis-client/model_location_info_geo_area.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_msg_type.go b/go-packages/meep-vis-client/model_msg_type.go index 7bc4614bf..9180e649d 100644 --- a/go-packages/meep-vis-client/model_msg_type.go +++ b/go-packages/meep-vis-client/model_msg_type.go @@ -11,19 +11,19 @@ package client // MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, type MsgType string -// List of MsgType +// List of msgType const ( - 1__MsgType MsgType = "1" - 2__MsgType MsgType = "2" - 3__MsgType MsgType = "3" - 4__MsgType MsgType = "4" - 5__MsgType MsgType = "5" - 6__MsgType MsgType = "6" - 7__MsgType MsgType = "7" - 8__MsgType MsgType = "8" - 9__MsgType MsgType = "9" - 10__MsgType MsgType = "10" - 11__MsgType MsgType = "11" - 12__MsgType MsgType = "12" - 13__MsgType MsgType = "13" + cam MsgType = "1" + denm MsgType = "2" + poi MsgType = "3" + spatem MsgType = "4" + mapem MsgType = "5" + ivim MsgType = "6" + ev_rsr MsgType = "7" + tistpgtransaction MsgType = "8" + srem MsgType = "9" + ssem MsgType = "10" + evcsn MsgType = "11" + saem MsgType = "12" + rtcmem MsgType = "13" ) diff --git a/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go b/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go new file mode 100644 index 000000000..95b222a26 --- /dev/null +++ b/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type OneOfsubscriptionsBody struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go b/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go new file mode 100644 index 000000000..2cc236dea --- /dev/null +++ b/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type OneOfsubscriptionsSubscriptionIdBody struct { + ProvChgUuUniSubscription + ProvChgUuMbmsSubscription + ProvChgPc5Subscription + V2xMsgSubscription +} diff --git a/go-packages/meep-vis-client/model_predicted_qos.go b/go-packages/meep-vis-client/model_predicted_qos.go index 1460986a2..63d49d09f 100644 --- a/go-packages/meep-vis-client/model_predicted_qos.go +++ b/go-packages/meep-vis-client/model_predicted_qos.go @@ -12,6 +12,7 @@ package client type PredictedQos struct { // Granularity of visited location. Measured in meters. LocationGranularity string `json:"locationGranularity"` - Routes *[]RoutesInner `json:"routes"` + // Information relating to the potential routes of a vehicular UE. + Routes []PredictedQosRoutes `json:"routes"` TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` } diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes.go b/go-packages/meep-vis-client/model_predicted_qos_routes.go index 1cbc88f7d..5d5407077 100644 --- a/go-packages/meep-vis-client/model_predicted_qos_routes.go +++ b/go-packages/meep-vis-client/model_predicted_qos_routes.go @@ -1,15 +1,15 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - RouteInfo []interface{} `json:"routeInfo,omitempty"` + RouteInfo []PredictedQosRoutesRouteInfo `json:"routeInfo,omitempty"` } diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go b/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go new file mode 100644 index 000000000..0ea2c53d7 --- /dev/null +++ b/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go @@ -0,0 +1,19 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type PredictedQosRoutesRouteInfo struct { + Location *LocationInfo `json:"location,omitempty"` + // Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. + Rsrp int32 `json:"rsrp,omitempty"` + // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. + Rsrq int32 `json:"rsrq,omitempty"` + Time *TimeStamp `json:"time,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go deleted file mode 100644 index 88aaa5cbb..000000000 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription__links.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * AdvantEDGE V2X Information Service REST API - * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. -type ProvChgPc5SubscriptionLinks struct { - Self *LinkType `json:"self"` -} diff --git a/go-packages/meep-vis-client/model_subscription_link_list__links.go b/go-packages/meep-vis-client/model_subscription_link_list__links.go deleted file mode 100644 index ebfe75bb1..000000000 --- a/go-packages/meep-vis-client/model_subscription_link_list__links.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * AdvantEDGE V2X Information Service REST API - * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type SubscriptionLinkListLinks struct { - Self *LinkType `json:"self,omitempty"` - // The service consumer's subscriptions. - Subscriptions []interface{} `json:"subscriptions,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_subscriptions_body.go b/go-packages/meep-vis-client/model_subscriptions_body.go new file mode 100644 index 000000000..75acf99bf --- /dev/null +++ b/go-packages/meep-vis-client/model_subscriptions_body.go @@ -0,0 +1,13 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type SubscriptionsBody struct { +} diff --git a/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go b/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go new file mode 100644 index 000000000..40c979d92 --- /dev/null +++ b/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go @@ -0,0 +1,13 @@ +/* + * ETSI GS MEC 030 V2X Information Service API + * + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + */ +package client + +type SubscriptionsSubscriptionIdBody struct { +} diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go index 1f5e08452..80681075c 100644 --- a/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go +++ b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go @@ -11,12 +11,12 @@ package client // TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' type TransmissionBandwidthTransmissionBandwidth string -// List of TransmissionBandwidth_transmissionBandwidth +// List of TransmissionBandwidth.transmissionBandwidth const ( - 1__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "1" - 2__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "2" - 3__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "3" - 4__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "4" - 5__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "5" - 6__TransmissionBandwidthTransmissionBandwidth TransmissionBandwidthTransmissionBandwidth = "6" + bw6 TransmissionBandwidthTransmissionBandwidth = "1" + bw15 TransmissionBandwidthTransmissionBandwidth = "2" + bw25 TransmissionBandwidthTransmissionBandwidth = "3" + bw50 TransmissionBandwidthTransmissionBandwidth = "4" + bw75 TransmissionBandwidthTransmissionBandwidth = "5" + bw100 TransmissionBandwidthTransmissionBandwidth = "6" ) diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification__links.go b/go-packages/meep-vis-client/model_v2x_msg_notification__links.go deleted file mode 100644 index 9c6544264..000000000 --- a/go-packages/meep-vis-client/model_v2x_msg_notification__links.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * AdvantEDGE V2X Information Service REST API - * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -// Links to resources related to this notification. -type V2xMsgNotificationLinks struct { - Subscription *LinkType `json:"subscription"` -} diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification_links.go b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go index ebc73b8f2..7e5b99890 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification_links.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go @@ -9,7 +9,7 @@ */ package client -// Links to resources related to this notification. +// links to resources related to this notification. type V2xMsgNotificationLinks struct { Subscription *LinkType `json:"subscription"` } diff --git a/go-packages/meep-vis-client/model_v2x_server_usd.go b/go-packages/meep-vis-client/model_v2x_server_usd.go index 357a15f91..aab386316 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd.go @@ -10,8 +10,8 @@ package client type V2xServerUsd struct { - SdpInfo *SdpInfo `json:"sdpInfo"` + SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` // A list of service area identifier for the applicable MBMS broadcast area. ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` - Tmgi *Tmgi `json:"tmgi"` + Tmgi *V2xServerUsdTmgi `json:"tmgi"` } diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go index 4cdd2ffc3..c42ee1823 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go index f902b4f0d..06aa10f20 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go @@ -1,10 +1,10 @@ /* - * AdvantEDGE V2X Information Service REST API + * ETSI GS MEC 030 V2X Information Service API * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. * * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) */ package client diff --git a/test/system/vis_test.go b/test/system/vis_test.go index 98b755b34..1eb20d036 100644 --- a/test/system/vis_test.go +++ b/test/system/vis_test.go @@ -99,21 +99,22 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { // Initialize the data structure for the POST request // MEC-030 Clause 6.2.5 // MEC-030 Clause 7.6.3.4 - testPredictedQos := visClient.PredictedQos{} - // locationGranularity field - testPredictedQos.LocationGranularity = "100" // In meters - // Fill routeInfo list + pointA := LocationInfoGeoArea{7.413917, 43.733505} + locationInfoA := LocationInfo{nil, &pointA} + tsA := TimeStamp{0, 45} + pointB := LocationInfoGeoArea{7.413916, 43.733515} + locationInfoB := LocationInfo{nil, &pointB} + tsB := TimeStamp{0, 45} + // Fill PredictedQosRoutesRouteInfo with LocationInfo list routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - pointA := visClient.LocationInfoGeoArea{7.413917, 43.733505} - tsA := visClient.TimeStamp{0, 45} - routeInfo[0] = PredictedQosRoutesRouteInfo{pointA, &tsA, nil, nil} - pointB := visClient.LocationInfoGeoArea{7.413916, 43.733515} - tsB := visClient.TimeStamp{0, 60} - routeInfo[1] = PredictedQosRoutesRouteInfo{pointB, &tsB, nil, nil} - // Fill routes list - testPredictedQos.Routes = make([]visClient.PredictedQosRoutes, 1) - testPredictedQos.Routes[0].RouteInfo = make([]interface{}, 1) - testPredictedQos.Routes[0].RouteInfo[0] = routeInfo + routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, &tsA} + routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, &tsB} + // PredictedQosRoutes with PredictedQosRoutesRouteInfo list + predictedQosRoutes := PredictedQosRoutes{routeInfo} + // Fill PredictedQos with PredictedQosRoutes list + routes := make([]PredictedQosRoutes, 1) + routes[0] = predictedQosRoutes + testPredictedQos := PredictedQos{"100", routes, nil} fmt.Println("testPredictedQos: ", testPredictedQos) // Moving to initial position -- GitLab From 9cfa5ea42c2655159d7ad4025e240420df9d5c77 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 21 Feb 2022 14:44:15 +0100 Subject: [PATCH 018/183] Add test file for go-apps/meep-vis/server side --- go-apps/meep-vis/go.mod | 2 +- go-apps/meep-vis/server/vis_test.go | 488 ++++++++++++++++++++++++++++ test/run-ut.sh | 30 +- 3 files changed, 501 insertions(+), 19 deletions(-) create mode 100644 go-apps/meep-vis/server/vis_test.go diff --git a/go-apps/meep-vis/go.mod b/go-apps/meep-vis/go.mod index c5a818ac5..fba254422 100644 --- a/go-apps/meep-vis/go.mod +++ b/go-apps/meep-vis/go.mod @@ -5,7 +5,7 @@ go 1.12 require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go new file mode 100644 index 000000000..7ceee294f --- /dev/null +++ b/go-apps/meep-vis/server/vis_test.go @@ -0,0 +1,488 @@ +package server + +import ( + "errors" + "fmt" + "io" + "net/http" + "net/http/httptest" + "strconv" + "testing" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" + mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" + + "github.com/gorilla/mux" +) + +const INITIAL = 0 +const UPDATED = 1 + +//json format using spacing to facilitate reading +const testScenario string = ` +{ + "version":"1.5.3", + "name":"test-scenario", + "deployment":{ + "netChar":{ + "latency":50, + "latencyVariation":5, + "throughputDl":1000, + "throughputUl":1000 + }, + "domains":[ + { + "id":"PUBLIC", + "name":"PUBLIC", + "type":"PUBLIC", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000000, + "throughputUl":1000000 + }, + "zones":[ + { + "id":"PUBLIC-COMMON", + "name":"PUBLIC-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000000 + }, + "networkLocations":[ + { + "id":"PUBLIC-COMMON-DEFAULT", + "name":"PUBLIC-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":50000, + "throughputUl":50000, + "packetLoss":1 + } + } + ] + } + ] + }, + { + "id":"4da82f2d-1f44-4945-8fe7-00c0431ef8c7", + "name":"operator-cell1", + "type":"OPERATOR-CELLULAR", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000, + "throughputUl":1000 + }, + "cellularDomainConfig":{ + "mnc":"456", + "mcc":"123", + "defaultCellId":"1234567" + }, + "zones":[ + { + "id":"operator-cell1-COMMON", + "name":"operator-cell1-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"operator-cell1-COMMON-DEFAULT", + "name":"operator-cell1-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"0836975f-a7ea-41ec-b0e0-aff43178194d", + "name":"zone1", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"zone1-DEFAULT", + "name":"zone1-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "physicalLocations":[ + { + "id":"97b80da7-a74a-4649-bb61-f7fa4fbb2d76", + "name":"zone1-edge1", + "type":"EDGE", + "connected":true, + "processes":[ + { + "id":"fcf1269c-a061-448e-aa80-6dd9c2d4c548", + "name":"zone1-edge1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone1-edge1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"35697e68-c627-4b8d-9cd7-ad8b8e226aee", + "name":"zone1-edge1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-edge1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone1-edge1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7a6f8077-b0b3-403d-b954-3351e21afeb7", + "name":"zone1-poa-cell1", + "type":"POA-4G", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "poa4GConfig":{ + "cellId":"2345678" + }, + "physicalLocations":[ + { + "id":"32a2ced4-a262-49a8-8503-8489a94386a2", + "name":"ue1", + "type":"UE", + "connected":true, + "wireless":true, + "processes":[ + { + "id":"9bdd6acd-f6e4-44f6-a26c-8fd9abd338a7", + "name":"ue1-iperf", + "type":"UE-APP", + "image":"meep-docker-registry:30001/iperf-client", + "commandArguments":"-c, export; iperf -u -c $IPERF_SERVICE_HOST -p $IPERF_SERVICE_PORT\n-t 3600 -b 50M;", + "commandExe":"/bin/bash", + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"b1851da5-c9e1-4bd8-ad23-5925c82ee127", + "name":"zone1-fog1", + "type":"FOG", + "connected":true, + "processes":[ + { + "id":"c2f2fb5d-4053-4cee-a0ee-e62bbb7751b6", + "name":"zone1-fog1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone1-fog1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"53b5806b-e213-4c5a-a181-f1c31c24287b", + "name":"zone1-fog1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-fog1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone1-fog1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7ff90180-2c1a-4c11-b59a-3608c5d8d874", + "name":"zone1-poa-cell2", + "type":"POA-4G", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "poa4GConfig":{ + "cellId":"3456789" + } + } + ] + }, + { + "id":"d1f06b00-4454-4d35-94a5-b573888e7ea9", + "name":"zone2", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"zone2-DEFAULT", + "name":"zone2-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "physicalLocations":[ + { + "id":"fb130d18-fd81-43e0-900c-c584e7190302", + "name":"zone2-edge1", + "type":"EDGE", + "connected":true, + "processes":[ + { + "id":"5c8276ba-0b78-429d-a0bf-d96f35ba2c77", + "name":"zone2-edge1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone2-edge1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"53fa28f0-80e2-414c-8841-86db9bd37d51", + "name":"zone2-edge1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone2-edge1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone2-edge1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"c44b8937-58af-44b2-acdb-e4d1c4a1510b", + "name":"zone2-poa1", + "type":"POA", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":20, + "throughputUl":20 + } + } + ] + } + ] + }, + { + "id":"e29138fb-cf03-4372-8335-fd2665b77a11", + "name":"operator1", + "type":"OPERATOR", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000, + "throughputUl":1000 + }, + "zones":[ + { + "id":"operator1-COMMON", + "name":"operator1-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "networkLocations":[ + { + "id":"operator1-COMMON-DEFAULT", + "name":"operator1-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7d8bee73-6d5c-4c5a-a3a0-49ebe3cd2c71", + "name":"zone3", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "networkLocations":[ + { + "id":"zone3-DEFAULT", + "name":"zone3-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"ecc2a41b-7381-4108-a037-52862c520733", + "name":"poa1", + "type":"POA", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + } + ] + } + ] + } +}` + +const redisTestAddr = "localhost:30380" +const influxTestAddr = "http://localhost:30986" +const testScenarioName = "testScenario" + +var m *mod.Model +var mqLocal *mq.MsgQueue + +func TestNotImplemented(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + //s1_bearer_info + _, err := sendRequest(http.MethodGet, "/queries/uu_unicast_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoUuUnicastGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } +} diff --git a/test/run-ut.sh b/test/run-ut.sh index bf0519318..781f69d47 100755 --- a/test/run-ut.sh +++ b/test/run-ut.sh @@ -31,22 +31,16 @@ echo ">>> Running Unit Tests" echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" -#for pkg in "${GOPKGS[@]}" ; do -# echo "+ pkg: $pkg" -# cd $BASEDIR/../go-packages/$pkg -# go test -count=1 ./... -cover -# echo "" -#done +for pkg in "${GOPKGS[@]}" ; do + echo "+ pkg: $pkg" + cd $BASEDIR/../go-packages/$pkg + go test -count=1 ./... -cover + echo "" +done -#for app in "${GOAPPS[@]}" ; do -# echo "+ app: $app" -# cd $BASEDIR/../go-apps/$app -# go test -count=1 ./... -cover -# echo "" -#done - -app=meep-vis/server -echo "+ app: $app" -cd $BASEDIR/../go-apps/$app -go test -count=1 ./... -cover -echo "" +for app in "${GOAPPS[@]}" ; do + echo "+ app: $app" + cd $BASEDIR/../go-apps/$app + go test -v -count=1 ./... -cover + echo "" +done -- GitLab From aa53523c16c5b84f648bc010e8ad15dee44cac25 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 21 Feb 2022 15:56:33 +0100 Subject: [PATCH 019/183] Add first test on PredictedQos --- go-apps/meep-vis/server/vis_test.go | 121 +++++++++++++++++++++++++++- 1 file changed, 118 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 7ceee294f..6f1e7e6ad 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -1,17 +1,19 @@ package server import ( + "bytes" + "encoding/json" "errors" "fmt" "io" "net/http" "net/http/httptest" - "strconv" + //"strconv" "testing" "time" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" - met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + // met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" @@ -480,9 +482,122 @@ func TestNotImplemented(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) - //s1_bearer_info _, err := sendRequest(http.MethodGet, "/queries/uu_unicast_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoUuUnicastGET) if err != nil { t.Fatalf("Failed to get expected response") } } + +func TestPredictedQosPost(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + /****************************** + * expected response section + ******************************/ + // Initialize the data structure for the POST request + // MEC-030 Clause 6.2.5 + // MEC-030 Clause 7.6.3.4 + expected_pointA := LocationInfoGeoArea{7.413917, 43.733505} + expected_locationInfoA := LocationInfo{nil, &expected_pointA} + expected_pointB := LocationInfoGeoArea{7.413916, 43.733515} + expected_locationInfoB := LocationInfo{nil, &expected_pointB} + // Fill PredictedQosRoutesRouteInfo with LocationInfo list + expected_routeInfo := make([]PredictedQosRoutesRouteInfo, 2) + expected_routeInfo[0] = PredictedQosRoutesRouteInfo{&expected_locationInfoA, 0, 0, nil} + expected_routeInfo[1] = PredictedQosRoutesRouteInfo{&expected_locationInfoB, 0, 0, nil} + // PredictedQosRoutes with PredictedQosRoutesRouteInfo list + expected_predictedQosRoutes := PredictedQosRoutes{expected_routeInfo} + // Fill PredictedQos with PredictedQosRoutes list + expected_routes := make([]PredictedQosRoutes, 1) + expected_routes[0] = expected_predictedQosRoutes + expected_predictedQos := PredictedQos{"100", expected_routes, nil} + fmt.Println("expected_predictedQos: ", expected_predictedQos) + expected_predictedQos_str, err := json.Marshal(expected_predictedQos) + if err != nil { + t.Fatalf(err.Error()) + } + fmt.Println("expected_predictedQos_str: ", string(expected_predictedQos_str)) + + /****************************** + * request body section + ******************************/ + // Initialize the data structure for the POST request + // MEC-030 Clause 6.2.5 + // MEC-030 Clause 7.6.3.4 + pointA := LocationInfoGeoArea{7.413917, 43.733505} + locationInfoA := LocationInfo{nil, &pointA} + tsA := TimeStamp{0, 45} + pointB := LocationInfoGeoArea{7.413916, 43.733515} + locationInfoB := LocationInfo{nil, &pointB} + tsB := TimeStamp{0, 45} + // Fill PredictedQosRoutesRouteInfo with LocationInfo list + routeInfo := make([]PredictedQosRoutesRouteInfo, 2) + routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, &tsA} + routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, &tsB} + // PredictedQosRoutes with PredictedQosRoutesRouteInfo list + predictedQosRoutes := PredictedQosRoutes{routeInfo} + // Fill PredictedQos with PredictedQosRoutes list + routes := make([]PredictedQosRoutes, 1) + routes[0] = predictedQosRoutes + testPredictedQos := PredictedQos{"100", routes, nil} + fmt.Println("testPredictedQos: ", testPredictedQos) + body, err := json.Marshal(testPredictedQos) + if err != nil { + t.Fatalf(err.Error()) + } + fmt.Println("body: ", string(body)) + + /****************************** + * request execution section + ******************************/ + + rr, err := sendRequest(http.MethodPost, "/provide_predicted_qos", bytes.NewBuffer(body), nil, nil, http.StatusOK, PredictedQosPOST) + if err != nil { + t.Fatalf("Failed to get expected expected") + } + + var respBody PredictedQos + err = json.Unmarshal([]byte(rr), &respBody) + if err != nil { + t.Fatalf("Failed to get expected response") + } + fmt.Println("respBody: ", respBody) + if rr != string(expected_predictedQos_str) { + t.Fatalf("Failed to get expected response") + } +} + +func sendRequest(method string, url string, body io.Reader, vars map[string]string, query map[string]string, code int, f http.HandlerFunc) (string, error) { + req, err := http.NewRequest(method, url, body) + if err != nil || req == nil { + return "", err + } + if vars != nil { + req = mux.SetURLVars(req, vars) + } + if query != nil { + q := req.URL.Query() + for k, v := range query { + q.Add(k, v) + } + req.URL.RawQuery = q.Encode() + } + + // We create a ResponseRecorder (which satisfies http.ResponseWriter) to record the response. + rr := httptest.NewRecorder() + handler := http.HandlerFunc(f) + + // Our handlers satisfy http.Handler, so we can call their ServeHTTP method + // directly and pass in our Request and ResponseRecorder. + handler.ServeHTTP(rr, req) + + time.Sleep(50 * time.Millisecond) + + // Check the status code is what we expect. + if status := rr.Code; status != code { + s := fmt.Sprintf("Wrong status code - got %v want %v", status, code) + return "", errors.New(s) + } + return string(rr.Body.String()), nil +} -- GitLab From 0b239d6ddec10479a301c62f2f365d372c3eed49 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 23 Feb 2022 16:55:43 +0500 Subject: [PATCH 020/183] enable metrics collection --- go-apps/meep-vis/server/routers.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go-apps/meep-vis/server/routers.go b/go-apps/meep-vis/server/routers.go index b70f64e01..41d61f8a9 100644 --- a/go-apps/meep-vis/server/routers.go +++ b/go-apps/meep-vis/server/routers.go @@ -28,8 +28,8 @@ import ( "net/http" "strings" - // httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" - // met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" + met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" "github.com/gorilla/mux" ) @@ -49,8 +49,8 @@ func NewRouter() *mux.Router { for _, route := range routes { handler = route.HandlerFunc handler = Logger(handler, route.Name) - // handler = met.MetricsHandler(handler, sandboxName, serviceName) - // handler = httpLog.LogRx(handler, "") + handler = met.MetricsHandler(handler, sandboxName, serviceName) + handler = httpLog.LogRx(handler, "") router. Methods(route.Method). Path(route.Pattern). -- GitLab From 4579fb752a0538b0de8b5c310ff28df6f9d77d4e Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 23 Feb 2022 17:20:23 +0500 Subject: [PATCH 021/183] define serviceName for MEC030-VIS --- go-apps/meep-vis/server/vis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 5dd3267cb..28741018f 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -42,7 +42,7 @@ const moduleName = "meep-vis" const visBasePath = "vis/v2/" const visKey = "vis" -// const serviceName = "V2XI Service" +const serviceName = "V2XI Service" const serviceCategory = "V2XI" const defaultMepName = "global" const defaultScopeOfLocality = "MEC_SYSTEM" -- GitLab From 3da702ae12cd6533a85580a0b20340ff7a92a9a3 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 24 Feb 2022 20:12:45 +0500 Subject: [PATCH 022/183] add meep-vis in go-packages/meep-applications --- go-packages/meep-applications/application-store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-packages/meep-applications/application-store.go b/go-packages/meep-applications/application-store.go index 5cad8d8b3..f489ceb44 100644 --- a/go-packages/meep-applications/application-store.go +++ b/go-packages/meep-applications/application-store.go @@ -69,7 +69,7 @@ type ApplicationStore struct { mutex sync.Mutex } -var SysAppNames []string = []string{"meep-app-enablement", "meep-ams", "meep-loc-serv", "meep-rnis", "meep-wais"} +var SysAppNames []string = []string{"meep-app-enablement", "meep-ams", "meep-loc-serv", "meep-rnis", "meep-wais", "meep-vis"} // NewApplicationStore - Creates and initialize an Application Store instance func NewApplicationStore(cfg *ApplicationStoreCfg) (as *ApplicationStore, err error) { -- GitLab From 5b268f0a16feabd20bb5b68ebc3a60239e6adccb Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 3 Mar 2022 18:27:45 +0500 Subject: [PATCH 023/183] update enum for OAS of meep-vis --- .../meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml | 70 +- go-apps/meep-vis/api/swagger.yaml | 1525 ++++++++++------- .../server/model_transmission_bandwidth.go | 2 +- .../server/model_v2x_msg_notification.go | 2 +- .../server/model_v2x_msg_publication.go | 2 +- 5 files changed, 931 insertions(+), 670 deletions(-) diff --git a/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml b/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml index 7bf4fe1e2..b381726dc 100644 --- a/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml +++ b/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml @@ -1180,13 +1180,13 @@ components: 6 = bw100 (100 resource blocks)' enum: - - '1' - - '2' - - '3' - - '4' - - '5' - - '6' - type: string + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum required: @@ -1410,20 +1410,20 @@ components: − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, enum: - - '1' - - '2' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - '10' - - '11' - - '12' - - '13' - type: string + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum notificationType: @@ -1496,20 +1496,20 @@ components: − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, enum: - - '1' - - '2' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - '10' - - '11' - - '12' - - '13' - type: string + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum stdOrganization: diff --git a/go-apps/meep-vis/api/swagger.yaml b/go-apps/meep-vis/api/swagger.yaml index 7d972c16e..532a0c31c 100644 --- a/go-apps/meep-vis/api/swagger.yaml +++ b/go-apps/meep-vis/api/swagger.yaml @@ -1,85 +1,99 @@ openapi: 3.0.0 info: - title: ETSI GS MEC 030 V2X Information Service API - description: ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + title: AdvantEDGE V2X Information Service REST API + description: + V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about radio conditions in the network

**Note**
AdvantEDGE supports + a selected subset of RNI API endpoints (see below) and a subset of subscription + types. contact: - name: ETSI Forge - url: https://forge.etsi.org/rep/mec/gs030-vis-api - email: cti_support@etsi.org + name: InterDigital AdvantEDGE Support + email: AdvantEDGE@InterDigital.com license: - name: BSD-3-Clause - url: https://forge.etsi.org/legal-matters + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE version: 2.2.1 externalDocs: description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf servers: -- url: https://localhost/vis/v2 + - url: https://localhost/sandboxname/vis/v2 tags: -- name: QoS -- name: unsupported + - name: QoS + - name: unsupported paths: /queries/uu_unicast_provisioning_info: get: tags: - - unsupported - summary: Used to query provisioning information for V2X communication over Uu + - unsupported + summary: + Used to query provisioning information for V2X communication over Uu unicast. - description: Used to query provisioning information for V2X communication over + description: + Used to query provisioning information for V2X communication over Uu unicast. operationId: prov_info_uu_unicastGET parameters: - - name: location_info - in: query - description: Comma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: + Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - "200": + '200': description: 'A response body containing the Uu unicast provisioning information. ' content: application/json: schema: $ref: '#/components/schemas/UuUnicastProvisioningInfo' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -88,62 +102,67 @@ paths: /queries/uu_mbms_provisioning_info: get: tags: - - unsupported + - unsupported summary: retrieve information required for V2X communication over Uu MBMS. description: retrieve information required for V2X communication over Uu MBMS. operationId: prov_info_uu_mbmsGET parameters: - - name: location_info - in: query - description: omma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: + omma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - "200": + '200': description: 'A response body containing the Uu unicast provisioning information. ' content: application/json: schema: $ref: '#/components/schemas/UuMbmsProvisioningInfo' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -152,63 +171,69 @@ paths: /queries/pc5_provisioning_info: get: tags: - - unsupported + - unsupported summary: Query provisioning information for V2X communication over PC5. description: Query provisioning information for V2X communication over PC5. operationId: prov_infoGET parameters: - - name: location_info - in: query - description: Comma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: + Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - "200": - description: A response body containing the PC5 provisioning information + '200': + description: + A response body containing the PC5 provisioning information is returned. content: application/json: schema: $ref: '#/components/schemas/Pc5ProvisioningInfo' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -217,10 +242,12 @@ paths: /provide_predicted_qos: post: tags: - - QoS - summary: Request the predicted QoS correspondent to potential routes of a vehicular + - QoS + summary: + Request the predicted QoS correspondent to potential routes of a vehicular UE. - description: Request the predicted QoS correspondent to potential routes of + description: + Request the predicted QoS correspondent to potential routes of a vehicular UE. operationId: predicted_qosPOST requestBody: @@ -230,35 +257,39 @@ paths: $ref: '#/components/schemas/PredictedQos' required: true responses: - "200": - description: The response body shall contain the predicted QoS corresponding + '200': + description: + The response body shall contain the predicted QoS corresponding to potential routes of a vehicular UE content: application/json: schema: $ref: '#/components/schemas/PredictedQos' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: @@ -267,7 +298,7 @@ paths: /publish_v2x_message: post: tags: - - unsupported + - unsupported summary: Used to publish a V2X message. description: Used to publish a V2X message. operationId: v2x_messagePOST @@ -278,43 +309,47 @@ paths: $ref: '#/components/schemas/V2xMsgPublication' required: true responses: - "204": + '204': description: No Content - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -323,66 +358,72 @@ paths: /subscriptions: get: tags: - - unsupported + - unsupported summary: Request information about the subscriptions for this requestor. description: Request information about the subscriptions for this requestor. operationId: subGET parameters: - - name: subscription_type - in: query - description: 'Query parameter to filter on a specific subscription type. Permitted - values: prov_chg_uu_uni: provisioning information change for V2X communication - over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X - communication over Uu MBMS prov_chg_uu_pc5: provisioning information change - for V2X communication over PC5. v2x_msg: V2X interoperability message' - required: false - style: form - explode: true - schema: - type: string + - name: subscription_type + in: query + description: + 'Query parameter to filter on a specific subscription type. Permitted + values: prov_chg_uu_uni: provisioning information change for V2X communication + over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X + communication over Uu MBMS prov_chg_uu_pc5: provisioning information change + for V2X communication over PC5. v2x_msg: V2X interoperability message' + required: false + style: form + explode: true + schema: + type: string responses: - "200": - description: A response body containing the list of links to requestor subscriptions + '200': + description: + A response body containing the list of links to requestor subscriptions is returned. content: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -390,7 +431,7 @@ paths: $ref: '#/components/schemas/ProblemDetails' post: tags: - - unsupported + - unsupported summary: ' create a new subscription to VIS notifications.' description: ' create a new subscription to VIS notifications.' operationId: subPOST @@ -401,56 +442,63 @@ paths: $ref: '#/components/schemas/body' required: true responses: - "201": - description: In the returned NotificationSubscription structure, the created + '201': + description: + In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type. content: application/json: schema: $ref: '#/components/schemas/body' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "415": - description: 'Unsupported Media Type : used to indicate that the server + '415': + description: + 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "422": - description: 'Unprocessable Entity : used to indicate that the server understands + '422': + description: + 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is @@ -461,7 +509,7 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -480,74 +528,80 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniNotification' - - $ref: '#/components/schemas/ProvChgUuMbmsNotification' - - $ref: '#/components/schemas/ProvChgPc5Notification' - - $ref: '#/components/schemas/V2xMsgNotification' + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' required: true responses: - "204": + '204': description: No Content /subscriptions/{subscriptionId}: get: tags: - - unsupported + - unsupported summary: Retrieve information about this subscription. description: Retrieve information about this subscription. operationId: individualSubscriptionGET parameters: - - name: subscriptionId - in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: + Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - "200": - description: A response body containing the data type describing the specific + '200': + description: + A response body containing the data type describing the specific RNI event subscription is returned content: application/json: schema: $ref: '#/components/schemas/body' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -555,20 +609,21 @@ paths: $ref: '#/components/schemas/ProblemDetails' put: tags: - - unsupported + - unsupported summary: Used to update the existing subscription. description: Used to update the existing subscription. operationId: individualSubscriptionPUT parameters: - - name: subscriptionId - in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: + Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string requestBody: content: application/json: @@ -576,57 +631,64 @@ paths: $ref: '#/components/schemas/body_1' required: true responses: - "200": - description: A response body containing data type describing the updated + '200': + description: + A response body containing data type describing the updated subscription is returned content: application/json: schema: $ref: '#/components/schemas/body_1' - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "412": - description: 'Precondition failed : used when a condition has failed during + '412': + description: + 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "422": - description: 'Unprocessable Entity : used to indicate that the server understands + '422': + description: + 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is @@ -637,135 +699,138 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - post: - tags: - - QoS - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. - operationId: mec011AppTerminationPOST - parameters: - - name: subscriptionId - in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string - requestBody: - description: Termination notification details - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - _links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination - required: true - responses: - "204": - description: No Content - x-swagger-router-controller: notifications delete: tags: - - unsupported + - unsupported summary: Used to cancel the existing subscription. description: Used to cancel the existing subscription. operationId: individualSubscriptionDELETE parameters: - - name: subscriptionId - in: path - description: Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: + Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - "204": + '204': description: No Content - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + /notifications/mec011/appTermination: + post: + tags: + - QoS + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + '204': + description: No Content + x-swagger-router-controller: notifications components: schemas: CellId: required: - - cellId + - cellId type: object properties: cellId: type: string description: E-UTRAN Cell Identity as a bit string (size (28)). - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String + example: + cellId: cellId x-etsi-ref: 6.6.2 Earfcn: required: - - earfcn + - earfcn type: object properties: earfcn: type: integer - description: E-UTRA Absolute Radio Frequency Channel Number, range (0... + description: + E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Integer x-etsi-ref: 6.6.3 Ecgi: required: - - cellId - - plmn + - cellId + - plmn type: object properties: cellId: $ref: '#/components/schemas/CellId' plmn: $ref: '#/components/schemas/Plmn' + example: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.5 FddInfo: required: - - dlEarfcn - - dlTransmissionBandwidth - - ulEarfcn - - ulTransmissionBandwidth + - dlEarfcn + - dlTransmissionBandwidth + - ulEarfcn + - ulTransmissionBandwidth type: object properties: dlEarfcn: @@ -777,27 +842,28 @@ components: ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.6 - Links: + links: required: - - self + - self type: object properties: self: $ref: '#/components/schemas/LinkType' - description: Hyperlink related to the resource. This shall be only included + description: + Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) LinkType: required: - - href + - href type: object properties: href: type: string description: URI referring to a resource format: uri - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uri example: href: http://example.com/aeiou @@ -808,37 +874,52 @@ components: ecgi: $ref: '#/components/schemas/Ecgi' geoArea: - $ref: '#/components/schemas/GeoArea' + $ref: '#/components/schemas/LocationInfo.geoArea' + example: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." x-etsi-ref: 6.5.3 - GeoArea: + LocationInfo.geoArea: required: - - latitude - - longitude + - latitude + - longitude type: object properties: latitude: type: number - description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + description: + Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd format: float - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Float longitude: type: number - description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + description: + Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd format: float - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Float description: Information of a geographical area. + example: + latitude: 0.8008282 + longitude: 6.0274563 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) Pc5NeighbourCellInfo: required: - - ecgi - - plmn - - siV2xConfig + - ecgi + - plmn + - siV2xConfig type: object properties: ecgi: @@ -850,17 +931,17 @@ components: x-etsi-ref: 6.5.12 Pc5ProvisioningInfo: required: - - proInfoPc5 + - proInfoPc5 type: array items: $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' x-etsi-ref: 6.2.4 x-schema-name: Pc5ProvisioningInfo - ProInfoPc5: + Pc5ProvisioningInfo.proInfoPc5: minItems: 1 required: - - dstLayer2Id - - locationInfo + - dstLayer2Id + - locationInfo type: array properties: dstLayer2Id: @@ -868,14 +949,15 @@ components: description: |- For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' @@ -886,71 +968,173 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoPc5 + x-schema-name: Pc5ProvisioningInfo.proInfoPc5 Plmn: required: - - mcc - - mnc + - mcc + - mnc type: object properties: mcc: type: string description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String mnc: type: string description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String + example: + mnc: mnc + mcc: mcc x-etsi-ref: 6.5.4 PredictedQos: required: - - locationGranularity - - routes + - locationGranularity + - routes type: object properties: locationGranularity: type: string description: Granularity of visited location. Measured in meters. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String routes: - $ref: '#/components/schemas/Routes' + minItems: 1 + required: + - routeInfo + type: array + description: + Information relating to the potential routes of a vehicular + UE. + items: + $ref: '#/components/schemas/PredictedQos.routes' + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) timeGranularity: $ref: '#/components/schemas/TimeStamp' example: routes: - - routeInfo: - - {} - - {} - - routeInfo: - - {} - - {} - timeGranularity: - seconds: 6 - nanoSeconds: 0 + - routeInfo: + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - routeInfo: + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + timeGranularity: null locationGranularity: locationGranularity - x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ + x-etsi-notes: + "NOTE:\tThe data type of locationGranularity is a string which\ \ indicates the granularity of a visited location by means of latitudinal\ \ and longitudinal margins." x-etsi-ref: 6.2.5 - Routes: + PredictedQos.routes: minItems: 1 - required: - - routeInfo - type: array - description: Information relating to the potential routes of a vehicular UE. - items: - $ref: '#/components/schemas/Routes_inner' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: Routes - RouteInfo: - minItems: 2 - required: - - location - type: array + type: object + properties: + routeInfo: + minItems: 2 + required: + - location + type: array + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + $ref: '#/components/schemas/PredictedQos.routes.routeInfo' + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + example: + routeInfo: + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + - rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 + PredictedQos.routes.routeInfo: + type: object properties: location: $ref: '#/components/schemas/LocationInfo' @@ -972,26 +1156,36 @@ components: x-etsi-mec-origin-type: Uint8 time: $ref: '#/components/schemas/TimeStamp' - description: |- - Information relating to a specific route. - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - items: - type: object - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: RouteInfo + example: + rsrq: 5 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 1 + time: + seconds: 6 + nanoSeconds: 0 ProblemDetails: type: object properties: detail: type: string - description: A human-readable explanation specific to this occurrence of + description: + A human-readable explanation specific to this occurrence of the problem x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String instance: type: string - description: A URI reference that identifies the specific occurrence of + description: + A URI reference that identifies the specific occurrence of the problem format: uri x-etsi-mec-cardinality: 0..1 @@ -1009,20 +1203,22 @@ components: x-etsi-mec-origin-type: String type: type: string - description: A URI reference according to IETF RFC 3986 that identifies + description: + A URI reference according to IETF RFC 3986 that identifies the problem type format: uri x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI ProvChgPc5Notification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: dstLayer2Id: type: string - description: For sidelink communication, the Destination Layer-2 ID is set + description: + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String @@ -1031,7 +1227,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' @@ -1040,22 +1237,23 @@ components: notificationType: type: string description: Shall be set to "ProvChgPc5Notification". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' x-etsi-ref: 6.4.4 ProvChgPc5Subscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string - description: URI exposed by the client on which to receive notifications + description: + URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1063,7 +1261,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgPc5SubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' requestTestNotification: type: boolean description: |- @@ -1074,47 +1272,51 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgPc5Subscription". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig + x-etsi-notes: + 'NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.' x-etsi-ref: 6.3.4 - ProvChgPc5SubscriptionFilterCriteria: + ProvChgPc5Subscription.filterCriteria: required: - - dstLayer2Id - - locationInfo + - dstLayer2Id + - locationInfo type: object properties: dstLayer2Id: type: string - description: For sidelink communication, the Destination Layer-2 ID is set + description: + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: List of filtering criteria for the subscription. Any filtering + description: + List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) ProvChgUuMbmsNotification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: locationInfo: @@ -1122,7 +1324,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1131,7 +1334,7 @@ components: notificationType: type: string description: Shall be set to "ProvChgUuMbmsNotification". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' @@ -1140,15 +1343,16 @@ components: x-etsi-ref: 6.4.3 ProvChgUuMbmsSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string - description: URI exposed by the client on which to receive notifications + description: + URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1156,7 +1360,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuMbmsSubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' requestTestNotification: type: boolean description: |- @@ -1167,19 +1371,20 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgUuMbmsSubscription". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: + "NOTE:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.3 - ProvChgUuMbmsSubscriptionFilterCriteria: + ProvChgUuMbmsSubscription.filterCriteria: required: - - locationInfo - - v2xServerUsd + - locationInfo + - v2xServerUsd type: object properties: locationInfo: @@ -1187,7 +1392,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1195,15 +1401,16 @@ components: x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo v2xServerUsd: $ref: '#/components/schemas/V2xServerUsd' - description: List of filtering criteria for the subscription. Any filtering + description: + List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) ProvChgUuUniNotification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: locationInfo: @@ -1211,7 +1418,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1220,7 +1428,7 @@ components: notificationType: type: string description: Shall be set to "ProvChgUuUniNotification". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' @@ -1229,15 +1437,16 @@ components: x-etsi-ref: 6.4.2 ProvChgUuUniSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string - description: URI exposed by the client on which to receive notifications + description: + URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1245,7 +1454,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/ProvChgUuUniSubscriptionFilterCriteria' + $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' requestTestNotification: type: boolean description: |- @@ -1256,19 +1465,20 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgUuUniSubscription". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: + "NOTE:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.2 - ProvChgUuUniSubscriptionFilterCriteria: + ProvChgUuUniSubscription.filterCriteria: required: - - locationInfo - - v2xApplicationServer + - locationInfo + - v2xApplicationServer type: object properties: locationInfo: @@ -1276,7 +1486,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1284,38 +1495,39 @@ components: x-etsi-mec-origin-type: UuUniNeighbourCellInfo v2xApplicationServer: $ref: '#/components/schemas/V2xApplicationServer' - description: List of filtering criteria for the subscription. Any filtering + description: + List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) SubscriptionLinkList: required: - - _links + - _links type: object properties: _links: - $ref: '#/components/schemas/SubscriptionLinkListLinks' + $ref: '#/components/schemas/SubscriptionLinkList.links' example: _links: - - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou - - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou + - subscriptions: + - {} + - {} + self: + href: http://example.com/aeiou x-etsi-ref: 6.3.6 SystemInformationBlockType21: type: object TddInfo: required: - - earfcn - - subframeAssignment - - transmissionBandwidth + - earfcn + - subframeAssignment + - transmissionBandwidth type: object properties: earfcn: @@ -1323,51 +1535,52 @@ components: subframeAssignment: type: string description: Uplink-downlink subframe configuration information. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' x-etsi-ref: 6.5.7 - SubscriptionLinkListLinks: + SubscriptionLinkList.links: required: - - self + - self type: array description: List of hyperlinks related to the resource. items: - $ref: '#/components/schemas/SubscriptionLinkListLinks_inner' - x-etsi-mec-cardinality: "1" + $ref: SubscriptionLinkList.links_inner + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkListLinks - SubscriptionLinkListLinksSubscriptions: + x-schema-name: SubscriptionLinkList.links + SubscriptionLinkList.links.subscriptions: minItems: 0 required: - - href - - subscriptionType + - href + - subscriptionType type: array properties: href: type: string description: The URI referring to the subscription. format: uri - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: URI subscriptionType: type: string - description: Type of the subscription. The values are as defined in the + description: + Type of the subscription. The values are as defined in the "subscriptionType" attribute for each different V2X information event subscription data type. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String description: The service consumer's subscriptions. items: type: object x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkListLinksSubscriptions + x-schema-name: SubscriptionLinkList.links.subscriptions TestNotification: required: - - _links - - notificationType + - _links + - notificationType type: object properties: _links: @@ -1375,28 +1588,30 @@ components: notificationType: type: string description: Shall be set to "TestNotification". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String x-etsi-ref: 6.4.6 TimeStamp: required: - - nanoSeconds - - seconds + - nanoSeconds + - seconds type: object properties: nanoSeconds: type: integer - description: The nanoseconds part of the time. Time is defined as Unix-time + description: + The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. format: uint32 - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 seconds: type: integer - description: The seconds part of the time. Time is defined as Unixtime since + description: + The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. format: uint32 - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 example: seconds: 6 @@ -1404,45 +1619,43 @@ components: x-etsi-ref: 6.5.2 TransmissionBandwidth: required: - - transmissionBandwidth + - transmissionBandwidth type: object properties: transmissionBandwidth: - $ref: '#/components/schemas/TransmissionBandwidth_transmissionBandwidth' - x-etsi-ref: 6.6.4 - TransmissionBandwidth_transmissionBandwidth: - type: string - description: | - 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + type: integer + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: - 1 = bw6 (6 resource blocks) + 1 = bw6 (6 resource blocks) - 2 = bw15 (15 resource blocks) + 2 = bw15 (15 resource blocks) - 3 = bw25 (25 resource blocks) + 3 = bw25 (25 resource blocks) - 4 = bw50 (50 resource blocks) + 4 = bw50 (50 resource blocks) - 5 = bw75 (75 resource blocks) + 5 = bw75 (75 resource blocks) - 6 = bw100 (100 resource blocks)' - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + 6 = bw100 (100 resource blocks)' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + x-etsi-ref: 6.6.4 UuMbmsNeighbourCellInfo: required: - - ecgi - - fddInfo - - mbmsServiceAreaIdentity - - pci - - plmn - - tddInfo + - ecgi + - fddInfo + - mbmsServiceAreaIdentity + - pci + - plmn + - tddInfo type: object properties: ecgi: @@ -1460,7 +1673,7 @@ components: pci: type: integer description: Physical Cell Identifier. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Integer plmn: $ref: '#/components/schemas/Plmn' @@ -1469,17 +1682,17 @@ components: x-etsi-ref: 6.5.11 UuMbmsProvisioningInfo: required: - - proInfoUuMbms + - proInfoUuMbms type: array items: $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' x-etsi-ref: 6.2.3 x-schema-name: UuMbmsProvisioningInfo - ProInfoUuMbms: + UuMbmsProvisioningInfo.proInfoUuMbms: minItems: 1 required: - - locationInfo - - v2xServerUsd + - locationInfo + - v2xServerUsd type: array properties: locationInfo: @@ -1487,7 +1700,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1500,14 +1714,14 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoUuMbms + x-schema-name: UuMbmsProvisioningInfo.proInfoUuMbms UuUniNeighbourCellInfo: required: - - ecgi - - fddInfo - - pci - - plmn - - tddInfo + - ecgi + - fddInfo + - pci + - plmn + - tddInfo type: object properties: ecgi: @@ -1517,7 +1731,7 @@ components: pci: type: integer description: Physical Cell Identifier. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Integer plmn: $ref: '#/components/schemas/Plmn' @@ -1526,17 +1740,17 @@ components: x-etsi-ref: 6.5.9 UuUnicastProvisioningInfo: required: - - proInfoUuUnicast + - proInfoUuUnicast type: array items: $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' x-etsi-ref: 6.2.2 x-schema-name: UuUnicastProvisioningInfo - ProInfoUuUnicast: + UuUnicastProvisioningInfo.proInfoUuUnicast: minItems: 1 required: - - locationInfo - - v2xApplicationServer + - locationInfo + - v2xApplicationServer type: array properties: locationInfo: @@ -1544,7 +1758,8 @@ components: neighbourCellInfo: minItems: 0 type: array - description: The information of the neighbour cells in a visiting PLMN that + description: + The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1557,157 +1772,193 @@ components: type: object x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: ProInfoUuUnicast + x-schema-name: UuUnicastProvisioningInfo.proInfoUuUnicast V2xApplicationServer: required: - - ipAddress - - udpPort + - ipAddress + - udpPort type: object properties: ipAddress: type: string - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String udpPort: type: string - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String x-etsi-ref: 6.5.8 V2xMsgNotification: required: - - _links - - msgContent - - msgEncodeFormat - - msgType - - notificationType - - stdOrganization - - timeStamp + - _links + - msgContent + - msgEncodeFormat + - msgType + - notificationType + - stdOrganization + - timeStamp type: object properties: _links: - $ref: '#/components/schemas/V2xMsgNotificationLinks' + $ref: '#/components/schemas/V2xMsgNotification.links' msgContent: type: string - description: Published V2X message content. The format of the string is + description: + Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String msgEncodeFormat: type: string description: The encode format of the V2X message, for example base64. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String msgType: - $ref: '#/components/schemas/MsgType' + type: integer + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum notificationType: type: string description: Shall be set to "V2xMsgNotification". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String stdOrganization: type: string - description: "Standardization organization which defines the published V2X\ + description: + "Standardization organization which defines the published V2X\ \ message type: \nETSI: European Telecommunications Standards Institute.\n\ See note 1." enum: - - ETSI - x-etsi-mec-cardinality: "1" + - ETSI + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum timeStamp: $ref: '#/components/schemas/TimeStamp' - x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + x-etsi-notes: + "NOTE 1:\tOther standardization organizations could be added as\ \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.4.5 - V2xMsgNotificationLinks: + V2xMsgNotification.links: required: - - subscription + - subscription type: object properties: subscription: $ref: '#/components/schemas/LinkType' description: Links to resources related to this notification. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) V2xMsgPublication: required: - - msgContent - - msgEncodeFormat - - msgType - - stdOrganization + - msgContent + - msgEncodeFormat + - msgType + - stdOrganization type: object properties: msgContent: type: string - description: Published V2X message content. Its format is defined by the + description: + Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String msgEncodeFormat: type: string description: The encode format of the V2X message, for example base64. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String msgType: - $ref: '#/components/schemas/MsgType' + type: integer + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum stdOrganization: type: string - description: "Standardization organization which defines the published V2X\ + description: + "Standardization organization which defines the published V2X\ \ message type:\nETSI: European Telecommunications Standards Institute.\ \ \nSee note 1." enum: - - ETSI - x-etsi-mec-cardinality: "1" + - ETSI + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum - x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ + x-etsi-notes: + "NOTE 1:\tOther standardization organizations could be added as\ \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 - MsgType: - type: string - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum V2xMsgSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: - $ref: '#/components/schemas/Links' + $ref: '#/components/schemas/links' callbackReference: type: string - description: URI exposed by the client on which to receive notifications + description: + URI exposed by the client on which to receive notifications via HTTP. See note 1. format: uri x-etsi-mec-cardinality: 0..1 @@ -1715,7 +1966,7 @@ components: expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/V2xMsgSubscriptionFilterCriteria' + $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' requestTestNotification: type: boolean description: |- @@ -1726,11 +1977,12 @@ components: subscriptionType: type: string description: Shall be set to "V2xMsgSubscription". - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: + "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\t\ @@ -1738,15 +1990,16 @@ components: \ V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2\ \ [6], clause A.114." x-etsi-ref: 6.3.5 - V2xMsgSubscriptionFilterCriteria: + V2xMsgSubscription.filterCriteria: required: - - stdOrganization + - stdOrganization type: object properties: msgType: minItems: 0 type: array - description: Subscribed V2X message type. Its value is defined by the standardization + description: + Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. items: type: string @@ -1754,95 +2007,102 @@ components: x-etsi-mec-origin-type: Enum stdOrganization: type: string - description: "Standardization organization which defines the subscribed\ + description: + "Standardization organization which defines the subscribed\ \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ \ \nSee note 2." enum: - - ETSI - x-etsi-mec-cardinality: "1" + - ETSI + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum - description: List of filtering criteria for the subscription. Any filtering + description: + List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd: required: - - sdpInfo - - serviceAreaIdentifier - - tmgi + - sdpInfo + - serviceAreaIdentifier + - tmgi type: object properties: sdpInfo: - $ref: '#/components/schemas/SdpInfo' + $ref: '#/components/schemas/V2xServerUsd.sdpInfo' serviceAreaIdentifier: minItems: 1 type: array - description: A list of service area identifier for the applicable MBMS broadcast + description: + A list of service area identifier for the applicable MBMS broadcast area. items: type: string x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: String tmgi: - $ref: '#/components/schemas/Tmgi' + $ref: '#/components/schemas/V2xServerUsd.tmgi' x-etsi-ref: 6.5.10 - SdpInfo: + V2xServerUsd.sdpInfo: required: - - ipMulticastAddress - - portNumber + - ipMulticastAddress + - portNumber type: object properties: ipMulticastAddress: type: string - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String portNumber: type: string - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - description: SDP with IP multicast address and port number used for V2X communication + description: + SDP with IP multicast address and port number used for V2X communication via MBMS. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) - Tmgi: + V2xServerUsd.tmgi: required: - - mbmsServiceId - - mcc - - mnc + - mbmsServiceId + - mcc + - mnc type: object properties: mbmsServiceId: type: string description: MBMS Service ID consisting of three octets. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String mcc: type: string description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String mnc: type: string description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - description: Temporary Mobile Group Identity (TMGI), which is used within MBMS + description: + Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. - x-etsi-mec-cardinality: "" + x-etsi-mec-cardinality: '' x-etsi-mec-origin-type: Structure (inlined) WebsockNotifConfig: type: object properties: requestWebsocketUri: type: boolean - description: Set to TRUE by the service consumer to indicate that Websocket + description: + Set to TRUE by the service consumer to indicate that Websocket delivery is requested. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean websocketUri: type: string - description: Set by VIS to indicate to the service consumer the Websocket + description: + Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. format: uri x-etsi-mec-cardinality: 0..1 @@ -1850,10 +2110,10 @@ components: x-etsi-ref: 6.5.14 AppTerminationNotification: required: - - _links - - maxGracefulTimeout - - notificationType - - operationAction + - _links + - maxGracefulTimeout + - notificationType + - operationAction type: object properties: notificationType: @@ -1863,37 +2123,39 @@ components: $ref: '#/components/schemas/OperationActionType' maxGracefulTimeout: type: integer - description: Maximum timeout value in seconds for graceful termination or + description: + Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. format: uint32 _links: $ref: '#/components/schemas/AppTerminationNotification__links' - description: This type represents the information that the MEC platform notifies + description: + This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. OperationActionType: type: string description: Operation that is being performed on the MEC application instance. enum: - - STOPPING - - TERMINATING + - STOPPING + - TERMINATING body: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' body_1: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' Pc5ProvisioningInfo_inner: type: object properties: proInfoPc5: - $ref: '#/components/schemas/ProInfoPc5' + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1901,33 +2163,24 @@ components: seconds: 6 nanoSeconds: 0 proInfoPc5: - - {} - - {} - Routes_inner: - type: object - properties: - routeInfo: - $ref: '#/components/schemas/RouteInfo' - example: - routeInfo: - - {} - - {} - SubscriptionLinkListLinks_inner: + - {} + - {} + SubscriptionLinkList.links_inner: type: object properties: self: $ref: '#/components/schemas/LinkType' subscriptions: - $ref: '#/components/schemas/SubscriptionLinkListLinksSubscriptions' + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' example: subscriptions: - - {} - - {} + - {} + - {} self: href: http://example.com/aeiou TestNotification__links: required: - - subscription + - subscription type: object properties: subscription: @@ -1937,7 +2190,7 @@ components: type: object properties: proInfoUuMbms: - $ref: '#/components/schemas/ProInfoUuMbms' + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1945,13 +2198,13 @@ components: seconds: 6 nanoSeconds: 0 proInfoUuMbms: - - {} - - {} + - {} + - {} UuUnicastProvisioningInfo_inner: type: object properties: proInfoUuUnicast: - $ref: '#/components/schemas/ProInfoUuUnicast' + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' timeStamp: $ref: '#/components/schemas/TimeStamp' example: @@ -1959,11 +2212,11 @@ components: seconds: 6 nanoSeconds: 0 proInfoUuUnicast: - - {} - - {} + - {} + - {} AppTerminationNotification__links: required: - - subscription + - subscription type: object properties: subscription: @@ -1972,68 +2225,76 @@ components: $ref: '#/components/schemas/LinkType' description: Object containing hyperlinks related to the resource. responses: - "204": + '204': description: No Content - "206": + '206': description: Partial content - "400": - description: 'Bad Request : used to indicate that incorrect parameters were + '400': + description: + 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": + '401': description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden : operation is not allowed given the current status + '403': + description: + 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: 'Not Found : used when a client provided a URI that cannot be + '404': + description: + 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "406": - description: 'Not Acceptable : used to indicate that the server cannot provide + '406': + description: + 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "409": - description: 'Conflict : The operation cannot be executed currently, due to + '409': + description: + 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "412": - description: 'Precondition failed : used when a condition has failed during + '412': + description: + 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "415": - description: 'Unsupported Media Type : used to indicate that the server or + '415': + description: + 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "422": - description: 'Unprocessable Entity : used to indicate that the server understands + '422': + description: + 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct @@ -2044,7 +2305,7 @@ components: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": + '429': description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: diff --git a/go-apps/meep-vis/server/model_transmission_bandwidth.go b/go-apps/meep-vis/server/model_transmission_bandwidth.go index 7933f6904..fdd2dea67 100644 --- a/go-apps/meep-vis/server/model_transmission_bandwidth.go +++ b/go-apps/meep-vis/server/model_transmission_bandwidth.go @@ -25,5 +25,5 @@ package server type TransmissionBandwidth struct { // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' - TransmissionBandwidth string `json:"transmissionBandwidth"` + TransmissionBandwidth int32 `json:"transmissionBandwidth"` } diff --git a/go-apps/meep-vis/server/model_v2x_msg_notification.go b/go-apps/meep-vis/server/model_v2x_msg_notification.go index 9a84a9cb4..37b364944 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_notification.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification.go @@ -30,7 +30,7 @@ type V2xMsgNotification struct { // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType string `json:"msgType"` + MsgType int32 `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. diff --git a/go-apps/meep-vis/server/model_v2x_msg_publication.go b/go-apps/meep-vis/server/model_v2x_msg_publication.go index f9a1bb57f..d80b42dd2 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_publication.go +++ b/go-apps/meep-vis/server/model_v2x_msg_publication.go @@ -29,7 +29,7 @@ type V2xMsgPublication struct { // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType string `json:"msgType"` + MsgType int32 `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` } -- GitLab From ea7b9db286059c6aa187c1bc55db3fb6eb31253f Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 5 Apr 2022 15:32:41 +0500 Subject: [PATCH 024/183] add calculations for RSRQ and RSRP for a coordinate in asset manager --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 77 ++++++++++++++++++++- go-packages/meep-gis-asset-mgr/go.sum | 1 + 2 files changed, 76 insertions(+), 2 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 9ba98e91c..c2ce8150f 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -18,8 +18,10 @@ package gisassetmgr import ( "database/sql" + "encoding/json" "errors" "sort" + "strconv" "strings" "time" @@ -1445,7 +1447,7 @@ func (am *AssetMgr) AdvanceUePosition(name string, increment float32) (err error CASE WHEN 1 < (path_fraction + ($2 * path_increment)) %2 THEN ST_LineInterpolatePoint(path, 1 - ((path_fraction + ($2 * path_increment)) %1)) - ELSE + ELSE ST_LineInterpolatePoint(path, (path_fraction + ($2 * path_increment)) %1) END END, @@ -1493,7 +1495,7 @@ func (am *AssetMgr) AdvanceAllUePosition(increment float32) (err error) { CASE WHEN 1 < (path_fraction + ($1 * path_increment)) %2 THEN ST_LineInterpolatePoint(path, 1 - ((path_fraction + ($1 * path_increment)) %1)) - ELSE + ELSE ST_LineInterpolatePoint(path, (path_fraction + ($1 * path_increment)) %1) END END, @@ -2092,3 +2094,74 @@ func (am *AssetMgr) GetWithinRangeBetweenPoints(srcCoordinates string, dstCoordi } return within, err } + +type PowerValue struct { + Rsrq float32 + Rsrp float32 +} + +type coordinate struct { + Latitude float32 + Longitude float32 +} + +type Position struct { + Type string `json:"type,omitempty"` + Coordinates []float32 `json:"coordinates"` +} + +// Calculate RSRQ/RSRP for a given list of coordinates +func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []coordinate) ([]PowerValue, error) { + poaMap, err := am.GetAllPoa() + + if err != nil { + log.Error(err.Error()) + return nil, err + } + + var position Position + var powerValues []PowerValue + // bestPoa := "" + for _, coord := range coordinates { + var maxRsrp float32 = 0 + var maxRsrq float32 = 0 + for _, poa := range poaMap { + _ = json.Unmarshal([]byte(poa.Position), &position) + poaLat := position.Coordinates[1] + poaLong := position.Coordinates[0] + poaRadius := poa.Radius + + poaLatStr := strconv.FormatFloat(float64(poaLat), 'f', -1, 32) + poaLongStr := strconv.FormatFloat(float64(poaLong), 'f', -1, 32) + coordLatStr := strconv.FormatFloat(float64(coord.Latitude), 'f', -1, 32) + coordLongStr := strconv.FormatFloat(float64(coord.Longitude), 'f', -1, 32) + + poaCoordinates := "(" + poaLongStr + " " + poaLatStr + ")" + coordCoordinates := "(" + coordLongStr + " " + coordLatStr + ")" + + distance, err := am.GetDistanceBetweenPoints(poaCoordinates, coordCoordinates) + if err != nil { + log.Error(err.Error()) + return nil, err + } + + if distance > poaRadius { + continue + } + + _, rsrp, rsrq := calculatePower(poa.SubType, poaRadius, distance) + + if rsrp > maxRsrp { + maxRsrp = rsrp + maxRsrq = rsrq + } + } + + newPowerValue := PowerValue{ + Rsrp: maxRsrp, + Rsrq: maxRsrq, + } + powerValues = append(powerValues, newPowerValue) + } + return powerValues, nil +} diff --git a/go-packages/meep-gis-asset-mgr/go.sum b/go-packages/meep-gis-asset-mgr/go.sum index 4c61a6561..b21b8eda9 100644 --- a/go-packages/meep-gis-asset-mgr/go.sum +++ b/go-packages/meep-gis-asset-mgr/go.sum @@ -1,4 +1,5 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -- GitLab From f42112fe8f205cf7c9370e63abdaa87ef7b1811f Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 6 Apr 2022 12:10:29 +0500 Subject: [PATCH 025/183] modify output for GetPowerValuesForCoordinates function in asset manager --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 52 +++++++++++---------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index c2ce8150f..5d525e664 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -150,6 +150,23 @@ type AssetMgr struct { updateCb func(string, string) } +type CoordinatePowerValue struct { + Latitude float32 + Longitude float32 + Rsrq float32 + Rsrp float32 +} + +type Coordinate struct { + Latitude float32 + Longitude float32 +} + +type Position struct { + Type string `json:"type,omitempty"` + Coordinates []float32 `json:"coordinates"` +} + // Profiling init func init() { if profiling { @@ -2095,23 +2112,8 @@ func (am *AssetMgr) GetWithinRangeBetweenPoints(srcCoordinates string, dstCoordi return within, err } -type PowerValue struct { - Rsrq float32 - Rsrp float32 -} - -type coordinate struct { - Latitude float32 - Longitude float32 -} - -type Position struct { - Type string `json:"type,omitempty"` - Coordinates []float32 `json:"coordinates"` -} - // Calculate RSRQ/RSRP for a given list of coordinates -func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []coordinate) ([]PowerValue, error) { +func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]CoordinatePowerValue, error) { poaMap, err := am.GetAllPoa() if err != nil { @@ -2120,11 +2122,11 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []coordinate) ([]Po } var position Position - var powerValues []PowerValue + var CoordinatePowerValues []CoordinatePowerValue // bestPoa := "" for _, coord := range coordinates { - var maxRsrp float32 = 0 - var maxRsrq float32 = 0 + var maxRsrp float32 = 40 + var maxRsrq float32 = -2 for _, poa := range poaMap { _ = json.Unmarshal([]byte(poa.Position), &position) poaLat := position.Coordinates[1] @@ -2157,11 +2159,13 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []coordinate) ([]Po } } - newPowerValue := PowerValue{ - Rsrp: maxRsrp, - Rsrq: maxRsrq, + newCoordinatePowerValue := CoordinatePowerValue{ + Latitude: coord.Latitude, + Longitude: coord.Longitude, + Rsrp: maxRsrp, + Rsrq: maxRsrq, } - powerValues = append(powerValues, newPowerValue) + CoordinatePowerValues = append(CoordinatePowerValues, newCoordinatePowerValue) } - return powerValues, nil + return CoordinatePowerValues, nil } -- GitLab From e264d7c21f62a8c6ffc775d7bfd3f0f4a59a60e4 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 7 Apr 2022 11:50:19 +0500 Subject: [PATCH 026/183] add /geodata/cellularPower endpoint in GIS engine with handler function --- go-apps/meep-gis-engine/api/swagger.yaml | 137 +++++++++++------- .../server/api_geospatial_data.go | 4 + go-apps/meep-gis-engine/server/gis-engine.go | 53 +++++++ .../server/model_coordinate_power.go | 41 ++++++ .../server/model_coordinates.go | 28 ++++ .../server/model_coordinates_power.go | 28 ++++ go-apps/meep-gis-engine/server/routers.go | 7 + 7 files changed, 245 insertions(+), 53 deletions(-) create mode 100644 go-apps/meep-gis-engine/server/model_coordinate_power.go create mode 100644 go-apps/meep-gis-engine/server/model_coordinates.go create mode 100644 go-apps/meep-gis-engine/server/model_coordinates_power.go diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 27332b575..2a86ef895 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -32,7 +32,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/AutomationStateList" @@ -65,11 +65,11 @@ paths: - "NETWORK-CHARACTERISTICS-UPDATE" x-exportParamName: "Type_" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/AutomationState" - 500: + "500": description: "Internal server error" post: tags: @@ -105,9 +105,9 @@ paths: type: "boolean" x-exportParamName: "Run" responses: - 200: + "200": description: "OK" - 500: + "500": description: "Internal server error" /geodata: get: @@ -157,11 +157,38 @@ paths: x-exportParamName: "ExcludePath" x-optionalDataType: "String" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/GeoDataAssetList" - 500: + "500": + description: "Internal server error" + /geodata/cellularPower: + post: + tags: + - "Geospatial Data" + summary: "Returns RSRQ and RSRP values for a list of coordinates" + description: "Get geospatial data for the given asset and if it is within range\ + \ of another asset or geospatial coordinates" + operationId: "postGeoDataPowerValues" + produces: + - "application/json" + parameters: + - in: "body" + name: "coordinates" + description: "List of geo coordinates " + required: true + schema: + $ref: "#/definitions/Coordinates" + x-exportParamName: "Coordinates" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/CoordinatesPower" + "404": + description: "Not found" + "500": description: "Internal server error" /geodata/{assetName}: get: @@ -190,13 +217,13 @@ paths: x-exportParamName: "ExcludePath" x-optionalDataType: "String" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/GeoDataAsset" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" post: tags: @@ -221,11 +248,11 @@ paths: $ref: "#/definitions/GeoDataAsset" x-exportParamName: "GeoData" responses: - 200: + "200": description: "OK" - 201: + "201": description: "Created" - 500: + "500": description: "Internal server error" delete: tags: @@ -243,11 +270,11 @@ paths: type: "string" x-exportParamName: "AssetName" responses: - 200: + "200": description: "OK" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" /geodata/{assetName}/distanceTo: post: @@ -274,47 +301,13 @@ paths: $ref: "#/definitions/TargetPoint" x-exportParamName: "TargetPoint" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/Distance" - 404: - description: "Not found" - 500: - description: "Internal server error" - /geodata/{assetName}/withinRange: - post: - tags: - - "Geospatial Data" - summary: "Returns if a geospatial data points is within a specified distance\ - \ from a location" - description: "Get geospatial data for the given asset and if it is within range\ - \ of another asset or geospatial coordinates" - operationId: "getWithinRangeByName" - produces: - - "application/json" - parameters: - - name: "assetName" - in: "path" - description: "Name of geospatial asset" - required: true - type: "string" - x-exportParamName: "AssetName" - - in: "body" - name: "targetRange" - description: "Parameters of geospatial assets" - required: true - schema: - $ref: "#/definitions/TargetRange" - x-exportParamName: "TargetRange" - responses: - 200: - description: "OK" - schema: - $ref: "#/definitions/WithinRange" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" definitions: AutomationStateList: @@ -350,6 +343,44 @@ definitions: example: active: true type: "MOBILITY" + Coordinates: + type: "array" + items: + $ref: "#/definitions/TargetPoint" + CoordinatesPower: + type: "array" + items: + $ref: "#/definitions/CoordinatePower" + CoordinatePower: + required: + - "latitude" + - "longitude" + - "rsrp" + - "rsrq" + properties: + latitude: + type: "number" + format: "float" + description: "Latitude of a second element for query purpose." + longitude: + type: "number" + format: "float" + description: "Longitude of a second element for query purpose." + rsrq: + type: "number" + format: "float" + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214." + rsrp: + type: "number" + format: "float" + description: "Reference Signal Received Power as defined in ETSI TS 136 214." + description: "Coordinates with their power values." + example: + latitude: 0.8008282 + longitude: 6.0274563 + rsrq: -2 + rsrp: 40 TargetPoint: type: "object" properties: diff --git a/go-apps/meep-gis-engine/server/api_geospatial_data.go b/go-apps/meep-gis-engine/server/api_geospatial_data.go index 5e2c58962..19d115967 100644 --- a/go-apps/meep-gis-engine/server/api_geospatial_data.go +++ b/go-apps/meep-gis-engine/server/api_geospatial_data.go @@ -48,6 +48,10 @@ func GetWithinRangeByName(w http.ResponseWriter, r *http.Request) { geGetWithinRangeGeoDataByName(w, r) } +func PostGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { + gePostGeoDataPowerValues(w, r) +} + func UpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { geUpdateGeoDataByName(w, r) } diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index fd9997f38..d3fc702bf 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1630,6 +1630,59 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) } +func gePostGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { + // Retrieve coordinates to work with from request body + var coordinates Coordinates + if r.Body == nil { + err := errors.New("Request body is missing") + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + decoder := json.NewDecoder(r.Body) + err := decoder.Decode(&coordinates) + if err != nil { + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + + var amCoordinates []am.Coordinate + jsonString, _ := json.Marshal(coordinates) + json.Unmarshal([]byte(jsonString), &amCoordinates) + + // Make sure scenario is active + if ge.activeModel.GetScenarioName() == "" { + err := errors.New("No active scenario") + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + + coordinatesPower, err := ge.assetMgr.GetPowerValuesForCoordinates(amCoordinates) + if err != nil { + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } + + jsonResponse := convertCoodinatesPowerToJson(&coordinatesPower) + + // Send response + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) + fmt.Fprint(w, jsonResponse) +} + +func convertCoodinatesPowerToJson(coordinatesPower *[]am.CoordinatePowerValue) string { + jsonInfo, err := json.Marshal(*coordinatesPower) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} + func (ge *GisEngine) StartSnapshotThread() error { // Make sure ticker is not already running if ge.snapshotTicker != nil { diff --git a/go-apps/meep-gis-engine/server/model_coordinate_power.go b/go-apps/meep-gis-engine/server/model_coordinate_power.go new file mode 100644 index 000000000..f0e664561 --- /dev/null +++ b/go-apps/meep-gis-engine/server/model_coordinate_power.go @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package server + +// Coordinates with their power values. +type CoordinatePower struct { + + // Latitude of a second element for query purpose. + Latitude float32 `json:"latitude"` + + // Longitude of a second element for query purpose. + Longitude float32 `json:"longitude"` + + // Reference Signal Received Quality as defined in ETSI TS 136 214. + Rsrq float32 `json:"rsrq"` + + // Reference Signal Received Power as defined in ETSI TS 136 214. + Rsrp float32 `json:"rsrp"` +} diff --git a/go-apps/meep-gis-engine/server/model_coordinates.go b/go-apps/meep-gis-engine/server/model_coordinates.go new file mode 100644 index 000000000..fc196fd07 --- /dev/null +++ b/go-apps/meep-gis-engine/server/model_coordinates.go @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package server + +type Coordinates struct { +} diff --git a/go-apps/meep-gis-engine/server/model_coordinates_power.go b/go-apps/meep-gis-engine/server/model_coordinates_power.go new file mode 100644 index 000000000..1b55f631f --- /dev/null +++ b/go-apps/meep-gis-engine/server/model_coordinates_power.go @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package server + +type CoordinatesPower struct { +} diff --git a/go-apps/meep-gis-engine/server/routers.go b/go-apps/meep-gis-engine/server/routers.go index 70aa5e9d8..b3337bf0c 100644 --- a/go-apps/meep-gis-engine/server/routers.go +++ b/go-apps/meep-gis-engine/server/routers.go @@ -142,6 +142,13 @@ var routes = Routes{ GetWithinRangeByName, }, + Route{ + "GetGeoDataPowerValues", + strings.ToUpper("Post"), + "/sandboxname/gis/v1/geodata/cellularPower", + PostGeoDataPowerValues, + }, + Route{ "UpdateGeoDataByName", strings.ToUpper("Post"), -- GitLab From af35488309fa32c72293e614b80c114e94c541e2 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 7 Apr 2022 13:53:31 +0500 Subject: [PATCH 027/183] fix endpoint URL for cellularPower --- go-apps/meep-gis-engine/server/routers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-gis-engine/server/routers.go b/go-apps/meep-gis-engine/server/routers.go index b3337bf0c..036eab332 100644 --- a/go-apps/meep-gis-engine/server/routers.go +++ b/go-apps/meep-gis-engine/server/routers.go @@ -145,7 +145,7 @@ var routes = Routes{ Route{ "GetGeoDataPowerValues", strings.ToUpper("Post"), - "/sandboxname/gis/v1/geodata/cellularPower", + "/gis/v1/geodata/cellularPower", PostGeoDataPowerValues, }, -- GitLab From 1bee06e034891dc152eb1c83ea23c24bf6237921 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 7 Apr 2022 15:36:57 +0500 Subject: [PATCH 028/183] rename handler function for cellularPower endpoint --- go-apps/meep-gis-engine/api/swagger.yaml | 2 +- go-apps/meep-gis-engine/server/api_geospatial_data.go | 4 ++-- go-apps/meep-gis-engine/server/gis-engine.go | 2 +- go-apps/meep-gis-engine/server/routers.go | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 2a86ef895..50bb78ca7 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -170,7 +170,7 @@ paths: summary: "Returns RSRQ and RSRP values for a list of coordinates" description: "Get geospatial data for the given asset and if it is within range\ \ of another asset or geospatial coordinates" - operationId: "postGeoDataPowerValues" + operationId: "getGeoDataPowerValues" produces: - "application/json" parameters: diff --git a/go-apps/meep-gis-engine/server/api_geospatial_data.go b/go-apps/meep-gis-engine/server/api_geospatial_data.go index 19d115967..d6854b1ea 100644 --- a/go-apps/meep-gis-engine/server/api_geospatial_data.go +++ b/go-apps/meep-gis-engine/server/api_geospatial_data.go @@ -48,8 +48,8 @@ func GetWithinRangeByName(w http.ResponseWriter, r *http.Request) { geGetWithinRangeGeoDataByName(w, r) } -func PostGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { - gePostGeoDataPowerValues(w, r) +func GetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { + geGetGeoDataPowerValues(w, r) } func UpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index d3fc702bf..57b18de70 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1630,7 +1630,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) } -func gePostGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { +func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body var coordinates Coordinates if r.Body == nil { diff --git a/go-apps/meep-gis-engine/server/routers.go b/go-apps/meep-gis-engine/server/routers.go index 036eab332..af2c35b1a 100644 --- a/go-apps/meep-gis-engine/server/routers.go +++ b/go-apps/meep-gis-engine/server/routers.go @@ -146,7 +146,7 @@ var routes = Routes{ "GetGeoDataPowerValues", strings.ToUpper("Post"), "/gis/v1/geodata/cellularPower", - PostGeoDataPowerValues, + GetGeoDataPowerValues, }, Route{ -- GitLab From efd725e0ae6380ad35945189f1cb228ed9bc5dfb Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 8 Apr 2022 11:58:11 +0500 Subject: [PATCH 029/183] use proper data types for request for /geodata/cellularPower endpoint in GIS engine --- go-apps/meep-gis-engine/server/gis-engine.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 57b18de70..4cec61cb8 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1632,7 +1632,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body - var coordinates Coordinates + var coordinates []am.Coordinate if r.Body == nil { err := errors.New("Request body is missing") log.Error(err.Error()) @@ -1646,11 +1646,6 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { http.Error(w, err.Error(), http.StatusInternalServerError) return } - - var amCoordinates []am.Coordinate - jsonString, _ := json.Marshal(coordinates) - json.Unmarshal([]byte(jsonString), &amCoordinates) - // Make sure scenario is active if ge.activeModel.GetScenarioName() == "" { err := errors.New("No active scenario") @@ -1659,7 +1654,7 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { return } - coordinatesPower, err := ge.assetMgr.GetPowerValuesForCoordinates(amCoordinates) + coordinatesPower, err := ge.assetMgr.GetPowerValuesForCoordinates(coordinates) if err != nil { log.Error(err.Error()) http.Error(w, err.Error(), http.StatusInternalServerError) -- GitLab From bbe027483ce57a27f51c078bf05ec92474d59eb9 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 8 Apr 2022 11:59:28 +0500 Subject: [PATCH 030/183] add JSON equivalents for power values structs in asset manager --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 5d525e664..8f62ee19f 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -151,15 +151,15 @@ type AssetMgr struct { } type CoordinatePowerValue struct { - Latitude float32 - Longitude float32 - Rsrq float32 - Rsrp float32 + Latitude float32 `json:"latitude"` + Longitude float32 `json:"longitude"` + Rsrq float32 `json:"rsrq"` + Rsrp float32 `json:"rsrp"` } type Coordinate struct { - Latitude float32 - Longitude float32 + Latitude float32 `json:"latitude"` + Longitude float32 `json:"longitude"` } type Position struct { -- GitLab From bb736e324364b87bdfaaf48384124045f71e871f Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 11 Apr 2022 12:58:44 +0500 Subject: [PATCH 031/183] add PoaName in CoordinatePowerValues in asset manager --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 8f62ee19f..3f6da0796 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -155,6 +155,7 @@ type CoordinatePowerValue struct { Longitude float32 `json:"longitude"` Rsrq float32 `json:"rsrq"` Rsrp float32 `json:"rsrp"` + PoaName string `json:"poaName"` } type Coordinate struct { @@ -2123,7 +2124,7 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co var position Position var CoordinatePowerValues []CoordinatePowerValue - // bestPoa := "" + var bestPoa string for _, coord := range coordinates { var maxRsrp float32 = 40 var maxRsrq float32 = -2 @@ -2156,6 +2157,7 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co if rsrp > maxRsrp { maxRsrp = rsrp maxRsrq = rsrq + bestPoa = poa.Name } } @@ -2164,6 +2166,7 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co Longitude: coord.Longitude, Rsrp: maxRsrp, Rsrq: maxRsrq, + PoaName: bestPoa, } CoordinatePowerValues = append(CoordinatePowerValues, newCoordinatePowerValue) } -- GitLab From 2d183484f47445a9059d73e445f2e45bac9d7078 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 11 Apr 2022 13:15:14 +0500 Subject: [PATCH 032/183] re-add /geodata/{assetName}/withinRange endpoint in GIS Engine --- go-apps/meep-gis-engine/api/swagger.yaml | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 50bb78ca7..1bc0423d5 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -309,6 +309,40 @@ paths: description: "Not found" "500": description: "Internal server error" + /geodata/{assetName}/withinRange: + post: + tags: + - "Geospatial Data" + summary: "Returns if a geospatial data points is within a specified distance\ + \ from a location" + description: "Get geospatial data for the given asset and if it is within range\ + \ of another asset or geospatial coordinates" + operationId: "getWithinRangeByName" + produces: + - "application/json" + parameters: + - name: "assetName" + in: "path" + description: "Name of geospatial asset" + required: true + type: "string" + x-exportParamName: "AssetName" + - in: "body" + name: "targetRange" + description: "Parameters of geospatial assets" + required: true + schema: + $ref: "#/definitions/TargetRange" + x-exportParamName: "TargetRange" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/WithinRange" + "404": + description: "Not found" + "500": + description: "Internal server error" definitions: AutomationStateList: type: "object" -- GitLab From 6308d839ce85ddedd4275dc384e3725e686581a4 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 11 Apr 2022 16:16:03 +0500 Subject: [PATCH 033/183] make RSRQ/RSRP uint8 in response of /geodata/cellularPower endpoint --- go-apps/meep-gis-engine/api/swagger.yaml | 108 +++++++++++------- go-apps/meep-gis-engine/server/gis-engine.go | 29 +++-- .../server/model_coordinate_power.go | 7 +- ...ower.go => model_coordinate_power_list.go} | 5 +- .../server/model_geo_coordinate.go | 35 ++++++ ...inates.go => model_geo_coordinate_list.go} | 4 +- 6 files changed, 135 insertions(+), 53 deletions(-) rename go-apps/meep-gis-engine/server/{model_coordinates_power.go => model_coordinate_power_list.go} (88%) create mode 100644 go-apps/meep-gis-engine/server/model_geo_coordinate.go rename go-apps/meep-gis-engine/server/{model_coordinates.go => model_geo_coordinate_list.go} (90%) diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 1bc0423d5..31eacbe66 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -163,33 +163,6 @@ paths: $ref: "#/definitions/GeoDataAssetList" "500": description: "Internal server error" - /geodata/cellularPower: - post: - tags: - - "Geospatial Data" - summary: "Returns RSRQ and RSRP values for a list of coordinates" - description: "Get geospatial data for the given asset and if it is within range\ - \ of another asset or geospatial coordinates" - operationId: "getGeoDataPowerValues" - produces: - - "application/json" - parameters: - - in: "body" - name: "coordinates" - description: "List of geo coordinates " - required: true - schema: - $ref: "#/definitions/Coordinates" - x-exportParamName: "Coordinates" - responses: - "200": - description: "OK" - schema: - $ref: "#/definitions/CoordinatesPower" - "404": - description: "Not found" - "500": - description: "Internal server error" /geodata/{assetName}: get: tags: @@ -343,6 +316,33 @@ paths: description: "Not found" "500": description: "Internal server error" + /geodata/cellularPower: + post: + tags: + - "Geospatial Data" + summary: "Get RSRQ and RSRP values for a list of coordinates" + description: "Get geospatial data for the given asset and if it is within range\ + \ of another asset or geospatial coordinates" + operationId: "getGeoDataPowerValues" + produces: + - "application/json" + parameters: + - in: "body" + name: "coordinates" + description: "List of geo coordinates" + required: true + schema: + $ref: "#/definitions/GeoCoordinateList" + x-exportParamName: "Coordinates" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/CoordinatePowerList" + "404": + description: "Not found" + "500": + description: "Internal server error" definitions: AutomationStateList: type: "object" @@ -377,18 +377,20 @@ definitions: example: active: true type: "MOBILITY" - Coordinates: - type: "array" - items: - $ref: "#/definitions/TargetPoint" - CoordinatesPower: - type: "array" - items: - $ref: "#/definitions/CoordinatePower" + CoordinatePowerList: + type: "object" + properties: + CoordinatesPower: + type: "array" + items: + $ref: "#/definitions/CoordinatePower" + description: "List of geo coordinates with RSRQ/RSRP values" + example: {} CoordinatePower: required: - "latitude" - "longitude" + - "poaName" - "rsrp" - "rsrq" properties: @@ -401,20 +403,48 @@ definitions: format: "float" description: "Longitude of a second element for query purpose." rsrq: - type: "number" - format: "float" + type: "integer" + format: "uint8" description: "Reference Signal Received Quality as defined in ETSI TS 136\ \ 214." rsrp: - type: "number" - format: "float" + type: "integer" + format: "uint8" description: "Reference Signal Received Power as defined in ETSI TS 136 214." + poaName: + type: "string" + description: "Name of the POA for which RSRP/RSRQ values are calculated." description: "Coordinates with their power values." example: latitude: 0.8008282 longitude: 6.0274563 rsrq: -2 rsrp: 40 + poaName: "5G-macro-cell-15" + GeoCoordinateList: + type: "object" + properties: + GeoCoordinates: + type: "array" + items: + $ref: "#/definitions/GeoCoordinate" + description: "List of geo-coordinates" + example: {} + GeoCoordinate: + type: "object" + properties: + latitude: + type: "number" + format: "float" + description: "Latitude of a second element for query purpose." + longitude: + type: "number" + format: "float" + description: "Longitude of a second element for query purpose." + description: "Geo-coordinates for cellular power." + example: + latitude: 0.8008282 + longitude: 6.0274563 TargetPoint: type: "object" properties: diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 4cec61cb8..3bc49d149 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1661,7 +1661,25 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { return } - jsonResponse := convertCoodinatesPowerToJson(&coordinatesPower) + var intCoordinatesPower CoordinatePowerList + for _, coordinatePower := range coordinatesPower { + var intCoordinatePower = CoordinatePower{ + Latitude: coordinatePower.Latitude, + Longitude: coordinatePower.Longitude, + Rsrq: uint8(coordinatePower.Rsrq), + Rsrp: uint8(coordinatePower.Rsrp), + PoaName: coordinatePower.PoaName, + } + intCoordinatesPower.CoordinatesPower = append(intCoordinatesPower.CoordinatesPower, intCoordinatePower) + } + + // Format response + jsonResponse, err := json.Marshal(&intCoordinatesPower) + if err != nil { + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } // Send response w.Header().Set("Content-Type", "application/json; charset=UTF-8") @@ -1669,15 +1687,6 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, jsonResponse) } -func convertCoodinatesPowerToJson(coordinatesPower *[]am.CoordinatePowerValue) string { - jsonInfo, err := json.Marshal(*coordinatesPower) - if err != nil { - log.Error(err.Error()) - return "" - } - return string(jsonInfo) -} - func (ge *GisEngine) StartSnapshotThread() error { // Make sure ticker is not already running if ge.snapshotTicker != nil { diff --git a/go-apps/meep-gis-engine/server/model_coordinate_power.go b/go-apps/meep-gis-engine/server/model_coordinate_power.go index f0e664561..c9dca9079 100644 --- a/go-apps/meep-gis-engine/server/model_coordinate_power.go +++ b/go-apps/meep-gis-engine/server/model_coordinate_power.go @@ -34,8 +34,11 @@ type CoordinatePower struct { Longitude float32 `json:"longitude"` // Reference Signal Received Quality as defined in ETSI TS 136 214. - Rsrq float32 `json:"rsrq"` + Rsrq uint8 `json:"rsrq"` // Reference Signal Received Power as defined in ETSI TS 136 214. - Rsrp float32 `json:"rsrp"` + Rsrp uint8 `json:"rsrp"` + + // Name of the POA for which RSRP/RSRQ values are calculated. + PoaName string `json:"poaName"` } diff --git a/go-apps/meep-gis-engine/server/model_coordinates_power.go b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go similarity index 88% rename from go-apps/meep-gis-engine/server/model_coordinates_power.go rename to go-apps/meep-gis-engine/server/model_coordinate_power_list.go index 1b55f631f..1cabbbd15 100644 --- a/go-apps/meep-gis-engine/server/model_coordinates_power.go +++ b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go @@ -24,5 +24,8 @@ package server -type CoordinatesPower struct { +// List of geo coordinates with RSRQ/RSRP values +type CoordinatePowerList struct { + + CoordinatesPower []CoordinatePower `json:"CoordinatesPower,omitempty"` } diff --git a/go-apps/meep-gis-engine/server/model_geo_coordinate.go b/go-apps/meep-gis-engine/server/model_geo_coordinate.go new file mode 100644 index 000000000..7f9448aee --- /dev/null +++ b/go-apps/meep-gis-engine/server/model_geo_coordinate.go @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package server + +// Geo-coordinates for cellular power. +type GeoCoordinate struct { + + // Latitude of a second element for query purpose. + Latitude float32 `json:"latitude,omitempty"` + + // Longitude of a second element for query purpose. + Longitude float32 `json:"longitude,omitempty"` +} diff --git a/go-apps/meep-gis-engine/server/model_coordinates.go b/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go similarity index 90% rename from go-apps/meep-gis-engine/server/model_coordinates.go rename to go-apps/meep-gis-engine/server/model_geo_coordinate_list.go index fc196fd07..822a1289c 100644 --- a/go-apps/meep-gis-engine/server/model_coordinates.go +++ b/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go @@ -24,5 +24,7 @@ package server -type Coordinates struct { +// List of geo-coordinates +type GeoCoordinateList struct { + GeoCoordinates []GeoCoordinate `json:"GeoCoordinates,omitempty"` } -- GitLab From 904f7355c512b122de611f9fa8da78a9fc14242d Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 12 Apr 2022 12:37:03 +0500 Subject: [PATCH 034/183] use proper response input for /geodata/cellularPower endpoint --- go-apps/meep-gis-engine/server/gis-engine.go | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 3bc49d149..6cf916a8d 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1632,7 +1632,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body - var coordinates []am.Coordinate + var coordinates CoordinatePowerList if r.Body == nil { err := errors.New("Request body is missing") log.Error(err.Error()) @@ -1654,7 +1654,15 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { return } - coordinatesPower, err := ge.assetMgr.GetPowerValuesForCoordinates(coordinates) + var geocoordinates []am.Coordinate + for _, geocoordinate := range coordinates.CoordinatesPower { + geocoordinates = append(geocoordinates, am.Coordinate{ + Latitude: geocoordinate.Latitude, + Longitude: geocoordinate.Longitude, + }) + } + + coordinatesPower, err := ge.assetMgr.GetPowerValuesForCoordinates(geocoordinates) if err != nil { log.Error(err.Error()) http.Error(w, err.Error(), http.StatusInternalServerError) @@ -1680,11 +1688,12 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { http.Error(w, err.Error(), http.StatusInternalServerError) return } + jsonResponseStr := string(jsonResponse) // Send response w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) - fmt.Fprint(w, jsonResponse) + fmt.Fprint(w, jsonResponseStr) } func (ge *GisEngine) StartSnapshotThread() error { -- GitLab From 55dc55b7e64cdd0b2f106e0369cc9a29060482b6 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 12 Apr 2022 13:00:15 +0500 Subject: [PATCH 035/183] change data type for request for /geodata/cellularPower endpoint --- go-apps/meep-gis-engine/server/gis-engine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 6cf916a8d..baffe34d5 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1632,7 +1632,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { // Retrieve coordinates to work with from request body - var coordinates CoordinatePowerList + var coordinates GeoCoordinateList if r.Body == nil { err := errors.New("Request body is missing") log.Error(err.Error()) @@ -1655,7 +1655,7 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { } var geocoordinates []am.Coordinate - for _, geocoordinate := range coordinates.CoordinatesPower { + for _, geocoordinate := range coordinates.GeoCoordinates { geocoordinates = append(geocoordinates, am.Coordinate{ Latitude: geocoordinate.Latitude, Longitude: geocoordinate.Longitude, -- GitLab From 2b7b09b738dee3567aa4f06eb1c41e470e9f00f5 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 12 Apr 2022 13:17:16 +0500 Subject: [PATCH 036/183] change type for RSRQ/RSRP in response of /geodata/cellularPower endpoint --- go-apps/meep-gis-engine/api/swagger.yaml | 4 ++-- go-apps/meep-gis-engine/server/gis-engine.go | 4 ++-- go-apps/meep-gis-engine/server/model_coordinate_power.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 31eacbe66..5f34910c1 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -404,12 +404,12 @@ definitions: description: "Longitude of a second element for query purpose." rsrq: type: "integer" - format: "uint8" + format: "int32" description: "Reference Signal Received Quality as defined in ETSI TS 136\ \ 214." rsrp: type: "integer" - format: "uint8" + format: "int32" description: "Reference Signal Received Power as defined in ETSI TS 136 214." poaName: type: "string" diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index baffe34d5..8effef4dc 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1674,8 +1674,8 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { var intCoordinatePower = CoordinatePower{ Latitude: coordinatePower.Latitude, Longitude: coordinatePower.Longitude, - Rsrq: uint8(coordinatePower.Rsrq), - Rsrp: uint8(coordinatePower.Rsrp), + Rsrq: int32(coordinatePower.Rsrq), + Rsrp: int32(coordinatePower.Rsrp), PoaName: coordinatePower.PoaName, } intCoordinatesPower.CoordinatesPower = append(intCoordinatesPower.CoordinatesPower, intCoordinatePower) diff --git a/go-apps/meep-gis-engine/server/model_coordinate_power.go b/go-apps/meep-gis-engine/server/model_coordinate_power.go index c9dca9079..fa7ce1bcb 100644 --- a/go-apps/meep-gis-engine/server/model_coordinate_power.go +++ b/go-apps/meep-gis-engine/server/model_coordinate_power.go @@ -34,10 +34,10 @@ type CoordinatePower struct { Longitude float32 `json:"longitude"` // Reference Signal Received Quality as defined in ETSI TS 136 214. - Rsrq uint8 `json:"rsrq"` + Rsrq int32 `json:"rsrq"` // Reference Signal Received Power as defined in ETSI TS 136 214. - Rsrp uint8 `json:"rsrp"` + Rsrp int32 `json:"rsrp"` // Name of the POA for which RSRP/RSRQ values are calculated. PoaName string `json:"poaName"` -- GitLab From 4263411b7f8500ffc2b7930b828f40ed8a514f9b Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 12 Apr 2022 14:28:59 +0500 Subject: [PATCH 037/183] add /geodata/cellularPower endpoint in GIS Engine Client --- go-packages/meep-gis-engine-client/README.md | 30 ++-- .../meep-gis-engine-client/api/swagger.yaml | 139 +++++++++++++++--- .../api_geospatial_data.go | 90 ++++++++++++ .../docs/CoordinatePower.md | 14 ++ .../docs/CoordinatePowerList.md | 10 ++ .../docs/GeoCoordinate.md | 11 ++ .../docs/GeoCoordinateList.md | 10 ++ .../docs/GeospatialDataApi.md | 118 +++++++++------ go-packages/meep-gis-engine-client/go.sum | 15 ++ .../model_coordinate_power.go | 39 +++++ .../model_coordinate_power_list.go | 30 ++++ .../model_geo_coordinate.go | 33 +++++ .../model_geo_coordinate_list.go | 30 ++++ 13 files changed, 489 insertions(+), 80 deletions(-) create mode 100644 go-packages/meep-gis-engine-client/docs/CoordinatePower.md create mode 100644 go-packages/meep-gis-engine-client/docs/CoordinatePowerList.md create mode 100644 go-packages/meep-gis-engine-client/docs/GeoCoordinate.md create mode 100644 go-packages/meep-gis-engine-client/docs/GeoCoordinateList.md create mode 100644 go-packages/meep-gis-engine-client/go.sum create mode 100644 go-packages/meep-gis-engine-client/model_coordinate_power.go create mode 100644 go-packages/meep-gis-engine-client/model_coordinate_power_list.go create mode 100644 go-packages/meep-gis-engine-client/model_geo_coordinate.go create mode 100644 go-packages/meep-gis-engine-client/model_geo_coordinate_list.go diff --git a/go-packages/meep-gis-engine-client/README.md b/go-packages/meep-gis-engine-client/README.md index 7d0e30fc3..fec0b4d94 100644 --- a/go-packages/meep-gis-engine-client/README.md +++ b/go-packages/meep-gis-engine-client/README.md @@ -19,32 +19,37 @@ import "./client" All URIs are relative to *https://localhost/sandboxname/gis/v1* -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*AutomationApi* | [**GetAutomationState**](docs/AutomationApi.md#getautomationstate) | **Get** /automation | Get automation state -*AutomationApi* | [**GetAutomationStateByName**](docs/AutomationApi.md#getautomationstatebyname) | **Get** /automation/{type} | Get automation state -*AutomationApi* | [**SetAutomationStateByName**](docs/AutomationApi.md#setautomationstatebyname) | **Post** /automation/{type} | Set automation state -*GeospatialDataApi* | [**DeleteGeoDataByName**](docs/GeospatialDataApi.md#deletegeodatabyname) | **Delete** /geodata/{assetName} | Delete geospatial data -*GeospatialDataApi* | [**GetAssetData**](docs/GeospatialDataApi.md#getassetdata) | **Get** /geodata | Get geospatial data -*GeospatialDataApi* | [**GetDistanceGeoDataByName**](docs/GeospatialDataApi.md#getdistancegeodatabyname) | **Post** /geodata/{assetName}/distanceTo | Get distance between geospatial data points -*GeospatialDataApi* | [**GetGeoDataByName**](docs/GeospatialDataApi.md#getgeodatabyname) | **Get** /geodata/{assetName} | Get geospatial data -*GeospatialDataApi* | [**GetWithinRangeByName**](docs/GeospatialDataApi.md#getwithinrangebyname) | **Post** /geodata/{assetName}/withinRange | Returns if a geospatial data points is within a specified distance from a location -*GeospatialDataApi* | [**UpdateGeoDataByName**](docs/GeospatialDataApi.md#updategeodatabyname) | **Post** /geodata/{assetName} | Create/Update geospatial data +| Class | Method | HTTP request | Description | +| ------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------- | +| *AutomationApi* | [**GetAutomationState**](docs/AutomationApi.md#getautomationstate) | **Get** /automation | Get automation state | +| *AutomationApi* | [**GetAutomationStateByName**](docs/AutomationApi.md#getautomationstatebyname) | **Get** /automation/{type} | Get automation state | +| *AutomationApi* | [**SetAutomationStateByName**](docs/AutomationApi.md#setautomationstatebyname) | **Post** /automation/{type} | Set automation state | +| *GeospatialDataApi* | [**DeleteGeoDataByName**](docs/GeospatialDataApi.md#deletegeodatabyname) | **Delete** /geodata/{assetName} | Delete geospatial data | +| *GeospatialDataApi* | [**GetAssetData**](docs/GeospatialDataApi.md#getassetdata) | **Get** /geodata | Get geospatial data | +| *GeospatialDataApi* | [**GetDistanceGeoDataByName**](docs/GeospatialDataApi.md#getdistancegeodatabyname) | **Post** /geodata/{assetName}/distanceTo | Get distance between geospatial data points | +| *GeospatialDataApi* | [**GetGeoDataByName**](docs/GeospatialDataApi.md#getgeodatabyname) | **Get** /geodata/{assetName} | Get geospatial data | +| *GeospatialDataApi* | [**GetGeoDataPowerValues**](docs/GeospatialDataApi.md#getgeodatapowervalues) | **Post** /geodata/cellularPower | Get RSRQ and RSRP values for a list of coordinates | +| *GeospatialDataApi* | [**GetWithinRangeByName**](docs/GeospatialDataApi.md#getwithinrangebyname) | **Post** /geodata/{assetName}/withinRange | Returns if a geospatial data points is within a specified distance from a location | +| *GeospatialDataApi* | [**UpdateGeoDataByName**](docs/GeospatialDataApi.md#updategeodatabyname) | **Post** /geodata/{assetName} | Create/Update geospatial data | ## Documentation For Models - [AutomationState](docs/AutomationState.md) - [AutomationStateList](docs/AutomationStateList.md) + - [CoordinatePower](docs/CoordinatePower.md) + - [CoordinatePowerList](docs/CoordinatePowerList.md) - [Distance](docs/Distance.md) + - [GeoCoordinate](docs/GeoCoordinate.md) + - [GeoCoordinateList](docs/GeoCoordinateList.md) - [GeoData](docs/GeoData.md) + - [GeoDataAsset](docs/GeoDataAsset.md) - [GeoDataAssetList](docs/GeoDataAssetList.md) - [LineString](docs/LineString.md) - [Point](docs/Point.md) - [TargetPoint](docs/TargetPoint.md) - [TargetRange](docs/TargetRange.md) - [WithinRange](docs/WithinRange.md) - - [GeoDataAsset](docs/GeoDataAsset.md) ## Documentation For Authorization @@ -54,4 +59,3 @@ Class | Method | HTTP request | Description ## Author AdvantEDGE@InterDigital.com - diff --git a/go-packages/meep-gis-engine-client/api/swagger.yaml b/go-packages/meep-gis-engine-client/api/swagger.yaml index 27332b575..31eacbe66 100644 --- a/go-packages/meep-gis-engine-client/api/swagger.yaml +++ b/go-packages/meep-gis-engine-client/api/swagger.yaml @@ -32,7 +32,7 @@ paths: - "application/json" parameters: [] responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/AutomationStateList" @@ -65,11 +65,11 @@ paths: - "NETWORK-CHARACTERISTICS-UPDATE" x-exportParamName: "Type_" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/AutomationState" - 500: + "500": description: "Internal server error" post: tags: @@ -105,9 +105,9 @@ paths: type: "boolean" x-exportParamName: "Run" responses: - 200: + "200": description: "OK" - 500: + "500": description: "Internal server error" /geodata: get: @@ -157,11 +157,11 @@ paths: x-exportParamName: "ExcludePath" x-optionalDataType: "String" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/GeoDataAssetList" - 500: + "500": description: "Internal server error" /geodata/{assetName}: get: @@ -190,13 +190,13 @@ paths: x-exportParamName: "ExcludePath" x-optionalDataType: "String" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/GeoDataAsset" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" post: tags: @@ -221,11 +221,11 @@ paths: $ref: "#/definitions/GeoDataAsset" x-exportParamName: "GeoData" responses: - 200: + "200": description: "OK" - 201: + "201": description: "Created" - 500: + "500": description: "Internal server error" delete: tags: @@ -243,11 +243,11 @@ paths: type: "string" x-exportParamName: "AssetName" responses: - 200: + "200": description: "OK" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" /geodata/{assetName}/distanceTo: post: @@ -274,13 +274,13 @@ paths: $ref: "#/definitions/TargetPoint" x-exportParamName: "TargetPoint" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/Distance" - 404: + "404": description: "Not found" - 500: + "500": description: "Internal server error" /geodata/{assetName}/withinRange: post: @@ -308,13 +308,40 @@ paths: $ref: "#/definitions/TargetRange" x-exportParamName: "TargetRange" responses: - 200: + "200": description: "OK" schema: $ref: "#/definitions/WithinRange" - 404: + "404": description: "Not found" - 500: + "500": + description: "Internal server error" + /geodata/cellularPower: + post: + tags: + - "Geospatial Data" + summary: "Get RSRQ and RSRP values for a list of coordinates" + description: "Get geospatial data for the given asset and if it is within range\ + \ of another asset or geospatial coordinates" + operationId: "getGeoDataPowerValues" + produces: + - "application/json" + parameters: + - in: "body" + name: "coordinates" + description: "List of geo coordinates" + required: true + schema: + $ref: "#/definitions/GeoCoordinateList" + x-exportParamName: "Coordinates" + responses: + "200": + description: "OK" + schema: + $ref: "#/definitions/CoordinatePowerList" + "404": + description: "Not found" + "500": description: "Internal server error" definitions: AutomationStateList: @@ -350,6 +377,74 @@ definitions: example: active: true type: "MOBILITY" + CoordinatePowerList: + type: "object" + properties: + CoordinatesPower: + type: "array" + items: + $ref: "#/definitions/CoordinatePower" + description: "List of geo coordinates with RSRQ/RSRP values" + example: {} + CoordinatePower: + required: + - "latitude" + - "longitude" + - "poaName" + - "rsrp" + - "rsrq" + properties: + latitude: + type: "number" + format: "float" + description: "Latitude of a second element for query purpose." + longitude: + type: "number" + format: "float" + description: "Longitude of a second element for query purpose." + rsrq: + type: "integer" + format: "uint8" + description: "Reference Signal Received Quality as defined in ETSI TS 136\ + \ 214." + rsrp: + type: "integer" + format: "uint8" + description: "Reference Signal Received Power as defined in ETSI TS 136 214." + poaName: + type: "string" + description: "Name of the POA for which RSRP/RSRQ values are calculated." + description: "Coordinates with their power values." + example: + latitude: 0.8008282 + longitude: 6.0274563 + rsrq: -2 + rsrp: 40 + poaName: "5G-macro-cell-15" + GeoCoordinateList: + type: "object" + properties: + GeoCoordinates: + type: "array" + items: + $ref: "#/definitions/GeoCoordinate" + description: "List of geo-coordinates" + example: {} + GeoCoordinate: + type: "object" + properties: + latitude: + type: "number" + format: "float" + description: "Latitude of a second element for query purpose." + longitude: + type: "number" + format: "float" + description: "Longitude of a second element for query purpose." + description: "Geo-coordinates for cellular power." + example: + latitude: 0.8008282 + longitude: 6.0274563 TargetPoint: type: "object" properties: diff --git a/go-packages/meep-gis-engine-client/api_geospatial_data.go b/go-packages/meep-gis-engine-client/api_geospatial_data.go index 93048375f..f3c0be6cb 100644 --- a/go-packages/meep-gis-engine-client/api_geospatial_data.go +++ b/go-packages/meep-gis-engine-client/api_geospatial_data.go @@ -409,6 +409,96 @@ func (a *GeospatialDataApiService) GetGeoDataByName(ctx context.Context, assetNa return localVarReturnValue, localVarHttpResponse, nil } +/* +GeospatialDataApiService Get RSRQ and RSRP values for a list of coordinates +Get geospatial data for the given asset and if it is within range of another asset or geospatial coordinates + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param coordinates List of geo coordinates + +@return CoordinatePowerList +*/ +func (a *GeospatialDataApiService) GetGeoDataPowerValues(ctx context.Context, coordinates GeoCoordinateList) (CoordinatePowerList, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue CoordinatePowerList + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/geodata/cellularPower" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &coordinates + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v CoordinatePowerList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* GeospatialDataApiService Returns if a geospatial data points is within a specified distance from a location Get geospatial data for the given asset and if it is within range of another asset or geospatial coordinates diff --git a/go-packages/meep-gis-engine-client/docs/CoordinatePower.md b/go-packages/meep-gis-engine-client/docs/CoordinatePower.md new file mode 100644 index 000000000..9e7fd89bc --- /dev/null +++ b/go-packages/meep-gis-engine-client/docs/CoordinatePower.md @@ -0,0 +1,14 @@ +# CoordinatePower + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Latitude** | **float32** | Latitude of a second element for query purpose. | [default to null] +**Longitude** | **float32** | Longitude of a second element for query purpose. | [default to null] +**Rsrq** | **int32** | Reference Signal Received Quality as defined in ETSI TS 136 214. | [default to null] +**Rsrp** | **int32** | Reference Signal Received Power as defined in ETSI TS 136 214. | [default to null] +**PoaName** | **string** | Name of the POA for which RSRP/RSRQ values are calculated. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go-packages/meep-gis-engine-client/docs/CoordinatePowerList.md b/go-packages/meep-gis-engine-client/docs/CoordinatePowerList.md new file mode 100644 index 000000000..18b636e68 --- /dev/null +++ b/go-packages/meep-gis-engine-client/docs/CoordinatePowerList.md @@ -0,0 +1,10 @@ +# CoordinatePowerList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CoordinatesPower** | [**[]CoordinatePower**](CoordinatePower.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go-packages/meep-gis-engine-client/docs/GeoCoordinate.md b/go-packages/meep-gis-engine-client/docs/GeoCoordinate.md new file mode 100644 index 000000000..553094cb3 --- /dev/null +++ b/go-packages/meep-gis-engine-client/docs/GeoCoordinate.md @@ -0,0 +1,11 @@ +# GeoCoordinate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Latitude** | **float32** | Latitude of a second element for query purpose. | [optional] [default to null] +**Longitude** | **float32** | Longitude of a second element for query purpose. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go-packages/meep-gis-engine-client/docs/GeoCoordinateList.md b/go-packages/meep-gis-engine-client/docs/GeoCoordinateList.md new file mode 100644 index 000000000..423b9cbd0 --- /dev/null +++ b/go-packages/meep-gis-engine-client/docs/GeoCoordinateList.md @@ -0,0 +1,10 @@ +# GeoCoordinateList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**GeoCoordinates** | [**[]GeoCoordinate**](GeoCoordinate.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/go-packages/meep-gis-engine-client/docs/GeospatialDataApi.md b/go-packages/meep-gis-engine-client/docs/GeospatialDataApi.md index 39b7aa507..3ffa3de3e 100644 --- a/go-packages/meep-gis-engine-client/docs/GeospatialDataApi.md +++ b/go-packages/meep-gis-engine-client/docs/GeospatialDataApi.md @@ -2,14 +2,15 @@ All URIs are relative to *https://localhost/sandboxname/gis/v1* -Method | HTTP request | Description -------------- | ------------- | ------------- -[**DeleteGeoDataByName**](GeospatialDataApi.md#DeleteGeoDataByName) | **Delete** /geodata/{assetName} | Delete geospatial data -[**GetAssetData**](GeospatialDataApi.md#GetAssetData) | **Get** /geodata | Get geospatial data -[**GetDistanceGeoDataByName**](GeospatialDataApi.md#GetDistanceGeoDataByName) | **Post** /geodata/{assetName}/distanceTo | Get distance between geospatial data points -[**GetGeoDataByName**](GeospatialDataApi.md#GetGeoDataByName) | **Get** /geodata/{assetName} | Get geospatial data -[**GetWithinRangeByName**](GeospatialDataApi.md#GetWithinRangeByName) | **Post** /geodata/{assetName}/withinRange | Returns if a geospatial data points is within a specified distance from a location -[**UpdateGeoDataByName**](GeospatialDataApi.md#UpdateGeoDataByName) | **Post** /geodata/{assetName} | Create/Update geospatial data +| Method | HTTP request | Description | +| ----------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------------------------- | +| [**DeleteGeoDataByName**](GeospatialDataApi.md#DeleteGeoDataByName) | **Delete** /geodata/{assetName} | Delete geospatial data | +| [**GetAssetData**](GeospatialDataApi.md#GetAssetData) | **Get** /geodata | Get geospatial data | +| [**GetDistanceGeoDataByName**](GeospatialDataApi.md#GetDistanceGeoDataByName) | **Post** /geodata/{assetName}/distanceTo | Get distance between geospatial data points | +| [**GetGeoDataByName**](GeospatialDataApi.md#GetGeoDataByName) | **Get** /geodata/{assetName} | Get geospatial data | +| [**GetGeoDataPowerValues**](GeospatialDataApi.md#GetGeoDataPowerValues) | **Post** /geodata/cellularPower | Get RSRQ and RSRP values for a list of coordinates | +| [**GetWithinRangeByName**](GeospatialDataApi.md#GetWithinRangeByName) | **Post** /geodata/{assetName}/withinRange | Returns if a geospatial data points is within a specified distance from a location | +| [**UpdateGeoDataByName**](GeospatialDataApi.md#UpdateGeoDataByName) | **Post** /geodata/{assetName} | Create/Update geospatial data | # **DeleteGeoDataByName** @@ -20,10 +21,10 @@ Delete geospatial data for the given asset ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **assetName** | **string**| Name of geospatial asset | +| Name | Type | Description | Notes | +| ------------- | ------------------- | --------------------------------------------------------------------------- | ----- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **assetName** | **string** | Name of geospatial asset | ### Return type @@ -48,19 +49,19 @@ Get geospatial data for all assets present in database ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***GetAssetDataOpts** | optional parameters | nil if no parameters +| Name | Type | Description | Notes | +| ------------ | --------------------- | --------------------------------------------------------------------------- | -------------------- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **optional** | ***GetAssetDataOpts** | optional parameters | nil if no parameters | ### Optional Parameters Optional parameters are passed through a pointer to a GetAssetDataOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **assetType** | **optional.String**| Filter by asset type | - **subType** | **optional.String**| Filter by asset sub type | - **excludePath** | **optional.String**| Exclude UE paths in response (default: false) | +| Name | Type | Description | Notes | +| --------------- | ------------------- | --------------------------------------------- | ----- | +| **assetType** | **optional.String** | Filter by asset type | +| **subType** | **optional.String** | Filter by asset sub type | +| **excludePath** | **optional.String** | Exclude UE paths in response (default: false) | ### Return type @@ -85,11 +86,11 @@ Get distance between geospatial data for the given asset and another asset or ge ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **assetName** | **string**| Name of geospatial asset | - **targetPoint** | [**TargetPoint**](TargetPoint.md)| Parameters of geospatial assets | +| Name | Type | Description | Notes | +| --------------- | --------------------------------- | --------------------------------------------------------------------------- | ----- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **assetName** | **string** | Name of geospatial asset | +| **targetPoint** | [**TargetPoint**](TargetPoint.md) | Parameters of geospatial assets | ### Return type @@ -114,19 +115,19 @@ Get geospatial data for the given asset ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **assetName** | **string**| Name of geospatial asset | - **optional** | ***GetGeoDataByNameOpts** | optional parameters | nil if no parameters +| Name | Type | Description | Notes | +| ------------- | ------------------------- | --------------------------------------------------------------------------- | -------------------- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **assetName** | **string** | Name of geospatial asset | +| **optional** | ***GetGeoDataByNameOpts** | optional parameters | nil if no parameters | ### Optional Parameters Optional parameters are passed through a pointer to a GetGeoDataByNameOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | - **excludePath** | **optional.String**| Exclude UE paths in response (default: false) | + **excludePath** | **optional.String**| Exclude UE paths in response (default: false) | ### Return type @@ -143,6 +144,34 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetGeoDataPowerValues** +> CoordinatePowerList GetGeoDataPowerValues(ctx, coordinates) +Get RSRQ and RSRP values for a list of coordinates + +Get geospatial data for the given asset and if it is within range of another asset or geospatial coordinates + +### Required Parameters + +| Name | Type | Description | Notes | +| --------------- | --------------------------------------------- | --------------------------------------------------------------------------- | ----- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **coordinates** | [**GeoCoordinateList**](GeoCoordinateList.md) | List of geo coordinates | + +### Return type + +[**CoordinatePowerList**](CoordinatePowerList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetWithinRangeByName** > WithinRange GetWithinRangeByName(ctx, assetName, targetRange) Returns if a geospatial data points is within a specified distance from a location @@ -151,11 +180,11 @@ Get geospatial data for the given asset and if it is within range of another ass ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **assetName** | **string**| Name of geospatial asset | - **targetRange** | [**TargetRange**](TargetRange.md)| Parameters of geospatial assets | +| Name | Type | Description | Notes | +| --------------- | --------------------------------- | --------------------------------------------------------------------------- | ----- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **assetName** | **string** | Name of geospatial asset | +| **targetRange** | [**TargetRange**](TargetRange.md) | Parameters of geospatial assets | ### Return type @@ -180,11 +209,11 @@ Create/Update geospatial data for the given asset ### Required Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **assetName** | **string**| Name of geospatial asset | - **geoData** | [**GeoDataAsset**](GeoDataAsset.md)| Geospatial data | +| Name | Type | Description | Notes | +| ------------- | ----------------------------------- | --------------------------------------------------------------------------- | ----- | +| **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. | +| **assetName** | **string** | Name of geospatial asset | +| **geoData** | [**GeoDataAsset**](GeoDataAsset.md) | Geospatial data | ### Return type @@ -200,4 +229,3 @@ No authorization required - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/go-packages/meep-gis-engine-client/go.sum b/go-packages/meep-gis-engine-client/go.sum new file mode 100644 index 000000000..795fed256 --- /dev/null +++ b/go-packages/meep-gis-engine-client/go.sum @@ -0,0 +1,15 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/go-packages/meep-gis-engine-client/model_coordinate_power.go b/go-packages/meep-gis-engine-client/model_coordinate_power.go new file mode 100644 index 000000000..983c475eb --- /dev/null +++ b/go-packages/meep-gis-engine-client/model_coordinate_power.go @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// Coordinates with their power values. +type CoordinatePower struct { + // Latitude of a second element for query purpose. + Latitude float32 `json:"latitude"` + // Longitude of a second element for query purpose. + Longitude float32 `json:"longitude"` + // Reference Signal Received Quality as defined in ETSI TS 136 214. + Rsrq int32 `json:"rsrq"` + // Reference Signal Received Power as defined in ETSI TS 136 214. + Rsrp int32 `json:"rsrp"` + // Name of the POA for which RSRP/RSRQ values are calculated. + PoaName string `json:"poaName"` +} diff --git a/go-packages/meep-gis-engine-client/model_coordinate_power_list.go b/go-packages/meep-gis-engine-client/model_coordinate_power_list.go new file mode 100644 index 000000000..c76314087 --- /dev/null +++ b/go-packages/meep-gis-engine-client/model_coordinate_power_list.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// List of geo coordinates with RSRQ/RSRP values +type CoordinatePowerList struct { + CoordinatesPower []CoordinatePower `json:"CoordinatesPower,omitempty"` +} diff --git a/go-packages/meep-gis-engine-client/model_geo_coordinate.go b/go-packages/meep-gis-engine-client/model_geo_coordinate.go new file mode 100644 index 000000000..068c60bb5 --- /dev/null +++ b/go-packages/meep-gis-engine-client/model_geo_coordinate.go @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// Geo-coordinates for cellular power. +type GeoCoordinate struct { + // Latitude of a second element for query purpose. + Latitude float32 `json:"latitude,omitempty"` + // Longitude of a second element for query purpose. + Longitude float32 `json:"longitude,omitempty"` +} diff --git a/go-packages/meep-gis-engine-client/model_geo_coordinate_list.go b/go-packages/meep-gis-engine-client/model_geo_coordinate_list.go new file mode 100644 index 000000000..5b0d2b2ad --- /dev/null +++ b/go-packages/meep-gis-engine-client/model_geo_coordinate_list.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE GIS Engine REST API + * + * This API allows to control geo-spatial behavior and simulation.

**Micro-service**
[meep-gis-engine](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-gis-engine)

**Type & Usage**
Platform runtime interface to control geo-spatial behavior and simulation

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * + * API version: 1.0.0 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// List of geo-coordinates +type GeoCoordinateList struct { + GeoCoordinates []GeoCoordinate `json:"GeoCoordinates,omitempty"` +} -- GitLab From 3339eb52c85b8bdef907a0b060f629e53be0f6ea Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 12 Apr 2022 15:12:25 +0500 Subject: [PATCH 038/183] remove poaName for out of range coordinate in response of POST method on /geodata/cellularPower endpoint --- go-apps/meep-gis-engine/server/gis-engine.go | 5 ++++- .../server/model_coordinate_power_list.go | 1 - go-packages/meep-gis-asset-mgr/asset-mgr.go | 15 ++++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 8effef4dc..cecb10324 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -1676,8 +1676,11 @@ func geGetGeoDataPowerValues(w http.ResponseWriter, r *http.Request) { Longitude: coordinatePower.Longitude, Rsrq: int32(coordinatePower.Rsrq), Rsrp: int32(coordinatePower.Rsrp), - PoaName: coordinatePower.PoaName, } + if coordinatePower.PoaName != "" { + intCoordinatePower.PoaName = coordinatePower.PoaName + } + intCoordinatesPower.CoordinatesPower = append(intCoordinatesPower.CoordinatesPower, intCoordinatePower) } diff --git a/go-apps/meep-gis-engine/server/model_coordinate_power_list.go b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go index 1cabbbd15..9d5a776a9 100644 --- a/go-apps/meep-gis-engine/server/model_coordinate_power_list.go +++ b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go @@ -26,6 +26,5 @@ package server // List of geo coordinates with RSRQ/RSRP values type CoordinatePowerList struct { - CoordinatesPower []CoordinatePower `json:"CoordinatesPower,omitempty"` } diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 3f6da0796..0408f9785 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -2124,10 +2124,10 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co var position Position var CoordinatePowerValues []CoordinatePowerValue - var bestPoa string for _, coord := range coordinates { - var maxRsrp float32 = 40 - var maxRsrq float32 = -2 + maxRsrp := minCell4gRsrp + maxRsrq := minCell4gRsrq + var bestPoa string for _, poa := range poaMap { _ = json.Unmarshal([]byte(poa.Position), &position) poaLat := position.Coordinates[1] @@ -2157,7 +2157,9 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co if rsrp > maxRsrp { maxRsrp = rsrp maxRsrq = rsrq - bestPoa = poa.Name + if maxRsrp != minCell4gRsrp && maxRsrq != minCell4gRsrq { + bestPoa = poa.Name + } } } @@ -2166,8 +2168,11 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co Longitude: coord.Longitude, Rsrp: maxRsrp, Rsrq: maxRsrq, - PoaName: bestPoa, } + if maxRsrp != minCell4gRsrp && maxRsrq != minCell4gRsrq { + newCoordinatePowerValue.PoaName = bestPoa + } + CoordinatePowerValues = append(CoordinatePowerValues, newCoordinatePowerValue) } return CoordinatePowerValues, nil -- GitLab From e2b659518e506b35fa05a4cb1b99f3f3ac158d9c Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 12 Apr 2022 12:51:17 +0200 Subject: [PATCH 039/183] Update test scripts for VIS --- go-apps/meep-ams/server/convert.go | 0 go-apps/meep-vis/server/vis.go | 37 +++++++++- go-apps/meep-vis/server/vis_test.go | 105 ++++++++++++++++++++++++++-- 3 files changed, 135 insertions(+), 7 deletions(-) mode change 100755 => 100644 go-apps/meep-ams/server/convert.go diff --git a/go-apps/meep-ams/server/convert.go b/go-apps/meep-ams/server/convert.go old mode 100755 new mode 100644 diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 28741018f..0c1329e63 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -20,6 +20,7 @@ import ( "context" "encoding/json" "errors" + "fmt" "net/http" "net/url" "os" @@ -138,7 +139,7 @@ var svcMgmtClient *smc.APIClient var sbxCtrlClient *scc.APIClient var registrationTicker *time.Ticker -var subMgr *sm.SubscriptionMgr +var subMgr *sm.SubscriptionMgr = nil func notImplemented(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") @@ -567,7 +568,9 @@ func cleanUp() { log.Info("Terminate all") // Flush subscriptions - _ = subMgr.DeleteAllSubscriptions() + if subMgr != nil { + _ = subMgr.DeleteAllSubscriptions() + } // Flush all service data rc.DBFlush(baseKey) @@ -592,6 +595,36 @@ func updateStoreName(storeName string) { } } func predictedQosPost(w http.ResponseWriter, r *http.Request) { + log.Info(">>> predictedQosPost") w.Header().Set("Content-Type", "application/json; charset=UTF-8") + + // This hadr-coded response is just for testing purpose + // VIS QoS logic shall be imlemented here + // Initialize the data structure for the POST request + // MEC-030 Clause 6.2.5 + // MEC-030 Clause 7.6.3.4 + expected_pointA := LocationInfoGeoArea{7.413917, 43.733505} + expected_locationInfoA := LocationInfo{nil, &expected_pointA} + expected_pointB := LocationInfoGeoArea{7.413916, 43.733515} + expected_locationInfoB := LocationInfo{nil, &expected_pointB} + // Fill PredictedQosRoutesRouteInfo with LocationInfo list + expected_routeInfo := make([]PredictedQosRoutesRouteInfo, 2) + expected_routeInfo[0] = PredictedQosRoutesRouteInfo{&expected_locationInfoA, 0, 0, nil} + expected_routeInfo[1] = PredictedQosRoutesRouteInfo{&expected_locationInfoB, 0, 0, nil} + // PredictedQosRoutes with PredictedQosRoutesRouteInfo list + expected_predictedQosRoutes := PredictedQosRoutes{expected_routeInfo} + // Fill PredictedQos with PredictedQosRoutes list + expected_routes := make([]PredictedQosRoutes, 1) + expected_routes[0] = expected_predictedQosRoutes + response := PredictedQos{"100", expected_routes, nil} + fmt.Println("response: ", response) + + jsonResponse, err := json.Marshal(response) + if err != nil { + log.Error(err.Error()) + http.Error(w, err.Error(), http.StatusInternalServerError) + return + } w.WriteHeader(http.StatusOK) + fmt.Fprintf(w, string(jsonResponse)) } diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 6f1e7e6ad..1ee4dc64a 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -20,8 +20,8 @@ import ( "github.com/gorilla/mux" ) -const INITIAL = 0 -const UPDATED = 1 +//const INITIAL = 0 +//const UPDATED = 1 //json format using spacing to facilitate reading const testScenario string = ` @@ -492,6 +492,21 @@ func TestPredictedQosPost(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) + initializeVars() + + err := Init() + if err != nil { + t.Fatalf("Error initializing test basic procedure") + } + err = Run() + if err != nil { + t.Fatalf("Error running test basic procedure") + } + + fmt.Println("Set a scenario") + initialiseScenario(testScenario) + fmt.Println("Scenario was set") + /****************************** * expected response section ******************************/ @@ -554,17 +569,97 @@ func TestPredictedQosPost(t *testing.T) { rr, err := sendRequest(http.MethodPost, "/provide_predicted_qos", bytes.NewBuffer(body), nil, nil, http.StatusOK, PredictedQosPOST) if err != nil { - t.Fatalf("Failed to get expected expected") + t.Fatalf(err.Error()) } + log.Info("sendRequest done") var respBody PredictedQos err = json.Unmarshal([]byte(rr), &respBody) if err != nil { - t.Fatalf("Failed to get expected response") + t.Fatalf(err.Error()) } fmt.Println("respBody: ", respBody) if rr != string(expected_predictedQos_str) { - t.Fatalf("Failed to get expected response") + t.Fatalf(err.Error()) + } + log.Info("Received expected response") + + /****************************** + * back to initial state section + ******************************/ + terminateScenario() +} + +func initializeVars() { + mod.DbAddress = redisTestAddr + redisAddr = redisTestAddr + influxAddr = influxTestAddr + sandboxName = testScenarioName +} + +func initialiseScenario(testScenario string) { + log.Info(">>> initialiseScenario") + + //clear DB + cleanUp() + + cfg := mod.ModelCfg{ + Name: testScenarioName, + Namespace: sandboxName, + Module: "test-mod", + UpdateCb: nil, + DbAddr: redisAddr, + } + + var err error + m, err = mod.NewModel(cfg) + if err != nil { + log.Error("Failed to create model: ", err) + return + } + log.Info("initialiseScenario: model created") + + // Create message queue + mqLocal, err = mq.NewMsgQueue(mq.GetLocalName(testScenarioName), "test-mod", testScenarioName, redisAddr) + if err != nil { + log.Error("Failed to create Message Queue with error: ", err) + return + } + log.Info("Message Queue created") + + fmt.Println("Set Model") + err = m.SetScenario([]byte(testScenario)) + if err != nil { + log.Error("Failed to set model: ", err) + return + } + + err = m.Activate() + if err != nil { + log.Error("Failed to activate scenario with err: ", err.Error()) + return + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioActivate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + return + } + + time.Sleep(100 * time.Millisecond) + +} + +func terminateScenario() { + if mqLocal != nil { + _ = Stop() + msg := mqLocal.CreateMsg(mq.MsgScenarioTerminate, mq.TargetAll, testScenarioName) + err := mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + time.Sleep(100 * time.Millisecond) } } -- GitLab From f5124e757221c7f3c319b0f688e524de9b02af3c Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 12 Apr 2022 13:58:56 +0200 Subject: [PATCH 040/183] Update test scripts for VIS --- go-apps/meep-vis/server/vis.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 0c1329e63..e4aac1e74 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -594,15 +594,13 @@ func updateStoreName(storeName string) { } } } + func predictedQosPost(w http.ResponseWriter, r *http.Request) { log.Info(">>> predictedQosPost") w.Header().Set("Content-Type", "application/json; charset=UTF-8") - // This hadr-coded response is just for testing purpose + // This hard-coded response is just for testing purpose // VIS QoS logic shall be imlemented here - // Initialize the data structure for the POST request - // MEC-030 Clause 6.2.5 - // MEC-030 Clause 7.6.3.4 expected_pointA := LocationInfoGeoArea{7.413917, 43.733505} expected_locationInfoA := LocationInfo{nil, &expected_pointA} expected_pointB := LocationInfoGeoArea{7.413916, 43.733515} @@ -618,6 +616,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { expected_routes[0] = expected_predictedQosRoutes response := PredictedQos{"100", expected_routes, nil} fmt.Println("response: ", response) + // End of hard-coded response jsonResponse, err := json.Marshal(response) if err != nil { @@ -626,5 +625,6 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) + fmt.Fprintf(w, string(jsonResponse)) } -- GitLab From 5277836784c53640199cc9c38455bc2949cc75a5 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 14 Apr 2022 12:40:56 +0500 Subject: [PATCH 041/183] generate new data models for meep-vis as per new OAS file --- go-apps/meep-vis/Dockerfile | 2 +- .../meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml | 1775 -------------- go-apps/meep-vis/api/swagger.yaml | 2030 ++++++++++------- go-apps/meep-vis/main.go | 2 +- go-apps/meep-vis/sbi/vis-sbi.go | 2 +- go-apps/meep-vis/server/api_unsupported.go | 2 +- .../server/{api_qos.go => api_v2xi.go} | 2 +- go-apps/meep-vis/server/logger.go | 2 +- .../model_app_termination_notification.go | 2 +- ...del_app_termination_notification__links.go | 2 +- go-apps/meep-vis/server/model_body.go | 2 +- go-apps/meep-vis/server/model_body_1.go | 2 +- go-apps/meep-vis/server/model_cell_id.go | 2 +- go-apps/meep-vis/server/model_earfcn.go | 2 +- go-apps/meep-vis/server/model_ecgi.go | 2 +- go-apps/meep-vis/server/model_fdd_info.go | 2 +- go-apps/meep-vis/server/model_link_type.go | 2 +- go-apps/meep-vis/server/model_links.go | 2 +- .../meep-vis/server/model_location_info.go | 2 +- .../server/model_location_info_geo_area.go | 2 +- go-apps/meep-vis/server/model_msg_type.go | 44 + go-apps/meep-vis/server/model_one_ofbody.go | 2 +- go-apps/meep-vis/server/model_one_ofbody_1.go | 2 +- .../server/model_operation_action_type.go | 2 +- .../server/model_pc5_neighbour_cell_info.go | 2 +- ...nner.go => model_pc5_provisioning_info.go} | 6 +- go-apps/meep-vis/server/model_plmn.go | 2 +- .../meep-vis/server/model_predicted_qos.go | 2 +- .../server/model_predicted_qos_routes.go | 2 +- .../model_predicted_qos_routes_route_info.go | 2 +- .../meep-vis/server/model_problem_details.go | 2 +- .../server/model_prov_chg_pc5_notification.go | 2 +- .../server/model_prov_chg_pc5_subscription.go | 2 +- ...ov_chg_pc5_subscription_filter_criteria.go | 2 +- .../model_prov_chg_uu_mbms_notification.go | 2 +- .../model_prov_chg_uu_mbms_subscription.go | 2 +- ...hg_uu_mbms_subscription_filter_criteria.go | 2 +- .../model_prov_chg_uu_uni_notification.go | 2 +- .../model_prov_chg_uu_uni_subscription.go | 2 +- ...chg_uu_uni_subscription_filter_criteria.go | 2 +- .../server/model_subscription_link_list.go | 4 +- ... => model_subscription_link_list_links.go} | 7 +- .../model_system_information_block_type21.go | 2 +- go-apps/meep-vis/server/model_tdd_info.go | 2 +- .../server/model_test_notification.go | 2 +- .../server/model_test_notification__links.go | 2 +- go-apps/meep-vis/server/model_time_stamp.go | 2 +- .../server/model_transmission_bandwidth.go | 5 +- ...ission_bandwidth_transmission_bandwidth.go | 37 + .../model_uu_mbms_neighbour_cell_info.go | 2 +- ....go => model_uu_mbms_provisioning_info.go} | 6 +- .../model_uu_uni_neighbour_cell_info.go | 2 +- ... => model_uu_unicast_provisioning_info.go} | 6 +- .../server/model_v2x_application_server.go | 2 +- .../server/model_v2x_msg_notification.go | 6 +- .../model_v2x_msg_notification_links.go | 2 +- .../server/model_v2x_msg_publication.go | 6 +- .../server/model_v2x_msg_subscription.go | 2 +- ...el_v2x_msg_subscription_filter_criteria.go | 2 +- .../meep-vis/server/model_v2x_server_usd.go | 2 +- .../server/model_v2x_server_usd_sdp_info.go | 2 +- .../server/model_v2x_server_usd_tmgi.go | 2 +- .../server/model_websock_notif_config.go | 2 +- go-apps/meep-vis/server/routers.go | 2 +- go-apps/meep-vis/server/vis.go | 2 +- 65 files changed, 1347 insertions(+), 2691 deletions(-) delete mode 100644 go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml rename go-apps/meep-vis/server/{api_qos.go => api_v2xi.go} (96%) create mode 100644 go-apps/meep-vis/server/model_msg_type.go rename go-apps/meep-vis/server/{model_pc5_provisioning_info_inner.go => model_pc5_provisioning_info.go} (90%) rename go-apps/meep-vis/server/{model_subscription_link_list_links_inner.go => model_subscription_link_list_links.go} (89%) create mode 100644 go-apps/meep-vis/server/model_transmission_bandwidth_transmission_bandwidth.go rename go-apps/meep-vis/server/{model_uu_mbms_provisioning_info_inner.go => model_uu_mbms_provisioning_info.go} (90%) rename go-apps/meep-vis/server/{model_uu_unicast_provisioning_info_inner.go => model_uu_unicast_provisioning_info.go} (89%) diff --git a/go-apps/meep-vis/Dockerfile b/go-apps/meep-vis/Dockerfile index 45121e2a7..cd86c6a51 100644 --- a/go-apps/meep-vis/Dockerfile +++ b/go-apps/meep-vis/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2020 InterDigital Communications, Inc +# Copyright (c) 2022 InterDigital Communications, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml b/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml deleted file mode 100644 index b381726dc..000000000 --- a/go-apps/meep-vis/api/MEC030_v2.2.1_OAS3.0.yaml +++ /dev/null @@ -1,1775 +0,0 @@ -openapi: 3.0.0 -info: - title: AdvantEDGE V2X Information Service REST API - description: - V2X Information Service is AdvantEDGE's implementation of [ETSI MEC - ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) -

**Type & Usage**
Edge Service used by edge applications that want to get - information about radio conditions in the network

**Note**
AdvantEDGE supports - a selected subset of RNI API endpoints (see below) and a subset of subscription - types. - contact: - name: InterDigital AdvantEDGE Support - email: AdvantEDGE@InterDigital.com - license: - name: Apache 2.0 - url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.2.1 -externalDocs: - description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 - url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf -servers: - - url: https://localhost/sandboxname/vis/v2 -tags: - - name: QoS - - name: unsupported - -paths: - /queries/uu_unicast_provisioning_info: - get: - tags: - - 'unsupported' - summary: 'Used to query provisioning information for V2X communication over Uu unicast.' - description: 'Used to query provisioning information for V2X communication over Uu unicast.' - operationId: prov_info_uu_unicastGET - parameters: - - in: query - name: location_info - schema: - type: string - required: true - description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' - - responses: - '200': - description: 'A response body containing the Uu unicast provisioning information. ' - content: - application/json: - schema: - $ref: '#/components/schemas/UuUnicastProvisioningInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - - /queries/uu_mbms_provisioning_info: - get: - tags: - - 'unsupported' - summary: 'retrieve information required for V2X communication over Uu MBMS.' - description: 'retrieve information required for V2X communication over Uu MBMS.' - operationId: prov_info_uu_mbmsGET - parameters: - - in: query - name: location_info - schema: - type: string - required: true - description: 'omma separated list of locations to identify a cell of a base station or a particular geographical area' - - responses: - '200': - description: 'A response body containing the Uu unicast provisioning information. ' - content: - application/json: - schema: - $ref: '#/components/schemas/UuMbmsProvisioningInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - - /queries/pc5_provisioning_info: - get: - tags: - - 'unsupported' - summary: 'Query provisioning information for V2X communication over PC5.' - description: 'Query provisioning information for V2X communication over PC5.' - operationId: prov_infoGET - parameters: - - in: query - name: location_info - schema: - type: string - required: true - description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' - responses: - '200': - description: 'A response body containing the PC5 provisioning information is returned.' - content: - application/json: - schema: - $ref: '#/components/schemas/Pc5ProvisioningInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - - /provide_predicted_qos: - post: - tags: - - 'QoS' - summary: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' - description: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' - operationId: predicted_qosPOST - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/PredictedQos' - responses: - '200': - description: 'The response body shall contain the predicted QoS corresponding to potential routes of a vehicular UE' - content: - application/json: - schema: - $ref: '#/components/schemas/PredictedQos' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - - /publish_v2x_message: - post: - tags: - - 'unsupported' - summary: 'Used to publish a V2X message.' - description: 'Used to publish a V2X message.' - operationId: v2x_messagePOST - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/V2xMsgPublication' - responses: - '204': - $ref: '#/components/responses/204' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - - /subscriptions: - get: - tags: - - 'unsupported' - summary: 'Request information about the subscriptions for this requestor.' - description: 'Request information about the subscriptions for this requestor.' - operationId: subGET - parameters: - - in: query - name: subscription_type - description: 'Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message' - schema: - type: string - required: false - responses: - '200': - description: 'A response body containing the list of links to requestor subscriptions is returned.' - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionLinkList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - post: - tags: - - 'unsupported' - summary: ' create a new subscription to VIS notifications.' - description: ' create a new subscription to VIS notifications.' - operationId: subPOST - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - responses: - '201': - description: 'In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type.' - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '415': - $ref: '#/components/responses/415' - '422': - $ref: '#/components/responses/422' - '429': - $ref: '#/components/responses/429' - - callbacks: - notification: - '{$request.body#/callbackReference}': - post: - summary: 'Callback POST used to send a notification' - description: 'A notification from VIS.' - operationId: notificationPOST - requestBody: - description: Subscription notification - required: true - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniNotification' - - $ref: '#/components/schemas/ProvChgUuMbmsNotification' - - $ref: '#/components/schemas/ProvChgPc5Notification' - - $ref: '#/components/schemas/V2xMsgNotification' - responses: - '204': - $ref: '#/components/responses/204' - - /subscriptions/{subscriptionId}: - parameters: - - in: path - name: subscriptionId - description: 'Refers to created subscription, where the VIS API allocates a unique resource name for this subscription' - schema: - type: string - required: true - - get: - tags: - - 'unsupported' - summary: 'Retrieve information about this subscription.' - description: 'Retrieve information about this subscription.' - operationId: individualSubscriptionGET - - responses: - '200': - description: 'A response body containing the data type describing the specific RNI event subscription is returned' - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - - put: - tags: - - 'unsupported' - summary: 'Used to update the existing subscription.' - description: 'Used to update the existing subscription.' - operationId: individualSubscriptionPUT - requestBody: - required: true - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - responses: - '200': - description: 'A response body containing data type describing the updated subscription is returned' - content: - application/json: - schema: - oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - - '403': - $ref: '#/components/responses/403' - - '404': - $ref: '#/components/responses/404' - - '406': - $ref: '#/components/responses/406' - - '412': - $ref: '#/components/responses/412' - - '422': - $ref: '#/components/responses/422' - - '429': - $ref: '#/components/responses/429' - delete: - tags: - - 'unsupported' - summary: 'Used to cancel the existing subscription.' - description: 'Used to cancel the existing subscription.' - operationId: individualSubscriptionDELETE - responses: - '204': - $ref: '#/components/responses/204' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '429': - $ref: '#/components/responses/429' - - # /notifitication_end_point_provided_by_client - #post: - - /notifications/mec011/appTermination: - post: - tags: - - 'QoS' - summary: 'MEC011 Application Termination notification for self termination' - description: 'Terminates itself.' - operationId: mec011AppTerminationPOST - requestBody: - description: 'Termination notification details' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: 'AppTerminationNotification' - operationAction: 'TERMINATING' - maxGracefulTimeout: 10 - _links: - subscription: - href: 'http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123' - confirmTermination: - href: 'http://mec011Server.example.com/mec_app_support/v1/confirm_termination' - responses: - '204': - description: No Content - x-swagger-router-controller: 'notifications' - -components: - schemas: - 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 - Earfcn: - properties: - earfcn: - description: E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Integer - required: - - earfcn - type: object - x-etsi-ref: 6.6.3 - Ecgi: - properties: - cellId: - # description': The E-UTRAN Cell Identity. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': CellId - $ref: '#/components/schemas/CellId' - plmn: - # description': Public Land Mobile Network Identity. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Plmn - $ref: '#/components/schemas/Plmn' - required: - - plmn - - cellId - type: object - x-etsi-ref: 6.5.5 - FddInfo: - properties: - dlEarfcn: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Earfcn - $ref: '#/components/schemas/Earfcn' - dlTransmissionBandwidth: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TransmissionBandwidth - $ref: '#/components/schemas/TransmissionBandwidth' - ulEarfcn: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Earfcn - $ref: '#/components/schemas/Earfcn' - ulTransmissionBandwidth: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TransmissionBandwidth - $ref: '#/components/schemas/TransmissionBandwidth' - required: - - ulEarfcn - - dlEarfcn - - ulTransmissionBandwidth - - dlTransmissionBandwidth - type: object - x-etsi-ref: 6.5.6 - links: - description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. - properties: - self: - # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - required: - - self - type: object - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Structure (inlined) - LinkType: - properties: - href: - description: URI referring to a resource - format: uri - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Uri - required: - - href - type: object - x-etsi-ref: 6.5.13 - LocationInfo: - properties: - ecgi: - # description': E-UTRAN CelI Global Identifier of the serving cell. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': Ecgi - $ref: '#/components/schemas/Ecgi' - geoArea: - $ref: '#/components/schemas/LocationInfo.geoArea' - type: object - x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." - x-etsi-ref: 6.5.3 - LocationInfo.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 - x-etsi-mec-origin-type: Structure (inlined) - Pc5NeighbourCellInfo: - properties: - ecgi: - # description': E-UTRAN CelI Global Identifier. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Ecgi - $ref: '#/components/schemas/Ecgi' - plmn: - # description': Public Land Mobile Network Identity. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Plmn - $ref: '#/components/schemas/Plmn' - siV2xConfig: - # description': V2X sidelink communication configuration, as defined in ETSI TS 136 331 [i.11]. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': SystemInformationBlockType21 (as defined in ETSI TS 136 331 [i.11]) - $ref: '#/components/schemas/SystemInformationBlockType21' - required: - - plmn - - ecgi - - siV2xConfig - type: object - x-etsi-ref: 6.5.12 - Pc5ProvisioningInfo: - items: - properties: - proInfoPc5: - $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - type: object - required: - - proInfoPc5 - type: object - x-etsi-ref: 6.2.4 - Pc5ProvisioningInfo.proInfoPc5: - description: The provisioning information per location as defined below. - items: - type: object - minItems: 1 - 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 TS\_136\_321 [i.12].\nPLMN operators coordinate to make sure Destination Layer2 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: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - required: - - locationInfo - - dstLayer2Id - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - 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 - PredictedQos: - properties: - locationGranularity: - description: Granularity of visited location. Measured in meters. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - routes: - description: Information relating to the potential routes of a vehicular UE. - items: - $ref: '#/components/schemas/PredictedQos.routes' - minItems: 1 - required: - - routeInfo - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - timeGranularity: - # description': Time granularity of visiting a location. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - required: - - locationGranularity - - routes - type: object - x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which indicates the granularity of a visited location by means of latitudinal and longitudinal margins." - x-etsi-ref: 6.2.5 - PredictedQos.routes: - properties: - routeInfo: - description: 'Information relating to a specific route. - - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided.' - items: - $ref: '#/components/schemas/PredictedQos.routes.routeInfo' - required: - - location - minItems: 2 - type: array - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) - type: object - minItems: 1 - PredictedQos.routes.routeInfo: - type: object - properties: - location: - # description': Vehicular UE location. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - rsrp: - description: - 'Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. - - Shall only be included in the response.' - format: uint8 - type: integer - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - description: - 'Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. - - Shall only be included in the response.' - format: uint8 - type: integer - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - time: - # description': Estimated time at the location. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - ProblemDetails: - properties: - detail: - description: A human-readable explanation specific to this occurrence of the problem - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - instance: - description: A URI reference that identifies the specific occurrence of the problem - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - status: - description: The HTTP status code for this occurrence of the problem - format: uint32 - type: integer - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - title: - description: A short, human-readable summary of the problem type - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - type: - description: A URI reference according to IETF RFC 3986 that identifies the problem type - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - type: object - ProvChgPc5Notification: - 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 TS 136 321 [i.12]. - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - notificationType: - description: Shall be set to "ProvChgPc5Notification". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - required: - - notificationType - - locationInfo - type: object - x-etsi-ref: 6.4.4 - ProvChgPc5Subscription: - properties: - _links: - $ref: '#/components/schemas/links' - callbackReference: - description: URI exposed by the client on which to receive notifications via HTTP. See note. - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uri - expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - filterCriteria: - $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' - requestTestNotification: - description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." - type: boolean - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Boolean - subscriptionType: - description: Shall be set to "ProvChgPc5Subscription". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - websockNotifConfig: - # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': WebsockNotifConfig - $ref: '#/components/schemas/WebsockNotifConfig' - required: - - subscriptionType - - filterCriteria - type: object - x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.' - x-etsi-ref: 6.3.4 - ProvChgPc5Subscription.filterCriteria: - description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - 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 TS 136 321 [i.12]. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. - items: - $ref: '#/components/schemas/Pc5NeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Pc5NeighbourCellInfo - required: - - locationInfo - - dstLayer2Id - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - ProvChgUuMbmsNotification: - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - notificationType: - description: Shall be set to "ProvChgUuMbmsNotification". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - v2xServerUsd: - # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': V2xServerUsd - $ref: '#/components/schemas/V2xServerUsd' - required: - - notificationType - - locationInfo - type: object - x-etsi-ref: 6.4.3 - ProvChgUuMbmsSubscription: - properties: - _links: - $ref: '#/components/schemas/links' - callbackReference: - description: URI exposed by the client on which to receive notifications via HTTP. See note. - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uri - expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - filterCriteria: - $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' - requestTestNotification: - description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." - type: boolean - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Boolean - subscriptionType: - description: Shall be set to "ProvChgUuMbmsSubscription". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - websockNotifConfig: - # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': WebsockNotifConfig - $ref: '#/components/schemas/WebsockNotifConfig' - required: - - subscriptionType - - filterCriteria - type: object - x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." - x-etsi-ref: 6.3.3 - ProvChgUuMbmsSubscription.filterCriteria: - description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': V2xServerUsd - $ref: '#/components/schemas/V2xServerUsd' - required: - - locationInfo - - v2xServerUsd - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - ProvChgUuUniNotification: - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - notificationType: - description: Shall be set to "ProvChgUuUniNotification". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - v2xApplicationServer: - # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': V2xApplicationServer - $ref: '#/components/schemas/V2xApplicationServer' - required: - - notificationType - - locationInfo - type: object - x-etsi-ref: 6.4.2 - ProvChgUuUniSubscription: - properties: - _links: - $ref: '#/components/schemas/links' - callbackReference: - description: URI exposed by the client on which to receive notifications via HTTP. See note. - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uri - expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - filterCriteria: - $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' - requestTestNotification: - description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." - type: boolean - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Boolean - subscriptionType: - description: Shall be set to "ProvChgUuUniSubscription". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - websockNotifConfig: - # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': WebsockNotifConfig - $ref: '#/components/schemas/WebsockNotifConfig' - required: - - subscriptionType - - filterCriteria - type: object - x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." - x-etsi-ref: 6.3.2 - ProvChgUuUniSubscription.filterCriteria: - description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': V2xApplicationServer - $ref: '#/components/schemas/V2xApplicationServer' - required: - - locationInfo - - v2xApplicationServer - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - SubscriptionLinkList: - properties: - _links: - $ref: '#/components/schemas/SubscriptionLinkList.links' - required: - - _links - type: object - x-etsi-ref: 6.3.6 - SystemInformationBlockType21: - type: object - TddInfo: - properties: - earfcn: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Earfcn - $ref: '#/components/schemas/Earfcn' - subframeAssignment: - description: Uplink-downlink subframe configuration information. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - transmissionBandwidth: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TransmissionBandwidth - $ref: '#/components/schemas/TransmissionBandwidth' - required: - - earfcn - - transmissionBandwidth - - subframeAssignment - type: object - x-etsi-ref: 6.5.7 - SubscriptionLinkList.links: - description: List of hyperlinks related to the resource. - items: - properties: - self: - # description': URI of this resource. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - subscriptions: - $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' - type: object - required: - - self - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - SubscriptionLinkList.links.subscriptions: - description: The service consumer's subscriptions. - items: - type: object - minItems: 0 - properties: - href: - description: The URI referring to the subscription. - format: uri - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI - subscriptionType: - description: Type of the subscription. The values are as defined in the "subscriptionType" attribute for each different V2X information event subscription data type. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - required: - - href - - subscriptionType - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - TestNotification: - properties: - _links: - description: 'Hyperlink related to the resource. ' - properties: - subscription: - # description': URI identifying the subscription for the test notification. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - required: - - subscription - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - notificationType: - description: Shall be set to "TestNotification". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - required: - - notificationType - - _links - type: object - x-etsi-ref: 6.4.6 - TimeStamp: - properties: - nanoSeconds: - description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. - format: uint32 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Uint32 - seconds: - description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. - format: uint32 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Uint32 - required: - - seconds - - nanoSeconds - type: object - x-etsi-ref: 6.5.2 - TransmissionBandwidth: - properties: - transmissionBandwidth: - description: | - 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: - - 1 = bw6 (6 resource blocks) - - 2 = bw15 (15 resource blocks) - - 3 = bw25 (25 resource blocks) - - 4 = bw50 (50 resource blocks) - - 5 = bw75 (75 resource blocks) - - 6 = bw100 (100 resource blocks)' - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - required: - - transmissionBandwidth - type: object - x-etsi-ref: 6.6.4 - UuMbmsNeighbourCellInfo: - properties: - ecgi: - # description': E-UTRAN CelI Global Identifier. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Ecgi - $ref: '#/components/schemas/Ecgi' - fddInfo: - # description': Information for FDD operation. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': FddInfo - $ref: '#/components/schemas/FddInfo' - mbmsServiceAreaIdentity: - description: Supported MBMS Service Area Identities in the cell. - items: - type: string - minItems: 1 - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: String - pci: - description: Physical Cell Identifier. - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Integer - plmn: - # description': Public Land Mobile Network Identity. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Plmn - $ref: '#/components/schemas/Plmn' - tddInfo: - # description': Information for TDD operation. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TddInfo - $ref: '#/components/schemas/TddInfo' - required: - - plmn - - ecgi - - pci - - fddInfo - - tddInfo - - mbmsServiceAreaIdentity - type: object - x-etsi-ref: 6.5.11 - UuMbmsProvisioningInfo: - items: - properties: - proInfoUuMbms: - $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - type: object - required: - - proInfoUuMbms - type: object - x-etsi-ref: 6.2.3 - UuMbmsProvisioningInfo.proInfoUuMbms: - description: The provisioning information per location as defined below. - items: - type: object - minItems: 1 - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. - items: - $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo - v2xServerUsd: - # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': V2xServerUsd - $ref: '#/components/schemas/V2xServerUsd' - required: - - locationInfo - - v2xServerUsd - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - UuUniNeighbourCellInfo: - properties: - ecgi: - # description': E-UTRAN CelI Global Identifier. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Ecgi - $ref: '#/components/schemas/Ecgi' - fddInfo: - # description': Information for FDD operation. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': FddInfo - $ref: '#/components/schemas/FddInfo' - pci: - description: Physical Cell Identifier. - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Integer - plmn: - # description': Public Land Mobile Network Identity. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': Plmn - $ref: '#/components/schemas/Plmn' - tddInfo: - # description': Information for TDD operation. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TddInfo - $ref: '#/components/schemas/TddInfo' - required: - - plmn - - ecgi - - pci - - fddInfo - - tddInfo - type: object - x-etsi-ref: 6.5.9 - UuUnicastProvisioningInfo: - items: - properties: - proInfoUuUnicast: - $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - type: object - required: - - proInfoUuUnicast - type: object - x-etsi-ref: 6.2.2 - UuUnicastProvisioningInfo.proInfoUuUnicast: - description: The provisioning information per location as defined below. - items: - type: object - minItems: 1 - properties: - locationInfo: - # description': Location information to identify a cell of a base station or a particular geographical area. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LocationInfo - $ref: '#/components/schemas/LocationInfo' - neighbourCellInfo: - description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. - items: - $ref: '#/components/schemas/UuUniNeighbourCellInfo' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: UuUniNeighbourCellInfo - v2xApplicationServer: - # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': V2xApplicationServer - $ref: '#/components/schemas/V2xApplicationServer' - required: - - locationInfo - - v2xApplicationServer - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - V2xApplicationServer: - properties: - ipAddress: - description: '' - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - udpPort: - description: '' - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - required: - - ipAddress - - udpPort - type: object - x-etsi-ref: 6.5.8 - V2xMsgNotification: - properties: - _links: - $ref: '#/components/schemas/V2xMsgNotification.links' - msgContent: - description: Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - msgEncodeFormat: - description: The encode format of the V2X message, for example base64. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - msgType: - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - notificationType: - description: Shall be set to "V2xMsgNotification". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - stdOrganization: - description: "Standardization organization which defines the published V2X message type: \nETSI: European Telecommunications Standards Institute.\nSee note 1." - enum: - - ETSI - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - timeStamp: - # description': Date and time of the notification generation. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - required: - - notificationType - - timeStamp - - stdOrganization - - msgType - - msgEncodeFormat - - msgContent - - _links - type: object - x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." - x-etsi-ref: 6.4.5 - V2xMsgNotification.links: - description: links to resources related to this notification. - properties: - subscription: - # description': A link to the related subscription. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - required: - - subscription - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - V2xMsgPublication: - properties: - msgContent: - description: Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - msgEncodeFormat: - description: The encode format of the V2X message, for example base64. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - msgType: - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - stdOrganization: - description: "Standardization organization which defines the published V2X message type:\nETSI: European Telecommunications Standards Institute. \nSee note 1." - enum: - - ETSI - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - required: - - stdOrganization - - msgType - - msgEncodeFormat - - msgContent - type: object - x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." - x-etsi-ref: 6.2.6 - V2xMsgSubscription: - properties: - _links: - $ref: '#/components/schemas/links' - callbackReference: - description: URI exposed by the client on which to receive notifications via HTTP. See note 1. - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uri - expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - filterCriteria: - $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' - requestTestNotification: - description: "Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS\_MEC 009 [i.1], clause 6.12a.\nDefault: FALSE." - type: boolean - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Boolean - subscriptionType: - description: Shall be set to "V2xMsgSubscription". - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - websockNotifConfig: - # description': Provides details to negotiate and signal the use of a Websocket connection between VIS and the service consumer for notifications. See note 1. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': WebsockNotifConfig - $ref: '#/components/schemas/WebsockNotifConfig' - required: - - subscriptionType - - filterCriteria - type: object - x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\tOther standardization organizations could be added as needed.\nNOTE 3:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." - x-etsi-ref: 6.3.5 - V2xMsgSubscription.filterCriteria: - description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - properties: - msgType: - description: Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. - items: - type: string - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Enum - stdOrganization: - description: "Standardization organization which defines the subscribed V2X message type: \nETSI: European Telecommunications Standards Institute. \nSee note 2." - enum: - - ETSI - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - required: - - stdOrganization - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - V2xServerUsd: - properties: - sdpInfo: - $ref: '#/components/schemas/V2xServerUsd.sdpInfo' - serviceAreaIdentifier: - description: A list of service area identifier for the applicable MBMS broadcast area. - items: - type: string - minItems: 1 - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: String - tmgi: - $ref: '#/components/schemas/V2xServerUsd.tmgi' - required: - - tmgi - - serviceAreaIdentifier - - sdpInfo - type: object - x-etsi-ref: 6.5.10 - V2xServerUsd.sdpInfo: - description: SDP with IP multicast address and port number used for V2X communication via MBMS. - properties: - ipMulticastAddress: - description: '' - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - portNumber: - description: '' - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - required: - - ipMulticastAddress - - portNumber - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - V2xServerUsd.tmgi: - description: Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. - properties: - mbmsServiceId: - description: MBMS Service ID consisting of three octets. - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - 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: - - mbmsServiceId - - mcc - - mnc - type: object - x-etsi-mec-cardinality: '' - x-etsi-mec-origin-type: Structure (inlined) - WebsockNotifConfig: - properties: - requestWebsocketUri: - description: Set to TRUE by the service consumer to indicate that Websocket delivery is requested. - type: boolean - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Boolean - websocketUri: - description: Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uri - type: object - x-etsi-ref: 6.5.14 - AppTerminationNotification: - description: >- - This type represents the information that the MEC platform - notifies the subscribed application instance about the corresponding - application instance termination/stop. - type: object - required: - - notificationType - - operationAction - - maxGracefulTimeout - - _links - properties: - notificationType: - description: Shall be set to AppTerminationNotification. - type: string - operationAction: - $ref: '#/components/schemas/OperationActionType' - maxGracefulTimeout: - description: >- - Maximum timeout value in seconds for graceful termination or graceful - stop of an application instance. - type: integer - format: uint32 - _links: - description: >- - Object containing hyperlinks related to the resource. - type: object - required: - - subscription - properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' - OperationActionType: - description: Operation that is being performed on the MEC application instance. - type: string - enum: - - STOPPING - - TERMINATING - - responses: - '204': - description: No Content - '206': - description: Partial content - '400': - description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '401': - description: 'Unauthorized : used when the client did not submit credentials.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '403': - description: 'Forbidden : operation is not allowed given the current status of the resource.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '404': - description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '406': - description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '409': - description: 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '412': - description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '415': - description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '422': - description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - '429': - description: 'Too Many Requests : used when a rate limiter has triggered.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' diff --git a/go-apps/meep-vis/api/swagger.yaml b/go-apps/meep-vis/api/swagger.yaml index 532a0c31c..4aa0a30a8 100644 --- a/go-apps/meep-vis/api/swagger.yaml +++ b/go-apps/meep-vis/api/swagger.yaml @@ -1,8 +1,7 @@ openapi: 3.0.0 info: title: AdvantEDGE V2X Information Service REST API - description: - V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) @@ -21,79 +20,72 @@ externalDocs: description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf servers: - - url: https://localhost/sandboxname/vis/v2 +- url: https://localhost/sandboxname/vis/v2 tags: - - name: QoS - - name: unsupported +- name: v2xi +- name: unsupported paths: /queries/uu_unicast_provisioning_info: get: tags: - - unsupported - summary: - Used to query provisioning information for V2X communication over Uu + - unsupported + summary: Used to query provisioning information for V2X communication over Uu unicast. - description: - Used to query provisioning information for V2X communication over + description: Used to query provisioning information for V2X communication over Uu unicast. operationId: prov_info_uu_unicastGET parameters: - - name: location_info - in: query - description: - Comma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - '200': + "200": description: 'A response body containing the Uu unicast provisioning information. ' content: application/json: schema: $ref: '#/components/schemas/UuUnicastProvisioningInfo' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -102,67 +94,62 @@ paths: /queries/uu_mbms_provisioning_info: get: tags: - - unsupported + - unsupported summary: retrieve information required for V2X communication over Uu MBMS. description: retrieve information required for V2X communication over Uu MBMS. operationId: prov_info_uu_mbmsGET parameters: - - name: location_info - in: query - description: - omma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: omma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - '200': + "200": description: 'A response body containing the Uu unicast provisioning information. ' content: application/json: schema: $ref: '#/components/schemas/UuMbmsProvisioningInfo' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -171,69 +158,63 @@ paths: /queries/pc5_provisioning_info: get: tags: - - unsupported + - unsupported summary: Query provisioning information for V2X communication over PC5. description: Query provisioning information for V2X communication over PC5. operationId: prov_infoGET parameters: - - name: location_info - in: query - description: - Comma separated list of locations to identify a cell of a base - station or a particular geographical area - required: true - style: form - explode: true - schema: - type: string + - name: location_info + in: query + description: Comma separated list of locations to identify a cell of a base + station or a particular geographical area + required: true + style: form + explode: true + schema: + type: string responses: - '200': - description: - A response body containing the PC5 provisioning information + "200": + description: A response body containing the PC5 provisioning information is returned. content: application/json: schema: $ref: '#/components/schemas/Pc5ProvisioningInfo' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -242,12 +223,10 @@ paths: /provide_predicted_qos: post: tags: - - QoS - summary: - Request the predicted QoS correspondent to potential routes of a vehicular + - v2xi + summary: Request the predicted QoS correspondent to potential routes of a vehicular UE. - description: - Request the predicted QoS correspondent to potential routes of + description: Request the predicted QoS correspondent to potential routes of a vehicular UE. operationId: predicted_qosPOST requestBody: @@ -257,39 +236,35 @@ paths: $ref: '#/components/schemas/PredictedQos' required: true responses: - '200': - description: - The response body shall contain the predicted QoS corresponding + "200": + description: The response body shall contain the predicted QoS corresponding to potential routes of a vehicular UE content: application/json: schema: $ref: '#/components/schemas/PredictedQos' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: @@ -298,7 +273,7 @@ paths: /publish_v2x_message: post: tags: - - unsupported + - unsupported summary: Used to publish a V2X message. description: Used to publish a V2X message. operationId: v2x_messagePOST @@ -309,47 +284,43 @@ paths: $ref: '#/components/schemas/V2xMsgPublication' required: true responses: - '204': + "204": description: No Content - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -358,72 +329,66 @@ paths: /subscriptions: get: tags: - - unsupported + - unsupported summary: Request information about the subscriptions for this requestor. description: Request information about the subscriptions for this requestor. operationId: subGET parameters: - - name: subscription_type - in: query - description: - 'Query parameter to filter on a specific subscription type. Permitted - values: prov_chg_uu_uni: provisioning information change for V2X communication - over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X - communication over Uu MBMS prov_chg_uu_pc5: provisioning information change - for V2X communication over PC5. v2x_msg: V2X interoperability message' - required: false - style: form - explode: true - schema: - type: string + - name: subscription_type + in: query + description: 'Query parameter to filter on a specific subscription type. Permitted + values: prov_chg_uu_uni: provisioning information change for V2X communication + over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X + communication over Uu MBMS prov_chg_uu_pc5: provisioning information change + for V2X communication over PC5. v2x_msg: V2X interoperability message' + required: false + style: form + explode: true + schema: + type: string responses: - '200': - description: - A response body containing the list of links to requestor subscriptions + "200": + description: A response body containing the list of links to requestor subscriptions is returned. content: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -431,7 +396,7 @@ paths: $ref: '#/components/schemas/ProblemDetails' post: tags: - - unsupported + - unsupported summary: ' create a new subscription to VIS notifications.' description: ' create a new subscription to VIS notifications.' operationId: subPOST @@ -442,63 +407,56 @@ paths: $ref: '#/components/schemas/body' required: true responses: - '201': - description: - In the returned NotificationSubscription structure, the created + "201": + description: In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type. content: application/json: schema: $ref: '#/components/schemas/body' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '415': - description: - 'Unsupported Media Type : used to indicate that the server + "415": + description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '422': - description: - 'Unprocessable Entity : used to indicate that the server understands + "422": + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is @@ -509,7 +467,7 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -528,80 +486,74 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniNotification' - - $ref: '#/components/schemas/ProvChgUuMbmsNotification' - - $ref: '#/components/schemas/ProvChgPc5Notification' - - $ref: '#/components/schemas/V2xMsgNotification' + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' required: true responses: - '204': + "204": description: No Content /subscriptions/{subscriptionId}: get: tags: - - unsupported + - unsupported summary: Retrieve information about this subscription. description: Retrieve information about this subscription. operationId: individualSubscriptionGET parameters: - - name: subscriptionId - in: path - description: - Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - description: - A response body containing the data type describing the specific + "200": + description: A response body containing the data type describing the specific RNI event subscription is returned content: application/json: schema: $ref: '#/components/schemas/body' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -609,21 +561,20 @@ paths: $ref: '#/components/schemas/ProblemDetails' put: tags: - - unsupported + - unsupported summary: Used to update the existing subscription. description: Used to update the existing subscription. operationId: individualSubscriptionPUT parameters: - - name: subscriptionId - in: path - description: - Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string requestBody: content: application/json: @@ -631,64 +582,57 @@ paths: $ref: '#/components/schemas/body_1' required: true responses: - '200': - description: - A response body containing data type describing the updated + "200": + description: A response body containing data type describing the updated subscription is returned content: application/json: schema: $ref: '#/components/schemas/body_1' - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '412': - description: - 'Precondition failed : used when a condition has failed during + "412": + description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '422': - description: - 'Unprocessable Entity : used to indicate that the server understands + "422": + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is @@ -699,7 +643,7 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -707,47 +651,44 @@ paths: $ref: '#/components/schemas/ProblemDetails' delete: tags: - - unsupported + - unsupported summary: Used to cancel the existing subscription. description: Used to cancel the existing subscription. operationId: individualSubscriptionDELETE parameters: - - name: subscriptionId - in: path - description: - Refers to created subscription, where the VIS API allocates a - unique resource name for this subscription - required: true - style: simple - explode: false - schema: - type: string + - name: subscriptionId + in: path + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - '204': + "204": description: No Content - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: @@ -756,7 +697,7 @@ paths: /notifications/mec011/appTermination: post: tags: - - QoS + - v2xi summary: MEC011 Application Termination notification for self termination description: Terminates itself. operationId: mec011AppTerminationPOST @@ -777,41 +718,42 @@ paths: href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination required: true responses: - '204': + "204": description: No Content x-swagger-router-controller: notifications components: schemas: CellId: required: - - cellId + - cellId type: object properties: cellId: type: string description: E-UTRAN Cell Identity as a bit string (size (28)). - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String example: cellId: cellId x-etsi-ref: 6.6.2 Earfcn: required: - - earfcn + - earfcn type: object properties: earfcn: type: integer - description: - E-UTRA Absolute Radio Frequency Channel Number, range (0... + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Integer + example: + earfcn: 1 x-etsi-ref: 6.6.3 Ecgi: required: - - cellId - - plmn + - cellId + - plmn type: object properties: cellId: @@ -827,10 +769,10 @@ components: x-etsi-ref: 6.5.5 FddInfo: required: - - dlEarfcn - - dlTransmissionBandwidth - - ulEarfcn - - ulTransmissionBandwidth + - dlEarfcn + - dlTransmissionBandwidth + - ulEarfcn + - ulTransmissionBandwidth type: object properties: dlEarfcn: @@ -841,29 +783,35 @@ components: $ref: '#/components/schemas/Earfcn' ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' + example: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null x-etsi-ref: 6.5.6 links: required: - - self + - self type: object properties: self: $ref: '#/components/schemas/LinkType' - description: - Hyperlink related to the resource. This shall be only included + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) LinkType: required: - - href + - href type: object properties: href: type: string description: URI referring to a resource format: uri - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uri example: href: http://example.com/aeiou @@ -889,25 +837,23 @@ components: x-etsi-ref: 6.5.3 LocationInfo.geoArea: required: - - latitude - - longitude + - latitude + - longitude type: object properties: latitude: type: number - description: - Latitude (DATUM = WGS84) -90 to 90 in decimal degree format + description: Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd format: float - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Float longitude: type: number - description: - Longitude (DATUM = WGS84) -180 to 180 in decimal degree format + description: Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd format: float - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Float description: Information of a geographical area. example: @@ -917,9 +863,9 @@ components: x-etsi-mec-origin-type: Structure (inlined) Pc5NeighbourCellInfo: required: - - ecgi - - plmn - - siV2xConfig + - ecgi + - plmn + - siV2xConfig type: object properties: ecgi: @@ -928,62 +874,175 @@ components: $ref: '#/components/schemas/Plmn' siV2xConfig: $ref: '#/components/schemas/SystemInformationBlockType21' + example: + plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.12 Pc5ProvisioningInfo: required: - - proInfoPc5 - type: array - items: - $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' + - proInfoPc5 + type: object + properties: + proInfoPc5: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoPc5: + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id x-etsi-ref: 6.2.4 - x-schema-name: Pc5ProvisioningInfo Pc5ProvisioningInfo.proInfoPc5: - minItems: 1 required: - - dstLayer2Id - - locationInfo - type: array + - dstLayer2Id + - locationInfo + type: object properties: dstLayer2Id: type: string description: |- For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Pc5NeighbourCellInfo description: The provisioning information per location as defined below. - items: - type: object + example: + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: Pc5ProvisioningInfo.proInfoPc5 Plmn: required: - - mcc - - mnc + - mcc + - mnc type: object properties: mcc: type: string description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String mnc: type: string description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String example: mnc: mnc @@ -991,22 +1050,21 @@ components: x-etsi-ref: 6.5.4 PredictedQos: required: - - locationGranularity - - routes + - locationGranularity + - routes type: object properties: locationGranularity: type: string description: Granularity of visited location. Measured in meters. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String routes: minItems: 1 required: - - routeInfo + - routeInfo type: array - description: - Information relating to the potential routes of a vehicular + description: Information relating to the potential routes of a vehicular UE. items: $ref: '#/components/schemas/PredictedQos.routes' @@ -1016,94 +1074,8 @@ components: $ref: '#/components/schemas/TimeStamp' example: routes: - - routeInfo: - - rsrq: 5 - location: - geoArea: - latitude: 0.8008282 - longitude: 6.0274563 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: - cellId: cellId - rsrp: 1 - time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 - location: - geoArea: - latitude: 0.8008282 - longitude: 6.0274563 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: - cellId: cellId - rsrp: 1 - time: - seconds: 6 - nanoSeconds: 0 - - routeInfo: - - rsrq: 5 - location: - geoArea: - latitude: 0.8008282 - longitude: 6.0274563 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: - cellId: cellId - rsrp: 1 - time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 - location: - geoArea: - latitude: 0.8008282 - longitude: 6.0274563 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: - cellId: cellId - rsrp: 1 - time: - seconds: 6 - nanoSeconds: 0 - timeGranularity: null - locationGranularity: locationGranularity - x-etsi-notes: - "NOTE:\tThe data type of locationGranularity is a string which\ - \ indicates the granularity of a visited location by means of latitudinal\ - \ and longitudinal margins." - x-etsi-ref: 6.2.5 - PredictedQos.routes: - minItems: 1 - type: object - properties: - routeInfo: - minItems: 2 - required: - - location - type: array - description: |- - Information relating to a specific route. - The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - items: - $ref: '#/components/schemas/PredictedQos.routes.routeInfo' - x-etsi-mec-cardinality: 2..N - x-etsi-mec-origin-type: Structure (inlined) - example: - routeInfo: - - rsrq: 5 + - routeInfo: + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1114,11 +1086,11 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1129,10 +1101,95 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 + - routeInfo: + - rsrq: 6 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 0 + time: + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 0 + time: + seconds: 7 + nanoSeconds: 2 + timeGranularity: null + locationGranularity: locationGranularity + x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ + \ indicates the granularity of a visited location by means of latitudinal\ + \ and longitudinal margins." + x-etsi-ref: 6.2.5 + PredictedQos.routes: + minItems: 1 + type: object + properties: + routeInfo: + minItems: 2 + required: + - location + type: array + description: |- + Information relating to a specific route. + The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + items: + $ref: '#/components/schemas/PredictedQos.routes.routeInfo' + x-etsi-mec-cardinality: 2..N + x-etsi-mec-origin-type: Structure (inlined) + example: + routeInfo: + - rsrq: 6 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 0 + time: + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 + location: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + rsrp: 0 + time: + seconds: 7 + nanoSeconds: 2 PredictedQos.routes.routeInfo: type: object properties: @@ -1157,7 +1214,7 @@ components: time: $ref: '#/components/schemas/TimeStamp' example: - rsrq: 5 + rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1168,24 +1225,22 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 ProblemDetails: type: object properties: detail: type: string - description: - A human-readable explanation specific to this occurrence of + description: A human-readable explanation specific to this occurrence of the problem x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String instance: type: string - description: - A URI reference that identifies the specific occurrence of + description: A URI reference that identifies the specific occurrence of the problem format: uri x-etsi-mec-cardinality: 0..1 @@ -1203,22 +1258,20 @@ components: x-etsi-mec-origin-type: String type: type: string - description: - A URI reference according to IETF RFC 3986 that identifies + description: A URI reference according to IETF RFC 3986 that identifies the problem type format: uri x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI ProvChgPc5Notification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: dstLayer2Id: type: string - description: - For sidelink communication, the Destination Layer-2 ID is set + description: For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String @@ -1227,8 +1280,7 @@ components: neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' @@ -1237,23 +1289,22 @@ components: notificationType: type: string description: Shall be set to "ProvChgPc5Notification". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' x-etsi-ref: 6.4.4 ProvChgPc5Subscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: $ref: '#/components/schemas/links' callbackReference: type: string - description: - URI exposed by the client on which to receive notifications + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1272,51 +1323,47 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgPc5Subscription". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: - 'NOTE: At least one of callbackReference and websockNotifConfig + x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to VIS to choose an alternative and return only that alternative in the response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.' x-etsi-ref: 6.3.4 ProvChgPc5Subscription.filterCriteria: required: - - dstLayer2Id - - locationInfo + - dstLayer2Id + - locationInfo type: object properties: dstLayer2Id: type: string - description: - For sidelink communication, the Destination Layer-2 ID is set + description: For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. items: $ref: '#/components/schemas/Pc5NeighbourCellInfo' x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: - List of filtering criteria for the subscription. Any filtering + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) ProvChgUuMbmsNotification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: locationInfo: @@ -1324,8 +1371,7 @@ components: neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1334,7 +1380,7 @@ components: notificationType: type: string description: Shall be set to "ProvChgUuMbmsNotification". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' @@ -1343,16 +1389,15 @@ components: x-etsi-ref: 6.4.3 ProvChgUuMbmsSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: $ref: '#/components/schemas/links' callbackReference: type: string - description: - URI exposed by the client on which to receive notifications + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1371,20 +1416,19 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgUuMbmsSubscription". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: - "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.3 ProvChgUuMbmsSubscription.filterCriteria: required: - - locationInfo - - v2xServerUsd + - locationInfo + - v2xServerUsd type: object properties: locationInfo: @@ -1392,8 +1436,7 @@ components: neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1401,16 +1444,15 @@ components: x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo v2xServerUsd: $ref: '#/components/schemas/V2xServerUsd' - description: - List of filtering criteria for the subscription. Any filtering + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) ProvChgUuUniNotification: required: - - locationInfo - - notificationType + - locationInfo + - notificationType type: object properties: locationInfo: @@ -1418,8 +1460,7 @@ components: neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1428,7 +1469,7 @@ components: notificationType: type: string description: Shall be set to "ProvChgUuUniNotification". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String timeStamp: $ref: '#/components/schemas/TimeStamp' @@ -1437,16 +1478,15 @@ components: x-etsi-ref: 6.4.2 ProvChgUuUniSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: $ref: '#/components/schemas/links' callbackReference: type: string - description: - URI exposed by the client on which to receive notifications + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri x-etsi-mec-cardinality: 0..1 @@ -1465,20 +1505,19 @@ components: subscriptionType: type: string description: Shall be set to "ProvChgUuUniSubscription". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: - "NOTE:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: "NOTE:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." x-etsi-ref: 6.3.2 ProvChgUuUniSubscription.filterCriteria: required: - - locationInfo - - v2xApplicationServer + - locationInfo + - v2xApplicationServer type: object properties: locationInfo: @@ -1486,8 +1525,7 @@ components: neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1495,39 +1533,35 @@ components: x-etsi-mec-origin-type: UuUniNeighbourCellInfo v2xApplicationServer: $ref: '#/components/schemas/V2xApplicationServer' - description: - List of filtering criteria for the subscription. Any filtering + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) SubscriptionLinkList: required: - - _links + - _links type: object properties: _links: $ref: '#/components/schemas/SubscriptionLinkList.links' example: _links: - - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou - - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou + subscriptions: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType + href: http://example.com/aeiou + self: + href: http://example.com/aeiou x-etsi-ref: 6.3.6 SystemInformationBlockType21: type: object TddInfo: required: - - earfcn - - subframeAssignment - - transmissionBandwidth + - earfcn + - subframeAssignment + - transmissionBandwidth type: object properties: earfcn: @@ -1535,52 +1569,67 @@ components: subframeAssignment: type: string description: Uplink-downlink subframe configuration information. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' + example: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null x-etsi-ref: 6.5.7 SubscriptionLinkList.links: required: - - self - type: array + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + subscriptions: + type: array + items: + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' description: List of hyperlinks related to the resource. - items: - $ref: SubscriptionLinkList.links_inner - x-etsi-mec-cardinality: '1' + example: + subscriptions: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType + href: http://example.com/aeiou + self: + href: http://example.com/aeiou + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkList.links SubscriptionLinkList.links.subscriptions: minItems: 0 required: - - href - - subscriptionType - type: array + - href + - subscriptionType + type: object properties: href: type: string description: The URI referring to the subscription. format: uri - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: URI subscriptionType: type: string - description: - Type of the subscription. The values are as defined in the + description: Type of the subscription. The values are as defined in the "subscriptionType" attribute for each different V2X information event subscription data type. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: The service consumer's subscriptions. - items: - type: object + example: + subscriptionType: subscriptionType + href: http://example.com/aeiou x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkList.links.subscriptions TestNotification: required: - - _links - - notificationType + - _links + - notificationType type: object properties: _links: @@ -1588,74 +1637,76 @@ components: notificationType: type: string description: Shall be set to "TestNotification". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String x-etsi-ref: 6.4.6 TimeStamp: required: - - nanoSeconds - - seconds + - nanoSeconds + - seconds type: object properties: nanoSeconds: type: integer - description: - The nanoseconds part of the time. Time is defined as Unix-time + description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. format: uint32 - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 seconds: type: integer - description: - The seconds part of the time. Time is defined as Unixtime since + description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. format: uint32 - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 example: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 x-etsi-ref: 6.5.2 TransmissionBandwidth: required: - - transmissionBandwidth + - transmissionBandwidth type: object properties: transmissionBandwidth: - type: integer - description: | - 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: + $ref: '#/components/schemas/TransmissionBandwidth.transmissionBandwidth' + example: + transmissionBandwidth: 5 + x-etsi-ref: 6.6.4 + TransmissionBandwidth.transmissionBandwidth: + type: integer + description: | + 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: - 1 = bw6 (6 resource blocks) + 1 = bw6 (6 resource blocks) - 2 = bw15 (15 resource blocks) + 2 = bw15 (15 resource blocks) - 3 = bw25 (25 resource blocks) + 3 = bw25 (25 resource blocks) - 4 = bw50 (50 resource blocks) + 4 = bw50 (50 resource blocks) - 5 = bw75 (75 resource blocks) + 5 = bw75 (75 resource blocks) - 6 = bw100 (100 resource blocks)' - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum - x-etsi-ref: 6.6.4 + 6 = bw100 (100 resource blocks)' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum UuMbmsNeighbourCellInfo: required: - - ecgi - - fddInfo - - mbmsServiceAreaIdentity - - pci - - plmn - - tddInfo + - ecgi + - fddInfo + - mbmsServiceAreaIdentity + - pci + - plmn + - tddInfo type: object properties: ecgi: @@ -1673,35 +1724,208 @@ components: pci: type: integer description: Physical Cell Identifier. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Integer plmn: $ref: '#/components/schemas/Plmn' tddInfo: $ref: '#/components/schemas/TddInfo' + example: + fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.11 UuMbmsProvisioningInfo: required: - - proInfoUuMbms - type: array - items: - $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' + - proInfoUuMbms + type: object + properties: + proInfoUuMbms: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoUuMbms: + - v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.2.3 - x-schema-name: UuMbmsProvisioningInfo UuMbmsProvisioningInfo.proInfoUuMbms: - minItems: 1 required: - - locationInfo - - v2xServerUsd - type: array + - locationInfo + - v2xServerUsd + type: object properties: locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. items: $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' @@ -1710,18 +1934,86 @@ components: v2xServerUsd: $ref: '#/components/schemas/V2xServerUsd' description: The provisioning information per location as defined below. - items: - type: object + example: + v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: UuMbmsProvisioningInfo.proInfoUuMbms UuUniNeighbourCellInfo: required: - - ecgi - - fddInfo - - pci - - plmn - - tddInfo + - ecgi + - fddInfo + - pci + - plmn + - tddInfo type: object properties: ecgi: @@ -1731,35 +2023,142 @@ components: pci: type: integer description: Physical Cell Identifier. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Integer plmn: $ref: '#/components/schemas/Plmn' tddInfo: $ref: '#/components/schemas/TddInfo' + example: + fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null x-etsi-ref: 6.5.9 UuUnicastProvisioningInfo: required: - - proInfoUuUnicast - type: array - items: - $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' + - proInfoUuUnicast + type: object + properties: + proInfoUuUnicast: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoUuUnicast: + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort x-etsi-ref: 6.2.2 - x-schema-name: UuUnicastProvisioningInfo UuUnicastProvisioningInfo.proInfoUuUnicast: - minItems: 1 required: - - locationInfo - - v2xApplicationServer - type: array + - locationInfo + - v2xApplicationServer + type: object properties: locationInfo: $ref: '#/components/schemas/LocationInfo' neighbourCellInfo: minItems: 0 type: array - description: - The information of the neighbour cells in a visiting PLMN that + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. items: $ref: '#/components/schemas/UuUniNeighbourCellInfo' @@ -1768,197 +2167,204 @@ components: v2xApplicationServer: $ref: '#/components/schemas/V2xApplicationServer' description: The provisioning information per location as defined below. - items: - type: object + example: + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: UuUnicastProvisioningInfo.proInfoUuUnicast V2xApplicationServer: required: - - ipAddress - - udpPort + - ipAddress + - udpPort type: object properties: ipAddress: type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String udpPort: type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String + example: + ipAddress: ipAddress + udpPort: udpPort x-etsi-ref: 6.5.8 V2xMsgNotification: required: - - _links - - msgContent - - msgEncodeFormat - - msgType - - notificationType - - stdOrganization - - timeStamp + - _links + - msgContent + - msgEncodeFormat + - msgType + - notificationType + - stdOrganization + - timeStamp type: object properties: _links: $ref: '#/components/schemas/V2xMsgNotification.links' msgContent: type: string - description: - Published V2X message content. The format of the string is + description: Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgEncodeFormat: type: string description: The encode format of the V2X message, for example base64. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: integer - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/msgType' notificationType: type: string description: Shall be set to "V2xMsgNotification". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String stdOrganization: type: string - description: - "Standardization organization which defines the published V2X\ + description: "Standardization organization which defines the published V2X\ \ message type: \nETSI: European Telecommunications Standards Institute.\n\ See note 1." enum: - - ETSI - x-etsi-mec-cardinality: '1' + - ETSI + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum timeStamp: $ref: '#/components/schemas/TimeStamp' - x-etsi-notes: - "NOTE 1:\tOther standardization organizations could be added as\ + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.4.5 V2xMsgNotification.links: required: - - subscription + - subscription type: object properties: subscription: $ref: '#/components/schemas/LinkType' - description: Links to resources related to this notification. - x-etsi-mec-cardinality: '1' + description: links to resources related to this notification. + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xMsgPublication: required: - - msgContent - - msgEncodeFormat - - msgType - - stdOrganization + - msgContent + - msgEncodeFormat + - msgType + - stdOrganization type: object properties: msgContent: type: string - description: - Published V2X message content. Its format is defined by the + description: Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgEncodeFormat: type: string description: The encode format of the V2X message, for example base64. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: - type: integer - description: | - Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. - − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, - − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, - − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, - − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, - − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, - − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, - − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, - − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, - − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, - − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. - − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, - − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - - 13 - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/msgType' stdOrganization: type: string - description: - "Standardization organization which defines the published V2X\ + description: "Standardization organization which defines the published V2X\ \ message type:\nETSI: European Telecommunications Standards Institute.\ \ \nSee note 1." enum: - - ETSI - x-etsi-mec-cardinality: '1' + - ETSI + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum - x-etsi-notes: - "NOTE 1:\tOther standardization organizations could be added as\ + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as\ \ needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified\ \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 + msgType: + type: integer + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + x-etsi-mec-cardinality: "1" + x-etsi-mec-origin-type: Enum V2xMsgSubscription: required: - - filterCriteria - - subscriptionType + - filterCriteria + - subscriptionType type: object properties: _links: $ref: '#/components/schemas/links' callbackReference: type: string - description: - URI exposed by the client on which to receive notifications + description: URI exposed by the client on which to receive notifications via HTTP. See note 1. format: uri x-etsi-mec-cardinality: 0..1 @@ -1977,12 +2383,11 @@ components: subscriptionType: type: string description: Shall be set to "V2xMsgSubscription". - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: - "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ + x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig\ \ shall be provided by the service consumer. If both are provided, it is up\ \ to VIS to choose an alternative and return only that alternative in the\ \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a.\nNOTE 2:\t\ @@ -1992,14 +2397,13 @@ components: x-etsi-ref: 6.3.5 V2xMsgSubscription.filterCriteria: required: - - stdOrganization + - stdOrganization type: object properties: msgType: minItems: 0 type: array - description: - Subscribed V2X message type. Its value is defined by the standardization + description: Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. items: type: string @@ -2007,25 +2411,23 @@ components: x-etsi-mec-origin-type: Enum stdOrganization: type: string - description: - "Standardization organization which defines the subscribed\ + description: "Standardization organization which defines the subscribed\ \ V2X message type: \nETSI: European Telecommunications Standards Institute.\ \ \nSee note 2." enum: - - ETSI - x-etsi-mec-cardinality: '1' + - ETSI + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum - description: - List of filtering criteria for the subscription. Any filtering + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd: required: - - sdpInfo - - serviceAreaIdentifier - - tmgi + - sdpInfo + - serviceAreaIdentifier + - tmgi type: object properties: sdpInfo: @@ -2033,8 +2435,7 @@ components: serviceAreaIdentifier: minItems: 1 type: array - description: - A list of service area identifier for the applicable MBMS broadcast + description: A list of service area identifier for the applicable MBMS broadcast area. items: type: string @@ -2042,67 +2443,81 @@ components: x-etsi-mec-origin-type: String tmgi: $ref: '#/components/schemas/V2xServerUsd.tmgi' + example: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier x-etsi-ref: 6.5.10 V2xServerUsd.sdpInfo: required: - - ipMulticastAddress - - portNumber + - ipMulticastAddress + - portNumber type: object properties: ipMulticastAddress: type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String portNumber: type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String - description: - SDP with IP multicast address and port number used for V2X communication + description: SDP with IP multicast address and port number used for V2X communication via MBMS. - x-etsi-mec-cardinality: '1' + example: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd.tmgi: required: - - mbmsServiceId - - mcc - - mnc + - mbmsServiceId + - mcc + - mnc type: object properties: mbmsServiceId: type: string description: MBMS Service ID consisting of three octets. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String mcc: type: string description: The Mobile Country Code part of PLMN Identity. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String mnc: type: string description: The Mobile Network Code part of PLMN Identity. - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String - description: - Temporary Mobile Group Identity (TMGI), which is used within MBMS + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. - x-etsi-mec-cardinality: '' + example: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + x-etsi-mec-cardinality: "" x-etsi-mec-origin-type: Structure (inlined) WebsockNotifConfig: type: object properties: requestWebsocketUri: type: boolean - description: - Set to TRUE by the service consumer to indicate that Websocket + description: Set to TRUE by the service consumer to indicate that Websocket delivery is requested. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean websocketUri: type: string - description: - Set by VIS to indicate to the service consumer the Websocket + description: Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. format: uri x-etsi-mec-cardinality: 0..1 @@ -2110,10 +2525,10 @@ components: x-etsi-ref: 6.5.14 AppTerminationNotification: required: - - _links - - maxGracefulTimeout - - notificationType - - operationAction + - _links + - maxGracefulTimeout + - notificationType + - operationAction type: object properties: notificationType: @@ -2123,100 +2538,43 @@ components: $ref: '#/components/schemas/OperationActionType' maxGracefulTimeout: type: integer - description: - Maximum timeout value in seconds for graceful termination or + description: Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. format: uint32 _links: $ref: '#/components/schemas/AppTerminationNotification__links' - description: - This type represents the information that the MEC platform notifies + description: This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. OperationActionType: type: string description: Operation that is being performed on the MEC application instance. enum: - - STOPPING - - TERMINATING + - STOPPING + - TERMINATING body: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' body_1: oneOf: - - $ref: '#/components/schemas/ProvChgUuUniSubscription' - - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - - $ref: '#/components/schemas/ProvChgPc5Subscription' - - $ref: '#/components/schemas/V2xMsgSubscription' - Pc5ProvisioningInfo_inner: - type: object - properties: - proInfoPc5: - $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoPc5: - - {} - - {} - SubscriptionLinkList.links_inner: - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - subscriptions: - $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' - example: - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' TestNotification__links: required: - - subscription + - subscription type: object properties: subscription: $ref: '#/components/schemas/LinkType' description: 'Hyperlink related to the resource. ' - UuMbmsProvisioningInfo_inner: - type: object - properties: - proInfoUuMbms: - $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoUuMbms: - - {} - - {} - UuUnicastProvisioningInfo_inner: - type: object - properties: - proInfoUuUnicast: - $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoUuUnicast: - - {} - - {} AppTerminationNotification__links: required: - - subscription + - subscription type: object properties: subscription: @@ -2225,76 +2583,68 @@ components: $ref: '#/components/schemas/LinkType' description: Object containing hyperlinks related to the resource. responses: - '204': + "204": description: No Content - '206': + "206": description: Partial content - '400': - description: - 'Bad Request : used to indicate that incorrect parameters were + "400": + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '401': + "401": description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '403': - description: - 'Forbidden : operation is not allowed given the current status + "403": + description: 'Forbidden : operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '404': - description: - 'Not Found : used when a client provided a URI that cannot be + "404": + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '406': - description: - 'Not Acceptable : used to indicate that the server cannot provide + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '409': - description: - 'Conflict : The operation cannot be executed currently, due to + "409": + description: 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '412': - description: - 'Precondition failed : used when a condition has failed during + "412": + description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '415': - description: - 'Unsupported Media Type : used to indicate that the server or + "415": + description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '422': - description: - 'Unprocessable Entity : used to indicate that the server understands + "422": + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct @@ -2305,7 +2655,7 @@ components: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - '429': + "429": description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: diff --git a/go-apps/meep-vis/main.go b/go-apps/meep-vis/main.go index 89f4f343c..4625fc2c8 100644 --- a/go-apps/meep-vis/main.go +++ b/go-apps/meep-vis/main.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 438257db9..d864e3ae3 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/api_unsupported.go b/go-apps/meep-vis/server/api_unsupported.go index 6ae4c1568..8aac7a811 100644 --- a/go-apps/meep-vis/server/api_unsupported.go +++ b/go-apps/meep-vis/server/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/api_qos.go b/go-apps/meep-vis/server/api_v2xi.go similarity index 96% rename from go-apps/meep-vis/server/api_qos.go rename to go-apps/meep-vis/server/api_v2xi.go index b9bcc3d82..546ce6845 100644 --- a/go-apps/meep-vis/server/api_qos.go +++ b/go-apps/meep-vis/server/api_v2xi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/logger.go b/go-apps/meep-vis/server/logger.go index 91abce0c4..3c246455e 100644 --- a/go-apps/meep-vis/server/logger.go +++ b/go-apps/meep-vis/server/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_app_termination_notification.go b/go-apps/meep-vis/server/model_app_termination_notification.go index 653d3a42c..62bea9a8d 100644 --- a/go-apps/meep-vis/server/model_app_termination_notification.go +++ b/go-apps/meep-vis/server/model_app_termination_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_app_termination_notification__links.go b/go-apps/meep-vis/server/model_app_termination_notification__links.go index 1c5944782..ac61325d2 100644 --- a/go-apps/meep-vis/server/model_app_termination_notification__links.go +++ b/go-apps/meep-vis/server/model_app_termination_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_body.go b/go-apps/meep-vis/server/model_body.go index 4d6cf99c0..1e969bef2 100644 --- a/go-apps/meep-vis/server/model_body.go +++ b/go-apps/meep-vis/server/model_body.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_body_1.go b/go-apps/meep-vis/server/model_body_1.go index 5480f841e..18b196ab4 100644 --- a/go-apps/meep-vis/server/model_body_1.go +++ b/go-apps/meep-vis/server/model_body_1.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_cell_id.go b/go-apps/meep-vis/server/model_cell_id.go index e3926dafe..9179a287f 100644 --- a/go-apps/meep-vis/server/model_cell_id.go +++ b/go-apps/meep-vis/server/model_cell_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_earfcn.go b/go-apps/meep-vis/server/model_earfcn.go index ed9508c9d..810b888db 100644 --- a/go-apps/meep-vis/server/model_earfcn.go +++ b/go-apps/meep-vis/server/model_earfcn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_ecgi.go b/go-apps/meep-vis/server/model_ecgi.go index c19cdf45e..f47589a7b 100644 --- a/go-apps/meep-vis/server/model_ecgi.go +++ b/go-apps/meep-vis/server/model_ecgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_fdd_info.go b/go-apps/meep-vis/server/model_fdd_info.go index c60707502..e7e09b4e5 100644 --- a/go-apps/meep-vis/server/model_fdd_info.go +++ b/go-apps/meep-vis/server/model_fdd_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_link_type.go b/go-apps/meep-vis/server/model_link_type.go index 3de72738b..9479a66f2 100644 --- a/go-apps/meep-vis/server/model_link_type.go +++ b/go-apps/meep-vis/server/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_links.go b/go-apps/meep-vis/server/model_links.go index 497fd5790..b00ccb2b7 100644 --- a/go-apps/meep-vis/server/model_links.go +++ b/go-apps/meep-vis/server/model_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_location_info.go b/go-apps/meep-vis/server/model_location_info.go index 00178feb6..3210dd068 100644 --- a/go-apps/meep-vis/server/model_location_info.go +++ b/go-apps/meep-vis/server/model_location_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_location_info_geo_area.go b/go-apps/meep-vis/server/model_location_info_geo_area.go index 71f1e22f9..3f395ad77 100644 --- a/go-apps/meep-vis/server/model_location_info_geo_area.go +++ b/go-apps/meep-vis/server/model_location_info_geo_area.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_msg_type.go b/go-apps/meep-vis/server/model_msg_type.go new file mode 100644 index 000000000..40ef2694b --- /dev/null +++ b/go-apps/meep-vis/server/model_msg_type.go @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, +type MsgType int32 + +// List of MsgType +const ( + DENM MsgType = 1 + CAM MsgType = 2 + POI MsgType = 3 + SPATEM MsgType = 4 + MAPEM MsgType = 5 + IVIM MsgType = 6 + EV_RSR MsgType = 7 + TISTPGTRANSACTION MsgType = 8 + SREM MsgType = 9 + SSEM MsgType = 10 + EVCSN MsgType = 11 + SAEM MsgType = 12 + RTCMEM MsgType = 13 +) diff --git a/go-apps/meep-vis/server/model_one_ofbody.go b/go-apps/meep-vis/server/model_one_ofbody.go index df80a54e7..5767379e4 100644 --- a/go-apps/meep-vis/server/model_one_ofbody.go +++ b/go-apps/meep-vis/server/model_one_ofbody.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_one_ofbody_1.go b/go-apps/meep-vis/server/model_one_ofbody_1.go index ce10a1116..ca726149c 100644 --- a/go-apps/meep-vis/server/model_one_ofbody_1.go +++ b/go-apps/meep-vis/server/model_one_ofbody_1.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_operation_action_type.go b/go-apps/meep-vis/server/model_operation_action_type.go index 516c9ed3f..4c4cf3c45 100644 --- a/go-apps/meep-vis/server/model_operation_action_type.go +++ b/go-apps/meep-vis/server/model_operation_action_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go b/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go index 16a1f1999..0894d9ca0 100644 --- a/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_pc5_neighbour_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go b/go-apps/meep-vis/server/model_pc5_provisioning_info.go similarity index 90% rename from go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_pc5_provisioning_info.go index a935d6eae..2a930e82e 100644 --- a/go-apps/meep-vis/server/model_pc5_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_pc5_provisioning_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ */ package server -type Pc5ProvisioningInfoInner struct { - ProInfoPc5 *[]interface{} `json:"proInfoPc5,omitempty"` +type Pc5ProvisioningInfo struct { + ProInfoPc5 *[]interface{} `json:"proInfoPc5"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_plmn.go b/go-apps/meep-vis/server/model_plmn.go index 87b3eaa1b..26c0cbf61 100644 --- a/go-apps/meep-vis/server/model_plmn.go +++ b/go-apps/meep-vis/server/model_plmn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_predicted_qos.go b/go-apps/meep-vis/server/model_predicted_qos.go index fc818d534..6478f278d 100644 --- a/go-apps/meep-vis/server/model_predicted_qos.go +++ b/go-apps/meep-vis/server/model_predicted_qos.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_predicted_qos_routes.go b/go-apps/meep-vis/server/model_predicted_qos_routes.go index 97ae0d5d7..2e3b98435 100644 --- a/go-apps/meep-vis/server/model_predicted_qos_routes.go +++ b/go-apps/meep-vis/server/model_predicted_qos_routes.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go b/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go index bf29d3f6e..f0b19398b 100644 --- a/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go +++ b/go-apps/meep-vis/server/model_predicted_qos_routes_route_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_problem_details.go b/go-apps/meep-vis/server/model_problem_details.go index 4e4b4e094..91d1baf28 100644 --- a/go-apps/meep-vis/server/model_problem_details.go +++ b/go-apps/meep-vis/server/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go b/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go index 9b86c5a05..924ffa241 100644 --- a/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go index b243d6875..010b96c02 100644 --- a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go index 6454ed791..b5dd2f752 100644 --- a/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_pc5_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go index 5afaa3959..044d6ab32 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go index 042b940d4..f400adb7c 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go index d5db93ff4..c2528db28 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go index 7cc3c27fc..065faf34c 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go index c6ebef298..39229a31d 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go index e9f8888fe..2d96071b9 100644 --- a/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_subscription_link_list.go b/go-apps/meep-vis/server/model_subscription_link_list.go index acd29e64f..a1123861c 100644 --- a/go-apps/meep-vis/server/model_subscription_link_list.go +++ b/go-apps/meep-vis/server/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -24,5 +24,5 @@ package server type SubscriptionLinkList struct { - Links *[]SubscriptionLinkListLinksInner `json:"_links"` + Links *SubscriptionLinkListLinks `json:"_links"` } diff --git a/go-apps/meep-vis/server/model_subscription_link_list_links_inner.go b/go-apps/meep-vis/server/model_subscription_link_list_links.go similarity index 89% rename from go-apps/meep-vis/server/model_subscription_link_list_links_inner.go rename to go-apps/meep-vis/server/model_subscription_link_list_links.go index 9f367064c..70bfc76ee 100644 --- a/go-apps/meep-vis/server/model_subscription_link_list_links_inner.go +++ b/go-apps/meep-vis/server/model_subscription_link_list_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -23,8 +23,9 @@ */ package server -type SubscriptionLinkListLinksInner struct { - Self *LinkType `json:"self,omitempty"` +// List of hyperlinks related to the resource. +type SubscriptionLinkListLinks struct { + Self *LinkType `json:"self"` Subscriptions *[]interface{} `json:"subscriptions,omitempty"` } diff --git a/go-apps/meep-vis/server/model_system_information_block_type21.go b/go-apps/meep-vis/server/model_system_information_block_type21.go index e8ef3c446..ccdd9da6d 100644 --- a/go-apps/meep-vis/server/model_system_information_block_type21.go +++ b/go-apps/meep-vis/server/model_system_information_block_type21.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_tdd_info.go b/go-apps/meep-vis/server/model_tdd_info.go index d4d559a44..34d8d1ef6 100644 --- a/go-apps/meep-vis/server/model_tdd_info.go +++ b/go-apps/meep-vis/server/model_tdd_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_test_notification.go b/go-apps/meep-vis/server/model_test_notification.go index 6e1f37955..3d0672405 100644 --- a/go-apps/meep-vis/server/model_test_notification.go +++ b/go-apps/meep-vis/server/model_test_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_test_notification__links.go b/go-apps/meep-vis/server/model_test_notification__links.go index d3e0a12bb..117970dff 100644 --- a/go-apps/meep-vis/server/model_test_notification__links.go +++ b/go-apps/meep-vis/server/model_test_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_time_stamp.go b/go-apps/meep-vis/server/model_time_stamp.go index 7eb3ab8bf..414312580 100644 --- a/go-apps/meep-vis/server/model_time_stamp.go +++ b/go-apps/meep-vis/server/model_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_transmission_bandwidth.go b/go-apps/meep-vis/server/model_transmission_bandwidth.go index fdd2dea67..8520b9117 100644 --- a/go-apps/meep-vis/server/model_transmission_bandwidth.go +++ b/go-apps/meep-vis/server/model_transmission_bandwidth.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -24,6 +24,5 @@ package server type TransmissionBandwidth struct { - // 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' - TransmissionBandwidth int32 `json:"transmissionBandwidth"` + TransmissionBandwidth *TransmissionBandwidthTransmissionBandwidth `json:"transmissionBandwidth"` } diff --git a/go-apps/meep-vis/server/model_transmission_bandwidth_transmission_bandwidth.go b/go-apps/meep-vis/server/model_transmission_bandwidth_transmission_bandwidth.go new file mode 100644 index 000000000..0aa6551ed --- /dev/null +++ b/go-apps/meep-vis/server/model_transmission_bandwidth_transmission_bandwidth.go @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' +type TransmissionBandwidthTransmissionBandwidth int32 + +// List of TransmissionBandwidth.transmissionBandwidth +const ( + BW6 TransmissionBandwidthTransmissionBandwidth = 1 + BW15 TransmissionBandwidthTransmissionBandwidth = 2 + BW25 TransmissionBandwidthTransmissionBandwidth = 3 + BW50 TransmissionBandwidthTransmissionBandwidth = 4 + BW75 TransmissionBandwidthTransmissionBandwidth = 5 + BW100 TransmissionBandwidthTransmissionBandwidth = 6 +) diff --git a/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go b/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go index e346b249a..b609c78a5 100644 --- a/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_uu_mbms_neighbour_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info.go similarity index 90% rename from go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_uu_mbms_provisioning_info.go index ab461f832..74a9495ba 100644 --- a/go-apps/meep-vis/server/model_uu_mbms_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_mbms_provisioning_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ */ package server -type UuMbmsProvisioningInfoInner struct { - ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms,omitempty"` +type UuMbmsProvisioningInfo struct { + ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go b/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go index d93b17b43..98ee4e07c 100644 --- a/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go +++ b/go-apps/meep-vis/server/model_uu_uni_neighbour_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info.go similarity index 89% rename from go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go rename to go-apps/meep-vis/server/model_uu_unicast_provisioning_info.go index c692bbe20..462173d8d 100644 --- a/go-apps/meep-vis/server/model_uu_unicast_provisioning_info_inner.go +++ b/go-apps/meep-vis/server/model_uu_unicast_provisioning_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ */ package server -type UuUnicastProvisioningInfoInner struct { - ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast,omitempty"` +type UuUnicastProvisioningInfo struct { + ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-apps/meep-vis/server/model_v2x_application_server.go b/go-apps/meep-vis/server/model_v2x_application_server.go index 591978390..17af8f08e 100644 --- a/go-apps/meep-vis/server/model_v2x_application_server.go +++ b/go-apps/meep-vis/server/model_v2x_application_server.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_msg_notification.go b/go-apps/meep-vis/server/model_v2x_msg_notification.go index 37b364944..eb2e6d6d8 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_notification.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -29,8 +29,8 @@ type V2xMsgNotification struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType int32 `json:"msgType"` + + MsgType *MsgType `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. diff --git a/go-apps/meep-vis/server/model_v2x_msg_notification_links.go b/go-apps/meep-vis/server/model_v2x_msg_notification_links.go index f74edc48c..383000815 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_notification_links.go +++ b/go-apps/meep-vis/server/model_v2x_msg_notification_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_msg_publication.go b/go-apps/meep-vis/server/model_v2x_msg_publication.go index d80b42dd2..116fb57b8 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_publication.go +++ b/go-apps/meep-vis/server/model_v2x_msg_publication.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ type V2xMsgPublication struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` - // Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, - MsgType int32 `json:"msgType"` + + MsgType *MsgType `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` } diff --git a/go-apps/meep-vis/server/model_v2x_msg_subscription.go b/go-apps/meep-vis/server/model_v2x_msg_subscription.go index 5e4a9d8a4..72abf5a49 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_subscription.go +++ b/go-apps/meep-vis/server/model_v2x_msg_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go b/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go index f60b0fd55..913467b2a 100644 --- a/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go +++ b/go-apps/meep-vis/server/model_v2x_msg_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_server_usd.go b/go-apps/meep-vis/server/model_v2x_server_usd.go index 41fd5f459..459d5117e 100644 --- a/go-apps/meep-vis/server/model_v2x_server_usd.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go b/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go index f64ab6a2e..4c4bf33b0 100644 --- a/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd_sdp_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go b/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go index 1bdb4a537..043030d26 100644 --- a/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go +++ b/go-apps/meep-vis/server/model_v2x_server_usd_tmgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/model_websock_notif_config.go b/go-apps/meep-vis/server/model_websock_notif_config.go index 73933aac9..59a010309 100644 --- a/go-apps/meep-vis/server/model_websock_notif_config.go +++ b/go-apps/meep-vis/server/model_websock_notif_config.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/routers.go b/go-apps/meep-vis/server/routers.go index 41d61f8a9..f90a4c723 100644 --- a/go-apps/meep-vis/server/routers.go +++ b/go-apps/meep-vis/server/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index e4aac1e74..07ee87104 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. -- GitLab From 4f752932a8ad3ba0f2eca318f89b473a01ee502f Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 14 Apr 2022 13:06:08 +0500 Subject: [PATCH 042/183] update meep-vis-client as per new OAS file --- .../meep-vis-client/.swagger-codegen/VERSION | 2 +- go-packages/meep-vis-client/README.md | 51 +- go-packages/meep-vis-client/api/swagger.yaml | 1362 ++++++++++++----- .../{api_vis.go => api_unsupported.go} | 1306 ++++++++-------- go-packages/meep-vis-client/api_v2xi.go | 234 +++ go-packages/meep-vis-client/client.go | 58 +- go-packages/meep-vis-client/configuration.go | 24 +- go-packages/meep-vis-client/docs/GeoArea.md | 10 - .../docs/OneOfsubscriptionsBody.md | 8 - .../OneOfsubscriptionsSubscriptionIdBody.md | 8 - ...ingInfoInner.md => Pc5ProvisioningInfo.md} | 4 +- .../docs/Pc5ProvisioningInfoProInfoPc5.md | 11 + go-packages/meep-vis-client/docs/QoSApi.md | 36 - .../meep-vis-client/docs/QueriesApi.md | 94 -- go-packages/meep-vis-client/docs/SdpInfo.md | 10 - .../meep-vis-client/docs/SubscriptionApi.md | 159 -- .../docs/SubscriptionLinkList.md | 2 +- ...sInner.md => SubscriptionLinkListLinks.md} | 5 +- .../docs/SubscriptionLinkListLinksInner.md | 10 - .../SubscriptionLinkListLinksSubscriptions.md | 10 + .../meep-vis-client/docs/SubscriptionsBody.md | 8 - .../docs/SubscriptionsSubscriptionIdBody.md | 8 - go-packages/meep-vis-client/docs/Tmgi.md | 11 - .../meep-vis-client/docs/UnsupportedApi.md | 14 +- ...InfoInner.md => UuMbmsProvisioningInfo.md} | 4 +- .../UuMbmsProvisioningInfoProInfoUuMbms.md | 11 + ...oInner.md => UuUnicastProvisioningInfo.md} | 4 +- ...UnicastProvisioningInfoProInfoUuUnicast.md | 11 + go-packages/meep-vis-client/docs/V2XMsgApi.md | 36 - go-packages/meep-vis-client/docs/V2xiApi.md | 65 + go-packages/meep-vis-client/go.mod | 6 +- go-packages/meep-vis-client/go.sum | 369 +++++ .../model_app_termination_notification.go | 24 +- ...del_app_termination_notification__links.go | 23 +- go-packages/meep-vis-client/model_body.go | 22 +- go-packages/meep-vis-client/model_body_1.go | 22 +- go-packages/meep-vis-client/model_cell_id.go | 22 +- go-packages/meep-vis-client/model_earfcn.go | 22 +- go-packages/meep-vis-client/model_ecgi.go | 23 +- go-packages/meep-vis-client/model_fdd_info.go | 25 +- go-packages/meep-vis-client/model_geo_area.go | 18 - .../meep-vis-client/model_link_type.go | 22 +- go-packages/meep-vis-client/model_links.go | 22 +- .../meep-vis-client/model_location_info.go | 23 +- .../model_location_info_geo_area.go | 22 +- go-packages/meep-vis-client/model_msg_type.go | 55 +- .../meep-vis-client/model_one_ofbody.go | 30 +- .../meep-vis-client/model_one_ofbody_1.go | 30 +- .../model_one_ofsubscriptions_body.go | 17 - ...ne_ofsubscriptions_subscription_id_body.go | 17 - .../model_operation_action_type.go | 27 +- .../model_pc5_neighbour_cell_info.go | 24 +- .../model_pc5_provisioning_info.go | 30 + .../model_pc5_provisioning_info_inner.go | 15 - go-packages/meep-vis-client/model_plmn.go | 22 +- .../meep-vis-client/model_predicted_qos.go | 23 +- .../model_predicted_qos_routes.go | 24 +- .../model_predicted_qos_routes_route_info.go | 25 +- .../meep-vis-client/model_problem_details.go | 22 +- .../model_prov_chg_pc5_notification.go | 24 +- .../model_prov_chg_pc5_subscription.go | 25 +- ...ov_chg_pc5_subscription_filter_criteria.go | 23 +- .../model_prov_chg_uu_mbms_notification.go | 24 +- .../model_prov_chg_uu_mbms_subscription.go | 25 +- ...hg_uu_mbms_subscription_filter_criteria.go | 23 +- .../model_prov_chg_uu_uni_notification.go | 24 +- .../model_prov_chg_uu_uni_subscription.go | 25 +- ...chg_uu_uni_subscription_filter_criteria.go | 23 +- .../meep-vis-client/model_routes_inner.go | 14 - go-packages/meep-vis-client/model_sdp_info.go | 16 - .../model_subscription_link_list.go | 24 +- .../model_subscription_link_list_links.go | 31 + ...odel_subscription_link_list_links_inner.go | 15 - .../model_subscriptions_body.go | 13 - ...odel_subscriptions_subscription_id_body.go | 13 - .../model_system_information_block_type21.go | 22 +- go-packages/meep-vis-client/model_tdd_info.go | 23 +- .../model_test_notification.go | 22 +- .../model_test_notification__links.go | 24 +- .../meep-vis-client/model_time_stamp.go | 22 +- go-packages/meep-vis-client/model_tmgi.go | 20 - .../model_transmission_bandwidth.go | 22 +- ...ission_bandwidth_transmission_bandwidth.go | 39 +- .../model_uu_mbms_neighbour_cell_info.go | 25 +- .../model_uu_mbms_provisioning_info.go | 30 + .../model_uu_mbms_provisioning_info_inner.go | 15 - .../model_uu_uni_neighbour_cell_info.go | 25 +- .../model_uu_unicast_provisioning_info.go | 30 + ...odel_uu_unicast_provisioning_info_inner.go | 15 - .../model_v2x_application_server.go | 23 +- .../model_v2x_msg_notification.go | 24 +- .../model_v2x_msg_notification_links.go | 22 +- .../model_v2x_msg_publication.go | 23 +- .../model_v2x_msg_subscription.go | 25 +- ...el_v2x_msg_subscription_filter_criteria.go | 22 +- .../meep-vis-client/model_v2x_server_usd.go | 23 +- .../model_v2x_server_usd_sdp_info.go | 23 +- .../model_v2x_server_usd_tmgi.go | 22 +- .../model_websock_notif_config.go | 22 +- go-packages/meep-vis-client/response.go | 24 +- 100 files changed, 3510 insertions(+), 2021 deletions(-) rename go-packages/meep-vis-client/{api_vis.go => api_unsupported.go} (62%) create mode 100644 go-packages/meep-vis-client/api_v2xi.go delete mode 100644 go-packages/meep-vis-client/docs/GeoArea.md delete mode 100644 go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md delete mode 100644 go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md rename go-packages/meep-vis-client/docs/{Pc5ProvisioningInfoInner.md => Pc5ProvisioningInfo.md} (72%) create mode 100644 go-packages/meep-vis-client/docs/Pc5ProvisioningInfoProInfoPc5.md delete mode 100644 go-packages/meep-vis-client/docs/QoSApi.md delete mode 100644 go-packages/meep-vis-client/docs/QueriesApi.md delete mode 100644 go-packages/meep-vis-client/docs/SdpInfo.md delete mode 100644 go-packages/meep-vis-client/docs/SubscriptionApi.md rename go-packages/meep-vis-client/docs/{RoutesInner.md => SubscriptionLinkListLinks.md} (53%) delete mode 100644 go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md create mode 100644 go-packages/meep-vis-client/docs/SubscriptionLinkListLinksSubscriptions.md delete mode 100644 go-packages/meep-vis-client/docs/SubscriptionsBody.md delete mode 100644 go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md delete mode 100644 go-packages/meep-vis-client/docs/Tmgi.md rename go-packages/meep-vis-client/docs/{UuMbmsProvisioningInfoInner.md => UuMbmsProvisioningInfo.md} (69%) create mode 100644 go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoProInfoUuMbms.md rename go-packages/meep-vis-client/docs/{UuUnicastProvisioningInfoInner.md => UuUnicastProvisioningInfo.md} (67%) create mode 100644 go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoProInfoUuUnicast.md delete mode 100644 go-packages/meep-vis-client/docs/V2XMsgApi.md create mode 100644 go-packages/meep-vis-client/docs/V2xiApi.md create mode 100644 go-packages/meep-vis-client/go.sum delete mode 100644 go-packages/meep-vis-client/model_geo_area.go delete mode 100644 go-packages/meep-vis-client/model_one_ofsubscriptions_body.go delete mode 100644 go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go create mode 100644 go-packages/meep-vis-client/model_pc5_provisioning_info.go delete mode 100644 go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go delete mode 100644 go-packages/meep-vis-client/model_routes_inner.go delete mode 100644 go-packages/meep-vis-client/model_sdp_info.go create mode 100644 go-packages/meep-vis-client/model_subscription_link_list_links.go delete mode 100644 go-packages/meep-vis-client/model_subscription_link_list_links_inner.go delete mode 100644 go-packages/meep-vis-client/model_subscriptions_body.go delete mode 100644 go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go delete mode 100644 go-packages/meep-vis-client/model_tmgi.go create mode 100644 go-packages/meep-vis-client/model_uu_mbms_provisioning_info.go delete mode 100644 go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go create mode 100644 go-packages/meep-vis-client/model_uu_unicast_provisioning_info.go delete mode 100644 go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go diff --git a/go-packages/meep-vis-client/.swagger-codegen/VERSION b/go-packages/meep-vis-client/.swagger-codegen/VERSION index 0667b5ffc..812aaafe6 100644 --- a/go-packages/meep-vis-client/.swagger-codegen/VERSION +++ b/go-packages/meep-vis-client/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.29 \ No newline at end of file +3.0.22 \ No newline at end of file diff --git a/go-packages/meep-vis-client/README.md b/go-packages/meep-vis-client/README.md index 2461c735b..68e0ebcfb 100644 --- a/go-packages/meep-vis-client/README.md +++ b/go-packages/meep-vis-client/README.md @@ -1,6 +1,6 @@ # Go API client for swagger -ETSI GS MEC 030 V2X Information Service API described using OpenAPI. +V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. @@ -8,7 +8,6 @@ This API client was generated by the [swagger-codegen](https://github.com/swagge - API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen -For more information, please visit [https://forge.etsi.org/rep/mec/gs030-vis-api](https://forge.etsi.org/rep/mec/gs030-vis-api) ## Installation Put the package under your project folder and add the following in import: @@ -18,23 +17,28 @@ import "./swagger" ## Documentation for API Endpoints -All URIs are relative to *https://localhost/vis/v2* +All URIs are relative to *https://localhost/sandboxname/vis/v2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*QoSApi* | [**PredictedQosPOST**](docs/QoSApi.md#predictedqospost) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. -*QueriesApi* | [**ProvInfoGET**](docs/QueriesApi.md#provinfoget) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. -*QueriesApi* | [**ProvInfoUuMbmsGET**](docs/QueriesApi.md#provinfouumbmsget) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. -*QueriesApi* | [**ProvInfoUuUnicastGET**](docs/QueriesApi.md#provinfouuunicastget) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. -*SubscriptionApi* | [**IndividualSubscriptionDELETE**](docs/SubscriptionApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. -*SubscriptionApi* | [**IndividualSubscriptionGET**](docs/SubscriptionApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. -*SubscriptionApi* | [**IndividualSubscriptionPUT**](docs/SubscriptionApi.md#individualsubscriptionput) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. -*SubscriptionApi* | [**SubGET**](docs/SubscriptionApi.md#subget) | **Get** /subscriptions | Request information about the subscriptions for this requestor. -*SubscriptionApi* | [**SubPOST**](docs/SubscriptionApi.md#subpost) | **Post** /subscriptions | create a new subscription to VIS notifications. -*V2XMsgApi* | [**V2xMessagePOST**](docs/V2XMsgApi.md#v2xmessagepost) | **Post** /publish_v2x_message | Used to publish a V2X message. +*UnsupportedApi* | [**IndividualSubscriptionDELETE**](docs/UnsupportedApi.md#individualsubscriptiondelete) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +*UnsupportedApi* | [**IndividualSubscriptionGET**](docs/UnsupportedApi.md#individualsubscriptionget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +*UnsupportedApi* | [**IndividualSubscriptionPUT**](docs/UnsupportedApi.md#individualsubscriptionput) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. +*UnsupportedApi* | [**ProvInfoGET**](docs/UnsupportedApi.md#provinfoget) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +*UnsupportedApi* | [**ProvInfoUuMbmsGET**](docs/UnsupportedApi.md#provinfouumbmsget) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +*UnsupportedApi* | [**ProvInfoUuUnicastGET**](docs/UnsupportedApi.md#provinfouuunicastget) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +*UnsupportedApi* | [**SubGET**](docs/UnsupportedApi.md#subget) | **Get** /subscriptions | Request information about the subscriptions for this requestor. +*UnsupportedApi* | [**SubPOST**](docs/UnsupportedApi.md#subpost) | **Post** /subscriptions | create a new subscription to VIS notifications. +*UnsupportedApi* | [**V2xMessagePOST**](docs/UnsupportedApi.md#v2xmessagepost) | **Post** /publish_v2x_message | Used to publish a V2X message. +*V2xiApi* | [**Mec011AppTerminationPOST**](docs/V2xiApi.md#mec011appterminationpost) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +*V2xiApi* | [**PredictedQosPOST**](docs/V2xiApi.md#predictedqospost) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. ## Documentation For Models + - [AppTerminationNotification](docs/AppTerminationNotification.md) + - [AppTerminationNotificationLinks](docs/AppTerminationNotificationLinks.md) + - [Body](docs/Body.md) + - [Body1](docs/Body1.md) - [CellId](docs/CellId.md) - [Earfcn](docs/Earfcn.md) - [Ecgi](docs/Ecgi.md) @@ -44,10 +48,12 @@ Class | Method | HTTP request | Description - [LocationInfo](docs/LocationInfo.md) - [LocationInfoGeoArea](docs/LocationInfoGeoArea.md) - [MsgType](docs/MsgType.md) - - [OneOfsubscriptionsBody](docs/OneOfsubscriptionsBody.md) - - [OneOfsubscriptionsSubscriptionIdBody](docs/OneOfsubscriptionsSubscriptionIdBody.md) + - [OneOfbody](docs/OneOfbody.md) + - [OneOfbody1](docs/OneOfbody1.md) + - [OperationActionType](docs/OperationActionType.md) - [Pc5NeighbourCellInfo](docs/Pc5NeighbourCellInfo.md) - - [Pc5ProvisioningInfoInner](docs/Pc5ProvisioningInfoInner.md) + - [Pc5ProvisioningInfo](docs/Pc5ProvisioningInfo.md) + - [Pc5ProvisioningInfoProInfoPc5](docs/Pc5ProvisioningInfoProInfoPc5.md) - [Plmn](docs/Plmn.md) - [PredictedQos](docs/PredictedQos.md) - [PredictedQosRoutes](docs/PredictedQosRoutes.md) @@ -63,9 +69,8 @@ Class | Method | HTTP request | Description - [ProvChgUuUniSubscription](docs/ProvChgUuUniSubscription.md) - [ProvChgUuUniSubscriptionFilterCriteria](docs/ProvChgUuUniSubscriptionFilterCriteria.md) - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - - [SubscriptionLinkListLinksInner](docs/SubscriptionLinkListLinksInner.md) - - [SubscriptionsBody](docs/SubscriptionsBody.md) - - [SubscriptionsSubscriptionIdBody](docs/SubscriptionsSubscriptionIdBody.md) + - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) + - [SubscriptionLinkListLinksSubscriptions](docs/SubscriptionLinkListLinksSubscriptions.md) - [SystemInformationBlockType21](docs/SystemInformationBlockType21.md) - [TddInfo](docs/TddInfo.md) - [TestNotification](docs/TestNotification.md) @@ -74,9 +79,11 @@ Class | Method | HTTP request | Description - [TransmissionBandwidth](docs/TransmissionBandwidth.md) - [TransmissionBandwidthTransmissionBandwidth](docs/TransmissionBandwidthTransmissionBandwidth.md) - [UuMbmsNeighbourCellInfo](docs/UuMbmsNeighbourCellInfo.md) - - [UuMbmsProvisioningInfoInner](docs/UuMbmsProvisioningInfoInner.md) + - [UuMbmsProvisioningInfo](docs/UuMbmsProvisioningInfo.md) + - [UuMbmsProvisioningInfoProInfoUuMbms](docs/UuMbmsProvisioningInfoProInfoUuMbms.md) - [UuUniNeighbourCellInfo](docs/UuUniNeighbourCellInfo.md) - - [UuUnicastProvisioningInfoInner](docs/UuUnicastProvisioningInfoInner.md) + - [UuUnicastProvisioningInfo](docs/UuUnicastProvisioningInfo.md) + - [UuUnicastProvisioningInfoProInfoUuUnicast](docs/UuUnicastProvisioningInfoProInfoUuUnicast.md) - [V2xApplicationServer](docs/V2xApplicationServer.md) - [V2xMsgNotification](docs/V2xMsgNotification.md) - [V2xMsgNotificationLinks](docs/V2xMsgNotificationLinks.md) @@ -94,4 +101,4 @@ Class | Method | HTTP request | Description ## Author -cti_support@etsi.org +AdvantEDGE@InterDigital.com diff --git a/go-packages/meep-vis-client/api/swagger.yaml b/go-packages/meep-vis-client/api/swagger.yaml index 49e21968e..4aa0a30a8 100644 --- a/go-packages/meep-vis-client/api/swagger.yaml +++ b/go-packages/meep-vis-client/api/swagger.yaml @@ -1,32 +1,34 @@ openapi: 3.0.0 info: - title: ETSI GS MEC 030 V2X Information Service API - description: ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + title: AdvantEDGE V2X Information Service REST API + description: V2X Information Service is AdvantEDGE's implementation of [ETSI MEC + ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about radio conditions in the network

**Note**
AdvantEDGE supports + a selected subset of RNI API endpoints (see below) and a subset of subscription + types. contact: - name: ETSI Forge - url: https://forge.etsi.org/rep/mec/gs030-vis-api - email: cti_support@etsi.org + name: InterDigital AdvantEDGE Support + email: AdvantEDGE@InterDigital.com license: - name: BSD-3-Clause - url: https://forge.etsi.org/legal-matters + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE version: 2.2.1 externalDocs: - description: "ETSI GS MEC 030 V2X Information Service API, v2.2.1" + description: ETSI GS MEC 030 V2X Information Service API, v2.2.1 url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_mec030v020201p.pdf servers: -- url: https://localhost/vis/v2 +- url: https://localhost/sandboxname/vis/v2 tags: -- name: queries - description: Queries -- name: subscription - description: Subscription -- name: QoS -- name: V2X_msg +- name: v2xi +- name: unsupported paths: /queries/uu_unicast_provisioning_info: get: tags: - - queries + - unsupported summary: Used to query provisioning information for V2X communication over Uu unicast. description: Used to query provisioning information for V2X communication over @@ -50,41 +52,41 @@ paths: schema: $ref: '#/components/schemas/UuUnicastProvisioningInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: @@ -92,7 +94,7 @@ paths: /queries/uu_mbms_provisioning_info: get: tags: - - queries + - unsupported summary: retrieve information required for V2X communication over Uu MBMS. description: retrieve information required for V2X communication over Uu MBMS. operationId: prov_info_uu_mbmsGET @@ -114,41 +116,41 @@ paths: schema: $ref: '#/components/schemas/UuMbmsProvisioningInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: @@ -156,7 +158,7 @@ paths: /queries/pc5_provisioning_info: get: tags: - - queries + - unsupported summary: Query provisioning information for V2X communication over PC5. description: Query provisioning information for V2X communication over PC5. operationId: prov_infoGET @@ -179,41 +181,41 @@ paths: schema: $ref: '#/components/schemas/Pc5ProvisioningInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: @@ -221,7 +223,7 @@ paths: /provide_predicted_qos: post: tags: - - QoS + - v2xi summary: Request the predicted QoS correspondent to potential routes of a vehicular UE. description: Request the predicted QoS correspondent to potential routes of @@ -242,28 +244,28 @@ paths: schema: $ref: '#/components/schemas/PredictedQos' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: @@ -271,7 +273,7 @@ paths: /publish_v2x_message: post: tags: - - V2X_msg + - unsupported summary: Used to publish a V2X message. description: Used to publish a V2X message. operationId: v2x_messagePOST @@ -285,41 +287,41 @@ paths: "204": description: No Content "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: @@ -327,18 +329,18 @@ paths: /subscriptions: get: tags: - - subscription + - unsupported summary: Request information about the subscriptions for this requestor. description: Request information about the subscriptions for this requestor. operationId: subGET parameters: - name: subscription_type in: query - description: "Query parameter to filter on a specific subscription type. Permitted\ - \ values: prov_chg_uu_uni: provisioning information change for V2X communication\ - \ over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X\ - \ communication over Uu MBMS prov_chg_uu_pc5: provisioning information change\ - \ for V2X communication over PC5. v2x_msg: V2X interoperability message" + description: 'Query parameter to filter on a specific subscription type. Permitted + values: prov_chg_uu_uni: provisioning information change for V2X communication + over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X + communication over Uu MBMS prov_chg_uu_pc5: provisioning information change + for V2X communication over PC5. v2x_msg: V2X interoperability message' required: false style: form explode: true @@ -353,48 +355,48 @@ paths: schema: $ref: '#/components/schemas/SubscriptionLinkList' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' post: tags: - - subscription + - unsupported summary: ' create a new subscription to VIS notifications.' description: ' create a new subscription to VIS notifications.' operationId: subPOST @@ -402,72 +404,71 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/subscriptions_body' + $ref: '#/components/schemas/body' required: true responses: "201": - description: "In the returned NotificationSubscription structure, the created\ - \ subscription is described using the appropriate data type." + description: In the returned NotificationSubscription structure, the created + subscription is described using the appropriate data type. content: application/json: schema: - $ref: '#/components/schemas/subscriptions_body' + $ref: '#/components/schemas/body' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "415": - description: "Unsupported Media Type : used to indicate that the server\ - \ or the client does not support the content type of the entity body." + description: 'Unsupported Media Type : used to indicate that the server + or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: @@ -496,15 +497,15 @@ paths: /subscriptions/{subscriptionId}: get: tags: - - subscription + - unsupported summary: Retrieve information about this subscription. description: Retrieve information about this subscription. operationId: individualSubscriptionGET parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the VIS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -517,58 +518,58 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/subscriptions_body' + $ref: '#/components/schemas/body' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' put: tags: - - subscription + - unsupported summary: Used to update the existing subscription. description: Used to update the existing subscription. operationId: individualSubscriptionPUT parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the VIS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -578,7 +579,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/subscriptions_subscriptionId_body' + $ref: '#/components/schemas/body_1' required: true responses: "200": @@ -587,79 +588,78 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/subscriptions_subscriptionId_body' + $ref: '#/components/schemas/body_1' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts\ - \ when using PUT" + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' delete: tags: - - subscription + - unsupported summary: Used to cancel the existing subscription. description: Used to cancel the existing subscription. operationId: individualSubscriptionDELETE parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the VIS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the VIS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -669,31 +669,58 @@ paths: "204": description: No Content "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + /notifications/mec011/appTermination: + post: + tags: + - v2xi + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + _links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications components: schemas: CellId: @@ -716,10 +743,12 @@ components: properties: earfcn: type: integer - description: "E-UTRA Absolute Radio Frequency Channel Number, range (0...\ - \ 65535)" + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... + 65535) x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Integer + example: + earfcn: 1 x-etsi-ref: 6.6.3 Ecgi: required: @@ -754,6 +783,13 @@ components: $ref: '#/components/schemas/Earfcn' ulTransmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' + example: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null x-etsi-ref: 6.5.6 links: required: @@ -838,28 +874,111 @@ components: $ref: '#/components/schemas/Plmn' siV2xConfig: $ref: '#/components/schemas/SystemInformationBlockType21' + example: + plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.12 Pc5ProvisioningInfo: required: - proInfoPc5 - type: array - items: - $ref: '#/components/schemas/Pc5ProvisioningInfo_inner' + type: object + properties: + proInfoPc5: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoPc5: + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id x-etsi-ref: 6.2.4 - x-schema-name: Pc5ProvisioningInfo Pc5ProvisioningInfo.proInfoPc5: - minItems: 1 required: - dstLayer2Id - locationInfo - type: array + type: object properties: dstLayer2Id: type: string - description: "For sidelink communication, the Destination Layer-2 ID is\ - \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS\_136\_\ - 321 [i.12].\nPLMN operators coordinate to make sure Destination Layer2\ - \ ID(s) for different V2X services are configured in a consistent manner." + description: |- + For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String locationInfo: @@ -874,11 +993,41 @@ components: x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Pc5NeighbourCellInfo description: The provisioning information per location as defined below. - items: - type: object + example: + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - plmn: + mnc: mnc + mcc: mcc + siV2xConfig: {} + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + dstLayer2Id: dstLayer2Id x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: Pc5ProvisioningInfo.proInfoPc5 Plmn: required: - mcc @@ -926,7 +1075,7 @@ components: example: routes: - routeInfo: - - rsrq: 5 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -937,11 +1086,11 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -952,12 +1101,12 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 - routeInfo: - - rsrq: 5 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -968,11 +1117,11 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -983,10 +1132,10 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 timeGranularity: null locationGranularity: locationGranularity x-etsi-notes: "NOTE:\tThe data type of locationGranularity is a string which\ @@ -1011,7 +1160,7 @@ components: x-etsi-mec-origin-type: Structure (inlined) example: routeInfo: - - rsrq: 5 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1022,11 +1171,11 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 - - rsrq: 5 + seconds: 7 + nanoSeconds: 2 + - rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1037,10 +1186,10 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 PredictedQos.routes.routeInfo: type: object properties: @@ -1048,22 +1197,24 @@ components: $ref: '#/components/schemas/LocationInfo' rsrp: type: integer - description: "Reference Signal Received Power as defined in ETSI TS 136\ - \ 214 [i.13].\nShall only be included in the response." + description: |- + Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. format: uint8 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 rsrq: type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.13].\nShall only be included in the response." + description: |- + Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. + Shall only be included in the response. format: uint8 x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 time: $ref: '#/components/schemas/TimeStamp' example: - rsrq: 5 + rsrq: 6 location: geoArea: latitude: 0.8008282 @@ -1074,10 +1225,10 @@ components: mcc: mcc cellId: cellId: cellId - rsrp: 1 + rsrp: 0 time: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 ProblemDetails: type: object properties: @@ -1102,7 +1253,7 @@ components: x-etsi-mec-origin-type: Uint32 title: type: string - description: "A short, human-readable summary of the problem type" + description: A short, human-readable summary of the problem type x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String type: @@ -1120,9 +1271,8 @@ components: properties: dstLayer2Id: type: string - description: "For sidelink communication, the Destination Layer-2 ID is\ - \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321\ - \ [i.12]." + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: String locationInfo: @@ -1165,9 +1315,9 @@ components: $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' requestTestNotification: type: boolean - description: "Shall be set to TRUE by the service consumer to request a\ - \ test notification via HTTP on the callbackReference URI, as described\ - \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1177,10 +1327,10 @@ components: x-etsi-mec-origin-type: String websockNotifConfig: $ref: '#/components/schemas/WebsockNotifConfig' - x-etsi-notes: "NOTE: At least one of callbackReference and websockNotifConfig\ - \ shall be provided by the service consumer. If both are provided, it is up\ - \ to VIS to choose an alternative and return only that alternative in the\ - \ response, as described in ETSI GS MEC 009 [i.1], clause 6.12a." + x-etsi-notes: 'NOTE: At least one of callbackReference and websockNotifConfig + shall be provided by the service consumer. If both are provided, it is up + to VIS to choose an alternative and return only that alternative in the response, + as described in ETSI GS MEC 009 [i.1], clause 6.12a.' x-etsi-ref: 6.3.4 ProvChgPc5Subscription.filterCriteria: required: @@ -1190,9 +1340,8 @@ components: properties: dstLayer2Id: type: string - description: "For sidelink communication, the Destination Layer-2 ID is\ - \ set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321\ - \ [i.12]." + description: For sidelink communication, the Destination Layer-2 ID is set + to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String locationInfo: @@ -1206,9 +1355,9 @@ components: $ref: '#/components/schemas/Pc5NeighbourCellInfo' x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Pc5NeighbourCellInfo - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) ProvChgUuMbmsNotification: @@ -1259,9 +1408,9 @@ components: $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' requestTestNotification: type: boolean - description: "Shall be set to TRUE by the service consumer to request a\ - \ test notification via HTTP on the callbackReference URI, as described\ - \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1295,9 +1444,9 @@ components: x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo v2xServerUsd: $ref: '#/components/schemas/V2xServerUsd' - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) ProvChgUuUniNotification: @@ -1348,9 +1497,9 @@ components: $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' requestTestNotification: type: boolean - description: "Shall be set to TRUE by the service consumer to request a\ - \ test notification via HTTP on the callbackReference URI, as described\ - \ in ETSI GS\_MEC\_009 [i.1], clause 6.12a.\nDefault: FALSE." + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1384,9 +1533,9 @@ components: x-etsi-mec-origin-type: UuUniNeighbourCellInfo v2xApplicationServer: $ref: '#/components/schemas/V2xApplicationServer' - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) SubscriptionLinkList: @@ -1398,14 +1547,11 @@ components: $ref: '#/components/schemas/SubscriptionLinkList.links' example: _links: - - subscriptions: - - {} - - {} - self: + subscriptions: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType href: http://example.com/aeiou - - subscriptions: - - {} - - {} self: href: http://example.com/aeiou x-etsi-ref: 6.3.6 @@ -1427,23 +1573,39 @@ components: x-etsi-mec-origin-type: String transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth' + example: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null x-etsi-ref: 6.5.7 SubscriptionLinkList.links: required: - self - type: array + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + subscriptions: + type: array + items: + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' description: List of hyperlinks related to the resource. - items: - $ref: SubscriptionLinkList.links_inner + example: + subscriptions: + - subscriptionType: subscriptionType + href: http://example.com/aeiou + - subscriptionType: subscriptionType + href: http://example.com/aeiou + self: + href: http://example.com/aeiou x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkList.links SubscriptionLinkList.links.subscriptions: minItems: 0 required: - href - subscriptionType - type: array + type: object properties: href: type: string @@ -1459,11 +1621,11 @@ components: x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: The service consumer's subscriptions. - items: - type: object + example: + subscriptionType: subscriptionType + href: http://example.com/aeiou x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: SubscriptionLinkList.links.subscriptions TestNotification: required: - _links @@ -1486,21 +1648,21 @@ components: properties: nanoSeconds: type: integer - description: "The nanoseconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC." + description: The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC. format: uint32 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 seconds: type: integer - description: "The seconds part of the time. Time is defined as Unixtime\ - \ since January 1, 1970, 00:00:00 UTC." + description: The seconds part of the time. Time is defined as Unixtime since + January 1, 1970, 00:00:00 UTC. format: uint32 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Uint32 example: - seconds: 6 - nanoSeconds: 0 + seconds: 7 + nanoSeconds: 2 x-etsi-ref: 6.5.2 TransmissionBandwidth: required: @@ -1509,9 +1671,11 @@ components: properties: transmissionBandwidth: $ref: '#/components/schemas/TransmissionBandwidth.transmissionBandwidth' + example: + transmissionBandwidth: 5 x-etsi-ref: 6.6.4 TransmissionBandwidth.transmissionBandwidth: - type: string + type: integer description: | 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: @@ -1527,12 +1691,12 @@ components: 6 = bw100 (100 resource blocks)' enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum UuMbmsNeighbourCellInfo: @@ -1566,21 +1730,195 @@ components: $ref: '#/components/schemas/Plmn' tddInfo: $ref: '#/components/schemas/TddInfo' + example: + fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.5.11 UuMbmsProvisioningInfo: required: - proInfoUuMbms - type: array - items: - $ref: '#/components/schemas/UuMbmsProvisioningInfo_inner' + type: object + properties: + proInfoUuMbms: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoUuMbms: + - v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-ref: 6.2.3 - x-schema-name: UuMbmsProvisioningInfo UuMbmsProvisioningInfo.proInfoUuMbms: - minItems: 1 required: - locationInfo - v2xServerUsd - type: array + type: object properties: locationInfo: $ref: '#/components/schemas/LocationInfo' @@ -1596,11 +1934,79 @@ components: v2xServerUsd: $ref: '#/components/schemas/V2xServerUsd' description: The provisioning information per location as defined below. - items: - type: object + example: + v2xServerUsd: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + mbmsServiceAreaIdentity: + - mbmsServiceAreaIdentity + - mbmsServiceAreaIdentity + pci: 0 + plmn: + mnc: mnc + mcc: mcc + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: UuMbmsProvisioningInfo.proInfoUuMbms UuUniNeighbourCellInfo: required: - ecgi @@ -1623,21 +2029,129 @@ components: $ref: '#/components/schemas/Plmn' tddInfo: $ref: '#/components/schemas/TddInfo' + example: + fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null x-etsi-ref: 6.5.9 UuUnicastProvisioningInfo: required: - proInfoUuUnicast - type: array - items: - $ref: '#/components/schemas/UuUnicastProvisioningInfo_inner' + type: object + properties: + proInfoUuUnicast: + minItems: 1 + type: array + items: + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' + timeStamp: + $ref: '#/components/schemas/TimeStamp' + example: + timeStamp: + seconds: 7 + nanoSeconds: 2 + proInfoUuUnicast: + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort + - locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort x-etsi-ref: 6.2.2 - x-schema-name: UuUnicastProvisioningInfo UuUnicastProvisioningInfo.proInfoUuUnicast: - minItems: 1 required: - locationInfo - v2xApplicationServer - type: array + type: object properties: locationInfo: $ref: '#/components/schemas/LocationInfo' @@ -1653,11 +2167,51 @@ components: v2xApplicationServer: $ref: '#/components/schemas/V2xApplicationServer' description: The provisioning information per location as defined below. - items: - type: object + example: + locationInfo: + geoArea: + latitude: 0.8008282 + longitude: 6.0274563 + ecgi: + plmn: + mnc: mnc + mcc: mcc + cellId: + cellId: cellId + neighbourCellInfo: + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + - fddInfo: + dlEarfcn: + earfcn: 1 + ulEarfcn: null + dlTransmissionBandwidth: + transmissionBandwidth: 5 + ulTransmissionBandwidth: null + pci: 5 + plmn: null + tddInfo: + subframeAssignment: subframeAssignment + transmissionBandwidth: null + earfcn: null + ecgi: null + v2xApplicationServer: + ipAddress: ipAddress + udpPort: udpPort x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) - x-schema-name: UuUnicastProvisioningInfo.proInfoUuUnicast V2xApplicationServer: required: - ipAddress @@ -1666,14 +2220,15 @@ components: properties: ipAddress: type: string - description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String udpPort: type: string - description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String + example: + ipAddress: ipAddress + udpPort: udpPort x-etsi-ref: 6.5.8 V2xMsgNotification: required: @@ -1697,7 +2252,7 @@ components: x-etsi-mec-origin-type: String msgEncodeFormat: type: string - description: "The encode format of the V2X message, for example base64." + description: The encode format of the V2X message, for example base64. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: @@ -1748,7 +2303,7 @@ components: x-etsi-mec-origin-type: String msgEncodeFormat: type: string - description: "The encode format of the V2X message, for example base64." + description: The encode format of the V2X message, for example base64. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String msgType: @@ -1767,40 +2322,36 @@ components: \ in ETSI TS 102 894-2 [6], clause A.114." x-etsi-ref: 6.2.6 msgType: - type: string - description: "Published V2X message type. Its value is defined by the standardization\ - \ organization indicated by the attribute stdOrganization. See note 2.\n−\ - \ denm(1): Decentralized Environmental Notification Message (DENM) as specified\ - \ in ETSI EN 302 637-3,\n− cam(2): Cooperative Awareness Message (CAM) as\ - \ specified in ETSI EN 302 637-2,\n− poi(3): Point of Interest message as\ - \ specified in ETSI TS 101 556-1,\n− spatem(4): Signal Phase And Timing (SPAT)\ - \ message as specified in SAE J2735 and in ETSI TS 103 301,\n− mapem(5): MAP\ - \ message as specified in SAE J2735 and in ETSI TS 103 301,\n− ivim(6): In\ - \ Vehicle Information (IVI) message as defined in ISO TS 19321,\n− ev-rsr(7):\ - \ Electric vehicle recharging spot reservation message, as defined in ETSI\ - \ TS 101 556-3,\n− tistpgtransaction(8): messages for Tyre Information System\ - \ (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI\ - \ TS 101 556-2,\n− srem(9): Traffic light Signal Request Message as specified\ - \ in ETSI TS 103 301,\n− ssem(10): Traffic Light Signal Request Status Message\ - \ as specified in ETSI TS 103 301.\n− evcsn(11): Electrical Vehicle Charging\ - \ Spot Notification message as specified in ETSI TS 101 556-1,\n− saem(12):\ - \ Services Announcement Extended Message as specified in ETSI TS 102 890-1,\n\ - − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message\ - \ as specified in ETSI TS 103 301,\n" + type: integer + description: | + Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, + − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, + − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, + − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, + − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, + − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, + − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, + − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, + − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, + − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. + − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, + − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, + − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, enum: - - "1" - - "2" - - "3" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum V2xMsgSubscription: @@ -1824,9 +2375,9 @@ components: $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' requestTestNotification: type: boolean - description: "Shall be set to TRUE by the service consumer to request a\ - \ test notification via HTTP on the callbackReference URI, as described\ - \ in ETSI GS\_MEC 009 [i.1], clause 6.12a.\nDefault: FALSE." + description: |- + Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. + Default: FALSE. x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Boolean subscriptionType: @@ -1867,9 +2418,9 @@ components: - ETSI x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd: @@ -1892,6 +2443,17 @@ components: x-etsi-mec-origin-type: String tmgi: $ref: '#/components/schemas/V2xServerUsd.tmgi' + example: + sdpInfo: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber + tmgi: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId + serviceAreaIdentifier: + - serviceAreaIdentifier + - serviceAreaIdentifier x-etsi-ref: 6.5.10 V2xServerUsd.sdpInfo: required: @@ -1901,16 +2463,17 @@ components: properties: ipMulticastAddress: type: string - description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String portNumber: type: string - description: "" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String description: SDP with IP multicast address and port number used for V2X communication via MBMS. + example: + ipMulticastAddress: ipMulticastAddress + portNumber: portNumber x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Structure (inlined) V2xServerUsd.tmgi: @@ -1935,8 +2498,12 @@ components: description: The Mobile Network Code part of PLMN Identity. x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: String - description: "Temporary Mobile Group Identity (TMGI), which is used within MBMS\ - \ to uniquely identify Multicast and Broadcast bearer services." + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS + to uniquely identify Multicast and Broadcast bearer services. + example: + mnc: mnc + mcc: mcc + mbmsServiceId: mbmsServiceId x-etsi-mec-cardinality: "" x-etsi-mec-origin-type: Structure (inlined) WebsockNotifConfig: @@ -1956,45 +2523,47 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uri x-etsi-ref: 6.5.14 - subscriptions_body: + AppTerminationNotification: + required: + - _links + - maxGracefulTimeout + - notificationType + - operationAction + type: object + properties: + notificationType: + type: string + description: Shall be set to AppTerminationNotification. + operationAction: + $ref: '#/components/schemas/OperationActionType' + maxGracefulTimeout: + type: integer + description: Maximum timeout value in seconds for graceful termination or + graceful stop of an application instance. + format: uint32 + _links: + $ref: '#/components/schemas/AppTerminationNotification__links' + description: This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. + OperationActionType: + type: string + description: Operation that is being performed on the MEC application instance. + enum: + - STOPPING + - TERMINATING + body: oneOf: - $ref: '#/components/schemas/ProvChgUuUniSubscription' - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' - subscriptions_subscriptionId_body: + body_1: oneOf: - $ref: '#/components/schemas/ProvChgUuUniSubscription' - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' - $ref: '#/components/schemas/ProvChgPc5Subscription' - $ref: '#/components/schemas/V2xMsgSubscription' - Pc5ProvisioningInfo_inner: - type: object - properties: - proInfoPc5: - $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoPc5: - - {} - - {} - SubscriptionLinkList.links_inner: - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - subscriptions: - $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' - example: - subscriptions: - - {} - - {} - self: - href: http://example.com/aeiou TestNotification__links: required: - subscription @@ -2003,110 +2572,91 @@ components: subscription: $ref: '#/components/schemas/LinkType' description: 'Hyperlink related to the resource. ' - example: null - UuMbmsProvisioningInfo_inner: - type: object - properties: - proInfoUuMbms: - $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoUuMbms: - - {} - - {} - UuUnicastProvisioningInfo_inner: + AppTerminationNotification__links: + required: + - subscription type: object properties: - proInfoUuUnicast: - $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 6 - nanoSeconds: 0 - proInfoUuUnicast: - - {} - - {} + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + description: Object containing hyperlinks related to the resource. responses: "204": description: No Content "206": description: Partial content "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot be\ - \ mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot be + mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "409": - description: "Conflict : The operation cannot be executed currently, due to\ - \ a conflict with the state of the resource" + description: 'Conflict : The operation cannot be executed currently, due to + a conflict with the state of the resource' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts when\ - \ using PUT" + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "415": - description: "Unsupported Media Type : used to indicate that the server or\ - \ the client does not support the content type of the entity body." + description: 'Unsupported Media Type : used to indicate that the server or + the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body is\ - \ syntactically correct but semantically incorrect, for example if the target\ - \ area for the request is considered too large. This error condition can also\ - \ occur if the capabilities required by the request are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained instructions. + This error condition can occur if an JSON request body is syntactically correct + but semantically incorrect, for example if the target area for the request + is considered too large. This error condition can also occur if the capabilities + required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: diff --git a/go-packages/meep-vis-client/api_vis.go b/go-packages/meep-vis-client/api_unsupported.go similarity index 62% rename from go-packages/meep-vis-client/api_vis.go rename to go-packages/meep-vis-client/api_unsupported.go index e762483ef..41935deef 100644 --- a/go-packages/meep-vis-client/api_vis.go +++ b/go-packages/meep-vis-client/api_unsupported.go @@ -1,22 +1,36 @@ - /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client import ( "context" + "fmt" "io/ioutil" "net/http" "net/url" "strings" - "fmt" + "github.com/antihax/optional" ) @@ -25,160 +39,33 @@ var ( _ context.Context ) -type QoSApiService service -/* -QoSApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. -Request the predicted QoS correspondent to potential routes of a vehicular UE. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body -@return PredictedQos -*/ -func (a *QoSApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue PredictedQos - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/provide_predicted_qos" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - // body params - localVarPostBody = &body - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v PredictedQos - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 401 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 403 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} +type UnsupportedApiService service -type V2XMsgApiService service /* -V2XMsgApiService Used to publish a V2X message. -Used to publish a V2X message. +UnsupportedApiService Used to cancel the existing subscription. +Used to cancel the existing subscription. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription */ -func (a *V2XMsgApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error) { +func (a *UnsupportedApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Post") + localVarHttpMethod = strings.ToUpper("Delete") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/publish_v2x_message" + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} + localVarHttpContentTypes := []string{} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -194,8 +81,6 @@ func (a *V2XMsgApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublic if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - // body params - localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { return nil, err @@ -212,71 +97,50 @@ func (a *V2XMsgApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublic return localVarHttpResponse, err } - if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - if localVarHttpResponse.StatusCode == 400 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 406 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } return localVarHttpResponse, newErr } @@ -284,31 +148,30 @@ func (a *V2XMsgApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublic return localVarHttpResponse, nil } -type QueriesApiService service /* -QueriesApiService Query provisioning information for V2X communication over PC5. -Query provisioning information for V2X communication over PC5. +UnsupportedApiService Retrieve information about this subscription. +Retrieve information about this subscription. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area -@return []Pc5ProvisioningInfoInner + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return Body */ -func (a *QueriesApiService) ProvInfoGET(ctx context.Context, locationInfo string) ([]Pc5ProvisioningInfoInner, *http.Response, error) { +func (a *UnsupportedApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (Body, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []Pc5ProvisioningInfoInner + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/pc5_provisioning_info" + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -344,118 +207,120 @@ func (a *QueriesApiService) ProvInfoGET(ctx context.Context, locationInfo string if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v []Pc5ProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + var v Body + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } + /* -QueriesApiService retrieve information required for V2X communication over Uu MBMS. -retrieve information required for V2X communication over Uu MBMS. +UnsupportedApiService Used to update the existing subscription. +Used to update the existing subscription. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area -@return []UuMbmsProvisioningInfoInner + * @param body + * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription +@return Body1 */ -func (a *QueriesApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) ([]UuMbmsProvisioningInfoInner, *http.Response, error) { +func (a *UnsupportedApiService) IndividualSubscriptionPUT(ctx context.Context, body Body1, subscriptionId string) (Body1, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []UuMbmsProvisioningInfoInner + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body1 ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/uu_mbms_provisioning_info" + localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" + localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) // to determine the Content-Type header - localVarHttpContentTypes := []string{} + localVarHttpContentTypes := []string{"application/json"} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -471,6 +336,8 @@ func (a *QueriesApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } + // body params + localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { return localVarReturnValue, nil, err @@ -489,110 +356,131 @@ func (a *QueriesApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v []UuMbmsProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + var v Body1 + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 412 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } + /* -QueriesApiService Used to query provisioning information for V2X communication over Uu unicast. -Used to query provisioning information for V2X communication over Uu unicast. +UnsupportedApiService Query provisioning information for V2X communication over PC5. +Query provisioning information for V2X communication over PC5. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area -@return []UuUnicastProvisioningInfoInner +@return Pc5ProvisioningInfo */ -func (a *QueriesApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) ([]UuUnicastProvisioningInfoInner, *http.Response, error) { +func (a *UnsupportedApiService) ProvInfoGET(ctx context.Context, locationInfo string) (Pc5ProvisioningInfo, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue []UuUnicastProvisioningInfoInner + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Pc5ProvisioningInfo ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/queries/uu_unicast_provisioning_info" + localVarPath := a.client.cfg.BasePath + "/queries/pc5_provisioning_info" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -634,86 +522,86 @@ func (a *QueriesApiService) ProvInfoUuUnicastGET(ctx context.Context, locationIn if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v []UuUnicastProvisioningInfoInner - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + var v Pc5ProvisioningInfo + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } @@ -721,31 +609,30 @@ func (a *QueriesApiService) ProvInfoUuUnicastGET(ctx context.Context, locationIn return localVarReturnValue, localVarHttpResponse, nil } -type SubscriptionApiService service /* -SubscriptionApiService Used to cancel the existing subscription. -Used to cancel the existing subscription. +UnsupportedApiService retrieve information required for V2X communication over Uu MBMS. +retrieve information required for V2X communication over Uu MBMS. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription - + * @param locationInfo omma separated list of locations to identify a cell of a base station or a particular geographical area +@return UuMbmsProvisioningInfo */ -func (a *SubscriptionApiService) IndividualSubscriptionDELETE(ctx context.Context, subscriptionId string) (*http.Response, error) { +func (a *UnsupportedApiService) ProvInfoUuMbmsGET(ctx context.Context, locationInfo string) (UuMbmsProvisioningInfo, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Delete") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UuMbmsProvisioningInfo ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + localVarPath := a.client.cfg.BasePath + "/queries/uu_mbms_provisioning_info" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -765,95 +652,133 @@ func (a *SubscriptionApiService) IndividualSubscriptionDELETE(ctx context.Contex } r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarHttpResponse, err + return localVarReturnValue, localVarHttpResponse, err } + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } + if localVarHttpResponse.StatusCode == 200 { + var v UuMbmsProvisioningInfo + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 406 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarHttpResponse, newErr - } - newErr.model = v - return localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, newErr + return localVarReturnValue, localVarHttpResponse, newErr } - return localVarHttpResponse, nil + return localVarReturnValue, localVarHttpResponse, nil } + /* -SubscriptionApiService Retrieve information about this subscription. -Retrieve information about this subscription. +UnsupportedApiService Used to query provisioning information for V2X communication over Uu unicast. +Used to query provisioning information for V2X communication over Uu unicast. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription -@return SubscriptionsBody + * @param locationInfo Comma separated list of locations to identify a cell of a base station or a particular geographical area +@return UuUnicastProvisioningInfo */ -func (a *SubscriptionApiService) IndividualSubscriptionGET(ctx context.Context, subscriptionId string) (SubscriptionsBody, *http.Response, error) { +func (a *UnsupportedApiService) ProvInfoUuUnicastGET(ctx context.Context, locationInfo string) (UuUnicastProvisioningInfo, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue SubscriptionsBody + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue UuUnicastProvisioningInfo ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + localVarPath := a.client.cfg.BasePath + "/queries/uu_unicast_provisioning_info" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + localVarQueryParams.Add("location_info", parameterToString(locationInfo, "")) // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -889,119 +814,127 @@ func (a *SubscriptionApiService) IndividualSubscriptionGET(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v SubscriptionsBody - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + var v UuUnicastProvisioningInfo + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } + /* -SubscriptionApiService Used to update the existing subscription. -Used to update the existing subscription. +UnsupportedApiService Request information about the subscriptions for this requestor. +Request information about the subscriptions for this requestor. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param body - * @param subscriptionId Refers to created subscription, where the VIS API allocates a unique resource name for this subscription -@return SubscriptionsSubscriptionIdBody + * @param optional nil or *UnsupportedApiSubGETOpts - Optional Parameters: + * @param "SubscriptionType" (optional.String) - Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message +@return SubscriptionLinkList */ -func (a *SubscriptionApiService) IndividualSubscriptionPUT(ctx context.Context, body SubscriptionsSubscriptionIdBody, subscriptionId string) (SubscriptionsSubscriptionIdBody, *http.Response, error) { + +type UnsupportedApiSubGETOpts struct { + SubscriptionType optional.String +} + +func (a *UnsupportedApiService) SubGET(ctx context.Context, localVarOptionals *UnsupportedApiSubGETOpts) (SubscriptionLinkList, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Put") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue SubscriptionsSubscriptionIdBody + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue SubscriptionLinkList ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/{subscriptionId}" - localVarPath = strings.Replace(localVarPath, "{"+"subscriptionId"+"}", fmt.Sprintf("%v", subscriptionId), -1) + localVarPath := a.client.cfg.BasePath + "/subscriptions" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if localVarOptionals != nil && localVarOptionals.SubscriptionType.IsSet() { + localVarQueryParams.Add("subscription_type", parameterToString(localVarOptionals.SubscriptionType.Value(), "")) + } // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/json"} + localVarHttpContentTypes := []string{} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1017,8 +950,6 @@ func (a *SubscriptionApiService) IndividualSubscriptionPUT(ctx context.Context, if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } - // body params - localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { return localVarReturnValue, nil, err @@ -1037,106 +968,86 @@ func (a *SubscriptionApiService) IndividualSubscriptionPUT(ctx context.Context, if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } if localVarHttpResponse.StatusCode == 200 { - var v SubscriptionsSubscriptionIdBody - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + var v SubscriptionLinkList + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 412 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 422 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } @@ -1145,25 +1056,19 @@ func (a *SubscriptionApiService) IndividualSubscriptionPUT(ctx context.Context, } /* -SubscriptionApiService Request information about the subscriptions for this requestor. -Request information about the subscriptions for this requestor. +UnsupportedApiService create a new subscription to VIS notifications. + create a new subscription to VIS notifications. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param optional nil or *SubscriptionApiSubGETOpts - Optional Parameters: - * @param "SubscriptionType" (optional.String) - Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message -@return SubscriptionLinkList + * @param body +@return Body */ - -type SubscriptionApiSubGETOpts struct { - SubscriptionType optional.String -} - -func (a *SubscriptionApiService) SubGET(ctx context.Context, localVarOptionals *SubscriptionApiSubGETOpts) (SubscriptionLinkList, *http.Response, error) { +func (a *UnsupportedApiService) SubPOST(ctx context.Context, body Body) (Body, *http.Response, error) { var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue SubscriptionLinkList + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Body ) // create path and map variables @@ -1173,11 +1078,8 @@ func (a *SubscriptionApiService) SubGET(ctx context.Context, localVarOptionals * localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if localVarOptionals != nil && localVarOptionals.SubscriptionType.IsSet() { - localVarQueryParams.Add("subscription_type", parameterToString(localVarOptionals.SubscriptionType.Value(), "")) - } // to determine the Content-Type header - localVarHttpContentTypes := []string{} + localVarHttpContentTypes := []string{"application/json"} // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1193,6 +1095,8 @@ func (a *SubscriptionApiService) SubGET(ctx context.Context, localVarOptionals * if localVarHttpHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHttpHeaderAccept } + // body params + localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { return localVarReturnValue, nil, err @@ -1211,110 +1115,130 @@ func (a *SubscriptionApiService) SubGET(ctx context.Context, localVarOptionals * if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { return localVarReturnValue, localVarHttpResponse, err } } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - if localVarHttpResponse.StatusCode == 200 { - var v SubscriptionLinkList - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + if localVarHttpResponse.StatusCode == 201 { + var v Body + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 415 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 422 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, newErr } return localVarReturnValue, localVarHttpResponse, nil } + /* -SubscriptionApiService create a new subscription to VIS notifications. - create a new subscription to VIS notifications. +UnsupportedApiService Used to publish a V2X message. +Used to publish a V2X message. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param body -@return SubscriptionsBody + */ -func (a *SubscriptionApiService) SubPOST(ctx context.Context, body SubscriptionsBody) (SubscriptionsBody, *http.Response, error) { +func (a *UnsupportedApiService) V2xMessagePOST(ctx context.Context, body V2xMsgPublication) (*http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Post") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue SubscriptionsBody ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions" + localVarPath := a.client.cfg.BasePath + "/publish_v2x_message" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1341,125 +1265,87 @@ func (a *SubscriptionApiService) SubPOST(ctx context.Context, body Subscriptions localVarPostBody = &body r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err + return localVarHttpResponse, err } localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) localVarHttpResponse.Body.Close() if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } + return localVarHttpResponse, err } if localVarHttpResponse.StatusCode >= 300 { newErr := GenericSwaggerError{ - body: localVarBody, + body: localVarBody, error: localVarHttpResponse.Status, } - if localVarHttpResponse.StatusCode == 201 { - var v SubscriptionsBody - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 415 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 422 { - var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHttpResponse, newErr + } + newErr.model = v + return localVarHttpResponse, newErr } - return localVarReturnValue, localVarHttpResponse, newErr + return localVarHttpResponse, newErr } - return localVarReturnValue, localVarHttpResponse, nil + return localVarHttpResponse, nil } diff --git a/go-packages/meep-vis-client/api_v2xi.go b/go-packages/meep-vis-client/api_v2xi.go new file mode 100644 index 000000000..bf26a15e8 --- /dev/null +++ b/go-packages/meep-vis-client/api_v2xi.go @@ -0,0 +1,234 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +import ( + "context" + "io/ioutil" + "net/http" + "net/url" + "strings" +) + +// Linger please +var ( + _ context.Context +) + +type V2xiApiService service + +/* +V2xiApiService MEC011 Application Termination notification for self termination +Terminates itself. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body Termination notification details + +*/ +func (a *V2xiApiService) Mec011AppTerminationPOST(ctx context.Context, body AppTerminationNotification) (*http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/notifications/mec011/appTermination" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + return localVarHttpResponse, newErr + } + + return localVarHttpResponse, nil +} + +/* +V2xiApiService Request the predicted QoS correspondent to potential routes of a vehicular UE. +Request the predicted QoS correspondent to potential routes of a vehicular UE. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param body +@return PredictedQos +*/ +func (a *V2xiApiService) PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue PredictedQos + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/provide_predicted_qos" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v PredictedQos + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 401 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 403 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ProblemDetails + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/go-packages/meep-vis-client/client.go b/go-packages/meep-vis-client/client.go index baa51463f..e88f8fe70 100644 --- a/go-packages/meep-vis-client/client.go +++ b/go-packages/meep-vis-client/client.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -37,7 +51,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the ETSI GS MEC 030 V2X Information Service API API v2.2.1 +// APIClient manages communication with the AdvantEDGE V2X Information Service REST API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -45,13 +59,9 @@ type APIClient struct { // API Services - QoSApi *QoSApiService - - QueriesApi *QueriesApiService - - SubscriptionApi *SubscriptionApiService + UnsupportedApi *UnsupportedApiService - V2XMsgApi *V2XMsgApiService + V2xiApi *V2xiApiService } type service struct { @@ -70,10 +80,8 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.common.client = c // API Services - c.QoSApi = (*QoSApiService)(&c.common) - c.QueriesApi = (*QueriesApiService)(&c.common) - c.SubscriptionApi = (*SubscriptionApiService)(&c.common) - c.V2XMsgApi = (*V2XMsgApiService)(&c.common) + c.UnsupportedApi = (*UnsupportedApiService)(&c.common) + c.V2xiApi = (*V2xiApiService)(&c.common) return c } @@ -319,17 +327,17 @@ func (c *APIClient) prepareRequest( } func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { - if strings.Contains(contentType, "application/xml") { - if err = xml.Unmarshal(b, v); err != nil { - return err - } - return nil - } else if strings.Contains(contentType, "application/json") { - if err = json.Unmarshal(b, v); err != nil { - return err - } - return nil + if strings.Contains(contentType, "application/xml") { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } else if strings.Contains(contentType, "application/json") { + if err = json.Unmarshal(b, v); err != nil { + return err } + return nil + } return errors.New("undefined response type") } diff --git a/go-packages/meep-vis-client/configuration.go b/go-packages/meep-vis-client/configuration.go index 4fc40811d..c2e76b4de 100644 --- a/go-packages/meep-vis-client/configuration.go +++ b/go-packages/meep-vis-client/configuration.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -60,7 +74,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ - BasePath: "https://localhost/vis/v2", + BasePath: "https://localhost/sandboxname/vis/v2", DefaultHeader: make(map[string]string), UserAgent: "Swagger-Codegen/1.0.0/go", } diff --git a/go-packages/meep-vis-client/docs/GeoArea.md b/go-packages/meep-vis-client/docs/GeoArea.md deleted file mode 100644 index c0d3c5140..000000000 --- a/go-packages/meep-vis-client/docs/GeoArea.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoArea - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Latitude** | **float32** | Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd | [default to null] -**Longitude** | **float32** | Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md b/go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md deleted file mode 100644 index d560aa3e4..000000000 --- a/go-packages/meep-vis-client/docs/OneOfsubscriptionsBody.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfsubscriptionsBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md b/go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md deleted file mode 100644 index 763bac5dd..000000000 --- a/go-packages/meep-vis-client/docs/OneOfsubscriptionsSubscriptionIdBody.md +++ /dev/null @@ -1,8 +0,0 @@ -# OneOfsubscriptionsSubscriptionIdBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfo.md similarity index 72% rename from go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md rename to go-packages/meep-vis-client/docs/Pc5ProvisioningInfo.md index c39550ac5..c39074728 100644 --- a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfo.md @@ -1,9 +1,9 @@ -# Pc5ProvisioningInfoInner +# Pc5ProvisioningInfo ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoPc5** | [***[]interface{}**](array.md) | | [optional] [default to null] +**ProInfoPc5** | [**[]Pc5ProvisioningInfoProInfoPc5**](Pc5ProvisioningInfo.proInfoPc5.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoProInfoPc5.md b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoProInfoPc5.md new file mode 100644 index 000000000..d6867a8a5 --- /dev/null +++ b/go-packages/meep-vis-client/docs/Pc5ProvisioningInfoProInfoPc5.md @@ -0,0 +1,11 @@ +# Pc5ProvisioningInfoProInfoPc5 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**DstLayer2Id** | **string** | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. | [default to null] +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]Pc5NeighbourCellInfo**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/QoSApi.md b/go-packages/meep-vis-client/docs/QoSApi.md deleted file mode 100644 index b8d481945..000000000 --- a/go-packages/meep-vis-client/docs/QoSApi.md +++ /dev/null @@ -1,36 +0,0 @@ -# {{classname}} - -All URIs are relative to *https://localhost/vis/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**PredictedQosPOST**](QoSApi.md#PredictedQosPOST) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. - -# **PredictedQosPOST** -> PredictedQos PredictedQosPOST(ctx, body) -Request the predicted QoS correspondent to potential routes of a vehicular UE. - -Request the predicted QoS correspondent to potential routes of a vehicular UE. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **body** | [**PredictedQos**](PredictedQos.md)| | - -### Return type - -[**PredictedQos**](PredictedQos.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/QueriesApi.md b/go-packages/meep-vis-client/docs/QueriesApi.md deleted file mode 100644 index 79398e60d..000000000 --- a/go-packages/meep-vis-client/docs/QueriesApi.md +++ /dev/null @@ -1,94 +0,0 @@ -# {{classname}} - -All URIs are relative to *https://localhost/vis/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**ProvInfoGET**](QueriesApi.md#ProvInfoGET) | **Get** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. -[**ProvInfoUuMbmsGET**](QueriesApi.md#ProvInfoUuMbmsGET) | **Get** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. -[**ProvInfoUuUnicastGET**](QueriesApi.md#ProvInfoUuUnicastGET) | **Get** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. - -# **ProvInfoGET** -> []Pc5ProvisioningInfoInner ProvInfoGET(ctx, locationInfo) -Query provisioning information for V2X communication over PC5. - -Query provisioning information for V2X communication over PC5. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | - -### Return type - -[**[]Pc5ProvisioningInfoInner**](array.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ProvInfoUuMbmsGET** -> []UuMbmsProvisioningInfoInner ProvInfoUuMbmsGET(ctx, locationInfo) -retrieve information required for V2X communication over Uu MBMS. - -retrieve information required for V2X communication over Uu MBMS. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **locationInfo** | **string**| omma separated list of locations to identify a cell of a base station or a particular geographical area | - -### Return type - -[**[]UuMbmsProvisioningInfoInner**](array.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ProvInfoUuUnicastGET** -> []UuUnicastProvisioningInfoInner ProvInfoUuUnicastGET(ctx, locationInfo) -Used to query provisioning information for V2X communication over Uu unicast. - -Used to query provisioning information for V2X communication over Uu unicast. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **locationInfo** | **string**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | - -### Return type - -[**[]UuUnicastProvisioningInfoInner**](array.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/SdpInfo.md b/go-packages/meep-vis-client/docs/SdpInfo.md deleted file mode 100644 index c5de9961d..000000000 --- a/go-packages/meep-vis-client/docs/SdpInfo.md +++ /dev/null @@ -1,10 +0,0 @@ -# SdpInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**IpMulticastAddress** | **string** | | [default to null] -**PortNumber** | **string** | | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/SubscriptionApi.md b/go-packages/meep-vis-client/docs/SubscriptionApi.md deleted file mode 100644 index f202900a2..000000000 --- a/go-packages/meep-vis-client/docs/SubscriptionApi.md +++ /dev/null @@ -1,159 +0,0 @@ -# {{classname}} - -All URIs are relative to *https://localhost/vis/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**IndividualSubscriptionDELETE**](SubscriptionApi.md#IndividualSubscriptionDELETE) | **Delete** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. -[**IndividualSubscriptionGET**](SubscriptionApi.md#IndividualSubscriptionGET) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. -[**IndividualSubscriptionPUT**](SubscriptionApi.md#IndividualSubscriptionPUT) | **Put** /subscriptions/{subscriptionId} | Used to update the existing subscription. -[**SubGET**](SubscriptionApi.md#SubGET) | **Get** /subscriptions | Request information about the subscriptions for this requestor. -[**SubPOST**](SubscriptionApi.md#SubPOST) | **Post** /subscriptions | create a new subscription to VIS notifications. - -# **IndividualSubscriptionDELETE** -> IndividualSubscriptionDELETE(ctx, subscriptionId) -Used to cancel the existing subscription. - -Used to cancel the existing subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | - -### Return type - - (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **IndividualSubscriptionGET** -> SubscriptionsBody IndividualSubscriptionGET(ctx, subscriptionId) -Retrieve information about this subscription. - -Retrieve information about this subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | - -### Return type - -[**SubscriptionsBody**](subscriptions_body.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **IndividualSubscriptionPUT** -> SubscriptionsSubscriptionIdBody IndividualSubscriptionPUT(ctx, body, subscriptionId) -Used to update the existing subscription. - -Used to update the existing subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **body** | [**SubscriptionsSubscriptionIdBody**](SubscriptionsSubscriptionIdBody.md)| | - **subscriptionId** | **string**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | - -### Return type - -[**SubscriptionsSubscriptionIdBody**](subscriptions_subscriptionId_body.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **SubGET** -> SubscriptionLinkList SubGET(ctx, optional) -Request information about the subscriptions for this requestor. - -Request information about the subscriptions for this requestor. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***SubscriptionApiSubGETOpts** | optional parameters | nil if no parameters - -### Optional Parameters -Optional parameters are passed through a pointer to a SubscriptionApiSubGETOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **subscriptionType** | **optional.String**| Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message | - -### Return type - -[**SubscriptionLinkList**](SubscriptionLinkList.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **SubPOST** -> SubscriptionsBody SubPOST(ctx, body) - create a new subscription to VIS notifications. - - create a new subscription to VIS notifications. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **body** | [**SubscriptionsBody**](SubscriptionsBody.md)| | - -### Return type - -[**SubscriptionsBody**](subscriptions_body.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkList.md b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md index cb1bd0d12..ac82d3b67 100644 --- a/go-packages/meep-vis-client/docs/SubscriptionLinkList.md +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkList.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***[]SubscriptionLinkListLinksInner**](array.md) | | [default to null] +**Links** | [***SubscriptionLinkListLinks**](SubscriptionLinkList.links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/RoutesInner.md b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md similarity index 53% rename from go-packages/meep-vis-client/docs/RoutesInner.md rename to go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md index b7fe7b2f5..7fe21b0e8 100644 --- a/go-packages/meep-vis-client/docs/RoutesInner.md +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinks.md @@ -1,9 +1,10 @@ -# RoutesInner +# SubscriptionLinkListLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**RouteInfo** | [***[]interface{}**](array.md) | | [optional] [default to null] +**Self** | [***LinkType**](LinkType.md) | | [default to null] +**Subscriptions** | [**[]SubscriptionLinkListLinksSubscriptions**](SubscriptionLinkList.links.subscriptions.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md deleted file mode 100644 index 29b410e6c..000000000 --- a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksInner.md +++ /dev/null @@ -1,10 +0,0 @@ -# SubscriptionLinkListLinksInner - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | [***LinkType**](LinkType.md) | | [optional] [default to null] -**Subscriptions** | [***[]interface{}**](array.md) | | [optional] [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksSubscriptions.md b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksSubscriptions.md new file mode 100644 index 000000000..b55fcd545 --- /dev/null +++ b/go-packages/meep-vis-client/docs/SubscriptionLinkListLinksSubscriptions.md @@ -0,0 +1,10 @@ +# SubscriptionLinkListLinksSubscriptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Href** | **string** | The URI referring to the subscription. | [default to null] +**SubscriptionType** | **string** | Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different V2X information event subscription data type. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/SubscriptionsBody.md b/go-packages/meep-vis-client/docs/SubscriptionsBody.md deleted file mode 100644 index 6db54136f..000000000 --- a/go-packages/meep-vis-client/docs/SubscriptionsBody.md +++ /dev/null @@ -1,8 +0,0 @@ -# SubscriptionsBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md b/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md deleted file mode 100644 index 39c0bd8b8..000000000 --- a/go-packages/meep-vis-client/docs/SubscriptionsSubscriptionIdBody.md +++ /dev/null @@ -1,8 +0,0 @@ -# SubscriptionsSubscriptionIdBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/Tmgi.md b/go-packages/meep-vis-client/docs/Tmgi.md deleted file mode 100644 index 2bbd71763..000000000 --- a/go-packages/meep-vis-client/docs/Tmgi.md +++ /dev/null @@ -1,11 +0,0 @@ -# Tmgi - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**MbmsServiceId** | **string** | MBMS Service ID consisting of three octets. | [default to null] -**Mcc** | **string** | The Mobile Country Code part of PLMN Identity. | [default to null] -**Mnc** | **string** | The Mobile Network Code part of PLMN Identity. | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/UnsupportedApi.md b/go-packages/meep-vis-client/docs/UnsupportedApi.md index 839ea41d4..7e11a2845 100644 --- a/go-packages/meep-vis-client/docs/UnsupportedApi.md +++ b/go-packages/meep-vis-client/docs/UnsupportedApi.md @@ -1,6 +1,6 @@ # {{classname}} -All URIs are relative to *https://localhost/vis/v2* +All URIs are relative to *https://localhost/sandboxname/vis/v2* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -100,7 +100,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ProvInfoGET** -> []Pc5ProvisioningInfoInner ProvInfoGET(ctx, locationInfo) +> Pc5ProvisioningInfo ProvInfoGET(ctx, locationInfo) Query provisioning information for V2X communication over PC5. Query provisioning information for V2X communication over PC5. @@ -114,7 +114,7 @@ Name | Type | Description | Notes ### Return type -[**[]Pc5ProvisioningInfoInner**](array.md) +[**Pc5ProvisioningInfo**](Pc5ProvisioningInfo.md) ### Authorization @@ -128,7 +128,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ProvInfoUuMbmsGET** -> []UuMbmsProvisioningInfoInner ProvInfoUuMbmsGET(ctx, locationInfo) +> UuMbmsProvisioningInfo ProvInfoUuMbmsGET(ctx, locationInfo) retrieve information required for V2X communication over Uu MBMS. retrieve information required for V2X communication over Uu MBMS. @@ -142,7 +142,7 @@ Name | Type | Description | Notes ### Return type -[**[]UuMbmsProvisioningInfoInner**](array.md) +[**UuMbmsProvisioningInfo**](UuMbmsProvisioningInfo.md) ### Authorization @@ -156,7 +156,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ProvInfoUuUnicastGET** -> []UuUnicastProvisioningInfoInner ProvInfoUuUnicastGET(ctx, locationInfo) +> UuUnicastProvisioningInfo ProvInfoUuUnicastGET(ctx, locationInfo) Used to query provisioning information for V2X communication over Uu unicast. Used to query provisioning information for V2X communication over Uu unicast. @@ -170,7 +170,7 @@ Name | Type | Description | Notes ### Return type -[**[]UuUnicastProvisioningInfoInner**](array.md) +[**UuUnicastProvisioningInfo**](UuUnicastProvisioningInfo.md) ### Authorization diff --git a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfo.md similarity index 69% rename from go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md rename to go-packages/meep-vis-client/docs/UuMbmsProvisioningInfo.md index 4dc6d71f7..eb6eeb947 100644 --- a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfo.md @@ -1,9 +1,9 @@ -# UuMbmsProvisioningInfoInner +# UuMbmsProvisioningInfo ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoUuMbms** | [***[]interface{}**](array.md) | | [optional] [default to null] +**ProInfoUuMbms** | [**[]UuMbmsProvisioningInfoProInfoUuMbms**](UuMbmsProvisioningInfo.proInfoUuMbms.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoProInfoUuMbms.md b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoProInfoUuMbms.md new file mode 100644 index 000000000..a3ac7472a --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuMbmsProvisioningInfoProInfoUuMbms.md @@ -0,0 +1,11 @@ +# UuMbmsProvisioningInfoProInfoUuMbms + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuMbmsNeighbourCellInfo**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**V2xServerUsd** | [***V2xServerUsd**](V2xServerUsd.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfo.md similarity index 67% rename from go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md rename to go-packages/meep-vis-client/docs/UuUnicastProvisioningInfo.md index 6fb76b8ce..057eedbf3 100644 --- a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoInner.md +++ b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfo.md @@ -1,9 +1,9 @@ -# UuUnicastProvisioningInfoInner +# UuUnicastProvisioningInfo ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ProInfoUuUnicast** | [***[]interface{}**](array.md) | | [optional] [default to null] +**ProInfoUuUnicast** | [**[]UuUnicastProvisioningInfoProInfoUuUnicast**](UuUnicastProvisioningInfo.proInfoUuUnicast.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoProInfoUuUnicast.md b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoProInfoUuUnicast.md new file mode 100644 index 000000000..bfc19302d --- /dev/null +++ b/go-packages/meep-vis-client/docs/UuUnicastProvisioningInfoProInfoUuUnicast.md @@ -0,0 +1,11 @@ +# UuUnicastProvisioningInfoProInfoUuUnicast + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LocationInfo** | [***LocationInfo**](LocationInfo.md) | | [default to null] +**NeighbourCellInfo** | [**[]UuUniNeighbourCellInfo**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**V2xApplicationServer** | [***V2xApplicationServer**](V2xApplicationServer.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/docs/V2XMsgApi.md b/go-packages/meep-vis-client/docs/V2XMsgApi.md deleted file mode 100644 index b14f1df8d..000000000 --- a/go-packages/meep-vis-client/docs/V2XMsgApi.md +++ /dev/null @@ -1,36 +0,0 @@ -# {{classname}} - -All URIs are relative to *https://localhost/vis/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**V2xMessagePOST**](V2XMsgApi.md#V2xMessagePOST) | **Post** /publish_v2x_message | Used to publish a V2X message. - -# **V2xMessagePOST** -> V2xMessagePOST(ctx, body) -Used to publish a V2X message. - -Used to publish a V2X message. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **body** | [**V2xMsgPublication**](V2xMsgPublication.md)| | - -### Return type - - (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/go-packages/meep-vis-client/docs/V2xiApi.md b/go-packages/meep-vis-client/docs/V2xiApi.md new file mode 100644 index 000000000..c8e1b88e3 --- /dev/null +++ b/go-packages/meep-vis-client/docs/V2xiApi.md @@ -0,0 +1,65 @@ +# {{classname}} + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Mec011AppTerminationPOST**](V2xiApi.md#Mec011AppTerminationPOST) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +[**PredictedQosPOST**](V2xiApi.md#PredictedQosPOST) | **Post** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. + +# **Mec011AppTerminationPOST** +> Mec011AppTerminationPOST(ctx, body) +MEC011 Application Termination notification for self termination + +Terminates itself. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**AppTerminationNotification**](AppTerminationNotification.md)| Termination notification details | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **PredictedQosPOST** +> PredictedQos PredictedQosPOST(ctx, body) +Request the predicted QoS correspondent to potential routes of a vehicular UE. + +Request the predicted QoS correspondent to potential routes of a vehicular UE. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**PredictedQos**](PredictedQos.md)| | + +### Return type + +[**PredictedQos**](PredictedQos.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-vis-client/go.mod b/go-packages/meep-vis-client/go.mod index d1533dc04..ec5ab9cde 100644 --- a/go-packages/meep-vis-client/go.mod +++ b/go-packages/meep-vis-client/go.mod @@ -1,8 +1,8 @@ module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client -go 1.12 +go 1.16 require ( - golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 - golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a + github.com/antihax/optional v1.0.0 + golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 ) diff --git a/go-packages/meep-vis-client/go.sum b/go-packages/meep-vis-client/go.sum new file mode 100644 index 000000000..aafb344a8 --- /dev/null +++ b/go-packages/meep-vis-client/go.sum @@ -0,0 +1,369 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/go-packages/meep-vis-client/model_app_termination_notification.go b/go-packages/meep-vis-client/model_app_termination_notification.go index 8199809d8..ce65926d9 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification.go +++ b/go-packages/meep-vis-client/model_app_termination_notification.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,8 +27,10 @@ package client type AppTerminationNotification struct { // Shall be set to AppTerminationNotification. NotificationType string `json:"notificationType"` + OperationAction *OperationActionType `json:"operationAction"` // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` + Links *AppTerminationNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-vis-client/model_app_termination_notification__links.go b/go-packages/meep-vis-client/model_app_termination_notification__links.go index 010866002..f37941b64 100644 --- a/go-packages/meep-vis-client/model_app_termination_notification__links.go +++ b/go-packages/meep-vis-client/model_app_termination_notification__links.go @@ -1,16 +1,31 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client // Object containing hyperlinks related to the resource. type AppTerminationNotificationLinks struct { Subscription *LinkType `json:"subscription"` + ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` } diff --git a/go-packages/meep-vis-client/model_body.go b/go-packages/meep-vis-client/model_body.go index 89ef79841..8f56c6640 100644 --- a/go-packages/meep-vis-client/model_body.go +++ b/go-packages/meep-vis-client/model_body.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_body_1.go b/go-packages/meep-vis-client/model_body_1.go index 8dabf1be9..c58f75ecc 100644 --- a/go-packages/meep-vis-client/model_body_1.go +++ b/go-packages/meep-vis-client/model_body_1.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_cell_id.go b/go-packages/meep-vis-client/model_cell_id.go index 679a39010..fe9e363b1 100644 --- a/go-packages/meep-vis-client/model_cell_id.go +++ b/go-packages/meep-vis-client/model_cell_id.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_earfcn.go b/go-packages/meep-vis-client/model_earfcn.go index 46d2bdf46..826839ca4 100644 --- a/go-packages/meep-vis-client/model_earfcn.go +++ b/go-packages/meep-vis-client/model_earfcn.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_ecgi.go b/go-packages/meep-vis-client/model_ecgi.go index 7b967f3cd..c90aaf1e8 100644 --- a/go-packages/meep-vis-client/model_ecgi.go +++ b/go-packages/meep-vis-client/model_ecgi.go @@ -1,15 +1,30 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type Ecgi struct { CellId *CellId `json:"cellId"` + Plmn *Plmn `json:"plmn"` } diff --git a/go-packages/meep-vis-client/model_fdd_info.go b/go-packages/meep-vis-client/model_fdd_info.go index b96590fa7..4acb96549 100644 --- a/go-packages/meep-vis-client/model_fdd_info.go +++ b/go-packages/meep-vis-client/model_fdd_info.go @@ -1,17 +1,34 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type FddInfo struct { DlEarfcn *Earfcn `json:"dlEarfcn"` + DlTransmissionBandwidth *TransmissionBandwidth `json:"dlTransmissionBandwidth"` + UlEarfcn *Earfcn `json:"ulEarfcn"` + UlTransmissionBandwidth *TransmissionBandwidth `json:"ulTransmissionBandwidth"` } diff --git a/go-packages/meep-vis-client/model_geo_area.go b/go-packages/meep-vis-client/model_geo_area.go deleted file mode 100644 index 36c785a76..000000000 --- a/go-packages/meep-vis-client/model_geo_area.go +++ /dev/null @@ -1,18 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -// Information of a geographical area. -type GeoArea struct { - // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd - Latitude float32 `json:"latitude"` - // Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd - Longitude float32 `json:"longitude"` -} diff --git a/go-packages/meep-vis-client/model_link_type.go b/go-packages/meep-vis-client/model_link_type.go index 77210d95f..459708a66 100644 --- a/go-packages/meep-vis-client/model_link_type.go +++ b/go-packages/meep-vis-client/model_link_type.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_links.go b/go-packages/meep-vis-client/model_links.go index 0a5c7cae0..302ef3713 100644 --- a/go-packages/meep-vis-client/model_links.go +++ b/go-packages/meep-vis-client/model_links.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_location_info.go b/go-packages/meep-vis-client/model_location_info.go index f25168b6c..248658419 100644 --- a/go-packages/meep-vis-client/model_location_info.go +++ b/go-packages/meep-vis-client/model_location_info.go @@ -1,15 +1,30 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type LocationInfo struct { Ecgi *Ecgi `json:"ecgi,omitempty"` + GeoArea *LocationInfoGeoArea `json:"geoArea,omitempty"` } diff --git a/go-packages/meep-vis-client/model_location_info_geo_area.go b/go-packages/meep-vis-client/model_location_info_geo_area.go index 18472ec77..8142e22e3 100644 --- a/go-packages/meep-vis-client/model_location_info_geo_area.go +++ b/go-packages/meep-vis-client/model_location_info_geo_area.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_msg_type.go b/go-packages/meep-vis-client/model_msg_type.go index 9180e649d..a148f534b 100644 --- a/go-packages/meep-vis-client/model_msg_type.go +++ b/go-packages/meep-vis-client/model_msg_type.go @@ -1,29 +1,44 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client -// MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, -type MsgType string -// List of msgType +// MsgType : Published V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. − denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3, − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2, − poi(3): Point of Interest message as specified in ETSI TS 101 556-1, − spatem(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 and in ETSI TS 103 301, − mapem(5): MAP message as specified in SAE J2735 and in ETSI TS 103 301, − ivim(6): In Vehicle Information (IVI) message as defined in ISO TS 19321, − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3, − tistpgtransaction(8): messages for Tyre Information System (TIS) and Tyre Pressure Gauge (TPG) interoperability, as specified in ETSI TS 101 556-2, − srem(9): Traffic light Signal Request Message as specified in ETSI TS 103 301, − ssem(10): Traffic Light Signal Request Status Message as specified in ETSI TS 103 301. − evcsn(11): Electrical Vehicle Charging Spot Notification message as specified in ETSI TS 101 556-1, − saem(12): Services Announcement Extended Message as specified in ETSI TS 102 890-1, − rtcmem(13): Radio Technical Commission for Maritime Services (RTCM) Message as specified in ETSI TS 103 301, +type MsgType int32 + +// List of MsgType const ( - cam MsgType = "1" - denm MsgType = "2" - poi MsgType = "3" - spatem MsgType = "4" - mapem MsgType = "5" - ivim MsgType = "6" - ev_rsr MsgType = "7" - tistpgtransaction MsgType = "8" - srem MsgType = "9" - ssem MsgType = "10" - evcsn MsgType = "11" - saem MsgType = "12" - rtcmem MsgType = "13" + DENM MsgType = 1 + CAM MsgType = 2 + POI MsgType = 3 + SPATEM MsgType = 4 + MAPEM MsgType = 5 + IVIM MsgType = 6 + EV_RSR MsgType = 7 + TISTPGTRANSACTION MsgType = 8 + SREM MsgType = 9 + SSEM MsgType = 10 + EVCSN MsgType = 11 + SAEM MsgType = 12 + RTCMEM MsgType = 13 ) diff --git a/go-packages/meep-vis-client/model_one_ofbody.go b/go-packages/meep-vis-client/model_one_ofbody.go index 53735a365..2e1301355 100644 --- a/go-packages/meep-vis-client/model_one_ofbody.go +++ b/go-packages/meep-vis-client/model_one_ofbody.go @@ -1,17 +1,31 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type OneOfbody struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + // ProvChgUuUniSubscription + // ProvChgUuMbmsSubscription + // ProvChgPc5Subscription + // V2xMsgSubscription } diff --git a/go-packages/meep-vis-client/model_one_ofbody_1.go b/go-packages/meep-vis-client/model_one_ofbody_1.go index 1507149bd..3c92938a1 100644 --- a/go-packages/meep-vis-client/model_one_ofbody_1.go +++ b/go-packages/meep-vis-client/model_one_ofbody_1.go @@ -1,17 +1,31 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type OneOfbody1 struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription + // ProvChgUuUniSubscription + // ProvChgUuMbmsSubscription + // ProvChgPc5Subscription + // V2xMsgSubscription } diff --git a/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go b/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go deleted file mode 100644 index 95b222a26..000000000 --- a/go-packages/meep-vis-client/model_one_ofsubscriptions_body.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type OneOfsubscriptionsBody struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription -} diff --git a/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go b/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go deleted file mode 100644 index 2cc236dea..000000000 --- a/go-packages/meep-vis-client/model_one_ofsubscriptions_subscription_id_body.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type OneOfsubscriptionsSubscriptionIdBody struct { - ProvChgUuUniSubscription - ProvChgUuMbmsSubscription - ProvChgPc5Subscription - V2xMsgSubscription -} diff --git a/go-packages/meep-vis-client/model_operation_action_type.go b/go-packages/meep-vis-client/model_operation_action_type.go index aa2edcdea..095b30a27 100644 --- a/go-packages/meep-vis-client/model_operation_action_type.go +++ b/go-packages/meep-vis-client/model_operation_action_type.go @@ -1,18 +1,33 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client + // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING_OperationActionType OperationActionType = "STOPPING" - TERMINATING_OperationActionType OperationActionType = "TERMINATING" + STOPPING OperationActionType = "STOPPING" + TERMINATING OperationActionType = "TERMINATING" ) diff --git a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go index a90eef1d5..a87d14433 100644 --- a/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_pc5_neighbour_cell_info.go @@ -1,16 +1,32 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type Pc5NeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` + Plmn *Plmn `json:"plmn"` + SiV2xConfig *SystemInformationBlockType21 `json:"siV2xConfig"` } diff --git a/go-packages/meep-vis-client/model_pc5_provisioning_info.go b/go-packages/meep-vis-client/model_pc5_provisioning_info.go new file mode 100644 index 000000000..8c9f240f9 --- /dev/null +++ b/go-packages/meep-vis-client/model_pc5_provisioning_info.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type Pc5ProvisioningInfo struct { + ProInfoPc5 *[]interface{} `json:"proInfoPc5"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go b/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go deleted file mode 100644 index 245c44c4d..000000000 --- a/go-packages/meep-vis-client/model_pc5_provisioning_info_inner.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type Pc5ProvisioningInfoInner struct { - ProInfoPc5 *[]interface{} `json:"proInfoPc5,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_plmn.go b/go-packages/meep-vis-client/model_plmn.go index 995e1ea03..3f53ac8a6 100644 --- a/go-packages/meep-vis-client/model_plmn.go +++ b/go-packages/meep-vis-client/model_plmn.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_predicted_qos.go b/go-packages/meep-vis-client/model_predicted_qos.go index 63d49d09f..cf3675639 100644 --- a/go-packages/meep-vis-client/model_predicted_qos.go +++ b/go-packages/meep-vis-client/model_predicted_qos.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -14,5 +28,6 @@ type PredictedQos struct { LocationGranularity string `json:"locationGranularity"` // Information relating to the potential routes of a vehicular UE. Routes []PredictedQosRoutes `json:"routes"` + TimeGranularity *TimeStamp `json:"timeGranularity,omitempty"` } diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes.go b/go-packages/meep-vis-client/model_predicted_qos_routes.go index 5d5407077..8ff6e6ba8 100644 --- a/go-packages/meep-vis-client/model_predicted_qos_routes.go +++ b/go-packages/meep-vis-client/model_predicted_qos_routes.go @@ -1,15 +1,29 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type PredictedQosRoutes struct { // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. - RouteInfo []PredictedQosRoutesRouteInfo `json:"routeInfo,omitempty"` + RouteInfo []PredictedQosRoutesRouteInfo `json:"routeInfo"` } diff --git a/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go b/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go index 0ea2c53d7..97dbc1bc9 100644 --- a/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go +++ b/go-packages/meep-vis-client/model_predicted_qos_routes_route_info.go @@ -1,19 +1,34 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type PredictedQosRoutesRouteInfo struct { - Location *LocationInfo `json:"location,omitempty"` + Location *LocationInfo `json:"location"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. Rsrp int32 `json:"rsrp,omitempty"` // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. Rsrq int32 `json:"rsrq,omitempty"` + Time *TimeStamp `json:"time,omitempty"` } diff --git a/go-packages/meep-vis-client/model_problem_details.go b/go-packages/meep-vis-client/model_problem_details.go index e2aa0cf01..06249d0d3 100644 --- a/go-packages/meep-vis-client/model_problem_details.go +++ b/go-packages/meep-vis-client/model_problem_details.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go index 198b69352..d3bd4d1bb 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_notification.go @@ -1,21 +1,37 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type ProvChgPc5Notification struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. DstLayer2Id string `json:"dstLayer2Id,omitempty"` + LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgPc5Notification\". NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go index 773d0b718..956e785c3 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,11 +27,14 @@ type ProvChgPc5Subscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgPc5SubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgPc5Subscription\". SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go index d576935c1..8240549cd 100644 --- a/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_pc5_subscription_filter_criteria.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,6 +27,7 @@ package client type ProvChgPc5SubscriptionFilterCriteria struct { // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. DstLayer2Id string `json:"dstLayer2Id"` + LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. NeighbourCellInfo []Pc5NeighbourCellInfo `json:"neighbourCellInfo,omitempty"` diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go index d5f3fcefb..3e9019d71 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_notification.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -15,6 +29,8 @@ type ProvChgUuMbmsNotification struct { NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgUuMbmsNotification\". NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go index 24e2ea60f..1fd817a4f 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,11 +27,14 @@ type ProvChgUuMbmsSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgUuMbmsSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgUuMbmsSubscription\". SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go index 8bfc3bfe0..cafe333f6 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_mbms_subscription_filter_criteria.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -14,5 +28,6 @@ type ProvChgUuMbmsSubscriptionFilterCriteria struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. NeighbourCellInfo []UuMbmsNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + V2xServerUsd *V2xServerUsd `json:"v2xServerUsd"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go index a6f6b3c1c..240dd37f4 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_notification.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -15,6 +29,8 @@ type ProvChgUuUniNotification struct { NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` // Shall be set to \"ProvChgUuUniNotification\". NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go index 2d09d8cc0..04501a658 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,11 +27,14 @@ type ProvChgUuUniSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note. CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *ProvChgUuUniSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"ProvChgUuUniSubscription\". SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` } diff --git a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go index a52123d96..c819346e0 100644 --- a/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_prov_chg_uu_uni_subscription_filter_criteria.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -14,5 +28,6 @@ type ProvChgUuUniSubscriptionFilterCriteria struct { LocationInfo *LocationInfo `json:"locationInfo"` // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. NeighbourCellInfo []UuUniNeighbourCellInfo `json:"neighbourCellInfo,omitempty"` + V2xApplicationServer *V2xApplicationServer `json:"v2xApplicationServer"` } diff --git a/go-packages/meep-vis-client/model_routes_inner.go b/go-packages/meep-vis-client/model_routes_inner.go deleted file mode 100644 index 3709857f3..000000000 --- a/go-packages/meep-vis-client/model_routes_inner.go +++ /dev/null @@ -1,14 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type RoutesInner struct { - RouteInfo *[]interface{} `json:"routeInfo,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_sdp_info.go b/go-packages/meep-vis-client/model_sdp_info.go deleted file mode 100644 index 1517f980b..000000000 --- a/go-packages/meep-vis-client/model_sdp_info.go +++ /dev/null @@ -1,16 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -// SDP with IP multicast address and port number used for V2X communication via MBMS. -type SdpInfo struct { - IpMulticastAddress string `json:"ipMulticastAddress"` - PortNumber string `json:"portNumber"` -} diff --git a/go-packages/meep-vis-client/model_subscription_link_list.go b/go-packages/meep-vis-client/model_subscription_link_list.go index 09bb405fb..2c2b2e12c 100644 --- a/go-packages/meep-vis-client/model_subscription_link_list.go +++ b/go-packages/meep-vis-client/model_subscription_link_list.go @@ -1,14 +1,28 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type SubscriptionLinkList struct { - Links *[]SubscriptionLinkListLinksInner `json:"_links"` + Links *SubscriptionLinkListLinks `json:"_links"` } diff --git a/go-packages/meep-vis-client/model_subscription_link_list_links.go b/go-packages/meep-vis-client/model_subscription_link_list_links.go new file mode 100644 index 000000000..5fa5b4e79 --- /dev/null +++ b/go-packages/meep-vis-client/model_subscription_link_list_links.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// List of hyperlinks related to the resource. +type SubscriptionLinkListLinks struct { + Self *LinkType `json:"self"` + + Subscriptions *[]interface{} `json:"subscriptions,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go b/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go deleted file mode 100644 index 83266089e..000000000 --- a/go-packages/meep-vis-client/model_subscription_link_list_links_inner.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type SubscriptionLinkListLinksInner struct { - Self *LinkType `json:"self,omitempty"` - Subscriptions *[]interface{} `json:"subscriptions,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_subscriptions_body.go b/go-packages/meep-vis-client/model_subscriptions_body.go deleted file mode 100644 index 75acf99bf..000000000 --- a/go-packages/meep-vis-client/model_subscriptions_body.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type SubscriptionsBody struct { -} diff --git a/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go b/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go deleted file mode 100644 index 40c979d92..000000000 --- a/go-packages/meep-vis-client/model_subscriptions_subscription_id_body.go +++ /dev/null @@ -1,13 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type SubscriptionsSubscriptionIdBody struct { -} diff --git a/go-packages/meep-vis-client/model_system_information_block_type21.go b/go-packages/meep-vis-client/model_system_information_block_type21.go index 3b1a08f4b..a92c9a960 100644 --- a/go-packages/meep-vis-client/model_system_information_block_type21.go +++ b/go-packages/meep-vis-client/model_system_information_block_type21.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_tdd_info.go b/go-packages/meep-vis-client/model_tdd_info.go index adc3b393c..db0f2e2aa 100644 --- a/go-packages/meep-vis-client/model_tdd_info.go +++ b/go-packages/meep-vis-client/model_tdd_info.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,5 +27,6 @@ type TddInfo struct { Earfcn *Earfcn `json:"earfcn"` // Uplink-downlink subframe configuration information. SubframeAssignment string `json:"subframeAssignment"` + TransmissionBandwidth *TransmissionBandwidth `json:"transmissionBandwidth"` } diff --git a/go-packages/meep-vis-client/model_test_notification.go b/go-packages/meep-vis-client/model_test_notification.go index db1b84aaa..0c523a09a 100644 --- a/go-packages/meep-vis-client/model_test_notification.go +++ b/go-packages/meep-vis-client/model_test_notification.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_test_notification__links.go b/go-packages/meep-vis-client/model_test_notification__links.go index 1861c7dad..ac215cf3e 100644 --- a/go-packages/meep-vis-client/model_test_notification__links.go +++ b/go-packages/meep-vis-client/model_test_notification__links.go @@ -1,15 +1,29 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client -// Hyperlink related to the resource. +// Hyperlink related to the resource. type TestNotificationLinks struct { Subscription *LinkType `json:"subscription"` } diff --git a/go-packages/meep-vis-client/model_time_stamp.go b/go-packages/meep-vis-client/model_time_stamp.go index efa8bf68c..5ca6cc320 100644 --- a/go-packages/meep-vis-client/model_time_stamp.go +++ b/go-packages/meep-vis-client/model_time_stamp.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_tmgi.go b/go-packages/meep-vis-client/model_tmgi.go deleted file mode 100644 index 0c901b952..000000000 --- a/go-packages/meep-vis-client/model_tmgi.go +++ /dev/null @@ -1,20 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -// Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. -type Tmgi struct { - // MBMS Service ID consisting of three octets. - MbmsServiceId string `json:"mbmsServiceId"` - // The Mobile Country Code part of PLMN Identity. - Mcc string `json:"mcc"` - // The Mobile Network Code part of PLMN Identity. - Mnc string `json:"mnc"` -} diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth.go index 364865b37..39c7ed5e3 100644 --- a/go-packages/meep-vis-client/model_transmission_bandwidth.go +++ b/go-packages/meep-vis-client/model_transmission_bandwidth.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go index 80681075c..b2aef6717 100644 --- a/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go +++ b/go-packages/meep-vis-client/model_transmission_bandwidth_transmission_bandwidth.go @@ -1,22 +1,37 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client -// TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' -type TransmissionBandwidthTransmissionBandwidth string + +// TransmissionBandwidthTransmissionBandwidth : 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows: 1 = bw6 (6 resource blocks) 2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' +type TransmissionBandwidthTransmissionBandwidth int32 // List of TransmissionBandwidth.transmissionBandwidth const ( - bw6 TransmissionBandwidthTransmissionBandwidth = "1" - bw15 TransmissionBandwidthTransmissionBandwidth = "2" - bw25 TransmissionBandwidthTransmissionBandwidth = "3" - bw50 TransmissionBandwidthTransmissionBandwidth = "4" - bw75 TransmissionBandwidthTransmissionBandwidth = "5" - bw100 TransmissionBandwidthTransmissionBandwidth = "6" + BW6 TransmissionBandwidthTransmissionBandwidth = 1 + BW15 TransmissionBandwidthTransmissionBandwidth = 2 + BW25 TransmissionBandwidthTransmissionBandwidth = 3 + BW50 TransmissionBandwidthTransmissionBandwidth = 4 + BW75 TransmissionBandwidthTransmissionBandwidth = 5 + BW100 TransmissionBandwidthTransmissionBandwidth = 6 ) diff --git a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go index 7338ce753..b650f17da 100644 --- a/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_mbms_neighbour_cell_info.go @@ -1,21 +1,38 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type UuMbmsNeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` + FddInfo *FddInfo `json:"fddInfo"` // Supported MBMS Service Area Identities in the cell. MbmsServiceAreaIdentity []string `json:"mbmsServiceAreaIdentity"` // Physical Cell Identifier. Pci int32 `json:"pci"` + Plmn *Plmn `json:"plmn"` + TddInfo *TddInfo `json:"tddInfo"` } diff --git a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info.go b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info.go new file mode 100644 index 000000000..ad796d67c --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type UuMbmsProvisioningInfo struct { + ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go deleted file mode 100644 index a32fb8666..000000000 --- a/go-packages/meep-vis-client/model_uu_mbms_provisioning_info_inner.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type UuMbmsProvisioningInfoInner struct { - ProInfoUuMbms *[]interface{} `json:"proInfoUuMbms,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go index 760706219..ea203e201 100644 --- a/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go +++ b/go-packages/meep-vis-client/model_uu_uni_neighbour_cell_info.go @@ -1,19 +1,36 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type UuUniNeighbourCellInfo struct { Ecgi *Ecgi `json:"ecgi"` + FddInfo *FddInfo `json:"fddInfo"` // Physical Cell Identifier. Pci int32 `json:"pci"` + Plmn *Plmn `json:"plmn"` + TddInfo *TddInfo `json:"tddInfo"` } diff --git a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info.go b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info.go new file mode 100644 index 000000000..b224e0f9d --- /dev/null +++ b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type UuUnicastProvisioningInfo struct { + ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast"` + + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` +} diff --git a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go b/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go deleted file mode 100644 index e29e704b9..000000000 --- a/go-packages/meep-vis-client/model_uu_unicast_provisioning_info_inner.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * ETSI GS MEC 030 V2X Information Service API - * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. - * - * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) - */ -package client - -type UuUnicastProvisioningInfoInner struct { - ProInfoUuUnicast *[]interface{} `json:"proInfoUuUnicast,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` -} diff --git a/go-packages/meep-vis-client/model_v2x_application_server.go b/go-packages/meep-vis-client/model_v2x_application_server.go index f8246ecad..74eead688 100644 --- a/go-packages/meep-vis-client/model_v2x_application_server.go +++ b/go-packages/meep-vis-client/model_v2x_application_server.go @@ -1,15 +1,30 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client type V2xApplicationServer struct { IpAddress string `json:"ipAddress"` + UdpPort string `json:"udpPort"` } diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification.go b/go-packages/meep-vis-client/model_v2x_msg_notification.go index aa977968b..7a4a67ac7 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -15,10 +29,12 @@ type V2xMsgNotification struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` + MsgType *MsgType `json:"msgType"` // Shall be set to \"V2xMsgNotification\". NotificationType string `json:"notificationType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` + TimeStamp *TimeStamp `json:"timeStamp"` } diff --git a/go-packages/meep-vis-client/model_v2x_msg_notification_links.go b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go index 7e5b99890..4d884d078 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_notification_links.go +++ b/go-packages/meep-vis-client/model_v2x_msg_notification_links.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_v2x_msg_publication.go b/go-packages/meep-vis-client/model_v2x_msg_publication.go index b5156a1c3..a175de60d 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_publication.go +++ b/go-packages/meep-vis-client/model_v2x_msg_publication.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -14,6 +28,7 @@ type V2xMsgPublication struct { MsgContent string `json:"msgContent"` // The encode format of the V2X message, for example base64. MsgEncodeFormat string `json:"msgEncodeFormat"` + MsgType *MsgType `json:"msgType"` // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. StdOrganization string `json:"stdOrganization"` diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription.go b/go-packages/meep-vis-client/model_v2x_msg_subscription.go index 978474b10..141accf9d 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,11 +27,14 @@ type V2xMsgSubscription struct { Links *Links `json:"_links,omitempty"` // URI exposed by the client on which to receive notifications via HTTP. See note 1. CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *V2xMsgSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Shall be set to \"V2xMsgSubscription\". SubscriptionType string `json:"subscriptionType"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` } diff --git a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go index 87a59b824..6585a6c47 100644 --- a/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go +++ b/go-packages/meep-vis-client/model_v2x_msg_subscription_filter_criteria.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_v2x_server_usd.go b/go-packages/meep-vis-client/model_v2x_server_usd.go index aab386316..1f918a049 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -13,5 +27,6 @@ type V2xServerUsd struct { SdpInfo *V2xServerUsdSdpInfo `json:"sdpInfo"` // A list of service area identifier for the applicable MBMS broadcast area. ServiceAreaIdentifier []string `json:"serviceAreaIdentifier"` + Tmgi *V2xServerUsdTmgi `json:"tmgi"` } diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go index c42ee1823..2eee61d3c 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_sdp_info.go @@ -1,16 +1,31 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client // SDP with IP multicast address and port number used for V2X communication via MBMS. type V2xServerUsdSdpInfo struct { IpMulticastAddress string `json:"ipMulticastAddress"` + PortNumber string `json:"portNumber"` } diff --git a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go index 06aa10f20..9106acfba 100644 --- a/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go +++ b/go-packages/meep-vis-client/model_v2x_server_usd_tmgi.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/model_websock_notif_config.go b/go-packages/meep-vis-client/model_websock_notif_config.go index 88ad5b77e..01e23ad42 100644 --- a/go-packages/meep-vis-client/model_websock_notif_config.go +++ b/go-packages/meep-vis-client/model_websock_notif_config.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client diff --git a/go-packages/meep-vis-client/response.go b/go-packages/meep-vis-client/response.go index 821fa954e..ee0726532 100644 --- a/go-packages/meep-vis-client/response.go +++ b/go-packages/meep-vis-client/response.go @@ -1,11 +1,25 @@ /* - * ETSI GS MEC 030 V2X Information Service API + * Copyright (c) 2022 InterDigital Communications, Inc * - * ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. * * API version: 2.2.1 - * Contact: cti_support@etsi.org - * Generated by: Swagger Codegen (https://github.com/client-api/client-codegen.git) + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client @@ -16,7 +30,7 @@ import ( type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` - // Operation is the name of the client operation. + // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. -- GitLab From 6f5ca46ca7ec880105edac1aecd9d691e173de37 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 14 Apr 2022 13:41:50 +0500 Subject: [PATCH 043/183] fix linting issue with vis_test.go --- go-apps/meep-vis/server/vis_test.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 1ee4dc64a..f284f3777 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -8,6 +8,7 @@ import ( "io" "net/http" "net/http/httptest" + //"strconv" "testing" "time" @@ -571,7 +572,7 @@ func TestPredictedQosPost(t *testing.T) { if err != nil { t.Fatalf(err.Error()) } - log.Info("sendRequest done") + log.Info("sendRequest done") var respBody PredictedQos err = json.Unmarshal([]byte(rr), &respBody) @@ -582,12 +583,12 @@ func TestPredictedQosPost(t *testing.T) { if rr != string(expected_predictedQos_str) { t.Fatalf(err.Error()) } - log.Info("Received expected response") + log.Info("Received expected response") - /****************************** + /****************************** * back to initial state section ******************************/ - terminateScenario() + terminateScenario() } func initializeVars() { @@ -598,7 +599,7 @@ func initializeVars() { } func initialiseScenario(testScenario string) { - log.Info(">>> initialiseScenario") + log.Info(">>> initialiseScenario") //clear DB cleanUp() @@ -617,7 +618,7 @@ func initialiseScenario(testScenario string) { log.Error("Failed to create model: ", err) return } - log.Info("initialiseScenario: model created") + log.Info("initialiseScenario: model created") // Create message queue mqLocal, err = mq.NewMsgQueue(mq.GetLocalName(testScenarioName), "test-mod", testScenarioName, redisAddr) -- GitLab From 4a528c466e5aeae9fd5833f3b3d2e6d2ea1f94a9 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Thu, 14 Apr 2022 17:23:48 +0500 Subject: [PATCH 044/183] add examples for request and response in /geodata/cellularPower endpoint + name attributes in camel case --- go-apps/meep-gis-engine/api/swagger.yaml | 27 ++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/go-apps/meep-gis-engine/api/swagger.yaml b/go-apps/meep-gis-engine/api/swagger.yaml index 5f34910c1..054c6ee35 100644 --- a/go-apps/meep-gis-engine/api/swagger.yaml +++ b/go-apps/meep-gis-engine/api/swagger.yaml @@ -321,8 +321,7 @@ paths: tags: - "Geospatial Data" summary: "Get RSRQ and RSRP values for a list of coordinates" - description: "Get geospatial data for the given asset and if it is within range\ - \ of another asset or geospatial coordinates" + description: "Get RSRQ and RSRP values for a list of coordinates" operationId: "getGeoDataPowerValues" produces: - "application/json" @@ -380,12 +379,23 @@ definitions: CoordinatePowerList: type: "object" properties: - CoordinatesPower: + coordinatesPower: type: "array" items: $ref: "#/definitions/CoordinatePower" description: "List of geo coordinates with RSRQ/RSRP values" - example: {} + example: + coordinatesPower: + - latitude: 43.73651 + longitude: 7.421802 + rsrq: 21 + rsrp: 63 + poaName: "4g-macro-cell-6" + - latitude: 43.747787 + longitude: 7.434856 + rsrq: 58 + rsrp: 60 + poaName: "5G-small-cell-15" CoordinatePower: required: - "latitude" @@ -424,12 +434,17 @@ definitions: GeoCoordinateList: type: "object" properties: - GeoCoordinates: + geoCoordinates: type: "array" items: $ref: "#/definitions/GeoCoordinate" description: "List of geo-coordinates" - example: {} + example: + geoCoordinates: + - latitude: 43.73651 + longitude: 7.421802 + - latitude: 43.73736 + longitude: 7.42821 GeoCoordinate: type: "object" properties: -- GitLab From 268df8b80b17c54c374ce93504a7d1321b941614 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 15 Apr 2022 11:11:22 +0500 Subject: [PATCH 045/183] convert JSON of attributes of CoordinatePowerList and GeoCoordinateList to camel case --- go-apps/meep-gis-engine/server/model_coordinate_power_list.go | 2 +- go-apps/meep-gis-engine/server/model_geo_coordinate_list.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-gis-engine/server/model_coordinate_power_list.go b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go index 9d5a776a9..334b037e3 100644 --- a/go-apps/meep-gis-engine/server/model_coordinate_power_list.go +++ b/go-apps/meep-gis-engine/server/model_coordinate_power_list.go @@ -26,5 +26,5 @@ package server // List of geo coordinates with RSRQ/RSRP values type CoordinatePowerList struct { - CoordinatesPower []CoordinatePower `json:"CoordinatesPower,omitempty"` + CoordinatesPower []CoordinatePower `json:"coordinatesPower,omitempty"` } diff --git a/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go b/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go index 822a1289c..d0543b4e4 100644 --- a/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go +++ b/go-apps/meep-gis-engine/server/model_geo_coordinate_list.go @@ -26,5 +26,5 @@ package server // List of geo-coordinates type GeoCoordinateList struct { - GeoCoordinates []GeoCoordinate `json:"GeoCoordinates,omitempty"` + GeoCoordinates []GeoCoordinate `json:"geoCoordinates,omitempty"` } -- GitLab From 712e26734421e57a5b994d7510bb1c9b541ea3cf Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 15 Apr 2022 09:25:57 +0200 Subject: [PATCH 046/183] Updating meep-gis asset test scripts --- go-apps/meep-vis/server/vis_test.go | 59 +++++++++++- .../meep-gis-asset-mgr/assets-mgr_test.go | 93 +++++++++++++++++++ go-packages/meep-gis-asset-mgr/go.mod | 1 + go-packages/meep-gis-asset-mgr/go.sum | 3 + 4 files changed, 153 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index f284f3777..38ecd25c9 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -8,8 +8,6 @@ import ( "io" "net/http" "net/http/httptest" - - //"strconv" "testing" "time" @@ -506,7 +504,9 @@ func TestPredictedQosPost(t *testing.T) { fmt.Println("Set a scenario") initialiseScenario(testScenario) - fmt.Println("Scenario was set") + + time.Sleep(1000 * time.Millisecond) + updateScenario("mobility1") /****************************** * expected response section @@ -652,6 +652,59 @@ func initialiseScenario(testScenario string) { } +func updateScenario(testUpdate string) { + + switch testUpdate { + case "mobility1": + // mobility event of ue1 to zone2-poa1 + elemName := "ue1" + destName := "zone2-poa1" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + case "mobility2": + // mobility event of ue1 to zone2-poa1 + elemName := "ue1" + destName := "zone1-poa-cell1" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + case "mobility3": + // mobility event of ue1 to zone1-poa-cell2 + elemName := "ue1" + destName := "zone1-poa-cell2" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + default: + } + time.Sleep(100 * time.Millisecond) +} + func terminateScenario() { if mqLocal != nil { _ = Stop() diff --git a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go index 1c6bdaba2..da2eba380 100644 --- a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go +++ b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go @@ -20,6 +20,8 @@ import ( "fmt" "sort" "strings" + "strconv" + "regexp" "testing" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" @@ -1573,3 +1575,94 @@ func TestAssetMgrWithinRange(t *testing.T) { t.Fatalf("Expected within range") } } + +func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Create Connector + fmt.Println("Create valid GIS Asset Manager") + am, err := NewAssetMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + if err != nil || am == nil { + t.Fatalf("Failed to create GIS Asset Manager") + } + + // Cleanup + _ = am.DeleteTables() + + // Create tables + fmt.Println("Create Tables") + err = am.CreateTables() + if err != nil { + t.Fatalf("Failed to create tables") + } + + // Add on POA (poa1, r=160m) and one UE1 at point1, inside of the poa1 area and UE4 at point 5, outside of the poa1 area + fmt.Println("Add one POA and two UEs") + // poa1 + poaData := map[string]interface{}{ + FieldSubtype: poa1Type, + FieldPosition: poa1Loc, + FieldRadius: poa1Radius, + } + err = am.CreatePoa(poa1Id, poa1Name, poaData) + if err != nil { + t.Fatalf("Failed to create asset: " + err.Error()) + } + // ue1 + ueData := map[string]interface{}{ + FieldPosition: ue1Loc, + FieldPath: ue1Path, + FieldMode: ue1PathMode, + FieldVelocity: ue1Velocity, + FieldPriority: strings.Join(ue1Priority, ","), + FieldConnected: true, + } + err = am.CreateUe(ue1Id, ue1Name, ueData) + // ue4 + ueData = map[string]interface{}{ + FieldPosition: ue4Loc, + FieldPath: ue4Path, + FieldMode: ue4PathMode, + FieldVelocity: ue4Velocity, + FieldPriority: strings.Join(ue4Priority, ","), + FieldConnected: true, + } + err = am.CreateUe(ue4Id, ue1Name, ueData) + + // Check an empty list of coordinates + var coordinates []Coordinate = make([]Coordinate, 0) + ret_value, ret_code := am.GetPowerValuesForCoordinates(coordinates) + fmt.Println("--- len ret_value", len(ret_value)) + fmt.Println("--- ret_code", ret_code) + /*if ret_value == nil || ret_code != nil { + t.Fatalf("Unexpected returned value for an empty list") + }*/ + + r := regexp.MustCompile("\\[(?P.*),(?P.*)\\]") + fmt.Println("After compile") + m := r.FindStringSubmatch(point1) + if m == nil { + t.Fatalf("Failed to resolv point") + } + fmt.Println(m[1]) + fmt.Println(m[2]) + lon, err := strconv.ParseFloat(m[1], 32) + if err != nil { + t.Fatalf("Failed to convert longitude") + } + lat, err := strconv.ParseFloat(m[2], 32) + if err != nil { + t.Fatalf("Failed to convert latitude") + } + fmt.Println(lon) + fmt.Println(lat) + coordinates = make([]Coordinate, 1) + coordinates[0] = Coordinate { float32(lat), float32(lon) } + /*coordinates[0][0] = lon + coordinates[0][1] = lat*/ + //ret_value, ret_code := am.GetPowerValuesForCoordinates(coordinates) + //fmt.Println("--- ret_value", ret_value) + //fmt.Println("--- ret_code", ret_code) + +} diff --git a/go-packages/meep-gis-asset-mgr/go.mod b/go-packages/meep-gis-asset-mgr/go.mod index aa1413ad9..3bc784b71 100644 --- a/go-packages/meep-gis-asset-mgr/go.mod +++ b/go-packages/meep-gis-asset-mgr/go.mod @@ -3,6 +3,7 @@ module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-asset-mgr go 1.12 require ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0-20211214133749-f203f7ab4f1c github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 github.com/lib/pq v1.5.2 ) diff --git a/go-packages/meep-gis-asset-mgr/go.sum b/go-packages/meep-gis-asset-mgr/go.sum index b21b8eda9..eadf4fd9b 100644 --- a/go-packages/meep-gis-asset-mgr/go.sum +++ b/go-packages/meep-gis-asset-mgr/go.sum @@ -1,3 +1,6 @@ +github.com/InterDigitalInc/AdvantEDGE v1.8.1 h1:2jZJ/Hu6IDweJifEpbOD8PP9pX03AQlZGNnrhv1Die8= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0-20211214133749-f203f7ab4f1c h1:enMVVX7j6tb6KbI6Bp0iaCde1fbai8ddBefqVMmOo68= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0-20211214133749-f203f7ab4f1c/go.mod h1:IAOr9MhG0XgSEMTJOt6JA4iacKrNgTZuCxk7ofjrQBs= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -- GitLab From 4a234e9e3094deaa3593256844a49178ca7af3d1 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 15 Apr 2022 12:43:48 +0500 Subject: [PATCH 047/183] implement basic VIS POST /provide_predicted_qos logic --- go-apps/meep-vis/go.mod | 3 +- go-apps/meep-vis/server/convert.go | 32 ++++++++ go-apps/meep-vis/server/vis.go | 118 +++++++++++++++++++++++------ 3 files changed, 128 insertions(+), 25 deletions(-) create mode 100644 go-apps/meep-vis/server/convert.go diff --git a/go-apps/meep-vis/go.mod b/go-apps/meep-vis/go.mod index fba254422..d4f606d56 100644 --- a/go-apps/meep-vis/go.mod +++ b/go-apps/meep-vis/go.mod @@ -5,8 +5,8 @@ go 1.12 require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics v0.0.0 @@ -28,6 +28,7 @@ replace ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr => ../../go-packages/meep-data-key-mgr github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model => ../../go-packages/meep-data-model github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache => ../../go-packages/meep-gis-cache + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client => ../../go-packages/meep-gis-engine-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger => ../../go-packages/meep-http-logger github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics => ../../go-packages/meep-metrics diff --git a/go-apps/meep-vis/server/convert.go b/go-apps/meep-vis/server/convert.go new file mode 100644 index 000000000..e2d6154d4 --- /dev/null +++ b/go-apps/meep-vis/server/convert.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2019 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package server + +import ( + "encoding/json" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" +) + +func convertPredictedQostoJson(predictedQos *PredictedQos) string { + jsonInfo, err := json.Marshal(*predictedQos) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 07ee87104..5989c6a5a 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -21,6 +21,7 @@ import ( "encoding/json" "errors" "fmt" + "io/ioutil" "net/http" "net/url" "os" @@ -31,6 +32,7 @@ import ( sbi "github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-vis/sbi" asc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client" dkm "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr" + gisClient "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client" httpLog "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" redis "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis" @@ -111,6 +113,9 @@ var locality []string var basePath string var baseKey string +var gisAppClient *gisClient.APIClient +var gisAppClientUrl string = "http://meep-gis-engine" + // var mutex sync.Mutex // var expiryTicker *time.Ticker @@ -403,6 +408,16 @@ func Init() (err error) { _ = rc.DBFlush(baseKey) log.Info("Connected to Redis DB, V2XI service table") + gisAppClientCfg := gisClient.NewConfiguration() + gisAppClientCfg.BasePath = gisAppClientUrl + "/gis/v1" + + gisAppClient = gisClient.NewAPIClient(gisAppClientCfg) + if gisAppClient == nil { + log.Error("Failed to create GIS App REST API client: ", gisAppClientCfg.BasePath) + err := errors.New("Failed to create GIS App REST API client") + return err + } + // Initialize SBI sbiCfg := sbi.SbiCfg{ ModuleName: moduleName, @@ -596,35 +611,90 @@ func updateStoreName(storeName string) { } func predictedQosPost(w http.ResponseWriter, r *http.Request) { - log.Info(">>> predictedQosPost") w.Header().Set("Content-Type", "application/json; charset=UTF-8") - - // This hard-coded response is just for testing purpose - // VIS QoS logic shall be imlemented here - expected_pointA := LocationInfoGeoArea{7.413917, 43.733505} - expected_locationInfoA := LocationInfo{nil, &expected_pointA} - expected_pointB := LocationInfoGeoArea{7.413916, 43.733515} - expected_locationInfoB := LocationInfo{nil, &expected_pointB} - // Fill PredictedQosRoutesRouteInfo with LocationInfo list - expected_routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - expected_routeInfo[0] = PredictedQosRoutesRouteInfo{&expected_locationInfoA, 0, 0, nil} - expected_routeInfo[1] = PredictedQosRoutesRouteInfo{&expected_locationInfoB, 0, 0, nil} - // PredictedQosRoutes with PredictedQosRoutesRouteInfo list - expected_predictedQosRoutes := PredictedQosRoutes{expected_routeInfo} - // Fill PredictedQos with PredictedQosRoutes list - expected_routes := make([]PredictedQosRoutes, 1) - expected_routes[0] = expected_predictedQosRoutes - response := PredictedQos{"100", expected_routes, nil} - fmt.Println("response: ", response) - // End of hard-coded response - - jsonResponse, err := json.Marshal(response) + var requestData PredictedQos + bodyBytes, _ := ioutil.ReadAll(r.Body) + err := json.Unmarshal(bodyBytes, &requestData) if err != nil { log.Error(err.Error()) http.Error(w, err.Error(), http.StatusInternalServerError) return } - w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + // Validating mandatory parameters in request + if requestData.LocationGranularity == "" { + log.Error("Mandatory locationGranularity parameter not present") + http.Error(w, "Mandatory locationGranularity parameter not present", http.StatusBadRequest) + return + } + + if requestData.Routes == nil { + log.Error("Mandatory routes parameter not present") + http.Error(w, "Mandatory routes parameter not present", http.StatusBadRequest) + return + } + + if len(requestData.Routes) < 2 { + log.Error("At least two routes are required") + http.Error(w, "At least two routes are required", http.StatusBadRequest) + } + + responseData := requestData // Both reqesut and response have same data model + + for i, route := range requestData.Routes { + if route.RouteInfo == nil { + log.Error("Mandatory routeInfo parameter not present in routes") + http.Error(w, "Mandatory routeInfo parameter not present in route", http.StatusBadRequest) + return + } + + var geocoordinates []gisClient.GeoCoordinate + for _, routeInfo := range route.RouteInfo { + if routeInfo.Location == nil { + log.Error("Mandatory location parameter not present in routeInfo") + http.Error(w, "Mandatory location parameter not present in routeInfo", http.StatusBadRequest) + return + } + + if routeInfo.Location.Ecgi != nil && routeInfo.Location.GeoArea == nil { + log.Error("Ecgi is not supported in geoArea for MEC Sandbox") + http.Error(w, "Ecgi is not supported in geoArea for MEC Sandbox", http.StatusBadRequest) + return + } + + isValidGeoArea := routeInfo.Location.GeoArea != nil && (routeInfo.Location.GeoArea.Latitude == 0 || routeInfo.Location.GeoArea.Longitude == 0) + if isValidGeoArea { + log.Error("Mandatory latitude/longitude parameter(s) not present in geoArea") + http.Error(w, "Mandatory latitude/longitude parameter(s) not present in geoArea", http.StatusBadRequest) + return + } + + geocoordinates = append(geocoordinates, gisClient.GeoCoordinate{ + Latitude: routeInfo.Location.GeoArea.Latitude, + Longitude: routeInfo.Location.GeoArea.Longitude, + }) + } + + var geocoordinatesList gisClient.GeoCoordinateList + geocoordinatesList.GeoCoordinates = geocoordinates + powerResp, _, err := gisAppClient.GeospatialDataApi.GetGeoDataPowerValues(context.TODO(), geocoordinatesList) + if err != nil { + log.Error("Failed to communicate with gis engine: ", err) + return + } + routeInfoList := responseData.Routes[i].RouteInfo + for j, routeInfo := range routeInfoList { + currGeoCoordinate := powerResp.CoordinatesPower[j] + latCheck := routeInfo.Location.GeoArea.Latitude == currGeoCoordinate.Latitude + longCheck := routeInfo.Location.GeoArea.Longitude == currGeoCoordinate.Longitude + if latCheck && longCheck { + routeInfoList[j].Rsrq = currGeoCoordinate.Rsrq + routeInfoList[j].Rsrp = currGeoCoordinate.Rsrp + } + } + } + + jsonResponse := convertPredictedQostoJson(&responseData) + w.WriteHeader(http.StatusCreated) + fmt.Fprint(w, jsonResponse) } -- GitLab From fd031792e3df8d9a9a50d1a1153e9db297055cc1 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 15 Apr 2022 13:10:18 +0500 Subject: [PATCH 048/183] modify check for two or more routeInfo in a route in VIS --- go-apps/meep-vis/server/vis.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 5989c6a5a..f59f6b3d9 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -634,11 +634,6 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } - if len(requestData.Routes) < 2 { - log.Error("At least two routes are required") - http.Error(w, "At least two routes are required", http.StatusBadRequest) - } - responseData := requestData // Both reqesut and response have same data model for i, route := range requestData.Routes { @@ -648,6 +643,12 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } + if len(route.RouteInfo) < 2 { + log.Error("At least two routeInfo required in a route") + http.Error(w, "At least two routeInfo required in a route", http.StatusBadRequest) + return + } + var geocoordinates []gisClient.GeoCoordinate for _, routeInfo := range route.RouteInfo { if routeInfo.Location == nil { -- GitLab From 4c0fc4bfdd6150767f192cbf9a153b3882f36c51 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 15 Apr 2022 14:15:32 +0500 Subject: [PATCH 049/183] clean up VIS code --- go-apps/meep-vis/sbi/vis-sbi.go | 293 +++----------------------------- go-apps/meep-vis/server/vis.go | 75 +------- 2 files changed, 27 insertions(+), 341 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index d864e3ae3..58625bf02 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -35,35 +35,30 @@ var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" type SbiCfg struct { - ModuleName string - SandboxName string - MepName string - RedisAddr string - InfluxAddr string - PostgisHost string - PostgisPort string - Locality []string - // StaInfoCb func(string, string, string, *int32, *int32, *int32) - // ApInfoCb func(string, string, *float32, *float32, []string) + ModuleName string + SandboxName string + MepName string + RedisAddr string + InfluxAddr string + PostgisHost string + PostgisPort string + Locality []string ScenarioNameCb func(string) CleanUpCb func() } type VisSbi struct { - moduleName string - sandboxName string - mepName string - scenarioName string - localityEnabled bool - locality map[string]bool - mqLocal *mq.MsgQueue - handlerId int - apiMgr *sam.SwaggerApiMgr - activeModel *mod.Model - gisCache *gc.GisCache - // refreshTicker *time.Ticker - // updateStaInfoCB func(string, string, string, *int32, *int32, *int32) - // updateAccessPointInfoCB func(string, string, *float32, *float32, []string) + moduleName string + sandboxName string + mepName string + scenarioName string + localityEnabled bool + locality map[string]bool + mqLocal *mq.MsgQueue + handlerId int + apiMgr *sam.SwaggerApiMgr + activeModel *mod.Model + gisCache *gc.GisCache updateScenarioNameCB func(string) cleanUpCB func() mutex sync.Mutex @@ -83,8 +78,6 @@ func Init(cfg SbiCfg) (err error) { sbi.sandboxName = cfg.SandboxName sbi.mepName = cfg.MepName sbi.scenarioName = "" - // sbi.updateStaInfoCB = cfg.StaInfoCb - // sbi.updateAccessPointInfoCB = cfg.ApInfoCb sbi.updateScenarioNameCB = cfg.ScenarioNameCb sbi.cleanUpCB = cfg.CleanUpCb redisAddr = cfg.RedisAddr @@ -202,25 +195,6 @@ func Stop() (err error) { return nil } -// func startRefreshTicker() { -// log.Debug("Starting refresh loop") -// sbi.refreshTicker = time.NewTicker(1000 * time.Millisecond) -// go func() { -// for range sbi.refreshTicker.C { -// refreshPositions() -// // refreshMeasurements() -// } -// }() -// } - -// func stopRefreshTicker() { -// if sbi.refreshTicker != nil { -// sbi.refreshTicker.Stop() -// sbi.refreshTicker = nil -// log.Debug("Refresh loop stopped") -// } -// } - // Message Queue handler func msgHandler(msg *mq.Msg, userData interface{}) { switch msg.Message { @@ -247,29 +221,6 @@ func processActiveScenarioTerminate() { sbi.cleanUpCB() } -// func getAppSumUlDl(apps []string) (float32, float32) { -// sumUl := 0.0 -// sumDl := 0.0 -// //var appNames []string -// for _, appName := range apps { -// //appNames = append(appNames, process.Name) -// if metricStore != nil { -// metricsArray, err := metricStore.GetCachedNetworkMetrics("*", appName) -// if err != nil { -// log.Error("Failed to get network metric:", err) -// } - -// //downlink for the app is uplink for the UE, and vice-versa -// for _, metrics := range metricsArray { -// sumUl += metrics.DlTput -// sumDl += metrics.UlTput -// } -// } -// } - -// return float32(sumUl), float32(sumDl) -// } - func processActiveScenarioUpdate() { sbi.mutex.Lock() @@ -277,15 +228,6 @@ func processActiveScenarioUpdate() { log.Debug("processActiveScenarioUpdate") - // Get previous list of connected UEs - // prevUeNames := []string{} - // prevUeNameList := sbi.activeModel.GetNodeNames("UE") - // for _, name := range prevUeNameList { - // if isUeConnected(name) && isInLocality(name) { - // prevUeNames = append(prevUeNames, name) - // } - // } - sbi.activeModel.UpdateScenario() scenarioName := sbi.activeModel.GetScenarioName() @@ -302,201 +244,4 @@ func processActiveScenarioUpdate() { log.Error("Failed connection to metric-store: ", err) } } - // Get all POA positions & UE measurments - // poaPositionMap, _ := sbi.gisCache.GetAllPositions(gc.TypePoa) - // ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() - - // Update UE info - // ueNames := []string{} - // ueNameList := sbi.activeModel.GetNodeNames("UE") - // for _, name := range ueNameList { - // // Ignore disconnected UEs - // if !isUeConnected(name) || !isInLocality(name) { - // continue - // } - // ueNames = append(ueNames, name) - - // // Update STA Info - // ueParent := sbi.activeModel.GetNodeParent(name) - // if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { - // apMacId := "" - // var rssi *int32 - // switch poa.Type_ { - // case mod.NodeTypePoaWifi: - // apMacId = poa.PoaWifiConfig.MacId - // rssi = getRssi(name, poa.Name, ueMeasMap) - // } - // ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) - - // //get all appNames under the UE - // apps := (sbi.activeModel.GetNodeChild(name)).(*[]dataModel.Process) - - // var appNames []string - // for _, process := range *apps { - // appNames = append(appNames, process.Name) - // } - - // sumUl, sumDl := getAppSumUlDl(appNames) - // sumUlKbps := int32(sumUl * 1000) - // sumDlKbps := int32(sumDl * 1000) - // sbi.updateStaInfoCB(name, ue.MacId, apMacId, rssi, &sumUlKbps, &sumDlKbps) - // } - // } - - // // Update UEs that were removed - // for _, prevUeName := range prevUeNames { - // found := false - // for _, ueName := range ueNames { - // if ueName == prevUeName { - // found = true - // break - // } - // } - // if !found { - // sbi.updateStaInfoCB(prevUeName, "", "", nil, nil, nil) - // log.Info("Ue removed : ", prevUeName) - // } - // } - - // // Update POA Wifi info - // poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoaWifi) - // for _, name := range poaNameList { - // // Ignore POAs not in locality - // if !isInLocality(name) { - // continue - // } - - // poa := (sbi.activeModel.GetNode(name)).(*dataModel.NetworkLocation) - // if poa == nil { - // log.Error("Can't find poa named " + name) - // continue - // } - - // var longitude *float32 - // var latitude *float32 - // if position, found := poaPositionMap[name]; found { - // longitude = &position.Longitude - // latitude = &position.Latitude - // } - // //list of Ues MacIds - // var ueMacIdList []string - - // for _, pl := range poa.PhysicalLocations { - // if pl.Connected { - // ueMacIdList = append(ueMacIdList, pl.MacId) - // } - // } - // sbi.updateAccessPointInfoCB(name, poa.PoaWifiConfig.MacId, longitude, latitude, ueMacIdList) - // } } - -// func refreshPositions() { - -// sbi.mutex.Lock() -// defer sbi.mutex.Unlock() - -// // Update POA Positions -// poaPositionMap, _ := sbi.gisCache.GetAllPositions(gc.TypePoa) -// poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoaWifi) -// for _, name := range poaNameList { -// // Ignore POAs not in locality -// if !isInLocality(name) { -// continue -// } -// // Get Network Location -// poa := (sbi.activeModel.GetNode(name)).(*dataModel.NetworkLocation) -// if poa == nil { -// log.Error("Can't find poa named " + name) -// continue -// } - -// // Get position -// var longitude *float32 -// var latitude *float32 -// if position, found := poaPositionMap[name]; found { -// longitude = &position.Longitude -// latitude = &position.Latitude -// } - -// // Get list UE MacIds -// var ueMacIdList []string -// for _, pl := range poa.PhysicalLocations { -// if pl.Connected { -// ueMacIdList = append(ueMacIdList, pl.MacId) -// } -// } - -// sbi.updateAccessPointInfoCB(name, poa.PoaWifiConfig.MacId, longitude, latitude, ueMacIdList) -// } -// } - -// func refreshMeasurements() { -// // Update UE measurements -// ueMeasMap, _ := sbi.gisCache.GetAllMeasurements() -// ueNameList := sbi.activeModel.GetNodeNames("UE") -// for _, name := range ueNameList { -// // Ignore disconnected UEs -// if !isUeConnected(name) || !isInLocality(name) { -// continue -// } - -// // Update STA Info -// ueParent := sbi.activeModel.GetNodeParent(name) -// if poa, ok := ueParent.(*dataModel.NetworkLocation); ok { -// apMacId := "" -// var rssi *int32 -// switch poa.Type_ { -// case mod.NodeTypePoaWifi: -// apMacId = poa.PoaWifiConfig.MacId -// rssi = getRssi(name, poa.Name, ueMeasMap) -// } -// ue := (sbi.activeModel.GetNode(name)).(*dataModel.PhysicalLocation) -// apps := (sbi.activeModel.GetNodeChild(name)).(*[]dataModel.Process) - -// var appNames []string -// for _, process := range *apps { -// appNames = append(appNames, process.Name) -// } - -// sumUl, sumDl := getAppSumUlDl(appNames) -// sumUlKbps := int32(sumUl * 1000) -// sumDlKbps := int32(sumDl * 1000) -// sbi.updateStaInfoCB(name, ue.MacId, apMacId, rssi, &sumUlKbps, &sumDlKbps) -// } -// } -// } - -// func getRssi(ue string, poa string, ueMeasMap map[string]*gc.UeMeasurement) *int32 { -// if ueMeas, ueFound := ueMeasMap[ue]; ueFound { -// if meas, poaFound := ueMeas.Measurements[poa]; poaFound { -// rssi := int32(meas.Rssi) -// return &rssi -// } -// } -// return nil -// } - -// func isUeConnected(name string) bool { -// node := sbi.activeModel.GetNode(name) -// if node != nil { -// pl := node.(*dataModel.PhysicalLocation) -// if pl.Connected { -// return true -// } -// } -// return false -// } - -// func isInLocality(name string) bool { -// if sbi.localityEnabled { -// ctx := sbi.activeModel.GetNodeContext(name) -// if ctx == nil { -// log.Error("Error getting context for: " + name) -// return false -// } -// if _, found := sbi.locality[ctx.Parents[mod.Zone]]; !found { -// return false -// } -// } -// return true -// } diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index f59f6b3d9..88d02a6f4 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -52,53 +52,12 @@ const defaultScopeOfLocality = "MEC_SYSTEM" const defaultConsumedLocalOnly = true const appTerminationPath = "notifications/mec011/appTermination" -// const ( -// notifCellChange = "CellChangeNotification" -// notifRabEst = "RabEstNotification" -// notifRabMod = "RabModNotification" -// notifRabRel = "RabRelNotification" -// notifMeasRepUe = "MeasRepUeNotification" -// notifMeasTa = "MeasTaNotification" -// notifCaReConf = "CaReConfNotification" -// notifExpiry = "ExpiryNotification" -// notifS1Bearer = "S1BearerNotification" -// notifNrMeasRepUe = "NrMeasRepUeNotification" -// ) - -// var metricStore *met.MetricStore - var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" var sbxCtrlUrl string = "http://meep-sandbox-ctrl" -// const cellChangeSubscriptionType = "cell_change" -// const rabEstSubscriptionType = "rab_est" -// const rabRelSubscriptionType = "rab_rel" -// const measRepUeSubscriptionType = "meas_rep_ue" -// const nrMeasRepUeSubscriptionType = "nr_meas_rep_ue" -// const poaType4G = "POA-4G" -// const poaType5G = "POA-5G" -// const plTypeUE = "UE" - -// var ccSubscriptionMap = map[int]*CellChangeSubscription{} -// var reSubscriptionMap = map[int]*RabEstSubscription{} -// var rrSubscriptionMap = map[int]*RabRelSubscription{} -// var mrSubscriptionMap = map[int]*MeasRepUeSubscription{} -// var nrMrSubscriptionMap = map[int]*NrMeasRepUeSubscription{} -// var subscriptionExpiryMap = map[int][]int{} var currentStoreName = "" -// const CELL_CHANGE_SUBSCRIPTION = "CellChangeSubscription" -// const RAB_EST_SUBSCRIPTION = "RabEstSubscription" -// const RAB_REL_SUBSCRIPTION = "RabRelSubscription" -// const MEAS_REP_UE_SUBSCRIPTION = "MeasRepUeSubscription" -// const NR_MEAS_REP_UE_SUBSCRIPTION = "NrMeasRepUeSubscription" -// const CELL_CHANGE_NOTIFICATION = "CellChangeNotification" -// const RAB_EST_NOTIFICATION = "RabEstNotification" -// const RAB_REL_NOTIFICATION = "RabRelNotification" -// const MEAS_REP_UE_NOTIFICATION = "MeasRepUeNotification" -// const NR_MEAS_REP_UE_NOTIFICATION = "NrMeasRepUeNotification" - var VIS_DB = 0 var rc *redis.Connector @@ -116,20 +75,6 @@ var baseKey string var gisAppClient *gisClient.APIClient var gisAppClientUrl string = "http://meep-gis-engine" -// var mutex sync.Mutex - -// var expiryTicker *time.Ticker - -// var periodicTriggerTicker *time.Ticker -// var periodicNrTriggerTicker *time.Ticker - -// var nextSubscriptionIdAvailable int -// var nextAvailableErabId int - -// const defaultSupportedQci = 80 -// const defaultMeasRepUePeriodicTriggerInterval = 1 -// const defaultNrMeasRepUePeriodicTriggerInterval = 1 - const serviceAppVersion = "2.1.1" var serviceAppInstanceId string @@ -420,15 +365,10 @@ func Init() (err error) { // Initialize SBI sbiCfg := sbi.SbiCfg{ - ModuleName: moduleName, - SandboxName: sandboxName, - RedisAddr: redisAddr, - Locality: locality, - // UeDataCb: updateUeData, - // MeasInfoCb: updateMeasInfo, - // PoaInfoCb: updatePoaInfo, - // AppInfoCb: updateAppInfo, - // DomainDataCb: updateDomainData, + ModuleName: moduleName, + SandboxName: sandboxName, + RedisAddr: redisAddr, + Locality: locality, ScenarioNameCb: updateStoreName, CleanUpCb: cleanUp, } @@ -639,13 +579,13 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { for i, route := range requestData.Routes { if route.RouteInfo == nil { log.Error("Mandatory routeInfo parameter not present in routes") - http.Error(w, "Mandatory routeInfo parameter not present in route", http.StatusBadRequest) + http.Error(w, "Mandatory routeInfo parameter not present in routes", http.StatusBadRequest) return } if len(route.RouteInfo) < 2 { - log.Error("At least two routeInfo required in a route") - http.Error(w, "At least two routeInfo required in a route", http.StatusBadRequest) + log.Error("At least two location points required in routeInfo") + http.Error(w, "At least two location points required in routeInfo", http.StatusBadRequest) return } @@ -692,6 +632,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { routeInfoList[j].Rsrq = currGeoCoordinate.Rsrq routeInfoList[j].Rsrp = currGeoCoordinate.Rsrp } + routeInfo.Location.Ecgi = nil } } -- GitLab From fcf95e50b634e6f1c3d362e2bb9e58ef3f1100de Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 15 Apr 2022 14:53:20 +0500 Subject: [PATCH 050/183] update response status code of POST /provide_predicted_qos to 200 --- go-apps/meep-vis/server/vis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 88d02a6f4..37dca6d84 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -637,6 +637,6 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { } jsonResponse := convertPredictedQostoJson(&responseData) - w.WriteHeader(http.StatusCreated) + w.WriteHeader(http.StatusOK) fmt.Fprint(w, jsonResponse) } -- GitLab From f54318c3826f803e7c81ecef844387e2f91f67c9 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 19 Apr 2022 12:30:19 +0500 Subject: [PATCH 051/183] update validation check for ecgi attribute in PredictedQos request --- go-apps/meep-vis/server/vis.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 37dca6d84..299983f75 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -574,8 +574,6 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } - responseData := requestData // Both reqesut and response have same data model - for i, route := range requestData.Routes { if route.RouteInfo == nil { log.Error("Mandatory routeInfo parameter not present in routes") @@ -597,9 +595,9 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } - if routeInfo.Location.Ecgi != nil && routeInfo.Location.GeoArea == nil { - log.Error("Ecgi is not supported in geoArea for MEC Sandbox") - http.Error(w, "Ecgi is not supported in geoArea for MEC Sandbox", http.StatusBadRequest) + if routeInfo.Location.Ecgi != nil { + log.Error("Ecgi is not supported in location for MEC Sandbox") + http.Error(w, "Ecgi is not supported inside location attribute, only geoArea is supported.", http.StatusBadRequest) return } @@ -616,6 +614,8 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { }) } + responseData := requestData // Both request and response have same data model + var geocoordinatesList gisClient.GeoCoordinateList geocoordinatesList.GeoCoordinates = geocoordinates powerResp, _, err := gisAppClient.GeospatialDataApi.GetGeoDataPowerValues(context.TODO(), geocoordinatesList) -- GitLab From 3a27a52a5f5be59ce74cf46c36e0058bb24f3c64 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 19 Apr 2022 12:46:29 +0500 Subject: [PATCH 052/183] fix the scope issue for responseData variable --- go-apps/meep-vis/server/vis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 299983f75..f7783251b 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -574,6 +574,8 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } + responseData := requestData // Both request and response have same data model + for i, route := range requestData.Routes { if route.RouteInfo == nil { log.Error("Mandatory routeInfo parameter not present in routes") @@ -614,8 +616,6 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { }) } - responseData := requestData // Both request and response have same data model - var geocoordinatesList gisClient.GeoCoordinateList geocoordinatesList.GeoCoordinates = geocoordinates powerResp, _, err := gisAppClient.GeospatialDataApi.GetGeoDataPowerValues(context.TODO(), geocoordinatesList) -- GitLab From 668ba25d7a7abf076ffb1f6c12f70318b3914e55 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 19 Apr 2022 13:18:38 +0500 Subject: [PATCH 053/183] improve error message in response for better insight --- go-apps/meep-vis/server/vis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index f7783251b..cc4fc70dd 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -605,8 +605,8 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { isValidGeoArea := routeInfo.Location.GeoArea != nil && (routeInfo.Location.GeoArea.Latitude == 0 || routeInfo.Location.GeoArea.Longitude == 0) if isValidGeoArea { - log.Error("Mandatory latitude/longitude parameter(s) not present in geoArea") - http.Error(w, "Mandatory latitude/longitude parameter(s) not present in geoArea", http.StatusBadRequest) + log.Error("Mandatory latitude/longitude parameter(s) either not present in geoArea or have a zero value") + http.Error(w, "At least one of the routeInfo structures either does not contain mandatory latitude/longitude parameter(s) in geoArea or have zero value(s).", http.StatusBadRequest) return } -- GitLab From 1eecdf2c692290d84940ebfc4dcf838db7492812 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 19 Apr 2022 12:10:14 +0200 Subject: [PATCH 054/183] Enhance meep-gis asset test scripts --- .../meep-gis-asset-mgr/assets-mgr_test.go | 72 ++++++++++++++----- 1 file changed, 56 insertions(+), 16 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go index da2eba380..9e917cf22 100644 --- a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go +++ b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go @@ -1631,22 +1631,23 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { err = am.CreateUe(ue4Id, ue1Name, ueData) // Check an empty list of coordinates + fmt.Println("Check an empty list of coordinates") var coordinates []Coordinate = make([]Coordinate, 0) - ret_value, ret_code := am.GetPowerValuesForCoordinates(coordinates) - fmt.Println("--- len ret_value", len(ret_value)) - fmt.Println("--- ret_code", ret_code) - /*if ret_value == nil || ret_code != nil { - t.Fatalf("Unexpected returned value for an empty list") - }*/ + ret_value, err := am.GetPowerValuesForCoordinates(coordinates) + if err != nil { + t.Fatalf("Unexpected error returned: " + err.Error()) + } + if len(ret_value) != 0 { + t.Fatalf("An empty list is expected") + } + // Check an one item list of coordinates + fmt.Println("Check an one item list of coordinates") r := regexp.MustCompile("\\[(?P.*),(?P.*)\\]") - fmt.Println("After compile") m := r.FindStringSubmatch(point1) if m == nil { t.Fatalf("Failed to resolv point") } - fmt.Println(m[1]) - fmt.Println(m[2]) lon, err := strconv.ParseFloat(m[1], 32) if err != nil { t.Fatalf("Failed to convert longitude") @@ -1655,14 +1656,53 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { if err != nil { t.Fatalf("Failed to convert latitude") } - fmt.Println(lon) - fmt.Println(lat) coordinates = make([]Coordinate, 1) coordinates[0] = Coordinate { float32(lat), float32(lon) } - /*coordinates[0][0] = lon - coordinates[0][1] = lat*/ - //ret_value, ret_code := am.GetPowerValuesForCoordinates(coordinates) - //fmt.Println("--- ret_value", ret_value) - //fmt.Println("--- ret_code", ret_code) + fmt.Println(coordinates) + ret_value, err = am.GetPowerValuesForCoordinates(coordinates) + fmt.Println("--- ret_value", ret_value) + fmt.Println("--- err", err) + if err != nil { + t.Fatalf("Unexpected error returned: " + err.Error()) + } + if len(ret_value) != 1 { + t.Fatalf("Only one item is expected") + } + var expectd_value []CoordinatePowerValue = make ([]CoordinatePowerValue, 1) + expectd_value[0] = CoordinatePowerValue { float32(43.7342), float32(7.418522), 12, 54, "poa1" } + if expectd_value[0] != ret_value[0] { + t.Fatalf("OUnexpected value was returned") + } + + // Check multiple items list of coordinates + fmt.Println("Check multiple item length list of coordinates") + m = r.FindStringSubmatch(point2) + lon, err = strconv.ParseFloat(m[1], 32) + lat, err = strconv.ParseFloat(m[2], 32) + coordinates = make([]Coordinate, 3) + coordinates[0] = Coordinate { float32(lat), float32(lon) } + m = r.FindStringSubmatch(point3) + lon, err = strconv.ParseFloat(m[1], 32) + lat, err = strconv.ParseFloat(m[2], 32) + coordinates[1] = Coordinate { float32(lat), float32(lon) } + m = r.FindStringSubmatch(point5) + lon, err = strconv.ParseFloat(m[1], 32) + lat, err = strconv.ParseFloat(m[2], 32) + coordinates[2] = Coordinate { float32(lat), float32(lon) } + fmt.Println(coordinates) + ret_value, err = am.GetPowerValuesForCoordinates(coordinates) + fmt.Println("--- ret_value", ret_value) + fmt.Println("--- err", err) + if err != nil { + t.Fatalf("Unexpected error returned: " + err.Error()) + } + if len(ret_value) != 3 { + t.Fatalf("Only one item is expected") + } + /*var expectd_value []CoordinatePowerValue = make ([]CoordinatePowerValue, 1) + expectd_value[0] = CoordinatePowerValue { float32(43.7342), float32(7.418522), 12, 54, "poa1" } + if expectd_value[0] != ret_value[0] { + t.Fatalf("OUnexpected value was returned") + }*/ } -- GitLab From cf7fe401dd14b65a66f777a6bc1100c7986428d8 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 19 Apr 2022 15:56:13 +0500 Subject: [PATCH 055/183] implement basic logic for meep-vis-traffic-mgr package --- go-packages/meep-vis-traffic-mgr/go.mod | 7 + go-packages/meep-vis-traffic-mgr/go.sum | 13 + .../meep-vis-traffic-mgr/traffic-mgr.go | 426 ++++++++++++++++++ 3 files changed, 446 insertions(+) create mode 100644 go-packages/meep-vis-traffic-mgr/go.mod create mode 100644 go-packages/meep-vis-traffic-mgr/go.sum create mode 100644 go-packages/meep-vis-traffic-mgr/traffic-mgr.go diff --git a/go-packages/meep-vis-traffic-mgr/go.mod b/go-packages/meep-vis-traffic-mgr/go.mod new file mode 100644 index 000000000..c958e8958 --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/go.mod @@ -0,0 +1,7 @@ +module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr + +go 1.16 + +require github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 + +replace github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger diff --git a/go-packages/meep-vis-traffic-mgr/go.sum b/go-packages/meep-vis-traffic-mgr/go.sum new file mode 100644 index 000000000..aa67933a6 --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/go.sum @@ -0,0 +1,13 @@ +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go new file mode 100644 index 000000000..9ab5777ab --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -0,0 +1,426 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package vistrafficmgr + +import ( + "database/sql" + "errors" + "strings" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" +) + +// DB Config +const ( + DbHost = "meep-postgis.default.svc.cluster.local" + DbPort = "5432" + DbUser = "" + DbPassword = "" + DbDefault = "postgres" + DbMaxRetryCount int = 2 +) + +// Enable profiling +const profiling = false + +var profilingTimers map[string]time.Time + +const ( + FieldTime1 = "time1" + FieldTime2 = "time2" + FieldTime3 = "time3" + FieldTime4 = "time4" + // FieldPath = "path" + // FieldMode = "mode" + // FieldVelocity = "velocity" + // FieldConnected = "connected" + // FieldPriority = "priority" + // FieldSubtype = "subtype" + // FieldRadius = "radius" +) + +// DB Table Names +const ( + TrafficTable = "traffic_patterns" +) + +// Asset Types +const ( + TypePoa = "POA" +) + +// POA Types +// const ( +// PoaTypeGeneric = "POA" +// PoaTypeCell4g = "POA-4G" +// PoaTypeCell5g = "POA-5G" +// PoaTypeWifi = "POA-WIFI" +// PoaTypeDisconnected = "DISCONNECTED" +// ) + +// VIS Traffic Manager +type TrafficMgr struct { + name string + namespace string + user string + pwd string + host string + port string + dbName string + db *sql.DB + connected bool + // updateCb func(string, string) +} + +type PoaTimes struct { + Id string + PoaName string + Time1 int32 + Time2 int32 + Time3 int32 + Time4 int32 +} + +// Profiling init +func init() { + if profiling { + profilingTimers = make(map[string]time.Time) + } +} + +// NewTrafficMgr - Creates and initializes a new VIS Traffic Manager +func NewTrafficMgr(name, namespace, user, pwd, host, port string) (tm *TrafficMgr, err error) { + if name == "" { + err = errors.New("Missing connector name") + return nil, err + } + + // Create new Traffic Manager + tm = new(TrafficMgr) + tm.name = name + if namespace != "" { + tm.namespace = namespace + } else { + tm.namespace = "default" + } + tm.user = user + tm.pwd = pwd + tm.host = host + tm.port = port + + // Connect to Postgis DB + for retry := 0; retry <= DbMaxRetryCount; retry++ { + tm.db, err = tm.connectDB("", tm.user, tm.pwd, tm.host, tm.port) + if err == nil { + break + } + } + if err != nil { + log.Error("Failed to connect to postgis DB with err: ", err.Error()) + return nil, err + } + defer tm.db.Close() + + // Create sandbox DB if it does not exist + // Use format: '_' & replace dashes with underscores + tm.dbName = strings.ToLower(strings.Replace(namespace+"_"+name, "-", "_", -1)) + + // Ignore DB creation error in case it already exists. + // Failure will occur at DB connection if DB was not successfully created. + _ = tm.CreateDb(tm.dbName) + + // Close connection to postgis DB + _ = tm.db.Close() + + // Connect with sandbox-specific DB + tm.db, err = tm.connectDB(tm.dbName, user, pwd, host, port) + if err != nil { + log.Error("Failed to connect to sandbox DB with err: ", err.Error()) + return nil, err + } + + log.Info("Postgis Connector successfully created") + tm.connected = true + return tm, nil +} + +func (tm *TrafficMgr) connectDB(dbName, user, pwd, host, port string) (db *sql.DB, err error) { + // Set default values if none provided + if dbName == "" { + dbName = DbDefault + } + if host == "" { + host = DbHost + } + if port == "" { + port = DbPort + } + log.Debug("Connecting to Postgis DB [", dbName, "] at addr [", host, ":", port, "]") + + // Open postgis DB + connStr := "user=" + user + " password=" + pwd + " dbname=" + dbName + " host=" + host + " port=" + port + " sslmode=disable" + db, err = sql.Open("postgres", connStr) + if err != nil { + log.Warn("Failed to connect to Postgis DB with error: ", err.Error()) + return nil, err + } + + // Make sure connection is up + err = db.Ping() + if err != nil { + log.Warn("Failed to ping Postgis DB with error: ", err.Error()) + db.Close() + return nil, err + } + + log.Info("Connected to Postgis DB [", dbName, "]") + return db, nil +} + +// func (tm *TrafficMgr) SetListener(listener func(string, string)) error { +// tm.updateCb = listener +// return nil +// } + +// func (tm *TrafficMgr) notifyListener(cbType string, assetName string) { +// if tm.updateCb != nil { +// go tm.updateCb(cbType, assetName) +// } +// } + +// DeleteTrafficMgr - +func (tm *TrafficMgr) DeleteTrafficMgr() (err error) { + + if tm.db == nil { + err = errors.New("Traffic Manager database not initialized") + log.Error(err.Error()) + return err + } + + // Close connection to sandbox-specific DB + _ = tm.db.Close() + + // Connect to Postgis DB + tm.db, err = tm.connectDB("", tm.user, tm.pwd, tm.host, tm.port) + if err != nil { + log.Error("Failed to connect to postgis DB with err: ", err.Error()) + return err + } + defer tm.db.Close() + + // Destroy sandbox database + _ = tm.DestroyDb(tm.dbName) + + return nil +} + +// CreateDb -- Create new DB with provided name +func (tm *TrafficMgr) CreateDb(name string) (err error) { + _, err = tm.db.Exec("CREATE DATABASE " + name) + if err != nil { + log.Error(err.Error()) + return err + } + + log.Info("Created database: " + name) + return nil +} + +// DestroyDb -- Destroy DB with provided name +func (tm *TrafficMgr) DestroyDb(name string) (err error) { + _, err = tm.db.Exec("DROP DATABASE " + name) + if err != nil { + log.Error(err.Error()) + return err + } + + log.Info("Destroyed database: " + name) + return nil +} + +func (tm *TrafficMgr) CreateTable() (err error) { + _, err = tm.db.Exec("CREATE EXTENSION IF NOT EXISTS postgis") + if err != nil { + log.Error(err.Error()) + return err + } + + _, err = tm.db.Exec(`CREATE TABLE ` + TrafficTable + ` ( + id varchar(36) NOT NULL, + poaName varchar(100) NOT NULL UNIQUE, + time1 integer NOT NULL DEFAULT '0', + time2 integer NOT NULL DEFAULT '0', + time3 integer NOT NULL DEFAULT '0', + time4 integer NOT NULL DEFAULT '0', + PRIMARY KEY (id) + )`) + if err != nil { + log.Error(err.Error()) + return err + } + log.Info("Created Traffic table: ", TrafficTable) + + return nil +} + +// DeleteTables - Delete all postgis traffic tables +func (tm *TrafficMgr) DeleteTables() (err error) { + err = tm.DeleteTable(TrafficTable) + if err != nil { + log.Error(err.Error()) + return err + } + return nil +} + +// DeleteTable - Delete postgis table with provided name +func (tm *TrafficMgr) DeleteTable(tableName string) (err error) { + _, err = tm.db.Exec("DROP TABLE IF EXISTS " + tableName) + if err != nil { + log.Error(err.Error()) + return err + } + log.Info("Deleted table: " + tableName) + return nil +} + +// CreatePoaLoad - Create new POA +func (tm *TrafficMgr) CreatePoaLoad(id string, poaName string, data map[string]interface{}) (err error) { + if profiling { + profilingTimers["CreatePoaLoad"] = time.Now() + } + + var time1 int32 + var time2 int32 + var time3 int32 + var time4 int32 + var ok bool + + // Validate input + if id == "" { + return errors.New("Missing ID") + } + if poaName == "" { + return errors.New("Missing POA Name") + } + + // Get time1 + if dataTime1, found := data[FieldTime1]; !found { + return errors.New("Missing subtype") + } else if time1, ok = dataTime1.(int32); !ok { + return errors.New("Invalid subtype data type") + } else if time1 == 0 { + return errors.New("Invalid time1") + } + + // Get time2 + if dataTime2, found := data[FieldTime2]; !found { + return errors.New("Missing subtype") + } else if time2, ok = dataTime2.(int32); !ok { + return errors.New("Invalid subtype data type") + } else if time2 == 0 { + return errors.New("Invalid time2") + } + + // Get time3 + if dataTime3, found := data[FieldTime3]; !found { + return errors.New("Missing subtype") + } else if time3, ok = dataTime3.(int32); !ok { + return errors.New("Invalid subtype data type") + } else if time3 == 0 { + return errors.New("Invalid time3") + } + + // Get time4 + if dataTime4, found := data[FieldTime4]; !found { + return errors.New("Missing subtype") + } else if time4, ok = dataTime4.(int32); !ok { + return errors.New("Invalid subtype data type") + } else if time4 == 0 { + return errors.New("Invalid time4") + } + + // Create Traffic Load entry + query := `INSERT INTO ` + TrafficTable + ` (id, poaName, time1, time2, time3, time4) + VALUES ($1, $2, $3, $4, $5, $6)` + _, err = tm.db.Exec(query, id, poaName, time1, time2, time3, time4) + if err != nil { + log.Error(err.Error()) + return err + } + + // Notify listener + // tm.notifyListener(TypePoa, name) + + if profiling { + now := time.Now() + log.Debug("CreatePoaLoad: ", now.Sub(profilingTimers["CreatePoaLoad"])) + } + return nil +} + +// GetPoaLoad - Get POA Load information +func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) { + if profiling { + profilingTimers["GetPoaLoad"] = time.Now() + } + + // Validate input + if poaName == "" { + err = errors.New("Missing POA Name") + return nil, err + } + + // Get Poa entry + var rows *sql.Rows + rows, err = tm.db.Query(` + SELECT id, name, time1, time2, time3, time4 + FROM `+TrafficTable+` + WHERE name = ($1)`, poaName) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan result + for rows.Next() { + poaTimes = new(PoaTimes) + err = rows.Scan(&poaTimes.Id, &poaTimes.PoaName, &poaTimes.Time1, &poaTimes.Time2, &poaTimes.Time3, &poaTimes.Time4) + if err != nil { + log.Error(err.Error()) + return nil, err + } + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + // Return error if not found + if poaTimes == nil { + err = errors.New("POA not found: " + poaName) + return nil, err + } + + if profiling { + now := time.Now() + log.Debug("GetPoaLoad: ", now.Sub(profilingTimers["GetPoaLoad"])) + } + return poaTimes, nil +} -- GitLab From 91b6414a55eea63199c86dcd593074ca415435f4 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 19 Apr 2022 16:21:40 +0200 Subject: [PATCH 056/183] Bug fixed in Lat/lon fields order in LocationInfoGeoArea --- go-apps/meep-vis/server/vis_test.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 38ecd25c9..f202ea4a2 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -514,9 +514,9 @@ func TestPredictedQosPost(t *testing.T) { // Initialize the data structure for the POST request // MEC-030 Clause 6.2.5 // MEC-030 Clause 7.6.3.4 - expected_pointA := LocationInfoGeoArea{7.413917, 43.733505} + expected_pointA := LocationInfoGeoArea{43.733505, 7.413917} expected_locationInfoA := LocationInfo{nil, &expected_pointA} - expected_pointB := LocationInfoGeoArea{7.413916, 43.733515} + expected_pointB := LocationInfoGeoArea{43.733515, 7.413916} expected_locationInfoB := LocationInfo{nil, &expected_pointB} // Fill PredictedQosRoutesRouteInfo with LocationInfo list expected_routeInfo := make([]PredictedQosRoutesRouteInfo, 2) @@ -527,8 +527,7 @@ func TestPredictedQosPost(t *testing.T) { // Fill PredictedQos with PredictedQosRoutes list expected_routes := make([]PredictedQosRoutes, 1) expected_routes[0] = expected_predictedQosRoutes - expected_predictedQos := PredictedQos{"100", expected_routes, nil} - fmt.Println("expected_predictedQos: ", expected_predictedQos) + expected_predictedQos := PredictedQos{"1", expected_routes, nil} expected_predictedQos_str, err := json.Marshal(expected_predictedQos) if err != nil { t.Fatalf(err.Error()) @@ -541,10 +540,10 @@ func TestPredictedQosPost(t *testing.T) { // Initialize the data structure for the POST request // MEC-030 Clause 6.2.5 // MEC-030 Clause 7.6.3.4 - pointA := LocationInfoGeoArea{7.413917, 43.733505} + pointA := LocationInfoGeoArea{43.733505, 7.413917} locationInfoA := LocationInfo{nil, &pointA} tsA := TimeStamp{0, 45} - pointB := LocationInfoGeoArea{7.413916, 43.733515} + pointB := LocationInfoGeoArea{43.733515, 7.413916} locationInfoB := LocationInfo{nil, &pointB} tsB := TimeStamp{0, 45} // Fill PredictedQosRoutesRouteInfo with LocationInfo list @@ -556,8 +555,7 @@ func TestPredictedQosPost(t *testing.T) { // Fill PredictedQos with PredictedQosRoutes list routes := make([]PredictedQosRoutes, 1) routes[0] = predictedQosRoutes - testPredictedQos := PredictedQos{"100", routes, nil} - fmt.Println("testPredictedQos: ", testPredictedQos) + testPredictedQos := PredictedQos{"1", routes, nil} body, err := json.Marshal(testPredictedQos) if err != nil { t.Fatalf(err.Error()) -- GitLab From da656823e24829d4b7d0896de2c80d6ef0ac8cf8 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 20 Apr 2022 00:57:24 +0500 Subject: [PATCH 057/183] resolve runtime error caused by empty location structure in the request --- go-apps/meep-vis/server/vis.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index cc4fc70dd..17ea3541d 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -591,9 +591,10 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { var geocoordinates []gisClient.GeoCoordinate for _, routeInfo := range route.RouteInfo { - if routeInfo.Location == nil { - log.Error("Mandatory location parameter not present in routeInfo") - http.Error(w, "Mandatory location parameter not present in routeInfo", http.StatusBadRequest) + // empty location attribute will cause a runtime error: invalid memory address or nil pointer dereference + if routeInfo.Location == nil || routeInfo.Location.GeoArea == nil { + log.Error("Mandatory attribute location is either empty or not present in routeInfo") + http.Error(w, "Mandatory attribute routes.routeInfo.location is either empty or not present in the request in at least one of the routeInfo structures.", http.StatusBadRequest) return } -- GitLab From 2fad9c7a63500b0112a758f5a237635a43f05f2d Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 20 Apr 2022 13:01:19 +0500 Subject: [PATCH 058/183] add error handling capability through ProblemDetails structure --- go-apps/meep-vis/server/convert.go | 9 +++++++++ go-apps/meep-vis/server/vis.go | 31 ++++++++++++++++++++---------- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/go-apps/meep-vis/server/convert.go b/go-apps/meep-vis/server/convert.go index e2d6154d4..d2fe2005b 100644 --- a/go-apps/meep-vis/server/convert.go +++ b/go-apps/meep-vis/server/convert.go @@ -30,3 +30,12 @@ func convertPredictedQostoJson(predictedQos *PredictedQos) string { } return string(jsonInfo) } + +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Println(err.Error()) + return "" + } + return string(jsonInfo) +} diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 17ea3541d..e35ad76b8 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -557,20 +557,20 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &requestData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, "Request body is empty.", http.StatusBadRequest) return } // Validating mandatory parameters in request if requestData.LocationGranularity == "" { log.Error("Mandatory locationGranularity parameter not present") - http.Error(w, "Mandatory locationGranularity parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory attribute locationGranularity is missing in the request body.", http.StatusBadRequest) return } - if requestData.Routes == nil { - log.Error("Mandatory routes parameter not present") - http.Error(w, "Mandatory routes parameter not present", http.StatusBadRequest) + if requestData.Routes == nil || len(requestData.Routes) == 0 { + log.Error("Mandatory routes parameter is either empty or not present") + errHandlerProblemDetails(w, "Mandatory attribute routes is either empty or not present in the request.", http.StatusBadRequest) return } @@ -579,13 +579,13 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { for i, route := range requestData.Routes { if route.RouteInfo == nil { log.Error("Mandatory routeInfo parameter not present in routes") - http.Error(w, "Mandatory routeInfo parameter not present in routes", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory attribute routes.routeInfo not present in the request.", http.StatusBadRequest) return } if len(route.RouteInfo) < 2 { log.Error("At least two location points required in routeInfo") - http.Error(w, "At least two location points required in routeInfo", http.StatusBadRequest) + errHandlerProblemDetails(w, "At least two location points required in routeInfo structure.", http.StatusBadRequest) return } @@ -594,20 +594,20 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { // empty location attribute will cause a runtime error: invalid memory address or nil pointer dereference if routeInfo.Location == nil || routeInfo.Location.GeoArea == nil { log.Error("Mandatory attribute location is either empty or not present in routeInfo") - http.Error(w, "Mandatory attribute routes.routeInfo.location is either empty or not present in the request in at least one of the routeInfo structures.", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory attribute routes.routeInfo.location is either empty or not present in the request in at least one of the routeInfo structures.", http.StatusBadRequest) return } if routeInfo.Location.Ecgi != nil { log.Error("Ecgi is not supported in location for MEC Sandbox") - http.Error(w, "Ecgi is not supported inside location attribute, only geoArea is supported.", http.StatusBadRequest) + errHandlerProblemDetails(w, "Ecgi is not supported inside routes.routeInfo.location attribute, only geoArea is supported.", http.StatusBadRequest) return } isValidGeoArea := routeInfo.Location.GeoArea != nil && (routeInfo.Location.GeoArea.Latitude == 0 || routeInfo.Location.GeoArea.Longitude == 0) if isValidGeoArea { log.Error("Mandatory latitude/longitude parameter(s) either not present in geoArea or have a zero value") - http.Error(w, "At least one of the routeInfo structures either does not contain mandatory latitude/longitude parameter(s) in geoArea or have zero value(s).", http.StatusBadRequest) + errHandlerProblemDetails(w, "At least one of the routes.routeInfo structures either does not contain mandatory latitude / longitude parameter(s) in geoArea or have zero value(s).", http.StatusBadRequest) return } @@ -641,3 +641,14 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) fmt.Fprint(w, jsonResponse) } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} -- GitLab From c6c32447035d5ec10d69a7dfda9b91cc6de2855c Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 20 Apr 2022 15:43:34 +0200 Subject: [PATCH 059/183] Minor issue fixed in convertProblemDetailstoJson(); Add skeleton of meep-vis-traffic-mgr test script --- go-apps/meep-vis/server/convert.go | 2 +- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 120 ++++++++++++++++++ test/run-ut.sh | 1 + 3 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go diff --git a/go-apps/meep-vis/server/convert.go b/go-apps/meep-vis/server/convert.go index d2fe2005b..e20223608 100644 --- a/go-apps/meep-vis/server/convert.go +++ b/go-apps/meep-vis/server/convert.go @@ -34,7 +34,7 @@ func convertPredictedQostoJson(predictedQos *PredictedQos) string { func convertProblemDetailstoJson(probdetails *ProblemDetails) string { jsonInfo, err := json.Marshal(*probdetails) if err != nil { - log.Println(err.Error()) + log.Error(err.Error()) return "" } return string(jsonInfo) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go new file mode 100644 index 000000000..00b690843 --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -0,0 +1,120 @@ +package vistrafficmgr + +import ( + "fmt" + "testing" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" +) + +const ( // FIXME To be update with correct values at the end + amName = "pc" + amNamespace = "postgis-ns" + amDBUser = "postgres" + amDBPwd = "pwd" + amDBHost = "localhost" + amDBPort = "30432" +) + +func TestNewTrafficMgr(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Invalid Connector + fmt.Println("Invalid VIS Asset Manager") + tm, err := NewTrafficMgr("", amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + if err == nil || tm != nil { + t.Fatalf("DB connection should have failed") + } + tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, "invalid-host", amDBPort) + if err == nil || tm != nil { + t.Fatalf("DB connection should have failed") + } + tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, "invalid-port") + if err == nil || tm != nil { + t.Fatalf("DB connection should have failed") + } + tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, "invalid-pwd", amDBHost, amDBPort) + if err == nil || tm != nil { + t.Fatalf("DB connection should have failed") + } + + // Valid Connector + fmt.Println("Create valid VIS Asset Manager") + tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + if err != nil || tm == nil { + t.Fatalf("Failed to create VIS Asset Manager") + } + + // Cleanup + _ = tm.DeleteTable(TrafficTable) + + // Create tables + fmt.Println("Create Table") + err = tm.CreateTable() + if err != nil { + t.Fatalf("Failed to create table") + } + + // Cleanup + err = tm.DeleteTables() + if err != nil { + t.Fatalf("Failed to create table") + } + + // t.Fatalf("DONE") +} + +func TestTrafficMgrCreatePoa(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Create Connector + fmt.Println("Create valid VIS Asset Manager") + tm, err := NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + if err != nil || tm == nil { + t.Fatalf("Failed to create VIS Asset Manager") + } + + // Cleanup + _ = tm.DeleteTables() + + // Create tables + fmt.Println("Create Table") + err = tm.CreateTable() + if err != nil { + t.Fatalf("Failed to create tables") + } + + // Make sure POA load don't exist + fmt.Println("Verify no POA load present") + // TODO + /*poaMap, err := tm.GetAllPoaLoad() + if err != nil { + t.Fatalf("Failed to get all POA load") + } + if len(poaMap) != 0 { + t.Fatalf("No POA load should be present") + }*/ + + // Add Invalid POA load + fmt.Println("Create Invalid POA load") + // TODO + /*poaData := map[string]interface{}{ + } + err = tm.CreatePoaLoad("")*/ + + // Delete all & validate updates + fmt.Println("Delete all & validate updates") + // TODO + /*err = tm.DeleteAllPoaLoad() + if err != nil { + t.Fatalf("Failed to delete all POA load") + } + poaMap, err = tm.GetAllPoaLoad() + if err != nil || len(poaMap) != 0 { + t.Fatalf("POA load should no longer exist") + }*/ + + // t.Fatalf("DONE") +} diff --git a/test/run-ut.sh b/test/run-ut.sh index 781f69d47..8bce36857 100755 --- a/test/run-ut.sh +++ b/test/run-ut.sh @@ -15,6 +15,7 @@ GOAPPS=( GOPKGS=( meep-couch meep-gis-asset-mgr + meep-vis-traffic-mgr meep-metrics meep-model meep-mq -- GitLab From 54b72054a1bbd1aa6ae6378fc2af03bfbc843f86 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 20 Apr 2022 16:29:20 +0200 Subject: [PATCH 060/183] Enhance meep-vis-traffic-mgr test script --- .../meep-vis-traffic-mgr/traffic-mgr.go | 10 +++-- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 43 +++++++++++++++++-- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 9ab5777ab..8b6443450 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -41,10 +41,12 @@ const profiling = false var profilingTimers map[string]time.Time const ( - FieldTime1 = "time1" - FieldTime2 = "time2" - FieldTime3 = "time3" - FieldTime4 = "time4" + FieldId = "id" + FieldPoaName = "poaName" + FieldTime1 = "time1" + FieldTime2 = "time2" + FieldTime3 = "time3" + FieldTime4 = "time4" // FieldPath = "path" // FieldMode = "mode" // FieldVelocity = "velocity" diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index 00b690843..a8ce96d0b 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -14,6 +14,13 @@ const ( // FIXME To be update with correct values at the end amDBPwd = "pwd" amDBHost = "localhost" amDBPort = "30432" + + poa1Id = "poa1-Iid" + poa1Name = "poa1-name" + poa1Time1 = 0 + poa1Time2 = 0 + poa1Time3 = 0 + poa1Time4 = 0 ) func TestNewTrafficMgr(t *testing.T) { @@ -99,12 +106,40 @@ func TestTrafficMgrCreatePoa(t *testing.T) { // Add Invalid POA load fmt.Println("Create Invalid POA load") - // TODO - /*poaData := map[string]interface{}{ + poaData := map[string]interface{}{ + FieldId : poa1Id, + FieldPoaName : poa1Name, + FieldTime1 : poa1Time1, + FieldTime2 : poa1Time2, + FieldTime3 : poa1Time3, + FieldTime4 : poa1Time4, + } + err = tm.CreatePoaLoad("", poa1Name, poaData) + if err == nil { + t.Fatalf("POA load creation should have failed") + } + + // Add POA load & Validate successfully added + fmt.Println("Add POA load & Validate successfully added") + poaData = map[string]interface{}{ + FieldId : poa1Id, + FieldPoaName : poa1Name, + FieldTime1 : poa1Time1, + FieldTime2 : poa1Time2, + FieldTime3 : poa1Time3, + FieldTime4 : poa1Time4, + } + err = tm.CreatePoaLoad(poa1Id, poa1Name, poaData) + if err != nil { + t.Fatalf("Failed to create asset: " + err.Error()) + } + poaMap, err := tm.GetPoaLoad(poa1Name) + if err != nil || poaMap == nil { + t.Fatalf("Failed to get POA load") } - err = tm.CreatePoaLoad("")*/ + // TODO Validate + // Delete all & validate updatespoaMap - // Delete all & validate updates fmt.Println("Delete all & validate updates") // TODO /*err = tm.DeleteAllPoaLoad() -- GitLab From b0a44ebc9051708ade0046dcb16dc6fca978a191 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 21 Apr 2022 13:06:15 +0500 Subject: [PATCH 061/183] add postgres driver to traffic manager --- go-packages/meep-vis-traffic-mgr/go.mod | 5 ++++- go-packages/meep-vis-traffic-mgr/go.sum | 2 ++ go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/go-packages/meep-vis-traffic-mgr/go.mod b/go-packages/meep-vis-traffic-mgr/go.mod index c958e8958..dcff9736e 100644 --- a/go-packages/meep-vis-traffic-mgr/go.mod +++ b/go-packages/meep-vis-traffic-mgr/go.mod @@ -2,6 +2,9 @@ module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr go 1.16 -require github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 +require ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 + github.com/lib/pq v1.5.2 +) replace github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger diff --git a/go-packages/meep-vis-traffic-mgr/go.sum b/go-packages/meep-vis-traffic-mgr/go.sum index aa67933a6..7fff39489 100644 --- a/go-packages/meep-vis-traffic-mgr/go.sum +++ b/go-packages/meep-vis-traffic-mgr/go.sum @@ -2,6 +2,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= +github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 8b6443450..bf5bb4729 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -23,6 +23,8 @@ import ( "time" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + + _ "github.com/lib/pq" ) // DB Config -- GitLab From 5c26332866acabe568894721d1228ccc919636e0 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 21 Apr 2022 13:09:44 +0500 Subject: [PATCH 062/183] add traffic manager handling code in VIS SBI --- go-apps/meep-vis/go.mod | 2 ++ go-apps/meep-vis/go.sum | 2 ++ go-apps/meep-vis/sbi/vis-sbi.go | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/go-apps/meep-vis/go.mod b/go-apps/meep-vis/go.mod index d4f606d56..d760a7c07 100644 --- a/go-apps/meep-vis/go.mod +++ b/go-apps/meep-vis/go.mod @@ -18,6 +18,7 @@ require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-subscriptions v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr v0.0.0 github.com/gorilla/handlers v1.5.1 github.com/gorilla/mux v1.8.0 github.com/prometheus/client_golang v1.9.0 @@ -40,5 +41,6 @@ replace ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client => ../../go-packages/meep-service-mgmt-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-subscriptions => ../../go-packages/meep-subscriptions github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr => ../../go-packages/meep-swagger-api-mgr + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr => ../../go-packages/meep-vis-traffic-mgr github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-websocket => ../../go-packages/meep-websocket ) diff --git a/go-apps/meep-vis/go.sum b/go-apps/meep-vis/go.sum index 317057dae..67351cd4d 100644 --- a/go-apps/meep-vis/go.sum +++ b/go-apps/meep-vis/go.sum @@ -176,6 +176,8 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= +github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 58625bf02..cb125bdd5 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -26,6 +26,7 @@ import ( mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" sam "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr" + tm "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr" ) const moduleName string = "meep-vis-sbi" @@ -34,6 +35,9 @@ var metricStore *met.MetricStore var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" +const postgisUser = "postgres" +const postgisPwd = "pwd" + type SbiCfg struct { ModuleName string SandboxName string @@ -59,6 +63,7 @@ type VisSbi struct { apiMgr *sam.SwaggerApiMgr activeModel *mod.Model gisCache *gc.GisCache + trafficMgr *tm.TrafficMgr updateScenarioNameCB func(string) cleanUpCB func() mutex sync.Mutex @@ -132,6 +137,25 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Connected to GIS Cache") + // Connect to VIS Traffic Manager + sbi.trafficMgr, err = tm.NewTrafficMgr(moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") + if err != nil { + log.Error("Failed connection to VIS Traffic Manager: ", err) + return err + } + log.Info("Connected to VIS Traffic Manager") + + // Delete any old tables + _ = sbi.trafficMgr.DeleteTables() + + // Create new tables + err = sbi.trafficMgr.CreateTable() + if err != nil { + log.Error("Failed to create table: ", err) + return err + } + log.Info("Created new VIS DB table") + // Initialize service processActiveScenarioUpdate() @@ -192,6 +216,15 @@ func Stop() (err error) { } } + // Delete VIS Traffic Manager + if sbi.trafficMgr != nil { + err = sbi.trafficMgr.DeleteTrafficMgr() + if err != nil { + log.Error(err.Error()) + return err + } + } + return nil } @@ -218,6 +251,9 @@ func processActiveScenarioTerminate() { // Sync with active scenario store sbi.activeModel.UpdateScenario() + // Flush all Traffic Manger tables + _ = sbi.trafficMgr.DeleteTables() + sbi.cleanUpCB() } -- GitLab From af0728d8a9b522c42b42c9ac96c4a6c5a19f111c Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 22 Apr 2022 15:04:03 +0500 Subject: [PATCH 063/183] add new tables and handler functions for traffic manager --- go-apps/meep-vis/sbi/vis-sbi.go | 14 +- .../meep-vis-traffic-mgr/traffic-mgr.go | 385 +++++++++++++----- 2 files changed, 299 insertions(+), 100 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index cb125bdd5..30e731332 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -149,12 +149,20 @@ func Init(cfg SbiCfg) (err error) { _ = sbi.trafficMgr.DeleteTables() // Create new tables - err = sbi.trafficMgr.CreateTable() + err = sbi.trafficMgr.CreateTables() if err != nil { - log.Error("Failed to create table: ", err) + log.Error("Failed to create tables: ", err) return err } - log.Info("Created new VIS DB table") + log.Info("Created new VIS DB tables") + + // Populate VIS DB Tables + err = sbi.trafficMgr.PopulateCategoryTable() + if err != nil { + log.Error("Failed to populate categories table: ", err) + return err + } + log.Info("Created new VIS DB categories table") // Initialize service processActiveScenarioUpdate() diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index bf5bb4729..018c4c098 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -43,39 +43,58 @@ const profiling = false var profilingTimers map[string]time.Time const ( - FieldId = "id" - FieldPoaName = "poaName" - FieldTime1 = "time1" - FieldTime2 = "time2" - FieldTime3 = "time3" - FieldTime4 = "time4" - // FieldPath = "path" - // FieldMode = "mode" - // FieldVelocity = "velocity" - // FieldConnected = "connected" - // FieldPriority = "priority" - // FieldSubtype = "subtype" - // FieldRadius = "radius" + FieldCategory = "category" + FieldPoaName = "poaName" + FieldZeroToThree = "0000-0300" + FieldThreeToSix = "0300-0600" + FieldSixToNine = "0600-0900" + FieldNineToTwelve = "0900-1200" + FieldTwelveToFifteen = "1200-1500" + FieldFifteenToEighteen = "1500-1800" + FieldEighteenToTwentyOne = "1800-2100" + FieldTwentyOneToTwentyFour = "2100-2400" ) // DB Table Names const ( - TrafficTable = "traffic_patterns" + GridTable = "grid_map" + CategoryTable = "categories" + TrafficTable = "traffic_patterns" ) -// Asset Types -const ( - TypePoa = "POA" -) - -// POA Types -// const ( -// PoaTypeGeneric = "POA" -// PoaTypeCell4g = "POA-4G" -// PoaTypeCell5g = "POA-5G" -// PoaTypeWifi = "POA-WIFI" -// PoaTypeDisconnected = "DISCONNECTED" -// ) +// Category-wise Traffic Loads +var categoriesLoads = map[string]map[string]int32{ + "commercial": { + "0000:0300": 1, + "0300-0600": 3, + "0600-0900": 8, + "0900-1200": 12, + "1200-1500": 15, + "1500-1800": 10, + "1800-2100": 5, + "2100-2400": 2, + }, + "residential": { + "0000:0300": 5, + "0300-0600": 2, + "0600-0900": 10, + "0900-1200": 8, + "1200-1500": 5, + "1500-1800": 12, + "1800-2100": 15, + "2100-2400": 8, + }, + "beach": { + "0000:0300": 2, + "0300-0600": 5, + "0600-0900": 8, + "0900-1200": 10, + "1200-1500": 20, + "1500-1800": 15, + "1800-2100": 5, + "2100-2400": 2, + }, +} // VIS Traffic Manager type TrafficMgr struct { @@ -91,13 +110,29 @@ type TrafficMgr struct { // updateCb func(string, string) } -type PoaTimes struct { - Id string - PoaName string - Time1 int32 - Time2 int32 - Time3 int32 - Time4 int32 +type PoaLoads struct { + PoaName string + Category string + ZeroToThree int32 + ThreeToSix int32 + SixToNine int32 + NineToTwelve int32 + TwelveToFifteen int32 + FifteenToEighteen int32 + EighteenToTwentyOne int32 + TwentyOneToTwentyFour int32 +} + +type CategoryLoads struct { + Category string + ZeroToThree int32 + ThreeToSix int32 + SixToNine int32 + NineToTwelve int32 + TwelveToFifteen int32 + FifteenToEighteen int32 + EighteenToTwentyOne int32 + TwentyOneToTwentyFour int32 } // Profiling init @@ -257,38 +292,73 @@ func (tm *TrafficMgr) DestroyDb(name string) (err error) { return nil } -func (tm *TrafficMgr) CreateTable() (err error) { +func (tm *TrafficMgr) CreateTables() (err error) { _, err = tm.db.Exec("CREATE EXTENSION IF NOT EXISTS postgis") if err != nil { log.Error(err.Error()) return err } - _, err = tm.db.Exec(`CREATE TABLE ` + TrafficTable + ` ( + // Grid Table + _, err = tm.db.Exec(`CREATE TABLE ` + GridTable + ` ( id varchar(36) NOT NULL, - poaName varchar(100) NOT NULL UNIQUE, - time1 integer NOT NULL DEFAULT '0', - time2 integer NOT NULL DEFAULT '0', - time3 integer NOT NULL DEFAULT '0', - time4 integer NOT NULL DEFAULT '0', + category varchar(100) NOT NULL, + grid geometry(POLYGON,4326), PRIMARY KEY (id) )`) if err != nil { log.Error(err.Error()) return err } - log.Info("Created Traffic table: ", TrafficTable) + log.Info("Created Grids table: ", GridTable) + + // Categories Table + _, err = tm.db.Exec(`CREATE TABLE ` + CategoryTable + ` ( + category varchar(100) NOT NULL UNIQUE, + "0000-0300" integer NOT NULL DEFAULT '0', + "0300-0600" integer NOT NULL DEFAULT '0', + "0600-0900" integer NOT NULL DEFAULT '0', + "0900-1200" integer NOT NULL DEFAULT '0', + "1200-1500" integer NOT NULL DEFAULT '0', + "1500-1800" integer NOT NULL DEFAULT '0', + "1800-2100" integer NOT NULL DEFAULT '0', + "2100-2400" integer NOT NULL DEFAULT '0', + PRIMARY KEY (category) + )`) + if err != nil { + log.Error(err.Error()) + return err + } + log.Info("Created Categories table: ", CategoryTable) + + // Traffic Load Table + _, err = tm.db.Exec(`CREATE TABLE ` + TrafficTable + ` ( + poa_name varchar(100) NOT NULL UNIQUE, + category varchar(100) NOT NULL, + "0000-0300" integer NOT NULL DEFAULT '0', + "0300-0600" integer NOT NULL DEFAULT '0', + "0600-0900" integer NOT NULL DEFAULT '0', + "0900-1200" integer NOT NULL DEFAULT '0', + "1200-1500" integer NOT NULL DEFAULT '0', + "1500-1800" integer NOT NULL DEFAULT '0', + "1800-2100" integer NOT NULL DEFAULT '0', + "2100-2400" integer NOT NULL DEFAULT '0', + PRIMARY KEY (poa_name) + )`) + if err != nil { + log.Error(err.Error()) + return err + } + log.Info("Created Traffic Loads table: ", TrafficTable) return nil } // DeleteTables - Delete all postgis traffic tables func (tm *TrafficMgr) DeleteTables() (err error) { - err = tm.DeleteTable(TrafficTable) - if err != nil { - log.Error(err.Error()) - return err - } + _ = tm.DeleteTable(GridTable) + _ = tm.DeleteTable(CategoryTable) + _ = tm.DeleteTable(TrafficTable) return nil } @@ -303,66 +373,94 @@ func (tm *TrafficMgr) DeleteTable(tableName string) (err error) { return nil } -// CreatePoaLoad - Create new POA -func (tm *TrafficMgr) CreatePoaLoad(id string, poaName string, data map[string]interface{}) (err error) { +// CreateCategoryLoad - Create new Category Load +func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) (err error) { if profiling { - profilingTimers["CreatePoaLoad"] = time.Now() + profilingTimers["CreateCategoryLoad"] = time.Now() } - var time1 int32 - var time2 int32 - var time3 int32 - var time4 int32 - var ok bool + var loadTime []int32 // Validate input - if id == "" { - return errors.New("Missing ID") + if category == "" { + return errors.New("Missing category name") + } + + fields := []string{ + FieldZeroToThree, + FieldThreeToSix, + FieldSixToNine, + FieldNineToTwelve, + FieldTwelveToFifteen, + FieldFifteenToEighteen, + FieldEighteenToTwentyOne, + FieldTwentyOneToTwentyFour, + } + for i, field := range fields { + if _, found := data[field]; !found { + return errors.New("Missing time field" + field) + } else if loadTime[i] == 0 { + return errors.New("Invalid " + field) + } } - if poaName == "" { - return errors.New("Missing POA Name") + + // Create Traffic Load entry + query := `INSERT INTO ` + CategoryTable + + ` (category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") + VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)` + _, err = tm.db.Exec(query, category, loadTime[0:8]) + if err != nil { + log.Error(err.Error()) + return err } - // Get time1 - if dataTime1, found := data[FieldTime1]; !found { - return errors.New("Missing subtype") - } else if time1, ok = dataTime1.(int32); !ok { - return errors.New("Invalid subtype data type") - } else if time1 == 0 { - return errors.New("Invalid time1") + // Notify listener + // tm.notifyListener(TypePoa, name) + + if profiling { + now := time.Now() + log.Debug("CreatePoaLoad: ", now.Sub(profilingTimers["CreatePoaLoad"])) + } + return nil +} + +// CreatePoaLoad - Create new POA Load +func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) { + if profiling { + profilingTimers["CreatePoaLoad"] = time.Now() } - // Get time2 - if dataTime2, found := data[FieldTime2]; !found { - return errors.New("Missing subtype") - } else if time2, ok = dataTime2.(int32); !ok { - return errors.New("Invalid subtype data type") - } else if time2 == 0 { - return errors.New("Invalid time2") + // Validate input + if poaName == "" { + return errors.New("Missing POA Name") + } + if category == "" { + return errors.New("Missing category name") } - // Get time3 - if dataTime3, found := data[FieldTime3]; !found { - return errors.New("Missing subtype") - } else if time3, ok = dataTime3.(int32); !ok { - return errors.New("Invalid subtype data type") - } else if time3 == 0 { - return errors.New("Invalid time3") + // Get Load entry from Categories Table + categoryLoads, err := tm.GetCategoryLoad(category) + if err != nil { + log.Error(err.Error()) + return err } - // Get time4 - if dataTime4, found := data[FieldTime4]; !found { - return errors.New("Missing subtype") - } else if time4, ok = dataTime4.(int32); !ok { - return errors.New("Invalid subtype data type") - } else if time4 == 0 { - return errors.New("Invalid time4") + loadTime := []int32{ + categoryLoads.ZeroToThree, + categoryLoads.ThreeToSix, + categoryLoads.SixToNine, + categoryLoads.NineToTwelve, + categoryLoads.TwelveToFifteen, + categoryLoads.FifteenToEighteen, + categoryLoads.EighteenToTwentyOne, + categoryLoads.TwentyOneToTwentyFour, } // Create Traffic Load entry - query := `INSERT INTO ` + TrafficTable + ` (id, poaName, time1, time2, time3, time4) - VALUES ($1, $2, $3, $4, $5, $6)` - _, err = tm.db.Exec(query, id, poaName, time1, time2, time3, time4) + query := `INSERT INTO ` + TrafficTable + + ` (poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") + VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)` + _, err = tm.db.Exec(query, poaName, category, loadTime[0:8]) if err != nil { log.Error(err.Error()) return err @@ -379,7 +477,7 @@ func (tm *TrafficMgr) CreatePoaLoad(id string, poaName string, data map[string]i } // GetPoaLoad - Get POA Load information -func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) { +func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaLoads *PoaLoads, err error) { if profiling { profilingTimers["GetPoaLoad"] = time.Now() } @@ -393,7 +491,7 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) // Get Poa entry var rows *sql.Rows rows, err = tm.db.Query(` - SELECT id, name, time1, time2, time3, time4 + SELECT id, poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" FROM `+TrafficTable+` WHERE name = ($1)`, poaName) if err != nil { @@ -404,8 +502,19 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) // Scan result for rows.Next() { - poaTimes = new(PoaTimes) - err = rows.Scan(&poaTimes.Id, &poaTimes.PoaName, &poaTimes.Time1, &poaTimes.Time2, &poaTimes.Time3, &poaTimes.Time4) + poaLoads = new(PoaLoads) + err = rows.Scan( + &poaLoads.PoaName, + &poaLoads.Category, + &poaLoads.ZeroToThree, + &poaLoads.ThreeToSix, + &poaLoads.SixToNine, + &poaLoads.NineToTwelve, + &poaLoads.TwelveToFifteen, + &poaLoads.FifteenToEighteen, + &poaLoads.EighteenToTwentyOne, + &poaLoads.TwentyOneToTwentyFour, + ) if err != nil { log.Error(err.Error()) return nil, err @@ -417,8 +526,8 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) } // Return error if not found - if poaTimes == nil { - err = errors.New("POA not found: " + poaName) + if poaLoads == nil { + err = errors.New("POA Load not found: " + poaName) return nil, err } @@ -426,5 +535,87 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaTimes *PoaTimes, err error) now := time.Now() log.Debug("GetPoaLoad: ", now.Sub(profilingTimers["GetPoaLoad"])) } - return poaTimes, nil + return poaLoads, nil +} + +// GetCategoryLoad - Get POA Load information +func (tm *TrafficMgr) GetCategoryLoad(category string) (categoryLoads *CategoryLoads, err error) { + if profiling { + profilingTimers["GetCategoryLoad"] = time.Now() + } + + // Validate input + if category == "" { + err = errors.New("Missing category name") + return nil, err + } + + // Get Category Load entry + var rows *sql.Rows + rows, err = tm.db.Query(` + SELECT category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + FROM `+CategoryTable+` + WHERE category = ($1)`, category) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan result + for rows.Next() { + categoryLoads = new(CategoryLoads) + err = rows.Scan( + &categoryLoads.Category, + &categoryLoads.ZeroToThree, + &categoryLoads.ThreeToSix, + &categoryLoads.SixToNine, + &categoryLoads.NineToTwelve, + &categoryLoads.TwelveToFifteen, + &categoryLoads.FifteenToEighteen, + &categoryLoads.EighteenToTwentyOne, + &categoryLoads.TwentyOneToTwentyFour, + ) + if err != nil { + log.Error(err.Error()) + return nil, err + } + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + // Return error if not found + if categoryLoads == nil { + err = errors.New("Category Load not found: " + category) + return nil, err + } + + if profiling { + now := time.Now() + log.Debug("GetCategoryLoad: ", now.Sub(profilingTimers["GetCategoryLoad"])) + } + return categoryLoads, nil +} + +// PopulateCategoryTable - Populate the categories table +func (tm *TrafficMgr) PopulateCategoryTable() (err error) { + if profiling { + profilingTimers["PopulateCategoryTable"] = time.Now() + } + + for category, loads := range categoriesLoads { + err = tm.CreateCategoryLoad(category, loads) + if err != nil { + log.Error(err.Error()) + return err + } + } + + if profiling { + now := time.Now() + log.Debug("PopulateCategoryTable: ", now.Sub(profilingTimers["PopulateCategoryTable"])) + } + return nil } -- GitLab From 012495131ddf7c94c7ed42ff06f35805d42c98b8 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 22 Apr 2022 15:22:26 +0500 Subject: [PATCH 064/183] change module name to be used by traffic manager DB --- go-apps/meep-vis/sbi/vis-sbi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 30e731332..af3d34afa 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -138,7 +138,7 @@ func Init(cfg SbiCfg) (err error) { log.Info("Connected to GIS Cache") // Connect to VIS Traffic Manager - sbi.trafficMgr, err = tm.NewTrafficMgr(moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") + sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") if err != nil { log.Error("Failed connection to VIS Traffic Manager: ", err) return err -- GitLab From 8a3fd2f166308abda3a21371c32b6cd27c2fe28a Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 22 Apr 2022 15:32:39 +0500 Subject: [PATCH 065/183] replace colon with hyphen in a time string in traffic manager --- go-apps/meep-vis/sbi/vis-sbi.go | 2 +- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index af3d34afa..41984f689 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -259,7 +259,7 @@ func processActiveScenarioTerminate() { // Sync with active scenario store sbi.activeModel.UpdateScenario() - // Flush all Traffic Manger tables + // Flush all Traffic Manager tables _ = sbi.trafficMgr.DeleteTables() sbi.cleanUpCB() diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 018c4c098..fdd944966 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -65,7 +65,7 @@ const ( // Category-wise Traffic Loads var categoriesLoads = map[string]map[string]int32{ "commercial": { - "0000:0300": 1, + "0000-0300": 1, "0300-0600": 3, "0600-0900": 8, "0900-1200": 12, @@ -75,7 +75,7 @@ var categoriesLoads = map[string]map[string]int32{ "2100-2400": 2, }, "residential": { - "0000:0300": 5, + "0000-0300": 5, "0300-0600": 2, "0600-0900": 10, "0900-1200": 8, @@ -85,7 +85,7 @@ var categoriesLoads = map[string]map[string]int32{ "2100-2400": 8, }, "beach": { - "0000:0300": 2, + "0000-0300": 2, "0300-0600": 5, "0600-0900": 8, "0900-1200": 10, @@ -398,7 +398,7 @@ func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) } for i, field := range fields { if _, found := data[field]; !found { - return errors.New("Missing time field" + field) + return errors.New("Missing time field " + field) } else if loadTime[i] == 0 { return errors.New("Invalid " + field) } -- GitLab From 24fe68e59fb4f2ebcf5a2278c3d5dd18598271b6 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 22 Apr 2022 16:53:43 +0500 Subject: [PATCH 066/183] separately populate values in CreateCategoryLoad function in traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index fdd944966..ce8c9a8c7 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -396,19 +396,18 @@ func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) FieldEighteenToTwentyOne, FieldTwentyOneToTwentyFour, } - for i, field := range fields { + for _, field := range fields { if _, found := data[field]; !found { return errors.New("Missing time field " + field) - } else if loadTime[i] == 0 { - return errors.New("Invalid " + field) } + loadTime = append(loadTime, data[field]) } // Create Traffic Load entry query := `INSERT INTO ` + CategoryTable + ` (category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)` - _, err = tm.db.Exec(query, category, loadTime[0:8]) + _, err = tm.db.Exec(query, category, loadTime[0], loadTime[1], loadTime[2], loadTime[3], loadTime[4], loadTime[5], loadTime[6], loadTime[7]) if err != nil { log.Error(err.Error()) return err -- GitLab From 229d7e2eb980a500e59af32355282570c687b757 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 25 Apr 2022 11:36:46 +0500 Subject: [PATCH 067/183] add code for populating traffic load table of traffic manager --- go-apps/meep-vis/sbi/vis-sbi.go | 19 ++++++- .../meep-vis-traffic-mgr/traffic-mgr.go | 52 ++++++++++++++++++- 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 41984f689..16bd267d6 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -162,7 +162,14 @@ func Init(cfg SbiCfg) (err error) { log.Error("Failed to populate categories table: ", err) return err } - log.Info("Created new VIS DB categories table") + log.Info("Populated VIS DB categories table") + + err = populatePoaTable() + if err != nil { + log.Error("Failed to populate traffic load table: ", err) + return err + } + log.Info("Populated VIS DB traffic load table") // Initialize service processActiveScenarioUpdate() @@ -289,3 +296,13 @@ func processActiveScenarioUpdate() { } } } + +func populatePoaTable() (err error) { + poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoa4G, mod.NodeTypePoa5G, mod.NodeTypePoaWifi, mod.NodeTypePoa) + err = sbi.trafficMgr.PopulateStaticPoaLoad(poaNameList) + if err != nil { + log.Error(err.Error()) + return err + } + return nil +} diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index ce8c9a8c7..e9d9c9211 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -459,7 +459,7 @@ func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) query := `INSERT INTO ` + TrafficTable + ` (poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)` - _, err = tm.db.Exec(query, poaName, category, loadTime[0:8]) + _, err = tm.db.Exec(query, poaName, category, loadTime[0], loadTime[1], loadTime[2], loadTime[3], loadTime[4], loadTime[5], loadTime[6], loadTime[7]) if err != nil { log.Error(err.Error()) return err @@ -618,3 +618,53 @@ func (tm *TrafficMgr) PopulateCategoryTable() (err error) { } return nil } + +// PopulateStaticPoaLoad - Populate the Traffic Load table with static data +func (tm *TrafficMgr) PopulateStaticPoaLoad(poaMap []string) (err error) { + var poaCategoryMap = map[string]string{ + "4g-macro-cell-6": "commercial", + "4g-macro-cell-7": "commercial", + "5g-small-cell-4": "commercial", + "5g-small-cell-5": "commercial", + "5g-small-cell-6": "commercial", + "5g-small-cell-7": "commercial", + "5g-small-cell-10": "commercial", + "5g-small-cell-11": "commercial", + "5g-small-cell-12": "commercial", + "4g-macro-cell-1": "residential", + "4g-macro-cell-2": "residential", + "4g-macro-cell-3": "residential", + "4g-macro-cell-4": "residential", + "4g-macro-cell-5": "residential", + "4g-macro-cell-8": "residential", + "4g-macro-cell-9": "residential", + "5g-small-cell-1": "residential", + "5g-small-cell-2": "residential", + "5g-small-cell-3": "residential", + "5g-small-cell-8": "residential", + "5g-small-cell-9": "residential", + "5g-small-cell-13": "residential", + "5g-small-cell-14": "residential", + "5g-small-cell-15": "residential", + "4g-macro-cell-10": "beach", + "5g-small-cell-16": "beach", + "5g-small-cell-17": "beach", + "5g-small-cell-18": "beach", + "5g-small-cell-19": "beach", + "5g-small-cell-20": "beach", + } + + for _, poaName := range poaMap { + for poa, category := range poaCategoryMap { + if poa == poaName { + err = tm.CreatePoaLoad(poaName, category) + if err != nil { + log.Error(err.Error()) + return err + } + } + } + } + + return nil +} -- GitLab From 685e312099f6297205d71e161cefe5bbdf480ab5 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 25 Apr 2022 17:40:09 +0500 Subject: [PATCH 068/183] initialize scenario before populating traffic load table --- go-apps/meep-vis/sbi/vis-sbi.go | 13 +++++++------ go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 16bd267d6..24221a148 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -132,7 +132,7 @@ func Init(cfg SbiCfg) (err error) { // Connect to GIS cache sbi.gisCache, err = gc.NewGisCache(sbi.sandboxName, cfg.RedisAddr) if err != nil { - log.Error("Failed to GIS Cache: ", err.Error()) + log.Error("Failed to connect to GIS Cache: ", err.Error()) return err } log.Info("Connected to GIS Cache") @@ -156,7 +156,7 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Created new VIS DB tables") - // Populate VIS DB Tables + // Populate VIS DB Categories Table err = sbi.trafficMgr.PopulateCategoryTable() if err != nil { log.Error("Failed to populate categories table: ", err) @@ -164,6 +164,10 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Populated VIS DB categories table") + // Initialize service + processActiveScenarioUpdate() + + // Populate VIS DB Traffic Load Table err = populatePoaTable() if err != nil { log.Error("Failed to populate traffic load table: ", err) @@ -171,9 +175,6 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Populated VIS DB traffic load table") - // Initialize service - processActiveScenarioUpdate() - return nil } @@ -298,7 +299,7 @@ func processActiveScenarioUpdate() { } func populatePoaTable() (err error) { - poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoa4G, mod.NodeTypePoa5G, mod.NodeTypePoaWifi, mod.NodeTypePoa) + poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoa4G, mod.NodeTypePoa5G) err = sbi.trafficMgr.PopulateStaticPoaLoad(poaNameList) if err != nil { log.Error(err.Error()) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index e9d9c9211..4b8bd638b 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -418,7 +418,7 @@ func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) if profiling { now := time.Now() - log.Debug("CreatePoaLoad: ", now.Sub(profilingTimers["CreatePoaLoad"])) + log.Debug("CreateCategoryLoad: ", now.Sub(profilingTimers["CreateCategoryLoad"])) } return nil } @@ -458,7 +458,7 @@ func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) // Create Traffic Load entry query := `INSERT INTO ` + TrafficTable + ` (poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") - VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)` + VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)` _, err = tm.db.Exec(query, poaName, category, loadTime[0], loadTime[1], loadTime[2], loadTime[3], loadTime[4], loadTime[5], loadTime[6], loadTime[7]) if err != nil { log.Error(err.Error()) @@ -620,7 +620,7 @@ func (tm *TrafficMgr) PopulateCategoryTable() (err error) { } // PopulateStaticPoaLoad - Populate the Traffic Load table with static data -func (tm *TrafficMgr) PopulateStaticPoaLoad(poaMap []string) (err error) { +func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { var poaCategoryMap = map[string]string{ "4g-macro-cell-6": "commercial", "4g-macro-cell-7": "commercial", @@ -654,7 +654,7 @@ func (tm *TrafficMgr) PopulateStaticPoaLoad(poaMap []string) (err error) { "5g-small-cell-20": "beach", } - for _, poaName := range poaMap { + for _, poaName := range poaNameList { for poa, category := range poaCategoryMap { if poa == poaName { err = tm.CreatePoaLoad(poaName, category) -- GitLab From a3e919f420ce2d1e5a3c28483a2b46947422149d Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 26 Apr 2022 09:16:03 +0200 Subject: [PATCH 069/183] Enhance TestTrafficMgrCreateCategory test --- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 170 ++++++++++++------ 1 file changed, 112 insertions(+), 58 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index a8ce96d0b..f9fccf288 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -8,19 +8,23 @@ import ( ) const ( // FIXME To be update with correct values at the end - amName = "pc" - amNamespace = "postgis-ns" - amDBUser = "postgres" - amDBPwd = "pwd" - amDBHost = "localhost" - amDBPort = "30432" - - poa1Id = "poa1-Iid" - poa1Name = "poa1-name" - poa1Time1 = 0 - poa1Time2 = 0 - poa1Time3 = 0 - poa1Time4 = 0 + tmName = "pc" + tmNamespace = "postgis-ns" + tmDBUser = "postgres" + tmDBPwd = "pwd" + tmDBHost = "localhost" + tmDBPort = "30432" + + category1 = "poa1-category" + poaName1 = "poa1-name" + zeroToThree1 = 0 + threeToSix1 = 0 + sixToNine1 = 0 + nineToTwelve1 = 0 + twelveToFifteen1 = 0 + fifteenToEighteen1 = 0 + eighteenToTwentyOne1 = 0 + twentyOneToTwentyFour1 = 0 ) func TestNewTrafficMgr(t *testing.T) { @@ -29,36 +33,36 @@ func TestNewTrafficMgr(t *testing.T) { // Invalid Connector fmt.Println("Invalid VIS Asset Manager") - tm, err := NewTrafficMgr("", amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + tm, err := NewTrafficMgr("", tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) if err == nil || tm != nil { t.Fatalf("DB connection should have failed") } - tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, "invalid-host", amDBPort) + tm, err = NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, "invalid-host", tmDBPort) if err == nil || tm != nil { t.Fatalf("DB connection should have failed") } - tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, "invalid-port") + tm, err = NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, "invalid-port") if err == nil || tm != nil { t.Fatalf("DB connection should have failed") } - tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, "invalid-pwd", amDBHost, amDBPort) + tm, err = NewTrafficMgr(tmName, tmNamespace, tmDBUser, "invalid-pwd", tmDBHost, tmDBPort) if err == nil || tm != nil { t.Fatalf("DB connection should have failed") } // Valid Connector fmt.Println("Create valid VIS Asset Manager") - tm, err = NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + tm, err = NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) if err != nil || tm == nil { t.Fatalf("Failed to create VIS Asset Manager") } // Cleanup - _ = tm.DeleteTable(TrafficTable) + _ = tm.DeleteTables() // Create tables - fmt.Println("Create Table") - err = tm.CreateTable() + fmt.Println("Create Tables") + err = tm.CreateTables() if err != nil { t.Fatalf("Failed to create table") } @@ -72,13 +76,13 @@ func TestNewTrafficMgr(t *testing.T) { // t.Fatalf("DONE") } -func TestTrafficMgrCreatePoa(t *testing.T) { +func TestTrafficMgrCreateCategory(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) // Create Connector fmt.Println("Create valid VIS Asset Manager") - tm, err := NewTrafficMgr(amName, amNamespace, amDBUser, amDBPwd, amDBHost, amDBPort) + tm, err := NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) if err != nil || tm == nil { t.Fatalf("Failed to create VIS Asset Manager") } @@ -87,69 +91,119 @@ func TestTrafficMgrCreatePoa(t *testing.T) { _ = tm.DeleteTables() // Create tables - fmt.Println("Create Table") - err = tm.CreateTable() + fmt.Println("Create Tables") + err = tm.CreateTables() if err != nil { t.Fatalf("Failed to create tables") } - // Make sure POA load don't exist - fmt.Println("Verify no POA load present") - // TODO - /*poaMap, err := tm.GetAllPoaLoad() + // Make sure Category don't exist + /*fmt.Println("Verify no Category present") + catMap, err := tm.GetAllCategoryLoad() if err != nil { - t.Fatalf("Failed to get all POA load") + t.Fatalf("Failed to get all Category") } - if len(poaMap) != 0 { - t.Fatalf("No POA load should be present") + if len(catMap) != 0 { + t.Fatalf("No Category should be present") }*/ - // Add Invalid POA load - fmt.Println("Create Invalid POA load") - poaData := map[string]interface{}{ - FieldId : poa1Id, - FieldPoaName : poa1Name, - FieldTime1 : poa1Time1, - FieldTime2 : poa1Time2, - FieldTime3 : poa1Time3, - FieldTime4 : poa1Time4, - } - err = tm.CreatePoaLoad("", poa1Name, poaData) + // Add Invalid Category + fmt.Println("Create Invalid Category") + catData := map[string]int32{ + FieldZeroToThree: zeroToThree1, + FieldThreeToSix: threeToSix1, + FieldSixToNine: sixToNine1, + FieldNineToTwelve: nineToTwelve1, + FieldTwelveToFifteen: twelveToFifteen1, + FieldFifteenToEighteen: fifteenToEighteen1, + FieldEighteenToTwentyOne: eighteenToTwentyOne1, + FieldTwentyOneToTwentyFour: twentyOneToTwentyFour1, + } + err = tm.CreateCategoryLoad("", catData) // Invalid category field value if err == nil { t.Fatalf("POA load creation should have failed") } // Add POA load & Validate successfully added - fmt.Println("Add POA load & Validate successfully added") - poaData = map[string]interface{}{ - FieldId : poa1Id, - FieldPoaName : poa1Name, - FieldTime1 : poa1Time1, - FieldTime2 : poa1Time2, - FieldTime3 : poa1Time3, - FieldTime4 : poa1Time4, - } - err = tm.CreatePoaLoad(poa1Id, poa1Name, poaData) + catData = map[string]int32{ + FieldZeroToThree: zeroToThree1, + FieldThreeToSix: threeToSix1, + FieldSixToNine: sixToNine1, + FieldNineToTwelve: nineToTwelve1, + FieldTwelveToFifteen: twelveToFifteen1, + FieldFifteenToEighteen: fifteenToEighteen1, + FieldEighteenToTwentyOne: eighteenToTwentyOne1, + FieldTwentyOneToTwentyFour: twentyOneToTwentyFour1, + } + err = tm.CreateCategoryLoad(category1, catData) if err != nil { t.Fatalf("Failed to create asset: " + err.Error()) } - poaMap, err := tm.GetPoaLoad(poa1Name) - if err != nil || poaMap == nil { + catMap, err := tm.GetCategoryLoad(category1) + if err != nil || catMap == nil { t.Fatalf("Failed to get POA load") } - // TODO Validate + // Validate + if !validateCategory(catMap, category1, zeroToThree1, threeToSix1, sixToNine1, nineToTwelve1, twelveToFifteen1, fifteenToEighteen1, eighteenToTwentyOne1, twentyOneToTwentyFour1) { + t.Fatalf("Category validation failed") + } // Delete all & validate updatespoaMap fmt.Println("Delete all & validate updates") // TODO - /*err = tm.DeleteAllPoaLoad() + /*err = tm.DeleteAllCategory() if err != nil { t.Fatalf("Failed to delete all POA load") } - poaMap, err = tm.GetAllPoaLoad() + poaMap, err = tm.GetAllCategory() if err != nil || len(poaMap) != 0 { t.Fatalf("POA load should no longer exist") }*/ // t.Fatalf("DONE") } + +func validateCategory(categoryLoads *CategoryLoads, category string, zeroToThree int32, threeToSix int32, sixToNine int32, nineToTwelve int32, twelveToFifteen int32, fifteenToEighteen int32, eighteenToTwentyOne int32, twentyOneToTwentyFour int32) bool { + if categoryLoads == nil { + fmt.Println("categoryLoads == nil") + return false + } + if categoryLoads.Category != category { + fmt.Println("CategoryLoads.Category != category") + return false + } + if categoryLoads.ZeroToThree != zeroToThree { + fmt.Println("CategoryLoads.ZeroToThree != zeroToThree") + return false + } + if categoryLoads.ThreeToSix != threeToSix { + fmt.Println("CategoryLoads.ThreeToSix != threeToSix") + return false + } + if categoryLoads.SixToNine != sixToNine { + fmt.Println("CategoryLoads.SixToNine != sixToNine") + return false + } + if categoryLoads.NineToTwelve != nineToTwelve { + fmt.Println("CategoryLoads.NineToTwelve != nineToTwelve") + return false + } + if categoryLoads.EighteenToTwentyOne != eighteenToTwentyOne { + fmt.Println("CategoryLoads.EighteenToTwentyOne != eighteenToTwentyOne") + return false + } + if categoryLoads.FifteenToEighteen != fifteenToEighteen { + fmt.Println("CategoryLoads.FifteenToEighteen != fifteenToEighteen") + return false + } + if categoryLoads.FifteenToEighteen != fifteenToEighteen { + fmt.Println("CategoryLoads.FifteenToEighteen != fifteenToEighteen") + return false + } + if categoryLoads.TwentyOneToTwentyFour != twentyOneToTwentyFour { + fmt.Println("CategoryLoads.TwentyOneToTwentyFour != twentyOneToTwentyFour") + return false + } + + return true +} -- GitLab From b9803f9cc7fcc4678b926292820376a351eb4fb7 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 26 Apr 2022 11:04:42 +0200 Subject: [PATCH 070/183] Add TestTrafficMgrCreateTrafficTable test script; Enhance traffic-mgr --- .../meep-vis-traffic-mgr/traffic-mgr.go | 215 +++++++++++++++--- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 169 ++++++++++++-- 2 files changed, 335 insertions(+), 49 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 4b8bd638b..1e3f797c0 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -423,6 +423,138 @@ func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) return nil } +// GetCategoryLoad - Get POA Load information +func (tm *TrafficMgr) GetCategoryLoad(category string) (categoryLoads *CategoryLoads, err error) { + if profiling { + profilingTimers["GetCategoryLoad"] = time.Now() + } + + // Validate input + if category == "" { + err = errors.New("Missing category name") + return nil, err + } + + // Get Category Load entry + var rows *sql.Rows + rows, err = tm.db.Query(` + SELECT category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + FROM `+CategoryTable+` + WHERE category = ($1)`, category) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan result + for rows.Next() { + categoryLoads = new(CategoryLoads) + err = rows.Scan( + &categoryLoads.Category, + &categoryLoads.ZeroToThree, + &categoryLoads.ThreeToSix, + &categoryLoads.SixToNine, + &categoryLoads.NineToTwelve, + &categoryLoads.TwelveToFifteen, + &categoryLoads.FifteenToEighteen, + &categoryLoads.EighteenToTwentyOne, + &categoryLoads.TwentyOneToTwentyFour, + ) + if err != nil { + log.Error(err.Error()) + return nil, err + } + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + // Return error if not found + if categoryLoads == nil { + err = errors.New("Category Load not found: " + category) + return nil, err + } + + if profiling { + now := time.Now() + log.Debug("GetCategoryLoad: ", now.Sub(profilingTimers["GetCategoryLoad"])) + } + return categoryLoads, nil +} + +// GetAllCategoryLoad - Get POA Load information +func (tm *TrafficMgr) GetAllCategoryLoad() (categoryLoads map[string]*CategoryLoads, err error) { + if profiling { + profilingTimers["GetAllCategoryLoad"] = time.Now() + } + + // Create Category map + categoryLoadsMap := make(map[string]*CategoryLoads) + + // Get Category Load entry + var rows *sql.Rows + rows, err = tm.db.Query(` + SELECT category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + FROM ` + CategoryTable) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan results + for rows.Next() { + + categoryLoads := new(CategoryLoads) + err = rows.Scan( + &categoryLoads.Category, + &categoryLoads.ZeroToThree, + &categoryLoads.ThreeToSix, + &categoryLoads.SixToNine, + &categoryLoads.NineToTwelve, + &categoryLoads.TwelveToFifteen, + &categoryLoads.FifteenToEighteen, + &categoryLoads.EighteenToTwentyOne, + &categoryLoads.TwentyOneToTwentyFour, + ) + + // Add POA to map + categoryLoadsMap[categoryLoads.Category] = categoryLoads + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + if profiling { + now := time.Now() + log.Debug("GetAllCategoryLoad: ", now.Sub(profilingTimers["GetAllCategoryLoad"])) + } + + return categoryLoadsMap, nil +} + +// DeleteAllCategory - Delete all Category entries +func (tm *TrafficMgr) DeleteAllCategory() (err error) { + if profiling { + profilingTimers["DeleteAllCategory"] = time.Now() + } + + _, err = tm.db.Exec(`DELETE FROM ` + CategoryTable) + if err != nil { + log.Error(err.Error()) + return err + } + + if profiling { + now := time.Now() + log.Debug("DeleteAllCategory: ", now.Sub(profilingTimers["DeleteAllCategory"])) + } + return nil +} + // CreatePoaLoad - Create new POA Load func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) { if profiling { @@ -457,7 +589,7 @@ func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) // Create Traffic Load entry query := `INSERT INTO ` + TrafficTable + - ` (poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") + ` (poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)` _, err = tm.db.Exec(query, poaName, category, loadTime[0], loadTime[1], loadTime[2], loadTime[3], loadTime[4], loadTime[5], loadTime[6], loadTime[7]) if err != nil { @@ -490,9 +622,9 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaLoads *PoaLoads, err error) // Get Poa entry var rows *sql.Rows rows, err = tm.db.Query(` - SELECT id, poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + SELECT poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" FROM `+TrafficTable+` - WHERE name = ($1)`, poaName) + WHERE poaName = ($1)`, poaName) if err != nil { log.Error(err.Error()) return nil, err @@ -537,65 +669,80 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaLoads *PoaLoads, err error) return poaLoads, nil } -// GetCategoryLoad - Get POA Load information -func (tm *TrafficMgr) GetCategoryLoad(category string) (categoryLoads *CategoryLoads, err error) { +// GetAllPoaLoad - Get all POA information +func (tm *TrafficMgr) GetAllPoaLoad() (poaLoadMap map[string]*PoaLoads, err error) { if profiling { - profilingTimers["GetCategoryLoad"] = time.Now() + profilingTimers["GetAllPoaLoad"] = time.Now() } - // Validate input - if category == "" { - err = errors.New("Missing category name") - return nil, err - } + // Create PoaLoad map + poaLoadMap = make(map[string]*PoaLoads) - // Get Category Load entry + // Get POA entries var rows *sql.Rows rows, err = tm.db.Query(` - SELECT category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" - FROM `+CategoryTable+` - WHERE category = ($1)`, category) + SELECT poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + FROM ` + TrafficTable) if err != nil { log.Error(err.Error()) - return nil, err + return poaLoadMap, err } defer rows.Close() - // Scan result + // Scan results for rows.Next() { - categoryLoads = new(CategoryLoads) + poaLoads := new(PoaLoads) + + // Fill POA err = rows.Scan( - &categoryLoads.Category, - &categoryLoads.ZeroToThree, - &categoryLoads.ThreeToSix, - &categoryLoads.SixToNine, - &categoryLoads.NineToTwelve, - &categoryLoads.TwelveToFifteen, - &categoryLoads.FifteenToEighteen, - &categoryLoads.EighteenToTwentyOne, - &categoryLoads.TwentyOneToTwentyFour, + &poaLoads.PoaName, + &poaLoads.Category, + &poaLoads.ZeroToThree, + &poaLoads.ThreeToSix, + &poaLoads.SixToNine, + &poaLoads.NineToTwelve, + &poaLoads.TwelveToFifteen, + &poaLoads.FifteenToEighteen, + &poaLoads.EighteenToTwentyOne, + &poaLoads.TwentyOneToTwentyFour, ) if err != nil { log.Error(err.Error()) - return nil, err + return poaLoadMap, err } + + // Add POA to map + poaLoadMap[poaLoads.PoaName] = poaLoads } err = rows.Err() if err != nil { log.Error(err) } - // Return error if not found - if categoryLoads == nil { - err = errors.New("Category Load not found: " + category) - return nil, err + if profiling { + now := time.Now() + log.Debug("GetAllPoaLoad: ", now.Sub(profilingTimers["GetAllPoaLoad"])) + } + return poaLoadMap, nil +} + +// DeleteAllPoaLoads - Delete all POA entries +func (tm *TrafficMgr) DeleteAllPoaLoad() (err error) { + if profiling { + profilingTimers["DeleteAllPoa"] = time.Now() + } + + _, err = tm.db.Exec(`DELETE FROM ` + TrafficTable) + if err != nil { + log.Error(err.Error()) + return err } if profiling { now := time.Now() - log.Debug("GetCategoryLoad: ", now.Sub(profilingTimers["GetCategoryLoad"])) + log.Debug("DeleteAllPoa: ", now.Sub(profilingTimers["DeleteAllPoa"])) } - return categoryLoads, nil + return nil } // PopulateCategoryTable - Populate the categories table diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index f9fccf288..f81b75293 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -76,7 +76,7 @@ func TestNewTrafficMgr(t *testing.T) { // t.Fatalf("DONE") } -func TestTrafficMgrCreateCategory(t *testing.T) { +func TestTrafficMgrCreateCategoryTable(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) @@ -98,14 +98,14 @@ func TestTrafficMgrCreateCategory(t *testing.T) { } // Make sure Category don't exist - /*fmt.Println("Verify no Category present") + fmt.Println("Verify no Category present") catMap, err := tm.GetAllCategoryLoad() if err != nil { t.Fatalf("Failed to get all Category") } if len(catMap) != 0 { t.Fatalf("No Category should be present") - }*/ + } // Add Invalid Category fmt.Println("Create Invalid Category") @@ -121,10 +121,10 @@ func TestTrafficMgrCreateCategory(t *testing.T) { } err = tm.CreateCategoryLoad("", catData) // Invalid category field value if err == nil { - t.Fatalf("POA load creation should have failed") + t.Fatalf("Category creation should have failed") } - // Add POA load & Validate successfully added + // Add Category & Validate successfully added catData = map[string]int32{ FieldZeroToThree: zeroToThree1, FieldThreeToSix: threeToSix1, @@ -139,26 +139,116 @@ func TestTrafficMgrCreateCategory(t *testing.T) { if err != nil { t.Fatalf("Failed to create asset: " + err.Error()) } - catMap, err := tm.GetCategoryLoad(category1) - if err != nil || catMap == nil { - t.Fatalf("Failed to get POA load") + catLoad, err := tm.GetCategoryLoad(category1) + if err != nil || catLoad == nil { + t.Fatalf("Failed to get Category") } // Validate - if !validateCategory(catMap, category1, zeroToThree1, threeToSix1, sixToNine1, nineToTwelve1, twelveToFifteen1, fifteenToEighteen1, eighteenToTwentyOne1, twentyOneToTwentyFour1) { + if !validateCategory(catLoad, category1, zeroToThree1, threeToSix1, sixToNine1, nineToTwelve1, twelveToFifteen1, fifteenToEighteen1, eighteenToTwentyOne1, twentyOneToTwentyFour1) { t.Fatalf("Category validation failed") } // Delete all & validate updatespoaMap fmt.Println("Delete all & validate updates") // TODO - /*err = tm.DeleteAllCategory() + err = tm.DeleteAllCategory() if err != nil { - t.Fatalf("Failed to delete all POA load") + t.Fatalf("Failed to delete all Category") + } + catMap, err = tm.GetAllCategoryLoad() + if err != nil || len(catMap) != 0 { + t.Fatalf("Category should no longer exist") + } + + // t.Fatalf("DONE") +} + +func TestTrafficMgrCreateTrafficTable(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Create Connector + fmt.Println("Create valid VIS Asset Manager") + tm, err := NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) + if err != nil || tm == nil { + t.Fatalf("Failed to create VIS Asset Manager") + } + + // Cleanup + _ = tm.DeleteTables() + + // Create tables + fmt.Println("Create Tables") + err = tm.CreateTables() + if err != nil { + t.Fatalf("Failed to create tables") + } + + // Make sure Traffic don't exist + fmt.Println("Verify no Traffic present") + poaLoadMap, err := tm.GetAllPoaLoad() + if err != nil { + t.Fatalf("Failed to get all Traffic") + } + if len(poaLoadMap) != 0 { + t.Fatalf("No Traffic should be present") + } + + // Add Invalid Traffic + fmt.Println("Create Invalid Traffic") + err = tm.CreatePoaLoad("", category1) // Invalid poaName field value + if err == nil { + t.Fatalf("Traffic creation should have failed") + } + err = tm.CreatePoaLoad(poaName1, "") // Invalid category field value + if err == nil { + t.Fatalf("Traffic creation should have failed") + } + err = tm.CreatePoaLoad(poaName1, category1) // Unknown category field value + if err == nil { + t.Fatalf("Traffic creation should have failed due to unknown category field") + } + + // Add Traffic & Validate successfully added + // 1. Add Category & Validate successfully added + catData := map[string]int32{ + FieldZeroToThree: zeroToThree1, + FieldThreeToSix: threeToSix1, + FieldSixToNine: sixToNine1, + FieldNineToTwelve: nineToTwelve1, + FieldTwelveToFifteen: twelveToFifteen1, + FieldFifteenToEighteen: fifteenToEighteen1, + FieldEighteenToTwentyOne: eighteenToTwentyOne1, + FieldTwentyOneToTwentyFour: twentyOneToTwentyFour1, + } + err = tm.CreateCategoryLoad(category1, catData) + if err != nil { + t.Fatalf("Failed to create asset: " + err.Error()) + } + // 2. Add Traffic + err = tm.CreatePoaLoad(poaName1, category1) + if err != nil { + t.Fatalf("Failed to create asset: " + err.Error()) + } + // 3. Validate successfully added + trafficMap, err := tm.GetPoaLoad(poaName1) + if err != nil || trafficMap == nil { + t.Fatalf("Failed to get Traffic") + } + // Validate + if !validatePoaLoads(trafficMap, poaName1, category1, zeroToThree1, threeToSix1, sixToNine1, nineToTwelve1, twelveToFifteen1, fifteenToEighteen1, eighteenToTwentyOne1, twentyOneToTwentyFour1) { + t.Fatalf("Category validation failed") + } + // Delete all & validate updatespoaMap + fmt.Println("Delete all & validate updates") + err = tm.DeleteAllPoaLoad() + if err != nil { + t.Fatalf("Failed to delete all Traffic") + } + poaLoadMap, err = tm.GetAllPoaLoad() + if err != nil || len(poaLoadMap) != 0 { + t.Fatalf("Traffic should no longer exist") } - poaMap, err = tm.GetAllCategory() - if err != nil || len(poaMap) != 0 { - t.Fatalf("POA load should no longer exist") - }*/ // t.Fatalf("DONE") } @@ -207,3 +297,52 @@ func validateCategory(categoryLoads *CategoryLoads, category string, zeroToThree return true } + +func validatePoaLoads(poaLoads *PoaLoads, poaName string, category string, zeroToThree int32, threeToSix int32, sixToNine int32, nineToTwelve int32, twelveToFifteen int32, fifteenToEighteen int32, eighteenToTwentyOne int32, twentyOneToTwentyFour int32) bool { + if poaLoads == nil { + fmt.Println("poaLoads == nil") + return false + } + if poaLoads.PoaName != poaName { + fmt.Println("PoaLoads.PoaName != poaName") + return false + } + if poaLoads.Category != category { + fmt.Println("PoaLoads.Category != category") + return false + } + if poaLoads.ZeroToThree != zeroToThree { + fmt.Println("PoaLoads.ZeroToThree != zeroToThree") + return false + } + if poaLoads.ThreeToSix != threeToSix { + fmt.Println("PoaLoads.ThreeToSix != threeToSix") + return false + } + if poaLoads.SixToNine != sixToNine { + fmt.Println("PoaLoads.SixToNine != sixToNine") + return false + } + if poaLoads.NineToTwelve != nineToTwelve { + fmt.Println("PoaLoads.NineToTwelve != nineToTwelve") + return false + } + if poaLoads.EighteenToTwentyOne != eighteenToTwentyOne { + fmt.Println("PoaLoads.EighteenToTwentyOne != eighteenToTwentyOne") + return false + } + if poaLoads.FifteenToEighteen != fifteenToEighteen { + fmt.Println("PoaLoads.FifteenToEighteen != fifteenToEighteen") + return false + } + if poaLoads.FifteenToEighteen != fifteenToEighteen { + fmt.Println("PoaLoads.FifteenToEighteen != fifteenToEighteen") + return false + } + if poaLoads.TwentyOneToTwentyFour != twentyOneToTwentyFour { + fmt.Println("PoaLoads.TwentyOneToTwentyFour != twentyOneToTwentyFour") + return false + } + + return true +} -- GitLab From e0fe870829364097b196c6a8577b456b1b1abdf9 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 26 Apr 2022 11:19:18 +0200 Subject: [PATCH 071/183] Bug fixed in namimg poa_name/PoaNae fi in traffic_patterns --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 1e3f797c0..adfb83a69 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -506,7 +506,7 @@ func (tm *TrafficMgr) GetAllCategoryLoad() (categoryLoads map[string]*CategoryLo // Scan results for rows.Next() { - + categoryLoads := new(CategoryLoads) err = rows.Scan( &categoryLoads.Category, @@ -589,7 +589,7 @@ func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) // Create Traffic Load entry query := `INSERT INTO ` + TrafficTable + - ` (poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") + ` (poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)` _, err = tm.db.Exec(query, poaName, category, loadTime[0], loadTime[1], loadTime[2], loadTime[3], loadTime[4], loadTime[5], loadTime[6], loadTime[7]) if err != nil { @@ -597,9 +597,6 @@ func (tm *TrafficMgr) CreatePoaLoad(poaName string, category string) (err error) return err } - // Notify listener - // tm.notifyListener(TypePoa, name) - if profiling { now := time.Now() log.Debug("CreatePoaLoad: ", now.Sub(profilingTimers["CreatePoaLoad"])) @@ -622,9 +619,9 @@ func (tm *TrafficMgr) GetPoaLoad(poaName string) (poaLoads *PoaLoads, err error) // Get Poa entry var rows *sql.Rows rows, err = tm.db.Query(` - SELECT poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + SELECT poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" FROM `+TrafficTable+` - WHERE poaName = ($1)`, poaName) + WHERE poa_name = ($1)`, poaName) if err != nil { log.Error(err.Error()) return nil, err @@ -681,7 +678,7 @@ func (tm *TrafficMgr) GetAllPoaLoad() (poaLoadMap map[string]*PoaLoads, err erro // Get POA entries var rows *sql.Rows rows, err = tm.db.Query(` - SELECT poaName, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" + SELECT poa_name, category, "0000-0300", "0300-0600", "0600-0900", "0900-1200", "1200-1500", "1500-1800", "1800-2100", "2100-2400" FROM ` + TrafficTable) if err != nil { log.Error(err.Error()) -- GitLab From a186c4b4223da323dc2a7316ebc9223ddccc08dc Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 26 Apr 2022 14:41:38 +0500 Subject: [PATCH 072/183] add minimal PredictQosPerTrafficLoad functionality in meep-vis-traffic-mgr --- .../meep-vis-traffic-mgr/model_time_stamp.go | 31 ++++++ .../meep-vis-traffic-mgr/traffic-mgr.go | 101 ++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 go-packages/meep-vis-traffic-mgr/model_time_stamp.go diff --git a/go-packages/meep-vis-traffic-mgr/model_time_stamp.go b/go-packages/meep-vis-traffic-mgr/model_time_stamp.go new file mode 100644 index 000000000..414312580 --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/model_time_stamp.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE V2X Information Service REST API + * + * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type TimeStamp struct { + // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + NanoSeconds int32 `json:"nanoSeconds"` + // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + Seconds int32 `json:"seconds"` +} diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index adfb83a69..dffc30d13 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -812,3 +812,104 @@ func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { return nil } + +// Returns Predicted QoS in terms of RSRQ and RSRP values based on Traffic Load patterns +func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp int32, inRsrq int32, poaName string) (outRsrp int32, outRsrq int32, err error) { + + // Convert unix time to UTC time + utcTime := time.Unix(int64(estimatedTime.Seconds), int64(estimatedTime.NanoSeconds)) + hour := utcTime.Hour() + + // Get time range for DB query + timeRange := InTimeRange(hour) + + // Get predicted load for a given PoA in a desired time slot from the traffic patterns table + + var predictedUserTraffic int + + var entry *sql.Rows + entry, err = tm.db.Query(` + SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = '` + poaName + `'`) + if err != nil { + log.Error(err) + } + + entry.Close() + + for entry.Next() { + entry.Scan(&predictedUserTraffic) + } + + err = entry.Err() + + if err != nil { + log.Error(err) + log.Error("Could not find estimated user load in the traffic_patterns table") + // returning the same values for Rsrp and Rsrq received in request + return inRsrp, inRsrq, err + } + + // Get average PoA load throughout the day + poaLoad, err := tm.GetPoaLoad(poaName) + if err != nil { + log.Error(err) + log.Error("Could not find PoA load in the traffic_patterns table") + // returning the same values for Rsrp and Rsrq received in request + return inRsrp, inRsrq, err + } + + averageLoad := (poaLoad.ZeroToThree + poaLoad.ThreeToSix + poaLoad.SixToNine + poaLoad.NineToTwelve + poaLoad.TwelveToFifteen + poaLoad.FifteenToEighteen + poaLoad.EighteenToTwentyOne + poaLoad.TwentyOneToTwentyFour) / 8 + + // Find reduced signal strength as a function of number of users in the area + outRsrp, outRsrq, err = FindReducedSignalStrength(inRsrp, inRsrq, predictedUserTraffic, int(averageLoad)) + + return + +} + +// Returns the time range as key in the traffic load map against vehicle ETA +func InTimeRange(hour int) (key string) { + + var TimeWindows = map[string][]int{ + "0000-0300": {0, 1, 2}, + "0300-0600": {3, 4, 5}, + "0600-0900": {6, 7, 8}, + "0900-1200": {9, 10, 11}, + "1200-1500": {12, 13, 14}, + "1500-1800": {15, 16, 17}, + "1800-2100": {18, 19, 20}, + "2100-2400": {21, 22, 23}, + } + + for key, hours := range TimeWindows { + for i := range hours { + if hours[i] == hour { + return key + } + } + } + + return "" +} + +// Returns reduced signal strength based on the deviation in predicted user traffic from average user load in that area +// This is a simplistic version, considering only the user load in one particular area +// It will be extended to contain average user load for all active cells and those calculations will be used in further refining the algorithm +func FindReducedSignalStrength(inRsrp int32, inRsrq int32, users int, averageLoad int) (redRsrp int32, redRsrq int32, err error) { + + // case: crowded area + if users > averageLoad { + diff := users - averageLoad + propConstant := int32(1 / diff) + redRsrp = propConstant * inRsrp + redRsrq = propConstant * inRsrq + + return redRsrp, redRsrq, nil + + } else { + // no change in RSRP and RSRQ values + return inRsrp, inRsrq, nil + } + + return +} -- GitLab From 80cdaff5cff3dfa2df517fd9ca24db4d34cbaf5c Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 26 Apr 2022 15:17:52 +0500 Subject: [PATCH 073/183] fix PredictQosPerTrafficLoad for current time --- .../meep-vis-traffic-mgr/model_time_stamp.go | 25 +------- .../meep-vis-traffic-mgr/traffic-mgr.go | 57 +++++++++---------- 2 files changed, 29 insertions(+), 53 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/model_time_stamp.go b/go-packages/meep-vis-traffic-mgr/model_time_stamp.go index 414312580..d047ae0b0 100644 --- a/go-packages/meep-vis-traffic-mgr/model_time_stamp.go +++ b/go-packages/meep-vis-traffic-mgr/model_time_stamp.go @@ -1,27 +1,4 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE V2X Information Service REST API - * - * V2X Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC030 V2XI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.02.01_60/gs_MEC030v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-vis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-vis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types. - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server +package vistrafficmgr type TimeStamp struct { // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index dffc30d13..1f4060d7b 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -818,33 +818,35 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i // Convert unix time to UTC time utcTime := time.Unix(int64(estimatedTime.Seconds), int64(estimatedTime.NanoSeconds)) - hour := utcTime.Hour() + currTime := time.Now() + hour := int32(utcTime.Hour() + currTime.Hour()) + if hour >= 24 { + hour = 24 - hour + } // Get time range for DB query - timeRange := InTimeRange(hour) + timeRange := inTimeRange(hour) // Get predicted load for a given PoA in a desired time slot from the traffic patterns table - var predictedUserTraffic int + var predictedUserTraffic int32 - var entry *sql.Rows - entry, err = tm.db.Query(` - SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = '` + poaName + `'`) + var rows *sql.Rows + rows, err = tm.db.Query(`SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = '` + poaName + `'`) if err != nil { log.Error(err) } - entry.Close() + rows.Close() - for entry.Next() { - entry.Scan(&predictedUserTraffic) + for rows.Next() { + err = rows.Scan(&predictedUserTraffic) } - err = entry.Err() - + err = rows.Err() if err != nil { log.Error(err) - log.Error("Could not find estimated user load in the traffic_patterns table") + log.Error("Could not find estimated user load in the " + TrafficTable + " table") // returning the same values for Rsrp and Rsrq received in request return inRsrp, inRsrq, err } @@ -853,7 +855,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i poaLoad, err := tm.GetPoaLoad(poaName) if err != nil { log.Error(err) - log.Error("Could not find PoA load in the traffic_patterns table") + log.Error("Could not find PoA load in the " + TrafficTable + " table") // returning the same values for Rsrp and Rsrq received in request return inRsrp, inRsrq, err } @@ -861,24 +863,23 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i averageLoad := (poaLoad.ZeroToThree + poaLoad.ThreeToSix + poaLoad.SixToNine + poaLoad.NineToTwelve + poaLoad.TwelveToFifteen + poaLoad.FifteenToEighteen + poaLoad.EighteenToTwentyOne + poaLoad.TwentyOneToTwentyFour) / 8 // Find reduced signal strength as a function of number of users in the area - outRsrp, outRsrq, err = FindReducedSignalStrength(inRsrp, inRsrq, predictedUserTraffic, int(averageLoad)) - - return + outRsrp, outRsrq, err = findReducedSignalStrength(inRsrp, inRsrq, predictedUserTraffic, averageLoad) + return outRsrp, outRsrq, err } // Returns the time range as key in the traffic load map against vehicle ETA -func InTimeRange(hour int) (key string) { +func inTimeRange(hour int32) (key string) { - var TimeWindows = map[string][]int{ - "0000-0300": {0, 1, 2}, - "0300-0600": {3, 4, 5}, - "0600-0900": {6, 7, 8}, - "0900-1200": {9, 10, 11}, - "1200-1500": {12, 13, 14}, - "1500-1800": {15, 16, 17}, - "1800-2100": {18, 19, 20}, - "2100-2400": {21, 22, 23}, + var TimeWindows = map[string][]int32{ + FieldZeroToThree: {0, 1, 2}, + FieldThreeToSix: {3, 4, 5}, + FieldSixToNine: {6, 7, 8}, + FieldNineToTwelve: {9, 10, 11}, + FieldTwelveToFifteen: {12, 13, 14}, + FieldFifteenToEighteen: {15, 16, 17}, + FieldEighteenToTwentyOne: {18, 19, 20}, + FieldTwentyOneToTwentyFour: {21, 22, 23}, } for key, hours := range TimeWindows { @@ -895,7 +896,7 @@ func InTimeRange(hour int) (key string) { // Returns reduced signal strength based on the deviation in predicted user traffic from average user load in that area // This is a simplistic version, considering only the user load in one particular area // It will be extended to contain average user load for all active cells and those calculations will be used in further refining the algorithm -func FindReducedSignalStrength(inRsrp int32, inRsrq int32, users int, averageLoad int) (redRsrp int32, redRsrq int32, err error) { +func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageLoad int32) (redRsrp int32, redRsrq int32, err error) { // case: crowded area if users > averageLoad { @@ -910,6 +911,4 @@ func FindReducedSignalStrength(inRsrp int32, inRsrq int32, users int, averageLoa // no change in RSRP and RSRQ values return inRsrp, inRsrq, nil } - - return } -- GitLab From 18c795fccde813bcaf90a980d283d69193901105 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 26 Apr 2022 15:26:13 +0500 Subject: [PATCH 074/183] add new method for adding time in PredictQosPerTrafficLoad in traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 1f4060d7b..16d9d7812 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -818,11 +818,8 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i // Convert unix time to UTC time utcTime := time.Unix(int64(estimatedTime.Seconds), int64(estimatedTime.NanoSeconds)) - currTime := time.Now() - hour := int32(utcTime.Hour() + currTime.Hour()) - if hour >= 24 { - hour = 24 - hour - } + newTime := time.Now().Add(time.Hour*time.Duration(utcTime.Hour()) + time.Minute*time.Duration(utcTime.Minute()) + time.Second*time.Duration(utcTime.Second())) + hour := int32(newTime.Hour()) // Get time range for DB query timeRange := inTimeRange(hour) @@ -840,7 +837,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i rows.Close() for rows.Next() { - err = rows.Scan(&predictedUserTraffic) + _ = rows.Scan(&predictedUserTraffic) } err = rows.Err() -- GitLab From f31c01b80825b7316b749ba50f94d4e3a57494e1 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 26 Apr 2022 15:41:47 +0500 Subject: [PATCH 075/183] use exact time for PredictQosPerTrafficLoad in traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 16d9d7812..038360dc8 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -818,8 +818,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp i // Convert unix time to UTC time utcTime := time.Unix(int64(estimatedTime.Seconds), int64(estimatedTime.NanoSeconds)) - newTime := time.Now().Add(time.Hour*time.Duration(utcTime.Hour()) + time.Minute*time.Duration(utcTime.Minute()) + time.Second*time.Duration(utcTime.Second())) - hour := int32(newTime.Hour()) + hour := int32(utcTime.Hour()) // Get time range for DB query timeRange := inTimeRange(hour) -- GitLab From 57f53fd857c26830435f75c7122ad8f9775abe70 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 26 Apr 2022 16:38:50 +0500 Subject: [PATCH 076/183] add VIS implementation with prediction for time --- go-apps/meep-vis/sbi/vis-sbi.go | 8 ++++++ go-apps/meep-vis/server/vis.go | 25 +++++++++++++++++++ .../meep-vis-traffic-mgr/traffic-mgr.go | 6 +---- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 24221a148..ce01aef99 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -307,3 +307,11 @@ func populatePoaTable() (err error) { } return nil } + +func GetPredictedPowerValues(hour int32, inRsrp int32, inRsrq int32, poaName string) (outRsrp int32, outRsrq int32, err error) { + outRsrp, outRsrq, err = sbi.trafficMgr.PredictQosPerTrafficLoad(hour, inRsrp, inRsrq, poaName) + if err != nil { + log.Error(err.Error()) + } + return outRsrp, outRsrq, err +} diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index e35ad76b8..f9b13235a 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -50,6 +50,7 @@ const serviceCategory = "V2XI" const defaultMepName = "global" const defaultScopeOfLocality = "MEC_SYSTEM" const defaultConsumedLocalOnly = true +const defaultPredictionModelSupported = false const appTerminationPath = "notifications/mec011/appTermination" var redisAddr string = "meep-redis-master.default.svc.cluster.local:6379" @@ -68,6 +69,7 @@ var sandboxName string var mepName string = defaultMepName var scopeOfLocality string = defaultScopeOfLocality var consumedLocalOnly bool = defaultConsumedLocalOnly +var predictionModelSupported bool = defaultPredictionModelSupported var locality []string var basePath string var baseKey string @@ -334,6 +336,16 @@ func Init() (err error) { } log.Info("MEEP_LOCALITY: ", locality) + // Get prediction model support + predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("PREDICTION_MODEL_SUPPORTED")) + if predictionModelSupportedEnv != "" { + value, err := strconv.ParseBool(predictionModelSupportedEnv) + if err == nil { + predictionModelSupported = value + } + } + log.Info("PREDICTION_MODEL_SUPPORTED: ", predictionModelSupported) + // Set base path if mepName == defaultMepName { basePath = "/" + sandboxName + "/" + visBasePath @@ -611,6 +623,12 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } + if routeInfo.Time != nil && !predictionModelSupported { + log.Error("routes.routeInfo.time is not supported for this scenario") + errHandlerProblemDetails(w, "routes.routeInfo.time is not supported for this scenario", http.StatusBadRequest) + return + } + geocoordinates = append(geocoordinates, gisClient.GeoCoordinate{ Latitude: routeInfo.Location.GeoArea.Latitude, Longitude: routeInfo.Location.GeoArea.Longitude, @@ -627,6 +645,13 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { routeInfoList := responseData.Routes[i].RouteInfo for j, routeInfo := range routeInfoList { currGeoCoordinate := powerResp.CoordinatesPower[j] + if predictionModelSupported && routeInfo.Time != nil { + rsrp := currGeoCoordinate.Rsrp + rsrq := currGeoCoordinate.Rsrq + poaName := currGeoCoordinate.PoaName + estTimeHour := int32(time.Unix(int64(routeInfo.Time.Seconds), int64(routeInfo.Time.Seconds)).Hour()) + currGeoCoordinate.Rsrq, currGeoCoordinate.Rsrp, _ = sbi.GetPredictedPowerValues(estTimeHour, rsrp, rsrq, poaName) + } latCheck := routeInfo.Location.GeoArea.Latitude == currGeoCoordinate.Latitude longCheck := routeInfo.Location.GeoArea.Longitude == currGeoCoordinate.Longitude if latCheck && longCheck { diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 038360dc8..3aa6b84d6 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -814,11 +814,7 @@ func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { } // Returns Predicted QoS in terms of RSRQ and RSRP values based on Traffic Load patterns -func (tm *TrafficMgr) PredictQosPerTrafficLoad(estimatedTime TimeStamp, inRsrp int32, inRsrq int32, poaName string) (outRsrp int32, outRsrq int32, err error) { - - // Convert unix time to UTC time - utcTime := time.Unix(int64(estimatedTime.Seconds), int64(estimatedTime.NanoSeconds)) - hour := int32(utcTime.Hour()) +func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq int32, poaName string) (outRsrp int32, outRsrq int32, err error) { // Get time range for DB query timeRange := inTimeRange(hour) -- GitLab From 57561a903918a790198474dd74be595e78aabb80 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 27 Apr 2022 08:41:52 +0200 Subject: [PATCH 077/183] Add TestPredictQosPerTrafficLoad test script --- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index f81b75293..1ddfeffc3 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -25,6 +25,9 @@ const ( // FIXME To be update with correct values at the end fifteenToEighteen1 = 0 eighteenToTwentyOne1 = 0 twentyOneToTwentyFour1 = 0 + hour1 = 133 + inRsrp1 = 10 + inRsrq1 = 10 ) func TestNewTrafficMgr(t *testing.T) { @@ -239,6 +242,7 @@ func TestTrafficMgrCreateTrafficTable(t *testing.T) { if !validatePoaLoads(trafficMap, poaName1, category1, zeroToThree1, threeToSix1, sixToNine1, nineToTwelve1, twelveToFifteen1, fifteenToEighteen1, eighteenToTwentyOne1, twentyOneToTwentyFour1) { t.Fatalf("Category validation failed") } + // Delete all & validate updatespoaMap fmt.Println("Delete all & validate updates") err = tm.DeleteAllPoaLoad() @@ -253,6 +257,71 @@ func TestTrafficMgrCreateTrafficTable(t *testing.T) { // t.Fatalf("DONE") } +func TestPredictQosPerTrafficLoad(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Create Connector + fmt.Println("Create valid VIS Asset Manager") + tm, _ := NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) + + // Cleanup + _ = tm.DeleteTables() + + // Create tables + fmt.Println("Create Tables") + _ = tm.CreateTables() + + // Add Traffic & Validate successfully added + catData := map[string]int32{ + FieldZeroToThree: zeroToThree1, + FieldThreeToSix: threeToSix1, + FieldSixToNine: sixToNine1, + FieldNineToTwelve: nineToTwelve1, + FieldTwelveToFifteen: twelveToFifteen1, + FieldFifteenToEighteen: fifteenToEighteen1, + FieldEighteenToTwentyOne: eighteenToTwentyOne1, + FieldTwentyOneToTwentyFour: twentyOneToTwentyFour1, + } + _ = tm.CreateCategoryLoad(category1, catData) + _ = tm.CreatePoaLoad(poaName1, category1) + + // Invalid poaName + _, _, err := tm.PredictQosPerTrafficLoad(14, 0, 0, "") + if err == nil { + t.Fatalf("Should have failed due to invalid poaName") + } + // Invalid hour + _, _, err = tm.PredictQosPerTrafficLoad(25, 0, 0, poaName1) + if err == nil { + t.Fatalf("Should have failed due to invalid hour") + } + // Invalid inRsrp + _, _, err = tm.PredictQosPerTrafficLoad(25, -1, 0, poaName1) + if err == nil { + t.Fatalf("Should have failed due to invalid inRsrp") + } + // Invalid inRsrq + _, _, err = tm.PredictQosPerTrafficLoad(25, 0, -1, poaName1) + if err == nil { + t.Fatalf("Should have failed due to invalid inRsrq") + } + + rsrp, rsrq, err := tm.PredictQosPerTrafficLoad(hour1, inRsrp1, inRsrq1, poaName1) + if err != nil { + t.Fatalf("Failed to delete all Traffic") + } + fmt.Println("rsrp: ", rsrp) + fmt.Println("rsrq: ", rsrq) + + // Delete all & validate updatespoaMap + fmt.Println("Delete all & validate updates") + _ = tm.DeleteAllPoaLoad() + _, _ = tm.GetAllPoaLoad() + + // t.Fatalf("DONE") +} + func validateCategory(categoryLoads *CategoryLoads, category string, zeroToThree int32, threeToSix int32, sixToNine int32, nineToTwelve int32, twelveToFifteen int32, fifteenToEighteen int32, eighteenToTwentyOne int32, twentyOneToTwentyFour int32) bool { if categoryLoads == nil { fmt.Println("categoryLoads == nil") -- GitLab From beec5fff80347e3e2bf679eb7d1628dbe074e6d9 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 27 Apr 2022 12:15:55 +0500 Subject: [PATCH 078/183] rename prediction model env variable for consistency --- go-apps/meep-vis/server/vis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index f9b13235a..3fec8a188 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -337,14 +337,14 @@ func Init() (err error) { log.Info("MEEP_LOCALITY: ", locality) // Get prediction model support - predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("PREDICTION_MODEL_SUPPORTED")) + predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICTION_MODEL_SUPPORTED")) if predictionModelSupportedEnv != "" { value, err := strconv.ParseBool(predictionModelSupportedEnv) if err == nil { predictionModelSupported = value } } - log.Info("PREDICTION_MODEL_SUPPORTED: ", predictionModelSupported) + log.Info("MEEP_PREDICTION_MODEL_SUPPORTED: ", predictionModelSupported) // Set base path if mepName == defaultMepName { -- GitLab From 78250773701ea9b2599616f4d83ac79828fb9a25 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 27 Apr 2022 12:27:12 +0500 Subject: [PATCH 079/183] rename prediction model env variable to cater for char limit --- go-apps/meep-vis/server/vis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 3fec8a188..a835b489c 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -337,14 +337,14 @@ func Init() (err error) { log.Info("MEEP_LOCALITY: ", locality) // Get prediction model support - predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICTION_MODEL_SUPPORTED")) + predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICT_MODEL_SUPPORTED")) if predictionModelSupportedEnv != "" { value, err := strconv.ParseBool(predictionModelSupportedEnv) if err == nil { predictionModelSupported = value } } - log.Info("MEEP_PREDICTION_MODEL_SUPPORTED: ", predictionModelSupported) + log.Info("MEEP_PREDICT_MODEL_SUPPORTED: ", predictionModelSupported) // Set base path if mepName == defaultMepName { -- GitLab From 32a6da768a3d1a67f4dafac6e912a63a26351b99 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 29 Apr 2022 15:10:10 +0500 Subject: [PATCH 080/183] fix assignment of RSRQ and RSRP in VIS --- go-apps/meep-vis/server/vis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index a835b489c..2a405320d 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -650,7 +650,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { rsrq := currGeoCoordinate.Rsrq poaName := currGeoCoordinate.PoaName estTimeHour := int32(time.Unix(int64(routeInfo.Time.Seconds), int64(routeInfo.Time.Seconds)).Hour()) - currGeoCoordinate.Rsrq, currGeoCoordinate.Rsrp, _ = sbi.GetPredictedPowerValues(estTimeHour, rsrp, rsrq, poaName) + currGeoCoordinate.Rsrp, currGeoCoordinate.Rsrq, _ = sbi.GetPredictedPowerValues(estTimeHour, rsrp, rsrq, poaName) } latCheck := routeInfo.Location.GeoArea.Latitude == currGeoCoordinate.Latitude longCheck := routeInfo.Location.GeoArea.Longitude == currGeoCoordinate.Longitude -- GitLab From 7757709cd0a5794e505c18c7893d6c93fdd0d9bb Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 11:08:23 +0500 Subject: [PATCH 081/183] resolve minor bugs in meep-vis-traffic-mgr package --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 3aa6b84d6..6287812dc 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -824,7 +824,8 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq var predictedUserTraffic int32 var rows *sql.Rows - rows, err = tm.db.Query(`SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = '` + poaName + `'`) + log.Debug("Collecting traffic load pattern for the time range: " + timeRange) + rows, err = tm.db.Query(`SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = ($1)` + poaName) if err != nil { log.Error(err) } @@ -890,12 +891,17 @@ func inTimeRange(hour int32) (key string) { // It will be extended to contain average user load for all active cells and those calculations will be used in further refining the algorithm func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageLoad int32) (redRsrp int32, redRsrq int32, err error) { + var propConstant float32 + // case: crowded area if users > averageLoad { + log.Debug("The number of users: " + string(users) + "exceeds the overall average " + string(averageLoad) + "for this POA") diff := users - averageLoad - propConstant := int32(1 / diff) - redRsrp = propConstant * inRsrp - redRsrq = propConstant * inRsrq + propConstant = 1 / float32(diff) + log.Debug("The original values of RSRP and RSRQ are %v and %v respectively", inRsrp, inRsrq) + log.Debug("Reducing the values of RSRP and RSRQ with a factor of %v", propConstant) + redRsrp = int32(propConstant * float32(inRsrp)) + redRsrq = int32(propConstant * float32(inRsrq)) return redRsrp, redRsrq, nil -- GitLab From 8425e18a2b67fb29377bd273ba205ecdfc09a7c8 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 12:23:27 +0500 Subject: [PATCH 082/183] fix typo in an sql query for meep-vis-traffic-mgr --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 6287812dc..3be16852e 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -824,8 +824,8 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq var predictedUserTraffic int32 var rows *sql.Rows - log.Debug("Collecting traffic load pattern for the time range: " + timeRange) - rows, err = tm.db.Query(`SELECT "` + timeRange + `" FROM ` + TrafficTable + ` WHERE poa_name = ($1)` + poaName) + log.Debug("Collecting traffic load pattern of POA %v for the time range: %v", poaName, timeRange) + rows, err = tm.db.Query(`SELECT "`+timeRange+`" FROM `+TrafficTable+` WHERE poa_name = ($1)`, poaName) if err != nil { log.Error(err) } -- GitLab From e045c2476db07bf873e1d41e198901bcfaed0e34 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 2 May 2022 09:31:35 +0200 Subject: [PATCH 083/183] Enhance TestPredictQosPerTrafficLoad test script --- .../meep-vis-traffic-mgr/traffic-mgr.go | 11 ++++- .../meep-vis-traffic-mgr/traffic-mgr_test.go | 45 +++++++++++++------ 2 files changed, 41 insertions(+), 15 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 3be16852e..fa5861869 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -815,6 +815,15 @@ func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { // Returns Predicted QoS in terms of RSRQ and RSRP values based on Traffic Load patterns func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq int32, poaName string) (outRsrp int32, outRsrq int32, err error) { + // Validate input + if hour > 24 { + err = errors.New("Invalid hour value") + return 0, 0, err + } + if poaName == "" { + err = errors.New("Missing POA Name") + return 0, 0, err + } // Get time range for DB query timeRange := inTimeRange(hour) @@ -827,7 +836,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq log.Debug("Collecting traffic load pattern of POA %v for the time range: %v", poaName, timeRange) rows, err = tm.db.Query(`SELECT "`+timeRange+`" FROM `+TrafficTable+` WHERE poa_name = ($1)`, poaName) if err != nil { - log.Error(err) + return 0, 0, err } rows.Close() diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index 1ddfeffc3..239d34152 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -25,7 +25,7 @@ const ( // FIXME To be update with correct values at the end fifteenToEighteen1 = 0 eighteenToTwentyOne1 = 0 twentyOneToTwentyFour1 = 0 - hour1 = 133 + hour1 = 13 inRsrp1 = 10 inRsrq1 = 10 ) @@ -285,34 +285,39 @@ func TestPredictQosPerTrafficLoad(t *testing.T) { } _ = tm.CreateCategoryLoad(category1, catData) _ = tm.CreatePoaLoad(poaName1, category1) + fmt.Println("Tables initialized") - // Invalid poaName - _, _, err := tm.PredictQosPerTrafficLoad(14, 0, 0, "") - if err == nil { - t.Fatalf("Should have failed due to invalid poaName") - } // Invalid hour - _, _, err = tm.PredictQosPerTrafficLoad(25, 0, 0, poaName1) + _, _, err := tm.PredictQosPerTrafficLoad(25, 0, 0, poaName1) if err == nil { t.Fatalf("Should have failed due to invalid hour") } - // Invalid inRsrp - _, _, err = tm.PredictQosPerTrafficLoad(25, -1, 0, poaName1) + // Invalid poaName + _, _, err = tm.PredictQosPerTrafficLoad(14, 0, 0, "") + if err == nil { + t.Fatalf("Should have failed due to invalid poaName") + } + // FIXME Are there any invalid Rsrp/Rsrq values? + /*_, _, err = tm.PredictQosPerTrafficLoad(14, -1, 0, poaName1) if err == nil { t.Fatalf("Should have failed due to invalid inRsrp") } // Invalid inRsrq - _, _, err = tm.PredictQosPerTrafficLoad(25, 0, -1, poaName1) + _, _, err = tm.PredictQosPerTrafficLoad(14, 0, -1, poaName1) if err == nil { t.Fatalf("Should have failed due to invalid inRsrq") - } + }*/ + fmt.Println("Invalid checks done") + // FIXME Execute the test with proper values for inRsrp1 and inRsrq1 rsrp, rsrq, err := tm.PredictQosPerTrafficLoad(hour1, inRsrp1, inRsrq1, poaName1) if err != nil { - t.Fatalf("Failed to delete all Traffic") + t.Fatal("Failed to get predicted Qos per Traffic load:", err.Error()) + } + // Validate + if !validatePredictQosPerTrafficLoad(rsrp, rsrq, inRsrp1, inRsrq1) { + t.Fatalf("Category validation failed") } - fmt.Println("rsrp: ", rsrp) - fmt.Println("rsrq: ", rsrq) // Delete all & validate updatespoaMap fmt.Println("Delete all & validate updates") @@ -415,3 +420,15 @@ func validatePoaLoads(poaLoads *PoaLoads, poaName string, category string, zeroT return true } + +func validatePredictQosPerTrafficLoad(rsrp int32, rsrq int32, expectedRsrp int32, expectedRsrq int32) bool { + if (rsrp != expectedRsrp) { + fmt.Println("rsrp != expectedRsrp") + return false + } + if (rsrq != expectedRsrq) { + fmt.Println("rsrq != expectedRsrq") + return false + } + return true +} -- GitLab From aab920d645fa51f70a88cb8c7fc67bf8dd6d9e43 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 13:16:37 +0500 Subject: [PATCH 084/183] update error message details for unsuccessful json unmarshaling of request body in meep-vis --- go-apps/meep-vis/server/vis.go | 2 +- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 2a405320d..906d7cc7e 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -569,7 +569,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &requestData) if err != nil { log.Error(err.Error()) - errHandlerProblemDetails(w, "Request body is empty.", http.StatusBadRequest) + errHandlerProblemDetails(w, "The request body is either empty or it's an invalid JSON.", http.StatusBadRequest) return } diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 3be16852e..7ccd97fcc 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -824,7 +824,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq var predictedUserTraffic int32 var rows *sql.Rows - log.Debug("Collecting traffic load pattern of POA %v for the time range: %v", poaName, timeRange) + log.Debug("Collecting traffic load pattern of POA " + poaName + " for the time range: " + timeRange) rows, err = tm.db.Query(`SELECT "`+timeRange+`" FROM `+TrafficTable+` WHERE poa_name = ($1)`, poaName) if err != nil { log.Error(err) @@ -906,6 +906,7 @@ func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageL return redRsrp, redRsrq, nil } else { + log.Debug("Number of users " + string(users) + " fall below the POA average, i.e., " + string(averageLoad)) // no change in RSRP and RSRQ values return inRsrp, inRsrq, nil } -- GitLab From 3bc9a8b816832edfd574e90d9840963173b3159c Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 14:03:43 +0500 Subject: [PATCH 085/183] update logic of scanning the sql returned row for predicted user traffic in meep-vis-traffic-mgr --- .../meep-vis-traffic-mgr/traffic-mgr.go | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 11cc45ba8..6808ecdca 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -830,23 +830,15 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq // Get predicted load for a given PoA in a desired time slot from the traffic patterns table - var predictedUserTraffic int32 + var predictedUserTraffic int - var rows *sql.Rows + var row *sql.Row log.Debug("Collecting traffic load pattern of POA " + poaName + " for the time range: " + timeRange) - rows, err = tm.db.Query(`SELECT "`+timeRange+`" FROM `+TrafficTable+` WHERE poa_name = ($1)`, poaName) - if err != nil { - return 0, 0, err - } + row = tm.db.QueryRow(`SELECT "`+timeRange+`" FROM `+TrafficTable+` WHERE poa_name = ($1)`, poaName) - rows.Close() + err = row.Scan(&predictedUserTraffic) - for rows.Next() { - _ = rows.Scan(&predictedUserTraffic) - } - - err = rows.Err() - if err != nil { + if err == sql.ErrNoRows { log.Error(err) log.Error("Could not find estimated user load in the " + TrafficTable + " table") // returning the same values for Rsrp and Rsrq received in request @@ -865,7 +857,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq averageLoad := (poaLoad.ZeroToThree + poaLoad.ThreeToSix + poaLoad.SixToNine + poaLoad.NineToTwelve + poaLoad.TwelveToFifteen + poaLoad.FifteenToEighteen + poaLoad.EighteenToTwentyOne + poaLoad.TwentyOneToTwentyFour) / 8 // Find reduced signal strength as a function of number of users in the area - outRsrp, outRsrq, err = findReducedSignalStrength(inRsrp, inRsrq, predictedUserTraffic, averageLoad) + outRsrp, outRsrq, err = findReducedSignalStrength(inRsrp, inRsrq, int32(predictedUserTraffic), averageLoad) return outRsrp, outRsrq, err } -- GitLab From faa10180c76dab8eb1063220d16827cf7a039d74 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 16:32:03 +0500 Subject: [PATCH 086/183] enhance algorithm for finding reduced signal strength according to user traffic in meep-vis-traffic-mgr --- .../meep-vis-traffic-mgr/traffic-mgr.go | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 6808ecdca..eb98eccd5 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -841,8 +841,7 @@ func (tm *TrafficMgr) PredictQosPerTrafficLoad(hour int32, inRsrp int32, inRsrq if err == sql.ErrNoRows { log.Error(err) log.Error("Could not find estimated user load in the " + TrafficTable + " table") - // returning the same values for Rsrp and Rsrq received in request - return inRsrp, inRsrq, err + return 0, 0, err } // Get average PoA load throughout the day @@ -888,21 +887,16 @@ func inTimeRange(hour int32) (key string) { } // Returns reduced signal strength based on the deviation in predicted user traffic from average user load in that area -// This is a simplistic version, considering only the user load in one particular area -// It will be extended to contain average user load for all active cells and those calculations will be used in further refining the algorithm +// The RSRP/RSRP values are reduced proportional to the difference between estimated users and average user traffic in a given POA +// Assumption: the RSRP/RSRP values remain unchanged for average POA traffic func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageLoad int32) (redRsrp int32, redRsrq int32, err error) { - var propConstant float32 - - // case: crowded area + // Case: crowded area if users > averageLoad { log.Debug("The number of users: " + string(users) + "exceeds the overall average " + string(averageLoad) + "for this POA") - diff := users - averageLoad - propConstant = 1 / float32(diff) - log.Debug("The original values of RSRP and RSRQ are %v and %v respectively", inRsrp, inRsrq) - log.Debug("Reducing the values of RSRP and RSRQ with a factor of %v", propConstant) - redRsrp = int32(propConstant * float32(inRsrp)) - redRsrq = int32(propConstant * float32(inRsrq)) + log.Debug("The original values of RSRP and RSRQ were " + string(inRsrp) + " and " + string(inRsrq)) + redRsrp = int32(float32(inRsrp) * (float32(averageLoad) / float32(users))) + redRsrq = int32(float32(inRsrq) * (float32(averageLoad) / float32(users))) return redRsrp, redRsrq, nil -- GitLab From ef7d79923c91c7fdf868cc4d4efa666530876283 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 2 May 2022 17:01:33 +0500 Subject: [PATCH 087/183] remove unnecessary debug statements in meep-vis-traffic-mgr --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index eb98eccd5..81f18f833 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -893,15 +893,12 @@ func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageL // Case: crowded area if users > averageLoad { - log.Debug("The number of users: " + string(users) + "exceeds the overall average " + string(averageLoad) + "for this POA") - log.Debug("The original values of RSRP and RSRQ were " + string(inRsrp) + " and " + string(inRsrq)) redRsrp = int32(float32(inRsrp) * (float32(averageLoad) / float32(users))) redRsrq = int32(float32(inRsrq) * (float32(averageLoad) / float32(users))) return redRsrp, redRsrq, nil } else { - log.Debug("Number of users " + string(users) + " fall below the POA average, i.e., " + string(averageLoad)) // no change in RSRP and RSRQ values return inRsrp, inRsrq, nil } -- GitLab From 35e6312e5c7edc5ba0fc61935974aac55ab0a300 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 9 May 2022 15:02:10 +0500 Subject: [PATCH 088/183] remove timeStamp model from traffic manager --- go-packages/meep-vis-traffic-mgr/model_time_stamp.go | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 go-packages/meep-vis-traffic-mgr/model_time_stamp.go diff --git a/go-packages/meep-vis-traffic-mgr/model_time_stamp.go b/go-packages/meep-vis-traffic-mgr/model_time_stamp.go deleted file mode 100644 index d047ae0b0..000000000 --- a/go-packages/meep-vis-traffic-mgr/model_time_stamp.go +++ /dev/null @@ -1,8 +0,0 @@ -package vistrafficmgr - -type TimeStamp struct { - // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. - NanoSeconds int32 `json:"nanoSeconds"` - // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. - Seconds int32 `json:"seconds"` -} -- GitLab From cb61fd40f7b6d86ead856be076934f5a956b235a Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Wed, 11 May 2022 11:11:01 +0500 Subject: [PATCH 089/183] add logic to populate grid map table in traffic manager --- go-apps/meep-vis/sbi/vis-sbi.go | 8 ++ go-packages/meep-vis-traffic-mgr/go.mod | 1 + go-packages/meep-vis-traffic-mgr/go.sum | 4 + .../meep-vis-traffic-mgr/traffic-mgr.go | 97 ++++++++++++++++++- 4 files changed, 107 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index ce01aef99..33fff7985 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -156,6 +156,14 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Created new VIS DB tables") + // Populate VIS DB Grid Map Table + err = sbi.trafficMgr.PopulateGridMapTable() + if err != nil { + log.Error("Failed to populate grid map table: ", err) + return err + } + log.Info("Populated VIS DB grid map table") + // Populate VIS DB Categories Table err = sbi.trafficMgr.PopulateCategoryTable() if err != nil { diff --git a/go-packages/meep-vis-traffic-mgr/go.mod b/go-packages/meep-vis-traffic-mgr/go.mod index dcff9736e..b7bf0a26b 100644 --- a/go-packages/meep-vis-traffic-mgr/go.mod +++ b/go-packages/meep-vis-traffic-mgr/go.mod @@ -5,6 +5,7 @@ go 1.16 require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 github.com/lib/pq v1.5.2 + gopkg.in/yaml.v2 v2.4.0 ) replace github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger diff --git a/go-packages/meep-vis-traffic-mgr/go.sum b/go-packages/meep-vis-traffic-mgr/go.sum index 7fff39489..77b899f02 100644 --- a/go-packages/meep-vis-traffic-mgr/go.sum +++ b/go-packages/meep-vis-traffic-mgr/go.sum @@ -13,3 +13,7 @@ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1 github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 81f18f833..fa83e49c5 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -19,9 +19,12 @@ package vistrafficmgr import ( "database/sql" "errors" + "io/ioutil" "strings" "time" + "gopkg.in/yaml.v2" + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" _ "github.com/lib/pq" @@ -62,6 +65,11 @@ const ( TrafficTable = "traffic_patterns" ) +// Grid Map file name +const gridFile = "grid_map.yaml" + +var yamlFile []byte + // Category-wise Traffic Loads var categoriesLoads = map[string]map[string]int32{ "commercial": { @@ -84,7 +92,7 @@ var categoriesLoads = map[string]map[string]int32{ "1800-2100": 15, "2100-2400": 8, }, - "beach": { + "coastal": { "0000-0300": 2, "0300-0600": 5, "0600-0900": 8, @@ -193,6 +201,13 @@ func NewTrafficMgr(name, namespace, user, pwd, host, port string) (tm *TrafficMg return nil, err } + // Open grid map file + yamlFile, err = ioutil.ReadFile(gridFile) + if err != nil { + log.Error("Failed to open grid map file with err: ", err.Error()) + return nil, err + } + log.Info("Postgis Connector successfully created") tm.connected = true return tm, nil @@ -301,10 +316,10 @@ func (tm *TrafficMgr) CreateTables() (err error) { // Grid Table _, err = tm.db.Exec(`CREATE TABLE ` + GridTable + ` ( - id varchar(36) NOT NULL, + area varchar(100) NOT NULL, category varchar(100) NOT NULL, grid geometry(POLYGON,4326), - PRIMARY KEY (id) + PRIMARY KEY (area) )`) if err != nil { log.Error(err.Error()) @@ -373,6 +388,43 @@ func (tm *TrafficMgr) DeleteTable(tableName string) (err error) { return nil } +// CreateGridMap - Create new Grid Map +func (tm *TrafficMgr) CreateGridMap(area string, category string, grid string) (err error) { + if profiling { + profilingTimers["CreateGridMap"] = time.Now() + } + + // Validate input + if area == "" { + return errors.New("Missing area name") + } + if category == "" { + return errors.New("Missing category name") + } + if grid == "" { + return errors.New("Missing grid polygon data") + } + + // Create Grid Map entry + query := `INSERT INTO ` + GridTable + + ` (area, category, grid) + VALUES ($1, $2, ST_GeomFromEWKT('SRID=4326;POLYGON(` + grid + `)'))` + _, err = tm.db.Exec(query, area, category) + if err != nil { + log.Error(err.Error()) + return err + } + + // Notify listener + // tm.notifyListener(TypePoa, name) + + if profiling { + now := time.Now() + log.Debug("CreateGridMap: ", now.Sub(profilingTimers["CreateGridMap"])) + } + return nil +} + // CreateCategoryLoad - Create new Category Load func (tm *TrafficMgr) CreateCategoryLoad(category string, data map[string]int32) (err error) { if profiling { @@ -742,6 +794,45 @@ func (tm *TrafficMgr) DeleteAllPoaLoad() (err error) { return nil } +// PopulateGridMapTable - Populate the grid_map table +func (tm *TrafficMgr) PopulateGridMapTable() (err error) { + if profiling { + profilingTimers["PopulateGridMapTable"] = time.Now() + } + + // Get grid map from YAML file + var yamlGrid map[string]map[string][]string + err = yaml.Unmarshal(yamlFile, &yamlGrid) + if err != nil { + log.Error(err.Error()) + return err + } + + for category, areas := range yamlGrid { + for area, points := range areas { + polygonStr := "(" + for i, pointStr := range points { + if i != len(points)-1 { + polygonStr = polygonStr + pointStr + ", " + } else { + polygonStr = polygonStr + pointStr + ")" + } + } + err = tm.CreateGridMap(area, category, polygonStr) + if err != nil { + log.Error(err.Error()) + return err + } + } + } + + if profiling { + now := time.Now() + log.Debug("PopulateGridMapTable: ", now.Sub(profilingTimers["PopulateGridMapTable"])) + } + return nil +} + // PopulateCategoryTable - Populate the categories table func (tm *TrafficMgr) PopulateCategoryTable() (err error) { if profiling { -- GitLab From 69c267249b8ef67f574f9699903cc78dfbe55349 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 12 May 2022 12:37:34 +0500 Subject: [PATCH 090/183] embed grid_map.yaml file for binary creation --- go-packages/meep-vis-traffic-mgr/.gitignore | 1 + .../meep-vis-traffic-mgr/traffic-mgr.go | 22 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 go-packages/meep-vis-traffic-mgr/.gitignore diff --git a/go-packages/meep-vis-traffic-mgr/.gitignore b/go-packages/meep-vis-traffic-mgr/.gitignore new file mode 100644 index 000000000..739ff4659 --- /dev/null +++ b/go-packages/meep-vis-traffic-mgr/.gitignore @@ -0,0 +1 @@ +grid_map.yaml diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index fa83e49c5..ccb60e4cc 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -18,15 +18,14 @@ package vistrafficmgr import ( "database/sql" + _ "embed" "errors" - "io/ioutil" "strings" "time" "gopkg.in/yaml.v2" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" - _ "github.com/lib/pq" ) @@ -66,8 +65,10 @@ const ( ) // Grid Map file name -const gridFile = "grid_map.yaml" +// const gridFile = "grid_map.yaml" +// Open and embed grid_map.yaml file +//go:embed grid_map.yaml var yamlFile []byte // Category-wise Traffic Loads @@ -202,8 +203,7 @@ func NewTrafficMgr(name, namespace, user, pwd, host, port string) (tm *TrafficMg } // Open grid map file - yamlFile, err = ioutil.ReadFile(gridFile) - if err != nil { + if yamlFile == nil { log.Error("Failed to open grid map file with err: ", err.Error()) return nil, err } @@ -881,12 +881,12 @@ func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { "5g-small-cell-13": "residential", "5g-small-cell-14": "residential", "5g-small-cell-15": "residential", - "4g-macro-cell-10": "beach", - "5g-small-cell-16": "beach", - "5g-small-cell-17": "beach", - "5g-small-cell-18": "beach", - "5g-small-cell-19": "beach", - "5g-small-cell-20": "beach", + "4g-macro-cell-10": "coastal", + "5g-small-cell-16": "coastal", + "5g-small-cell-17": "coastal", + "5g-small-cell-18": "coastal", + "5g-small-cell-19": "coastal", + "5g-small-cell-20": "coastal", } for _, poaName := range poaNameList { -- GitLab From 5a6f877ecb861ab5223c010458d099de1fd60307 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 12 May 2022 19:59:44 +0500 Subject: [PATCH 091/183] populate PoA traffic load as per categories from grid table --- go-apps/meep-vis/sbi/vis-sbi.go | 101 +++++++++++------- .../meep-vis-traffic-mgr/traffic-mgr.go | 95 ++++++++-------- 2 files changed, 116 insertions(+), 80 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 33fff7985..bf3fdc3c6 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -17,9 +17,14 @@ package sbi import ( + "os" + "strconv" + "strings" "sync" + // "time" + dataModel "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model" gc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache" log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" @@ -137,51 +142,66 @@ func Init(cfg SbiCfg) (err error) { } log.Info("Connected to GIS Cache") - // Connect to VIS Traffic Manager - sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") - if err != nil { - log.Error("Failed connection to VIS Traffic Manager: ", err) - return err + // Get prediction model support + var predictionModelSupported bool = false + predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICT_MODEL_SUPPORTED")) + if predictionModelSupportedEnv != "" { + value, err := strconv.ParseBool(predictionModelSupportedEnv) + if err == nil { + predictionModelSupported = value + } } - log.Info("Connected to VIS Traffic Manager") + log.Info("MEEP_PREDICT_MODEL_SUPPORTED: ", predictionModelSupported) - // Delete any old tables - _ = sbi.trafficMgr.DeleteTables() - - // Create new tables - err = sbi.trafficMgr.CreateTables() - if err != nil { - log.Error("Failed to create tables: ", err) - return err - } - log.Info("Created new VIS DB tables") + if predictionModelSupported { + // Connect to VIS Traffic Manager + sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") + if err != nil { + log.Error("Failed connection to VIS Traffic Manager: ", err) + return err + } + log.Info("Connected to VIS Traffic Manager") - // Populate VIS DB Grid Map Table - err = sbi.trafficMgr.PopulateGridMapTable() - if err != nil { - log.Error("Failed to populate grid map table: ", err) - return err - } - log.Info("Populated VIS DB grid map table") + // Delete any old tables + _ = sbi.trafficMgr.DeleteTables() - // Populate VIS DB Categories Table - err = sbi.trafficMgr.PopulateCategoryTable() - if err != nil { - log.Error("Failed to populate categories table: ", err) - return err + // Create new tables + err = sbi.trafficMgr.CreateTables() + if err != nil { + log.Error("Failed to create tables: ", err) + return err + } + log.Info("Created new VIS DB tables") } - log.Info("Populated VIS DB categories table") // Initialize service processActiveScenarioUpdate() - // Populate VIS DB Traffic Load Table - err = populatePoaTable() - if err != nil { - log.Error("Failed to populate traffic load table: ", err) - return err + if predictionModelSupported { + // Populate VIS DB Grid Map Table + err = sbi.trafficMgr.PopulateGridMapTable() + if err != nil { + log.Error("Failed to populate grid map table: ", err) + return err + } + log.Info("Populated VIS DB grid map table") + + // Populate VIS DB Categories Table + err = sbi.trafficMgr.PopulateCategoryTable() + if err != nil { + log.Error("Failed to populate categories table: ", err) + return err + } + log.Info("Populated VIS DB categories table") + + // Populate VIS DB Traffic Load Table + err = populatePoaTable() + if err != nil { + log.Error("Failed to populate traffic load table: ", err) + return err + } + log.Info("Populated VIS DB traffic load table") } - log.Info("Populated VIS DB traffic load table") return nil } @@ -308,7 +328,16 @@ func processActiveScenarioUpdate() { func populatePoaTable() (err error) { poaNameList := sbi.activeModel.GetNodeNames(mod.NodeTypePoa4G, mod.NodeTypePoa5G) - err = sbi.trafficMgr.PopulateStaticPoaLoad(poaNameList) + var gpsCoordinates [][]float32 + for _, poaName := range poaNameList { + node := sbi.activeModel.GetNode(poaName) + if node != nil { + nl := node.(*dataModel.NetworkLocation) + location := nl.GeoData.Location.Coordinates + gpsCoordinates = append(gpsCoordinates, location) + } + } + err = sbi.trafficMgr.PopulatePoaLoad(poaNameList, gpsCoordinates) if err != nil { log.Error(err.Error()) return err diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index ccb60e4cc..344da4825 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -20,6 +20,7 @@ import ( "database/sql" _ "embed" "errors" + "strconv" "strings" "time" @@ -854,50 +855,56 @@ func (tm *TrafficMgr) PopulateCategoryTable() (err error) { return nil } -// PopulateStaticPoaLoad - Populate the Traffic Load table with static data -func (tm *TrafficMgr) PopulateStaticPoaLoad(poaNameList []string) (err error) { - var poaCategoryMap = map[string]string{ - "4g-macro-cell-6": "commercial", - "4g-macro-cell-7": "commercial", - "5g-small-cell-4": "commercial", - "5g-small-cell-5": "commercial", - "5g-small-cell-6": "commercial", - "5g-small-cell-7": "commercial", - "5g-small-cell-10": "commercial", - "5g-small-cell-11": "commercial", - "5g-small-cell-12": "commercial", - "4g-macro-cell-1": "residential", - "4g-macro-cell-2": "residential", - "4g-macro-cell-3": "residential", - "4g-macro-cell-4": "residential", - "4g-macro-cell-5": "residential", - "4g-macro-cell-8": "residential", - "4g-macro-cell-9": "residential", - "5g-small-cell-1": "residential", - "5g-small-cell-2": "residential", - "5g-small-cell-3": "residential", - "5g-small-cell-8": "residential", - "5g-small-cell-9": "residential", - "5g-small-cell-13": "residential", - "5g-small-cell-14": "residential", - "5g-small-cell-15": "residential", - "4g-macro-cell-10": "coastal", - "5g-small-cell-16": "coastal", - "5g-small-cell-17": "coastal", - "5g-small-cell-18": "coastal", - "5g-small-cell-19": "coastal", - "5g-small-cell-20": "coastal", - } - - for _, poaName := range poaNameList { - for poa, category := range poaCategoryMap { - if poa == poaName { - err = tm.CreatePoaLoad(poaName, category) - if err != nil { - log.Error(err.Error()) - return err - } - } +// GetPoaCategory - Get the category for a PoA +func (tm *TrafficMgr) GetPoaCategory(longitude float32, latitude float32) (category string, err error) { + if profiling { + profilingTimers["GetPoaCategory"] = time.Now() + } + + coordinates := "(" + strconv.FormatFloat(float64(longitude), 'E', -1, 32) + " " + strconv.FormatFloat(float64(latitude), 'E', -1, 32) + ")" + + dbQuery := "SELECT category FROM " + GridTable + " WHERE ST_Contains(" + GridTable + ".grid" + ", 'SRID=4326;POINT" + coordinates + ");" + + var rows *sql.Rows + rows, err = tm.db.Query(dbQuery) + if err != nil { + log.Error(err.Error()) + return "", err + } + defer rows.Close() + + category = "" + + if rows.Next() { + err = rows.Scan(&category) + if err != nil { + log.Error(err.Error()) + return category, err + } + return category, nil + } + err = rows.Err() + if err != nil { + log.Error(err) + } + return category, err +} + +// PopulatePoaLoad - Populate the Traffic Load table +func (tm *TrafficMgr) PopulatePoaLoad(poaNameList []string, gpsCoordinates [][]float32) (err error) { + for i, poaName := range poaNameList { + poaLongitude := gpsCoordinates[i][0] + poaLatitude := gpsCoordinates[i][1] + category, err := tm.GetPoaCategory(poaLongitude, poaLatitude) + if err != nil { + log.Error(err.Error()) + return err + } + + err = tm.CreatePoaLoad(poaName, category) + if err != nil { + log.Error(err.Error()) + return err } } -- GitLab From 5d91277756e83ea8efc8ab9c11042f8aed7f9e18 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 13 May 2022 10:43:41 +0500 Subject: [PATCH 092/183] fix comma typo in traffic manager query and add input valdiation --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 344da4825..a15fba171 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -863,7 +863,7 @@ func (tm *TrafficMgr) GetPoaCategory(longitude float32, latitude float32) (categ coordinates := "(" + strconv.FormatFloat(float64(longitude), 'E', -1, 32) + " " + strconv.FormatFloat(float64(latitude), 'E', -1, 32) + ")" - dbQuery := "SELECT category FROM " + GridTable + " WHERE ST_Contains(" + GridTable + ".grid" + ", 'SRID=4326;POINT" + coordinates + ");" + dbQuery := "SELECT category FROM " + GridTable + " WHERE ST_Contains(" + GridTable + ".grid, 'SRID=4326;POINT" + coordinates + "');" var rows *sql.Rows rows, err = tm.db.Query(dbQuery) @@ -892,6 +892,17 @@ func (tm *TrafficMgr) GetPoaCategory(longitude float32, latitude float32) (categ // PopulatePoaLoad - Populate the Traffic Load table func (tm *TrafficMgr) PopulatePoaLoad(poaNameList []string, gpsCoordinates [][]float32) (err error) { + // Validate input + if poaNameList == nil { + err = errors.New("Missing POA Name List") + return err + } + + if gpsCoordinates == nil { + err = errors.New("Missing GPS coordinates") + return err + } + for i, poaName := range poaNameList { poaLongitude := gpsCoordinates[i][0] poaLatitude := gpsCoordinates[i][1] -- GitLab From 8678157b18b552b7902541ca990a775f4a4546c8 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 13 May 2022 16:30:44 +0500 Subject: [PATCH 093/183] validate category from grid map file --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index a15fba171..cf6dba8d4 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -912,6 +912,12 @@ func (tm *TrafficMgr) PopulatePoaLoad(poaNameList []string, gpsCoordinates [][]f return err } + if _, ok := categoriesLoads[category]; !ok { + err = errors.New("Category " + category + " not present in the categories table") + log.Error(err.Error()) + return err + } + err = tm.CreatePoaLoad(poaName, category) if err != nil { log.Error(err.Error()) -- GitLab From b773ec3bf28e750662e03c690c0b46ecc1d99780 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 16 May 2022 08:14:43 +0200 Subject: [PATCH 094/183] Adding testing for gis-engine --- go-apps/meep-gis-engine/go.mod | 1 + go-apps/meep-gis-engine/go.sum | 7 + go-apps/meep-gis-engine/server/gis-engine.go | 8 +- .../meep-gis-engine/server/gis-engine_test.go | 687 ++++++++++++++++++ go-apps/meep-vis/go.mod | 1 + 5 files changed, 701 insertions(+), 3 deletions(-) create mode 100644 go-apps/meep-gis-engine/server/gis-engine_test.go diff --git a/go-apps/meep-gis-engine/go.mod b/go-apps/meep-gis-engine/go.mod index 63299dfdb..d706af728 100644 --- a/go-apps/meep-gis-engine/go.mod +++ b/go-apps/meep-gis-engine/go.mod @@ -3,6 +3,7 @@ module github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-gis-engine go 1.12 require ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-asset-mgr v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 diff --git a/go-apps/meep-gis-engine/go.sum b/go-apps/meep-gis-engine/go.sum index cc115ecfb..c5ef8a385 100644 --- a/go-apps/meep-gis-engine/go.sum +++ b/go-apps/meep-gis-engine/go.sum @@ -1,6 +1,9 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/InterDigitalInc/AdvantEDGE v1.8.1 h1:2jZJ/Hu6IDweJifEpbOD8PP9pX03AQlZGNnrhv1Die8= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c h1:AXeDCMfeQR99VaCjOmw4TEK22Xe+v1plu1/3G8dH4zU= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c/go.mod h1:+r+Fh1BLqzIDlOkOx8zJ0OdhEZncrpM8eO/dp3+swtM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/KromDaniel/jonson v0.0.0-20180630143114-d2f9c3c389db/go.mod h1:RU+6d0CNIRSp6yo1mXLIIrnFa/3LHhvcDVLVJyovptM= github.com/KromDaniel/rejonson v0.0.0-20180822072824-00b5bcf2b351 h1:1u1XrfCBnY+GijnyU6O1k4odp5TnqZQTsp5v7+n/E4Y= @@ -113,8 +116,11 @@ github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YAR github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= @@ -255,6 +261,7 @@ github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index cecb10324..98c21e104 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -41,11 +41,13 @@ import ( const serviceName = "GIS Engine" const moduleName = "meep-gis-engine" -const redisAddr = "meep-redis-master.default.svc.cluster.local:6379" -const influxAddr = "http://meep-influxdb.default.svc.cluster.local:8086" +var redisAddr = "meep-redis-master.default.svc.cluster.local:6379" +var influxAddr = "http://meep-influxdb.default.svc.cluster.local:8086" const sboxCtrlBasepath = "http://meep-sandbox-ctrl/sandbox-ctrl/v1" const postgisUser = "postgres" const postgisPwd = "pwd" +var postgisHost string = "" +var postgisPort string = "" // Enable profiling const profiling = false @@ -172,7 +174,7 @@ func Init() (err error) { log.Info("Connected to GIS Cache") // Connect to GIS Asset Manager - ge.assetMgr, err = am.NewAssetMgr(moduleName, ge.sandboxName, postgisUser, postgisPwd, "", "") + ge.assetMgr, err = am.NewAssetMgr(moduleName, ge.sandboxName, postgisUser, postgisPwd, postgisHost, postgisPort) if err != nil { log.Error("Failed connection to GIS Asset Manager: ", err) return err diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go new file mode 100644 index 000000000..c14a0abbe --- /dev/null +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -0,0 +1,687 @@ +/* + * Copyright (c) 2021 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on ance "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + package server + + import ( + "os" + //"bytes" + //"encoding/json" + "errors" + "fmt" + "io" + "net/http" + "net/http/httptest" + "strings" + "testing" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + //met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" + mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" + + "github.com/gorilla/mux" + ) + + //const INITIAL = 0 + //const UPDATED = 1 + + //json format using spacing to facilitate reading +const testScenario string = ` +{ + "version":"1.5.3", + "name":"test-scenario", + "deployment":{ + "netChar":{ + "latency":50, + "latencyVariation":5, + "throughputDl":1000, + "throughputUl":1000 + }, + "domains":[ + { + "id":"PUBLIC", + "name":"PUBLIC", + "type":"PUBLIC", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000000, + "throughputUl":1000000 + }, + "zones":[ + { + "id":"PUBLIC-COMMON", + "name":"PUBLIC-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000000 + }, + "networkLocations":[ + { + "id":"PUBLIC-COMMON-DEFAULT", + "name":"PUBLIC-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":50000, + "throughputUl":50000, + "packetLoss":1 + } + } + ] + } + ] + }, + { + "id":"4da82f2d-1f44-4945-8fe7-00c0431ef8c7", + "name":"operator-cell1", + "type":"OPERATOR-CELLULAR", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000, + "throughputUl":1000 + }, + "cellularDomainConfig":{ + "mnc":"456", + "mcc":"123", + "defaultCellId":"1234567" + }, + "zones":[ + { + "id":"operator-cell1-COMMON", + "name":"operator-cell1-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"operator-cell1-COMMON-DEFAULT", + "name":"operator-cell1-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"0836975f-a7ea-41ec-b0e0-aff43178194d", + "name":"zone1", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"zone1-DEFAULT", + "name":"zone1-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "physicalLocations":[ + { + "id":"97b80da7-a74a-4649-bb61-f7fa4fbb2d76", + "name":"zone1-edge1", + "type":"EDGE", + "connected":true, + "processes":[ + { + "id":"fcf1269c-a061-448e-aa80-6dd9c2d4c548", + "name":"zone1-edge1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone1-edge1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"35697e68-c627-4b8d-9cd7-ad8b8e226aee", + "name":"zone1-edge1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-edge1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone1-edge1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7a6f8077-b0b3-403d-b954-3351e21afeb7", + "name":"zone1-poa-cell1", + "type":"POA-4G", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "poa4GConfig":{ + "cellId":"2345678" + }, + "physicalLocations":[ + { + "id":"32a2ced4-a262-49a8-8503-8489a94386a2", + "name":"ue1", + "type":"UE", + "connected":true, + "wireless":true, + "processes":[ + { + "id":"9bdd6acd-f6e4-44f6-a26c-8fd9abd338a7", + "name":"ue1-iperf", + "type":"UE-APP", + "image":"meep-docker-registry:30001/iperf-client", + "commandArguments":"-c, export; iperf -u -c $IPERF_SERVICE_HOST -p $IPERF_SERVICE_PORT\n-t 3600 -b 50M;", + "commandExe":"/bin/bash", + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"b1851da5-c9e1-4bd8-ad23-5925c82ee127", + "name":"zone1-fog1", + "type":"FOG", + "connected":true, + "processes":[ + { + "id":"c2f2fb5d-4053-4cee-a0ee-e62bbb7751b6", + "name":"zone1-fog1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone1-fog1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"53b5806b-e213-4c5a-a181-f1c31c24287b", + "name":"zone1-fog1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-fog1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone1-fog1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7ff90180-2c1a-4c11-b59a-3608c5d8d874", + "name":"zone1-poa-cell2", + "type":"POA-4G", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "poa4GConfig":{ + "cellId":"3456789" + } + } + ] + }, + { + "id":"d1f06b00-4454-4d35-94a5-b573888e7ea9", + "name":"zone2", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughput":1000 + }, + "networkLocations":[ + { + "id":"zone2-DEFAULT", + "name":"zone2-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "physicalLocations":[ + { + "id":"fb130d18-fd81-43e0-900c-c584e7190302", + "name":"zone2-edge1", + "type":"EDGE", + "connected":true, + "processes":[ + { + "id":"5c8276ba-0b78-429d-a0bf-d96f35ba2c77", + "name":"zone2-edge1-iperf", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/iperf-server", + "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", + "commandExe":"/bin/bash", + "serviceConfig":{ + "name":"zone2-edge1-iperf", + "meSvcName":"iperf", + "ports":[ + { + "protocol":"UDP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"53fa28f0-80e2-414c-8841-86db9bd37d51", + "name":"zone2-edge1-svc", + "type":"EDGE-APP", + "image":"meep-docker-registry:30001/demo-server", + "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone2-edge1-svc, MGM_APP_PORT=80", + "serviceConfig":{ + "name":"zone2-edge1-svc", + "meSvcName":"svc", + "ports":[ + { + "protocol":"TCP", + "port":80 + } + ] + }, + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ], + "netChar":{ + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"c44b8937-58af-44b2-acdb-e4d1c4a1510b", + "name":"zone2-poa1", + "type":"POA", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":20, + "throughputUl":20 + } + } + ] + } + ] + }, + { + "id":"e29138fb-cf03-4372-8335-fd2665b77a11", + "name":"operator1", + "type":"OPERATOR", + "netChar":{ + "latency":6, + "latencyVariation":2, + "throughputDl":1000, + "throughputUl":1000 + }, + "zones":[ + { + "id":"operator1-COMMON", + "name":"operator1-COMMON", + "type":"COMMON", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "networkLocations":[ + { + "id":"operator1-COMMON-DEFAULT", + "name":"operator1-COMMON-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + }, + { + "id":"7d8bee73-6d5c-4c5a-a3a0-49ebe3cd2c71", + "name":"zone3", + "type":"ZONE", + "netChar":{ + "latency":5, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + }, + "networkLocations":[ + { + "id":"zone3-DEFAULT", + "name":"zone3-DEFAULT", + "type":"DEFAULT", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + }, + { + "id":"ecc2a41b-7381-4108-a037-52862c520733", + "name":"poa1", + "type":"POA", + "netChar":{ + "latency":1, + "latencyVariation":1, + "throughputDl":1000, + "throughputUl":1000 + } + } + ] + } + ] + } + ] + } +} +` + +const redisTestAddr = "localhost:30380" +const influxTestAddr = "http://localhost:30986" +const postgisTestHost = "localhost" +const postgisTestPort = "30432" +const testScenarioName = "testScenario" + +var m *mod.Model +var mqLocal *mq.MsgQueue + +func TestGetAutomationState(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + initializeVars() + err := Init() + if err != nil { + t.Fatalf("Error initializing test basic procedure") + } + err = Run() + if err != nil { + t.Fatalf("Error running test basic procedure") + } + fmt.Println("Set a scenario") + initialiseScenario(testScenario) + + time.Sleep(1000 * time.Millisecond) + + r, err := sendRequest(http.MethodGet, "/automation", nil, nil, nil, http.StatusOK, GetAutomationState) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + fmt.Println("==> ", r) + + terminateScenario() +} + + +func terminateScenario() { + if mqLocal != nil { + Stop() + msg := mqLocal.CreateMsg(mq.MsgScenarioTerminate, mq.TargetAll, testScenarioName) + err := mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + time.Sleep(100 * time.Millisecond) + } +} + +func updateScenario(testUpdate string) { + + switch testUpdate { + case "mobility1": + // mobility event of ue1 to zone2-poa1 + elemName := "ue1" + destName := "zone2-poa1" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + case "mobility2": + // mobility event of ue1 to zone2-poa1 + elemName := "ue1" + destName := "zone1-poa-cell1" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + case "mobility3": + // mobility event of ue1 to zone1-poa-cell2 + elemName := "ue1" + destName := "zone1-poa-cell2" + + _, _, err := m.MoveNode(elemName, destName, nil) + if err != nil { + log.Error("Error sending mobility event") + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioUpdate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + } + default: + } + time.Sleep(100 * time.Millisecond) +} + +func initializeVars() { + mod.DbAddress = redisTestAddr + redisAddr = redisTestAddr + influxAddr = influxTestAddr + postgisHost = postgisTestHost + postgisPort = postgisTestPort + os.Setenv("MEEP_SANDBOX_NAME", testScenarioName); +} + +func initialiseScenario(testScenario string) { + + //clear DB + //TODO cleanUp() + + cfg := mod.ModelCfg{ + Name: testScenarioName, + Namespace: strings.TrimSpace(os.Getenv("MEEP_SANDBOX_NAME")), + Module: "test-mod", + UpdateCb: nil, + DbAddr: redisAddr, + } + + var err error + m, err = mod.NewModel(cfg) + if err != nil { + log.Error("Failed to create model: ", err) + return + } + + // Create message queue + mqLocal, err = mq.NewMsgQueue(mq.GetLocalName(testScenarioName), "test-mod", testScenarioName, redisAddr) + if err != nil { + log.Error("Failed to create Message Queue with error: ", err) + return + } + log.Info("Message Queue created") + + fmt.Println("Set Model") + err = m.SetScenario([]byte(testScenario)) + if err != nil { + log.Error("Failed to set model: ", err) + return + } + + err = m.Activate() + if err != nil { + log.Error("Failed to activate scenario with err: ", err.Error()) + return + } + + msg := mqLocal.CreateMsg(mq.MsgScenarioActivate, mq.TargetAll, testScenarioName) + err = mqLocal.SendMsg(msg) + if err != nil { + log.Error("Failed to send message: ", err) + return + } + + time.Sleep(100 * time.Millisecond) + +} + +func sendRequest(method string, url string, body io.Reader, vars map[string]string, query map[string]string, code int, f http.HandlerFunc) (string, error) { + req, err := http.NewRequest(method, url, body) + if err != nil || req == nil { + return "", err + } + if vars != nil { + req = mux.SetURLVars(req, vars) + } + if query != nil { + q := req.URL.Query() + for k, v := range query { + q.Add(k, v) + } + req.URL.RawQuery = q.Encode() + } + + // We create a ResponseRecorder (which satisfies http.ResponseWriter) to record the response. + rr := httptest.NewRecorder() + handler := http.HandlerFunc(f) + + // Our handlers satisfy http.Handler, so we can call their ServeHTTP method + // directly and pass in our Request and ResponseRecorder. + handler.ServeHTTP(rr, req) + + time.Sleep(50 * time.Millisecond) + + // Check the status code is what we expect. + if status := rr.Code; status != code { + s := fmt.Sprintf("Wrong status code - got %v want %v", status, code) + return "", errors.New(s) + } + return string(rr.Body.String()), nil +} diff --git a/go-apps/meep-vis/go.mod b/go-apps/meep-vis/go.mod index d760a7c07..17d3b7621 100644 --- a/go-apps/meep-vis/go.mod +++ b/go-apps/meep-vis/go.mod @@ -5,6 +5,7 @@ go 1.12 require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-key-mgr v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-http-logger v0.0.0 -- GitLab From 77e24364748a1b59bfbf132a42f8df6e10d5bd19 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 16 May 2022 19:03:49 +0500 Subject: [PATCH 095/183] update diurnal traffic patterns with more appropriate values in meep-vis-traffic-mgr --- .../meep-vis-traffic-mgr/traffic-mgr.go | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index cf6dba8d4..4773dce70 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -69,40 +69,40 @@ const ( // const gridFile = "grid_map.yaml" // Open and embed grid_map.yaml file -//go:embed grid_map.yaml +// go:embed grid_map.yaml var yamlFile []byte // Category-wise Traffic Loads var categoriesLoads = map[string]map[string]int32{ "commercial": { - "0000-0300": 1, - "0300-0600": 3, - "0600-0900": 8, - "0900-1200": 12, - "1200-1500": 15, - "1500-1800": 10, - "1800-2100": 5, - "2100-2400": 2, + "0000-0300": 50, + "0300-0600": 50, + "0600-0900": 75, + "0900-1200": 100, + "1200-1500": 125, + "1500-1800": 100, + "1800-2100": 75, + "2100-2400": 50, }, "residential": { - "0000-0300": 5, - "0300-0600": 2, - "0600-0900": 10, - "0900-1200": 8, - "1200-1500": 5, - "1500-1800": 12, - "1800-2100": 15, - "2100-2400": 8, + "0000-0300": 125, + "0300-0600": 125, + "0600-0900": 100, + "0900-1200": 75, + "1200-1500": 50, + "1500-1800": 50, + "1800-2100": 125, + "2100-2400": 125, }, "coastal": { - "0000-0300": 2, - "0300-0600": 5, - "0600-0900": 8, - "0900-1200": 10, - "1200-1500": 20, - "1500-1800": 15, - "1800-2100": 5, - "2100-2400": 2, + "0000-0300": 25, + "0300-0600": 25, + "0600-0900": 50, + "0900-1200": 25, + "1200-1500": 50, + "1500-1800": 75, + "1800-2100": 50, + "2100-2400": 25, }, } -- GitLab From 573414d58f8b097308dff5a0a78d9d9e80acffdc Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 16 May 2022 16:09:53 +0200 Subject: [PATCH 096/183] Enhance traffic-mgr_test (GridMap tests) --- .../meep-vis-traffic-mgr/traffic-mgr.go | 123 ++++++++++++++++++ .../meep-vis-traffic-mgr/traffic-mgr_test.go | 102 +++++++++++++++ 2 files changed, 225 insertions(+) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index cf6dba8d4..906767d47 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -145,6 +145,11 @@ type CategoryLoads struct { TwentyOneToTwentyFour int32 } +type GridMapTable struct { + area string + category string + grid string +} // Profiling init func init() { if profiling { @@ -795,6 +800,124 @@ func (tm *TrafficMgr) DeleteAllPoaLoad() (err error) { return nil } +// GetGridMap - Get GridMap information +func (tm *TrafficMgr) GetGridMap(area string) (gridMaps *GridMapTable, err error) { + if profiling { + profilingTimers["GetGridMap"] = time.Now() + } + + // Validate input + if area == "" { + err = errors.New("Missing area Name") + return nil, err + } + + // Get GridMap entry + var rows *sql.Rows + rows, err = tm.db.Query(` + SELECT area, category, grid + FROM `+GridTable+` + WHERE area = ($1)`, area) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan result + for rows.Next() { + gridMaps = new(GridMapTable) + err = rows.Scan( + &gridMaps.area, + &gridMaps.category, + &gridMaps.grid, + ) + if err != nil { + log.Error(err.Error()) + return nil, err + } + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + // Return error if not found + if gridMaps == nil { + err = errors.New("GridMap Load not found: " + area) + return nil, err + } + + if profiling { + now := time.Now() + log.Debug("GetGridMap: ", now.Sub(profilingTimers["GetGridMap"])) + } + return gridMaps, nil +} + +// GetAllGridMap - Get GridMap information +func (tm *TrafficMgr) GetAllGridMap() (gridMaps map[string]*GridMapTable, err error) { + if profiling { + profilingTimers["GetAllGridMap"] = time.Now() + } + + // Create Category map + gridMaps = make(map[string]*GridMapTable) + + // Get Category Load entry + var rows *sql.Rows + rows, err = tm.db.Query(`SELECT area, category, grid FROM ` + GridTable) + if err != nil { + log.Error(err.Error()) + return nil, err + } + defer rows.Close() + + // Scan results + for rows.Next() { + + gridMapItem := new(GridMapTable) + err = rows.Scan( + &gridMapItem.area, + &gridMapItem.category, + &gridMapItem.grid, + ) + + // Add Grid item to map + gridMaps[gridMapItem.area] = gridMapItem + } + err = rows.Err() + if err != nil { + log.Error(err) + } + + if profiling { + now := time.Now() + log.Debug("GetAllGridMap: ", now.Sub(profilingTimers["GetAllGridMap"])) + } + + return gridMaps, nil +} + +// DeleteAllGridMap - Delete all GridMap entries +func (tm *TrafficMgr) DeleteAllGridMap() (err error) { + if profiling { + profilingTimers["DeleteAllGridMap"] = time.Now() + } + + _, err = tm.db.Exec(`DELETE FROM ` + GridTable) + if err != nil { + log.Error(err.Error()) + return err + } + + if profiling { + now := time.Now() + log.Debug("DeleteAllGridMap: ", now.Sub(profilingTimers["DeleteAllGridMap"])) + } + return nil +} + // PopulateGridMapTable - Populate the grid_map table func (tm *TrafficMgr) PopulateGridMapTable() (err error) { if profiling { diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go index 239d34152..4627e6a98 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr_test.go @@ -28,6 +28,9 @@ const ( // FIXME To be update with correct values at the end hour1 = 13 inRsrp1 = 10 inRsrq1 = 10 + grid1 = "(7.422504565000003 43.72723219, 7.422214272000005 43.72747621000001, 7.421491549999999 43.72803665999997, 7.421329629999991 43.72830198999998, 7.421163718000012 43.72867443000003, 7.419276724999997 43.72859253000001, 7.419206675999996 43.72905120999999, 7.418583629000004 43.72901666000001, 7.418475553000015 43.73002454999999, 7.417616122000008 43.72994506000001, 7.417434616999978 43.73032852999999, 7.418496582999996 43.73105429000002, 7.418994657919904 43.73100689871077, 7.419449086174669 43.7308514985659, 7.420256165533474 43.73023629378087, 7.420497749571428 43.72995749603205, 7.420850294302137 43.73005520723608, 7.4215757625905 43.73035387586872, 7.421803319220919 43.7301342399201, 7.422212030034432 43.72965249553761, 7.423253358018433 43.72951012971406, 7.423973082002464 43.72925388225838, 7.42410389544898 43.72788678068092, 7.422504565000003 43.72723219)" // port-de-fontvieille + expectedGrid1 = "0103000020E61000000100000018000000C7576409A5B01D400153C4F115DD4540F09328F058B01D40B748C1F01DDD454050291B7B9BAF1D40967E264E30DD454033BED60871AF1D40B054E6FF38DD45408B49AC8A45AF1D400A24273445DD45405965B7E056AD1D40DF3A208542DD45404ABDCE8344AD1D409307D08C51DD4540B8C8D42FA1AC1D403878FC6A50DD4540083EF9DA84AC1D4077C3C77171DD4540EB16898FA3AB1D40D549F8D66EDD4540CAEEF0FA73AB1D40C5D7BF677BDD454014E4455E8AAC1D404693DD2F93DD4540D9DB83EF0CAD1D407B8E51A291DD454044D4AD0F84AD1D405C49BA8A8CDD454071A2DBA157AE1D400F12046278DD4540B4CD49F696AE1D40BF764A3F6FDD45409B282A61F3AE1D403EADF37272DD45402873848EB1AF1D4077AE5D3C7CDD4540A6979535EDAF1D40C512ED0975DD454012E7B35958B01D40B0E3C24065DD454005720A5469B11D407E9C829660DD4540F256E6FF25B21D40F063F33058DD4540013DA44A48B21D408E1BDF642BDD4540C7576409A5B01D400153C4F115DD4540" + area1 = "poa1-area" // port-de-fontvieille ) func TestNewTrafficMgr(t *testing.T) { @@ -257,6 +260,85 @@ func TestTrafficMgrCreateTrafficTable(t *testing.T) { // t.Fatalf("DONE") } +func TestTrafficMgrCreateCreateGridMap(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + // Create Connector + fmt.Println("Create valid VIS Asset Manager") + tm, err := NewTrafficMgr(tmName, tmNamespace, tmDBUser, tmDBPwd, tmDBHost, tmDBPort) + if err != nil || tm == nil { + t.Fatalf("Failed to create VIS Asset Manager") + } + + // Cleanup + _ = tm.DeleteTables() + + // Create tables + fmt.Println("Create Tables") + err = tm.CreateTables() + if err != nil { + t.Fatalf("Failed to create tables") + } + + // Make sure GridMap don't exist + fmt.Println("Verify no GridMap present") + gridMaps, err := tm.GetAllGridMap() + if err != nil { + t.Fatalf("Failed to get all GridMap") + } + if len(gridMaps) != 0 { + t.Fatalf("No GridMap should be present") + } + + // Add Invalid GridMap + fmt.Println("Create Invalid GridMap") + err = tm.CreateGridMap("", category1, grid1) // Invalid area field value + if err == nil { + t.Fatalf("GridMap creation should have failed") + } + err = tm.CreateGridMap(area1, "", grid1) // Invalid category field value + if err == nil { + t.Fatalf("GridMap creation should have failed") + } + err = tm.CreateGridMap(area1, category1, "") // Invalid grid field value + if err == nil { + t.Fatalf("GridMap creation should have failed") + } + fmt.Println("Invalid checks done") + + // Add Traffic & Validate successfully added + err = tm.CreateGridMap(area1, category1, grid1) + if err != nil { + t.Fatalf("Failed to create asset: " + err.Error()) + } + gridMap, err := tm.GetGridMap(area1) + if err != nil || gridMap == nil { + t.Fatalf("Failed to get GridMap") + } + //fmt.Println("Create GridMap: ", gridMap) + if !validateGridMap(gridMap, area1, category1, expectedGrid1) { + t.Fatalf("Area validation failed") + } + gridMap, err = tm.GetGridMap(area1 + "_unknown") + if err == nil || gridMap != nil { + t.Fatalf("GetGridMap should have failed") + } + + // Delete all & validate updatespoaMap + fmt.Println("Delete all & validate updates") + err = tm.DeleteAllGridMap() + if err != nil { + t.Fatalf("Failed to delete all GridMap") + } + gridMaps, err = tm.GetAllGridMap() + if err != nil || len(gridMaps) != 0 { + t.Fatalf("GridMap should no longer exist") + } + + // t.Fatalf("DONE") +} + func TestPredictQosPerTrafficLoad(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) @@ -432,3 +514,23 @@ func validatePredictQosPerTrafficLoad(rsrp int32, rsrq int32, expectedRsrp int32 } return true } + +func validateGridMap(gridMap *GridMapTable, area string, category string, grid string) bool { + if gridMap == nil { + fmt.Println("gridMap == nil") + return false + } + if (gridMap.area != area) { + fmt.Println("gridMap.area != area") + return false + } + if (gridMap.category != category) { + fmt.Println("gridMap.category != category") + return false + } + if (gridMap.grid != grid) { + fmt.Println("gridMap.grid != grid") + return false + } + return true +} -- GitLab From 2e8d6c81c50b94839661711b363303c72ccf3372 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Tue, 17 May 2022 10:36:34 +0500 Subject: [PATCH 097/183] remove space before go:embed in traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 140896fef..7dd01e5e7 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -69,7 +69,7 @@ const ( // const gridFile = "grid_map.yaml" // Open and embed grid_map.yaml file -// go:embed grid_map.yaml +//go:embed grid_map.yaml var yamlFile []byte // Category-wise Traffic Loads @@ -150,6 +150,7 @@ type GridMapTable struct { category string grid string } + // Profiling init func init() { if profiling { -- GitLab From dc833bc84786d77d59e3fc4c99f08db51d7f3ec6 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 11:46:58 +0500 Subject: [PATCH 098/183] redefine opening of grid_map.yaml file using viper --- go-packages/meep-vis-traffic-mgr/go.mod | 2 +- go-packages/meep-vis-traffic-mgr/go.sum | 800 +++++++++++++++++- .../meep-vis-traffic-mgr/traffic-mgr.go | 41 +- 3 files changed, 821 insertions(+), 22 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/go.mod b/go-packages/meep-vis-traffic-mgr/go.mod index b7bf0a26b..81ea16dfa 100644 --- a/go-packages/meep-vis-traffic-mgr/go.mod +++ b/go-packages/meep-vis-traffic-mgr/go.mod @@ -5,7 +5,7 @@ go 1.16 require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 github.com/lib/pq v1.5.2 - gopkg.in/yaml.v2 v2.4.0 + github.com/spf13/viper v1.11.0 ) replace github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger diff --git a/go-packages/meep-vis-traffic-mgr/go.sum b/go-packages/meep-vis-traffic-mgr/go.sum index 77b899f02..ef8637c54 100644 --- a/go-packages/meep-vis-traffic-mgr/go.sum +++ b/go-packages/meep-vis-traffic-mgr/go.sum @@ -1,19 +1,811 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= +cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= +cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= +github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= +github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= +github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= +github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= +github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= +github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= +github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= +github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= +github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= +github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= +github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= +github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= +github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= +github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= +github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= +github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= +github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= +github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs= +github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= +github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM= +github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.0-beta.8 h1:dy81yyLYJDwMTifq24Oi/IslOslRrDSb3jwDggjz3Z0= +github.com/pelletier/go-toml/v2 v2.0.0-beta.8/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= +github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= +github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= +github.com/sagikazarmark/crypt v0.5.0/go.mod h1:l+nzl7KWh51rpzp2h7t4MZWyiEWdhNpOAnclKvg+mdA= +github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= +github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= +github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= +github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.11.0 h1:7OX/1FS6n7jHD1zGrZTM7WtY13ZELRyosK4k93oPr44= +github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +go.etcd.io/etcd/api/v3 v3.5.2/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= +go.etcd.io/etcd/client/pkg/v3 v3.5.2/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= +go.etcd.io/etcd/client/v2 v2.305.2/go.mod h1:2D7ZejHVMIfog1221iLSYlQRzrtECw3kz4I4VAQm3qI= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= +golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= +google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= +google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= +gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 7dd01e5e7..92644eddf 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -24,10 +24,9 @@ import ( "strings" "time" - "gopkg.in/yaml.v2" - log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" _ "github.com/lib/pq" + "github.com/spf13/viper" ) // DB Config @@ -65,12 +64,8 @@ const ( TrafficTable = "traffic_patterns" ) -// Grid Map file name -// const gridFile = "grid_map.yaml" - -// Open and embed grid_map.yaml file -//go:embed grid_map.yaml -var yamlFile []byte +// Grid Map data +var gridMapData map[string]map[string][]string // Category-wise Traffic Loads var categoriesLoads = map[string]map[string]int32{ @@ -210,7 +205,8 @@ func NewTrafficMgr(name, namespace, user, pwd, host, port string) (tm *TrafficMg } // Open grid map file - if yamlFile == nil { + gridMapData, err = getGridMapConfig() + if err != nil { log.Error("Failed to open grid map file with err: ", err.Error()) return nil, err } @@ -314,6 +310,24 @@ func (tm *TrafficMgr) DestroyDb(name string) (err error) { return nil } +func getGridMapConfig() (gridData map[string]map[string][]string, err error) { + // Read grid map from grid map file + gridMapFile := "/grid_map.yaml" + gridMap := viper.New() + gridMap.SetConfigFile(gridMapFile) + err = gridMap.ReadInConfig() + if err != nil { + return nil, err + } + + var config map[string]map[string][]string + err = gridMap.Unmarshal(config) + if err != nil { + return nil, err + } + return config, nil +} + func (tm *TrafficMgr) CreateTables() (err error) { _, err = tm.db.Exec("CREATE EXTENSION IF NOT EXISTS postgis") if err != nil { @@ -926,14 +940,7 @@ func (tm *TrafficMgr) PopulateGridMapTable() (err error) { } // Get grid map from YAML file - var yamlGrid map[string]map[string][]string - err = yaml.Unmarshal(yamlFile, &yamlGrid) - if err != nil { - log.Error(err.Error()) - return err - } - - for category, areas := range yamlGrid { + for category, areas := range gridMapData { for area, points := range areas { polygonStr := "(" for i, pointStr := range points { -- GitLab From a731135db436a018e1dd6da3cb8b661344375c05 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 12:09:47 +0500 Subject: [PATCH 099/183] reformat files in GIS engine --- go-apps/meep-gis-engine/go.mod | 1 - go-apps/meep-gis-engine/go.sum | 31 ++++++---- go-apps/meep-gis-engine/server/gis-engine.go | 3 + .../meep-gis-engine/server/gis-engine_test.go | 59 +++++++++---------- 4 files changed, 51 insertions(+), 43 deletions(-) diff --git a/go-apps/meep-gis-engine/go.mod b/go-apps/meep-gis-engine/go.mod index d706af728..63299dfdb 100644 --- a/go-apps/meep-gis-engine/go.mod +++ b/go-apps/meep-gis-engine/go.mod @@ -3,7 +3,6 @@ module github.com/InterDigitalInc/AdvantEDGE/go-apps/meep-gis-engine go 1.12 require ( - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-data-model v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-asset-mgr v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-cache v0.0.0 diff --git a/go-apps/meep-gis-engine/go.sum b/go-apps/meep-gis-engine/go.sum index c5ef8a385..7d78ca485 100644 --- a/go-apps/meep-gis-engine/go.sum +++ b/go-apps/meep-gis-engine/go.sum @@ -1,20 +1,16 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/InterDigitalInc/AdvantEDGE v1.8.1 h1:2jZJ/Hu6IDweJifEpbOD8PP9pX03AQlZGNnrhv1Die8= -github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c h1:AXeDCMfeQR99VaCjOmw4TEK22Xe+v1plu1/3G8dH4zU= -github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-applications v0.0.0-20211214133749-f203f7ab4f1c/go.mod h1:+r+Fh1BLqzIDlOkOx8zJ0OdhEZncrpM8eO/dp3+swtM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/KromDaniel/jonson v0.0.0-20180630143114-d2f9c3c389db/go.mod h1:RU+6d0CNIRSp6yo1mXLIIrnFa/3LHhvcDVLVJyovptM= -github.com/KromDaniel/rejonson v0.0.0-20180822072824-00b5bcf2b351 h1:1u1XrfCBnY+GijnyU6O1k4odp5TnqZQTsp5v7+n/E4Y= -github.com/KromDaniel/rejonson v0.0.0-20180822072824-00b5bcf2b351/go.mod h1:HxwfbuElTuGf+/uKZfjJrCnv0BmmpkPJDI7gBwj1KkM= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52 h1:trnwuu/Q8T59kgRjXcSDBODnyZP9wes+bnLn0lx4PgM= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52/go.mod h1:DdR6ymcLl8+sN/XOVNjnYO1NDYfgHskGjreZUDuQCTY= +github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345 h1:fgSpoKViTSqRb4hjDNj10ig5wUvO0CayCzFdLf6fuRM= github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345/go.mod h1:OK4EvWJ441LQqGzed5NGB6vKBAE34n3z7iayPcEwr30= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= +github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72 h1:uGeGZl8PxSq8VZGG4QK5njJTFA4/G/x5CYORvQVXtAE= github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72/go.mod h1:o+JdB7VetTHjLhU0N57x18B9voDBQe0paApdEAEoEfw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -54,6 +50,7 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= @@ -67,6 +64,7 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -104,6 +102,7 @@ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= @@ -116,11 +115,8 @@ github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YAR github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= -github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= @@ -145,6 +141,7 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= @@ -166,8 +163,10 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -178,6 +177,7 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237 h1:acuCHBjzG7MFTugvx3buC4m5rLDLaKC9J8C9jtlraRc= github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237/go.mod h1:UOnLAUmVG5paym8pD3C4B9BQylUDC2vXFJJpT7JrlEA= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -206,10 +206,10 @@ github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtb github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= @@ -229,6 +229,7 @@ github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= @@ -261,7 +262,6 @@ github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= @@ -285,6 +285,7 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= @@ -367,6 +368,7 @@ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e h1:AyodaIpKjppX+cBfTASF2E1US3H2JFBj920Ot3rtDjs= golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -385,6 +387,7 @@ golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -415,12 +418,15 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= @@ -428,6 +434,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 98c21e104..cb2a623d1 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -41,11 +41,14 @@ import ( const serviceName = "GIS Engine" const moduleName = "meep-gis-engine" + var redisAddr = "meep-redis-master.default.svc.cluster.local:6379" var influxAddr = "http://meep-influxdb.default.svc.cluster.local:8086" + const sboxCtrlBasepath = "http://meep-sandbox-ctrl/sandbox-ctrl/v1" const postgisUser = "postgres" const postgisPwd = "pwd" + var postgisHost string = "" var postgisPort string = "" diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go index c14a0abbe..650546e68 100644 --- a/go-apps/meep-gis-engine/server/gis-engine_test.go +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -14,33 +14,33 @@ * limitations under the License. */ - package server - - import ( - "os" - //"bytes" - //"encoding/json" - "errors" - "fmt" - "io" - "net/http" - "net/http/httptest" - "strings" - "testing" - "time" - - log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" - //met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" - mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" - mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" - - "github.com/gorilla/mux" - ) - - //const INITIAL = 0 - //const UPDATED = 1 - - //json format using spacing to facilitate reading +package server + +import ( + "os" + //"bytes" + //"encoding/json" + "errors" + "fmt" + "io" + "net/http" + "net/http/httptest" + "strings" + "testing" + "time" + + log "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger" + //met "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-metrics" + mod "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model" + mq "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq" + + "github.com/gorilla/mux" +) + +//const INITIAL = 0 +//const UPDATED = 1 + +//json format using spacing to facilitate reading const testScenario string = ` { "version":"1.5.3", @@ -520,12 +520,11 @@ func TestGetAutomationState(t *testing.T) { if err != nil { t.Fatal("Failed to get expected response: ", err.Error()) } - fmt.Println("==> ", r) + fmt.Println("==> ", r) terminateScenario() } - func terminateScenario() { if mqLocal != nil { Stop() @@ -597,7 +596,7 @@ func initializeVars() { influxAddr = influxTestAddr postgisHost = postgisTestHost postgisPort = postgisTestPort - os.Setenv("MEEP_SANDBOX_NAME", testScenarioName); + os.Setenv("MEEP_SANDBOX_NAME", testScenarioName) } func initialiseScenario(testScenario string) { -- GitLab From 9900866d317f7400568b1a5501c84f6240fc7266 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 12:27:33 +0500 Subject: [PATCH 100/183] make config as pointer for grid map file opening --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 92644eddf..82f3b3143 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -321,7 +321,7 @@ func getGridMapConfig() (gridData map[string]map[string][]string, err error) { } var config map[string]map[string][]string - err = gridMap.Unmarshal(config) + err = gridMap.Unmarshal(&config) if err != nil { return nil, err } -- GitLab From 9dda48dc6ec409008f2ad3492186c6d529c0e836 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 12:55:12 +0500 Subject: [PATCH 101/183] remove embed package from traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 1 - 1 file changed, 1 deletion(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 82f3b3143..43a5e1c11 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -18,7 +18,6 @@ package vistrafficmgr import ( "database/sql" - _ "embed" "errors" "strconv" "strings" -- GitLab From da7a5ace07fbd8686a9e3432932138cfc9b51e54 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 16:00:49 +0500 Subject: [PATCH 102/183] downgrade version of viper to support earlier go versions --- go-packages/meep-vis-traffic-mgr/go.mod | 3 +- go-packages/meep-vis-traffic-mgr/go.sum | 826 +----------------------- 2 files changed, 35 insertions(+), 794 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/go.mod b/go-packages/meep-vis-traffic-mgr/go.mod index 81ea16dfa..8b8220ca4 100644 --- a/go-packages/meep-vis-traffic-mgr/go.mod +++ b/go-packages/meep-vis-traffic-mgr/go.mod @@ -3,9 +3,10 @@ module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-traffic-mgr go 1.16 require ( + github.com/BurntSushi/toml v1.1.0 // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0 github.com/lib/pq v1.5.2 - github.com/spf13/viper v1.11.0 + github.com/spf13/viper v1.3.2 ) replace github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger diff --git a/go-packages/meep-vis-traffic-mgr/go.sum b/go-packages/meep-vis-traffic-mgr/go.sum index ef8637c54..f13aaf753 100644 --- a/go-packages/meep-vis-traffic-mgr/go.sum +++ b/go-packages/meep-vis-traffic-mgr/go.sum @@ -1,811 +1,51 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= -cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= -cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= -cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= -cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= -cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= -cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= -github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I= +github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI= -github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= -github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0= -github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA= -github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc= -github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE= -github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lib/pq v1.5.2 h1:yTSXVswvWUOQ3k1sd7vJfDrbSl8lKuscqFJRqjC0ifw= github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= -github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= -github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI= -github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs= -github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM= -github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/pelletier/go-toml/v2 v2.0.0-beta.8 h1:dy81yyLYJDwMTifq24Oi/IslOslRrDSb3jwDggjz3Z0= -github.com/pelletier/go-toml/v2 v2.0.0-beta.8/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= +github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sagikazarmark/crypt v0.5.0/go.mod h1:l+nzl7KWh51rpzp2h7t4MZWyiEWdhNpOAnclKvg+mdA= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.8.2 h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo= -github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo= -github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= -github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.11.0 h1:7OX/1FS6n7jHD1zGrZTM7WtY13ZELRyosK4k93oPr44= -github.com/spf13/viper v1.11.0/go.mod h1:djo0X/bA5+tYVoCn+C7cAYJGcVn/qYLFTG8gdUsX7Zk= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.etcd.io/etcd/api/v3 v3.5.2/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.2/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.2/go.mod h1:2D7ZejHVMIfog1221iLSYlQRzrtECw3kz4I4VAQm3qI= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a h1:1n5lsVfiQW3yfsRGu98756EH1YthsFqr/5mxHduZW2A= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= -google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= -google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= -google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= -google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= -google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU= -google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= -google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= -google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= -google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= -google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= -google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4= -gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -- GitLab From a85f5212da87b5fd675136dcc1869732cdd18a92 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 19 May 2022 17:52:16 +0500 Subject: [PATCH 103/183] add check to continue in case grid_map.yaml file is not available --- go-apps/meep-vis/go.sum | 26 ++++++++++++ go-apps/meep-vis/sbi/vis-sbi.go | 41 ++++++++++++------- go-apps/meep-vis/server/vis.go | 3 ++ .../meep-vis-traffic-mgr/traffic-mgr.go | 31 +++++++------- 4 files changed, 71 insertions(+), 30 deletions(-) diff --git a/go-apps/meep-vis/go.sum b/go-apps/meep-vis/go.sum index 67351cd4d..1cdda602f 100644 --- a/go-apps/meep-vis/go.sum +++ b/go-apps/meep-vis/go.sum @@ -1,6 +1,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I= +github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52 h1:trnwuu/Q8T59kgRjXcSDBODnyZP9wes+bnLn0lx4PgM= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52/go.mod h1:DdR6ymcLl8+sN/XOVNjnYO1NDYfgHskGjreZUDuQCTY= @@ -22,6 +24,7 @@ github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kd github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= @@ -44,6 +47,8 @@ github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4 github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= @@ -146,6 +151,8 @@ github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09 github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= @@ -181,6 +188,8 @@ github.com/lib/pq v1.5.2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= @@ -196,6 +205,7 @@ github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eI github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -239,6 +249,8 @@ github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnh github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= @@ -293,8 +305,18 @@ github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1 github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= +github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -306,9 +328,11 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= @@ -324,6 +348,7 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -379,6 +404,7 @@ golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index bf3fdc3c6..3af7f2fc5 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -43,6 +43,8 @@ var influxAddr string = "http://meep-influxdb.default.svc.cluster.local:8086" const postgisUser = "postgres" const postgisPwd = "pwd" +var GridFileExists bool = true + type SbiCfg struct { ModuleName string SandboxName string @@ -72,6 +74,7 @@ type VisSbi struct { updateScenarioNameCB func(string) cleanUpCB func() mutex sync.Mutex + GridFileExists bool } var sbi *VisSbi @@ -156,22 +159,30 @@ func Init(cfg SbiCfg) (err error) { if predictionModelSupported { // Connect to VIS Traffic Manager sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") - if err != nil { - log.Error("Failed connection to VIS Traffic Manager: ", err) - return err - } - log.Info("Connected to VIS Traffic Manager") - - // Delete any old tables - _ = sbi.trafficMgr.DeleteTables() - - // Create new tables - err = sbi.trafficMgr.CreateTables() - if err != nil { - log.Error("Failed to create tables: ", err) - return err + if sbi.trafficMgr.GridFileExists { + if err != nil { + log.Error("Failed connection to VIS Traffic Manager: ", err) + return err + } + log.Info("Connected to VIS Traffic Manager") + + // Delete any old tables + _ = sbi.trafficMgr.DeleteTables() + + // Create new tables + err = sbi.trafficMgr.CreateTables() + if err != nil { + log.Error("Failed to create tables: ", err) + return err + } + log.Info("Created new VIS DB tables") + } else { + // In case grid map file does not exist + log.Error("Failed connection to VIS Traffic Manager as grid map file does not exist") + _ = sbi.trafficMgr.DeleteTrafficMgr() + GridFileExists = false + predictionModelSupported = false } - log.Info("Created new VIS DB tables") } // Initialize service diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 906d7cc7e..b2dde2407 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -392,6 +392,9 @@ func Init() (err error) { log.Error("Failed initialize SBI. Error: ", err) return err } + if !sbi.GridFileExists { + predictionModelSupported = false + } log.Info("SBI Initialized") // Create App Enablement REST clients diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 43a5e1c11..6d0c25710 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -102,15 +102,16 @@ var categoriesLoads = map[string]map[string]int32{ // VIS Traffic Manager type TrafficMgr struct { - name string - namespace string - user string - pwd string - host string - port string - dbName string - db *sql.DB - connected bool + name string + namespace string + user string + pwd string + host string + port string + dbName string + db *sql.DB + connected bool + GridFileExists bool // updateCb func(string, string) } @@ -204,10 +205,10 @@ func NewTrafficMgr(name, namespace, user, pwd, host, port string) (tm *TrafficMg } // Open grid map file - gridMapData, err = getGridMapConfig() + gridMapData, tm.GridFileExists, err = getGridMapConfig() if err != nil { log.Error("Failed to open grid map file with err: ", err.Error()) - return nil, err + return tm, err } log.Info("Postgis Connector successfully created") @@ -309,22 +310,22 @@ func (tm *TrafficMgr) DestroyDb(name string) (err error) { return nil } -func getGridMapConfig() (gridData map[string]map[string][]string, err error) { +func getGridMapConfig() (gridData map[string]map[string][]string, gridFile bool, err error) { // Read grid map from grid map file gridMapFile := "/grid_map.yaml" gridMap := viper.New() gridMap.SetConfigFile(gridMapFile) err = gridMap.ReadInConfig() if err != nil { - return nil, err + return nil, false, err } var config map[string]map[string][]string err = gridMap.Unmarshal(&config) if err != nil { - return nil, err + return nil, false, err } - return config, nil + return config, true, nil } func (tm *TrafficMgr) CreateTables() (err error) { -- GitLab From 1f5bf343cd80ae92b307c22cdcd61e5eba726bff Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 20 May 2022 10:37:28 +0500 Subject: [PATCH 104/183] add api-vis docs --- docs/api-vis/.openapi-generator-ignore | 23 ++ docs/api-vis/.openapi-generator/FILES | 58 ++++ docs/api-vis/.openapi-generator/VERSION | 1 + docs/api-vis/Apis/UnsupportedApi.md | 261 ++++++++++++++++++ docs/api-vis/Apis/V2xiApi.md | 64 +++++ .../Models/AppTerminationNotification.md | 12 + .../Models/AppTerminationNotificationLinks.md | 10 + docs/api-vis/Models/CellId.md | 9 + docs/api-vis/Models/Earfcn.md | 9 + docs/api-vis/Models/Ecgi.md | 10 + docs/api-vis/Models/FddInfo.md | 12 + docs/api-vis/Models/LinkType.md | 9 + docs/api-vis/Models/Links.md | 9 + docs/api-vis/Models/LocationInfo.md | 10 + docs/api-vis/Models/LocationInfoGeoArea.md | 10 + docs/api-vis/Models/MsgType.md | 8 + docs/api-vis/Models/OperationActionType.md | 8 + docs/api-vis/Models/Pc5NeighbourCellInfo.md | 11 + docs/api-vis/Models/Pc5ProvisioningInfo.md | 10 + .../Models/Pc5ProvisioningInfoProInfoPc5.md | 11 + docs/api-vis/Models/Plmn.md | 10 + docs/api-vis/Models/PredictedQos.md | 11 + docs/api-vis/Models/PredictedQosRoutes.md | 9 + .../Models/PredictedQosRoutesRouteInfo.md | 12 + docs/api-vis/Models/ProblemDetails.md | 13 + docs/api-vis/Models/ProvChgPc5Notification.md | 13 + docs/api-vis/Models/ProvChgPc5Subscription.md | 15 + .../ProvChgPc5SubscriptionFilterCriteria.md | 11 + .../Models/ProvChgUuMbmsNotification.md | 13 + .../Models/ProvChgUuMbmsSubscription.md | 15 + ...ProvChgUuMbmsSubscriptionFilterCriteria.md | 11 + .../Models/ProvChgUuUniNotification.md | 13 + .../Models/ProvChgUuUniSubscription.md | 15 + .../ProvChgUuUniSubscriptionFilterCriteria.md | 11 + docs/api-vis/Models/SubscriptionLinkList.md | 9 + .../Models/SubscriptionLinkListLinks.md | 10 + .../SubscriptionLinkListLinksSubscriptions.md | 10 + docs/api-vis/Models/TddInfo.md | 11 + docs/api-vis/Models/TestNotification.md | 10 + docs/api-vis/Models/TestNotificationLinks.md | 9 + docs/api-vis/Models/TimeStamp.md | 10 + docs/api-vis/Models/TransmissionBandwidth.md | 9 + ...nsmissionBandwidthTransmissionBandwidth.md | 8 + .../api-vis/Models/UuMbmsNeighbourCellInfo.md | 14 + docs/api-vis/Models/UuMbmsProvisioningInfo.md | 10 + .../UuMbmsProvisioningInfoProInfoUuMbms.md | 11 + docs/api-vis/Models/UuUniNeighbourCellInfo.md | 13 + .../Models/UuUnicastProvisioningInfo.md | 10 + ...UnicastProvisioningInfoProInfoUuUnicast.md | 11 + docs/api-vis/Models/V2xApplicationServer.md | 10 + docs/api-vis/Models/V2xMsgNotification.md | 15 + .../api-vis/Models/V2xMsgNotificationLinks.md | 9 + docs/api-vis/Models/V2xMsgPublication.md | 12 + docs/api-vis/Models/V2xMsgSubscription.md | 15 + .../V2xMsgSubscriptionFilterCriteria.md | 10 + docs/api-vis/Models/V2xServerUsd.md | 11 + docs/api-vis/Models/V2xServerUsdSdpInfo.md | 10 + docs/api-vis/Models/V2xServerUsdTmgi.md | 11 + docs/api-vis/Models/WebsockNotifConfig.md | 10 + docs/api-vis/README.md | 85 ++++++ 60 files changed, 1080 insertions(+) create mode 100644 docs/api-vis/.openapi-generator-ignore create mode 100644 docs/api-vis/.openapi-generator/FILES create mode 100644 docs/api-vis/.openapi-generator/VERSION create mode 100644 docs/api-vis/Apis/UnsupportedApi.md create mode 100644 docs/api-vis/Apis/V2xiApi.md create mode 100644 docs/api-vis/Models/AppTerminationNotification.md create mode 100644 docs/api-vis/Models/AppTerminationNotificationLinks.md create mode 100644 docs/api-vis/Models/CellId.md create mode 100644 docs/api-vis/Models/Earfcn.md create mode 100644 docs/api-vis/Models/Ecgi.md create mode 100644 docs/api-vis/Models/FddInfo.md create mode 100644 docs/api-vis/Models/LinkType.md create mode 100644 docs/api-vis/Models/Links.md create mode 100644 docs/api-vis/Models/LocationInfo.md create mode 100644 docs/api-vis/Models/LocationInfoGeoArea.md create mode 100644 docs/api-vis/Models/MsgType.md create mode 100644 docs/api-vis/Models/OperationActionType.md create mode 100644 docs/api-vis/Models/Pc5NeighbourCellInfo.md create mode 100644 docs/api-vis/Models/Pc5ProvisioningInfo.md create mode 100644 docs/api-vis/Models/Pc5ProvisioningInfoProInfoPc5.md create mode 100644 docs/api-vis/Models/Plmn.md create mode 100644 docs/api-vis/Models/PredictedQos.md create mode 100644 docs/api-vis/Models/PredictedQosRoutes.md create mode 100644 docs/api-vis/Models/PredictedQosRoutesRouteInfo.md create mode 100644 docs/api-vis/Models/ProblemDetails.md create mode 100644 docs/api-vis/Models/ProvChgPc5Notification.md create mode 100644 docs/api-vis/Models/ProvChgPc5Subscription.md create mode 100644 docs/api-vis/Models/ProvChgPc5SubscriptionFilterCriteria.md create mode 100644 docs/api-vis/Models/ProvChgUuMbmsNotification.md create mode 100644 docs/api-vis/Models/ProvChgUuMbmsSubscription.md create mode 100644 docs/api-vis/Models/ProvChgUuMbmsSubscriptionFilterCriteria.md create mode 100644 docs/api-vis/Models/ProvChgUuUniNotification.md create mode 100644 docs/api-vis/Models/ProvChgUuUniSubscription.md create mode 100644 docs/api-vis/Models/ProvChgUuUniSubscriptionFilterCriteria.md create mode 100644 docs/api-vis/Models/SubscriptionLinkList.md create mode 100644 docs/api-vis/Models/SubscriptionLinkListLinks.md create mode 100644 docs/api-vis/Models/SubscriptionLinkListLinksSubscriptions.md create mode 100644 docs/api-vis/Models/TddInfo.md create mode 100644 docs/api-vis/Models/TestNotification.md create mode 100644 docs/api-vis/Models/TestNotificationLinks.md create mode 100644 docs/api-vis/Models/TimeStamp.md create mode 100644 docs/api-vis/Models/TransmissionBandwidth.md create mode 100644 docs/api-vis/Models/TransmissionBandwidthTransmissionBandwidth.md create mode 100644 docs/api-vis/Models/UuMbmsNeighbourCellInfo.md create mode 100644 docs/api-vis/Models/UuMbmsProvisioningInfo.md create mode 100644 docs/api-vis/Models/UuMbmsProvisioningInfoProInfoUuMbms.md create mode 100644 docs/api-vis/Models/UuUniNeighbourCellInfo.md create mode 100644 docs/api-vis/Models/UuUnicastProvisioningInfo.md create mode 100644 docs/api-vis/Models/UuUnicastProvisioningInfoProInfoUuUnicast.md create mode 100644 docs/api-vis/Models/V2xApplicationServer.md create mode 100644 docs/api-vis/Models/V2xMsgNotification.md create mode 100644 docs/api-vis/Models/V2xMsgNotificationLinks.md create mode 100644 docs/api-vis/Models/V2xMsgPublication.md create mode 100644 docs/api-vis/Models/V2xMsgSubscription.md create mode 100644 docs/api-vis/Models/V2xMsgSubscriptionFilterCriteria.md create mode 100644 docs/api-vis/Models/V2xServerUsd.md create mode 100644 docs/api-vis/Models/V2xServerUsdSdpInfo.md create mode 100644 docs/api-vis/Models/V2xServerUsdTmgi.md create mode 100644 docs/api-vis/Models/WebsockNotifConfig.md create mode 100644 docs/api-vis/README.md diff --git a/docs/api-vis/.openapi-generator-ignore b/docs/api-vis/.openapi-generator-ignore new file mode 100644 index 000000000..7484ee590 --- /dev/null +++ b/docs/api-vis/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/docs/api-vis/.openapi-generator/FILES b/docs/api-vis/.openapi-generator/FILES new file mode 100644 index 000000000..ac10938be --- /dev/null +++ b/docs/api-vis/.openapi-generator/FILES @@ -0,0 +1,58 @@ +.openapi-generator-ignore +Apis/UnsupportedApi.md +Apis/V2xiApi.md +Models/AppTerminationNotification.md +Models/AppTerminationNotificationLinks.md +Models/CellId.md +Models/Earfcn.md +Models/Ecgi.md +Models/FddInfo.md +Models/LinkType.md +Models/Links.md +Models/LocationInfo.md +Models/LocationInfoGeoArea.md +Models/MsgType.md +Models/OperationActionType.md +Models/Pc5NeighbourCellInfo.md +Models/Pc5ProvisioningInfo.md +Models/Pc5ProvisioningInfoProInfoPc5.md +Models/Plmn.md +Models/PredictedQos.md +Models/PredictedQosRoutes.md +Models/PredictedQosRoutesRouteInfo.md +Models/ProblemDetails.md +Models/ProvChgPc5Notification.md +Models/ProvChgPc5Subscription.md +Models/ProvChgPc5SubscriptionFilterCriteria.md +Models/ProvChgUuMbmsNotification.md +Models/ProvChgUuMbmsSubscription.md +Models/ProvChgUuMbmsSubscriptionFilterCriteria.md +Models/ProvChgUuUniNotification.md +Models/ProvChgUuUniSubscription.md +Models/ProvChgUuUniSubscriptionFilterCriteria.md +Models/SubscriptionLinkList.md +Models/SubscriptionLinkListLinks.md +Models/SubscriptionLinkListLinksSubscriptions.md +Models/TddInfo.md +Models/TestNotification.md +Models/TestNotificationLinks.md +Models/TimeStamp.md +Models/TransmissionBandwidth.md +Models/TransmissionBandwidthTransmissionBandwidth.md +Models/UuMbmsNeighbourCellInfo.md +Models/UuMbmsProvisioningInfo.md +Models/UuMbmsProvisioningInfoProInfoUuMbms.md +Models/UuUniNeighbourCellInfo.md +Models/UuUnicastProvisioningInfo.md +Models/UuUnicastProvisioningInfoProInfoUuUnicast.md +Models/V2xApplicationServer.md +Models/V2xMsgNotification.md +Models/V2xMsgNotificationLinks.md +Models/V2xMsgPublication.md +Models/V2xMsgSubscription.md +Models/V2xMsgSubscriptionFilterCriteria.md +Models/V2xServerUsd.md +Models/V2xServerUsdSdpInfo.md +Models/V2xServerUsdTmgi.md +Models/WebsockNotifConfig.md +README.md diff --git a/docs/api-vis/.openapi-generator/VERSION b/docs/api-vis/.openapi-generator/VERSION new file mode 100644 index 000000000..1a487e1a2 --- /dev/null +++ b/docs/api-vis/.openapi-generator/VERSION @@ -0,0 +1 @@ +5.0.0-beta2 \ No newline at end of file diff --git a/docs/api-vis/Apis/UnsupportedApi.md b/docs/api-vis/Apis/UnsupportedApi.md new file mode 100644 index 000000000..1dee8b1ff --- /dev/null +++ b/docs/api-vis/Apis/UnsupportedApi.md @@ -0,0 +1,261 @@ +# UnsupportedApi + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**individualSubscriptionDELETE**](UnsupportedApi.md#individualSubscriptionDELETE) | **DELETE** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +[**individualSubscriptionGET**](UnsupportedApi.md#individualSubscriptionGET) | **GET** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +[**individualSubscriptionPUT**](UnsupportedApi.md#individualSubscriptionPUT) | **PUT** /subscriptions/{subscriptionId} | Used to update the existing subscription. +[**provInfoGET**](UnsupportedApi.md#provInfoGET) | **GET** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +[**provInfoUuMbmsGET**](UnsupportedApi.md#provInfoUuMbmsGET) | **GET** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +[**provInfoUuUnicastGET**](UnsupportedApi.md#provInfoUuUnicastGET) | **GET** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +[**subGET**](UnsupportedApi.md#subGET) | **GET** /subscriptions | Request information about the subscriptions for this requestor. +[**subPOST**](UnsupportedApi.md#subPOST) | **POST** /subscriptions | create a new subscription to VIS notifications. +[**v2xMessagePOST**](UnsupportedApi.md#v2xMessagePOST) | **POST** /publish_v2x_message | Used to publish a V2X message. + + + +# **individualSubscriptionDELETE** +> individualSubscriptionDELETE(subscriptionId) + +Used to cancel the existing subscription. + + Used to cancel the existing subscription. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionId** | **String**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | [default to null] + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **individualSubscriptionGET** +> oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription> individualSubscriptionGET(subscriptionId) + +Retrieve information about this subscription. + + Retrieve information about this subscription. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionId** | **String**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | [default to null] + +### Return type + +[**oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>**](../Models/oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **individualSubscriptionPUT** +> oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription> individualSubscriptionPUT(subscriptionId, UNKNOWN\_BASE\_TYPE) + +Used to update the existing subscription. + + Used to update the existing subscription. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscriptionId** | **String**| Refers to created subscription, where the VIS API allocates a unique resource name for this subscription | [default to null] + **UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| | + +### Return type + +[**oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>**](../Models/oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **provInfoGET** +> Pc5ProvisioningInfo provInfoGET(location\_info) + +Query provisioning information for V2X communication over PC5. + + Query provisioning information for V2X communication over PC5. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location\_info** | **String**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | [default to null] + +### Return type + +[**Pc5ProvisioningInfo**](../Models/Pc5ProvisioningInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **provInfoUuMbmsGET** +> UuMbmsProvisioningInfo provInfoUuMbmsGET(location\_info) + +retrieve information required for V2X communication over Uu MBMS. + + retrieve information required for V2X communication over Uu MBMS. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location\_info** | **String**| omma separated list of locations to identify a cell of a base station or a particular geographical area | [default to null] + +### Return type + +[**UuMbmsProvisioningInfo**](../Models/UuMbmsProvisioningInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **provInfoUuUnicastGET** +> UuUnicastProvisioningInfo provInfoUuUnicastGET(location\_info) + +Used to query provisioning information for V2X communication over Uu unicast. + + Used to query provisioning information for V2X communication over Uu unicast. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **location\_info** | **String**| Comma separated list of locations to identify a cell of a base station or a particular geographical area | [default to null] + +### Return type + +[**UuUnicastProvisioningInfo**](../Models/UuUnicastProvisioningInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **subGET** +> SubscriptionLinkList subGET(subscription\_type) + +Request information about the subscriptions for this requestor. + + Request information about the subscriptions for this requestor. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **subscription\_type** | **String**| Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message | [optional] [default to null] + +### Return type + +[**SubscriptionLinkList**](../Models/SubscriptionLinkList.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + + +# **subPOST** +> oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription> subPOST(UNKNOWN\_BASE\_TYPE) + + create a new subscription to VIS notifications. + + create a new subscription to VIS notifications. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| | + +### Return type + +[**oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>**](../Models/oneOf<ProvChgUuUniSubscription,ProvChgUuMbmsSubscription,ProvChgPc5Subscription,V2xMsgSubscription>.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + + +# **v2xMessagePOST** +> v2xMessagePOST(V2xMsgPublication) + +Used to publish a V2X message. + + Used to publish a V2X message. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **V2xMsgPublication** | [**V2xMsgPublication**](../Models/V2xMsgPublication.md)| | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + diff --git a/docs/api-vis/Apis/V2xiApi.md b/docs/api-vis/Apis/V2xiApi.md new file mode 100644 index 000000000..e0d319c46 --- /dev/null +++ b/docs/api-vis/Apis/V2xiApi.md @@ -0,0 +1,64 @@ +# V2xiApi + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**mec011AppTerminationPOST**](V2xiApi.md#mec011AppTerminationPOST) | **POST** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +[**predictedQosPOST**](V2xiApi.md#predictedQosPOST) | **POST** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. + + + +# **mec011AppTerminationPOST** +> mec011AppTerminationPOST(AppTerminationNotification) + +MEC011 Application Termination notification for self termination + + Terminates itself. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **AppTerminationNotification** | [**AppTerminationNotification**](../Models/AppTerminationNotification.md)| Termination notification details | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + + +# **predictedQosPOST** +> PredictedQos predictedQosPOST(PredictedQos) + +Request the predicted QoS correspondent to potential routes of a vehicular UE. + + Request the predicted QoS correspondent to potential routes of a vehicular UE. + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **PredictedQos** | [**PredictedQos**](../Models/PredictedQos.md)| | + +### Return type + +[**PredictedQos**](../Models/PredictedQos.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + diff --git a/docs/api-vis/Models/AppTerminationNotification.md b/docs/api-vis/Models/AppTerminationNotification.md new file mode 100644 index 000000000..56e38e079 --- /dev/null +++ b/docs/api-vis/Models/AppTerminationNotification.md @@ -0,0 +1,12 @@ +# AppTerminationNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notificationType** | [**String**](string.md) | Shall be set to AppTerminationNotification. | [default to null] +**operationAction** | [**OperationActionType**](OperationActionType.md) | | [default to null] +**maxGracefulTimeout** | [**Integer**](integer.md) | Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. | [default to null] +**\_links** | [**AppTerminationNotification__links**](AppTerminationNotification__links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/AppTerminationNotificationLinks.md b/docs/api-vis/Models/AppTerminationNotificationLinks.md new file mode 100644 index 000000000..4a5bc7d32 --- /dev/null +++ b/docs/api-vis/Models/AppTerminationNotificationLinks.md @@ -0,0 +1,10 @@ +# AppTerminationNotificationLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscription** | [**LinkType**](LinkType.md) | | [default to null] +**confirmTermination** | [**LinkType**](LinkType.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/CellId.md b/docs/api-vis/Models/CellId.md new file mode 100644 index 000000000..85f1a1393 --- /dev/null +++ b/docs/api-vis/Models/CellId.md @@ -0,0 +1,9 @@ +# CellId +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cellId** | [**String**](string.md) | E-UTRAN Cell Identity as a bit string (size (28)). | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Earfcn.md b/docs/api-vis/Models/Earfcn.md new file mode 100644 index 000000000..929bd74ee --- /dev/null +++ b/docs/api-vis/Models/Earfcn.md @@ -0,0 +1,9 @@ +# Earfcn +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**earfcn** | [**Integer**](integer.md) | E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Ecgi.md b/docs/api-vis/Models/Ecgi.md new file mode 100644 index 000000000..2bbaccc8f --- /dev/null +++ b/docs/api-vis/Models/Ecgi.md @@ -0,0 +1,10 @@ +# Ecgi +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cellId** | [**CellId**](CellId.md) | | [default to null] +**plmn** | [**Plmn**](Plmn.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/FddInfo.md b/docs/api-vis/Models/FddInfo.md new file mode 100644 index 000000000..1a5c4d94d --- /dev/null +++ b/docs/api-vis/Models/FddInfo.md @@ -0,0 +1,12 @@ +# FddInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dlEarfcn** | [**Earfcn**](Earfcn.md) | | [default to null] +**dlTransmissionBandwidth** | [**TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] +**ulEarfcn** | [**Earfcn**](Earfcn.md) | | [default to null] +**ulTransmissionBandwidth** | [**TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/LinkType.md b/docs/api-vis/Models/LinkType.md new file mode 100644 index 000000000..e88290b41 --- /dev/null +++ b/docs/api-vis/Models/LinkType.md @@ -0,0 +1,9 @@ +# LinkType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | [**URI**](URI.md) | URI referring to a resource | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Links.md b/docs/api-vis/Models/Links.md new file mode 100644 index 000000000..faa0f7222 --- /dev/null +++ b/docs/api-vis/Models/Links.md @@ -0,0 +1,9 @@ +# Links +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/LocationInfo.md b/docs/api-vis/Models/LocationInfo.md new file mode 100644 index 000000000..bdbe84b11 --- /dev/null +++ b/docs/api-vis/Models/LocationInfo.md @@ -0,0 +1,10 @@ +# LocationInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ecgi** | [**Ecgi**](Ecgi.md) | | [optional] [default to null] +**geoArea** | [**LocationInfo.geoArea**](LocationInfo.geoArea.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/LocationInfoGeoArea.md b/docs/api-vis/Models/LocationInfoGeoArea.md new file mode 100644 index 000000000..ea66e0993 --- /dev/null +++ b/docs/api-vis/Models/LocationInfoGeoArea.md @@ -0,0 +1,10 @@ +# LocationInfoGeoArea +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**latitude** | [**Float**](float.md) | Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd | [default to null] +**longitude** | [**Float**](float.md) | Longitude (DATUM = WGS84) -180 to 180 in decimal degree format DDD.ddd | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/MsgType.md b/docs/api-vis/Models/MsgType.md new file mode 100644 index 000000000..3727b9407 --- /dev/null +++ b/docs/api-vis/Models/MsgType.md @@ -0,0 +1,8 @@ +# MsgType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/OperationActionType.md b/docs/api-vis/Models/OperationActionType.md new file mode 100644 index 000000000..3e61b5a61 --- /dev/null +++ b/docs/api-vis/Models/OperationActionType.md @@ -0,0 +1,8 @@ +# OperationActionType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Pc5NeighbourCellInfo.md b/docs/api-vis/Models/Pc5NeighbourCellInfo.md new file mode 100644 index 000000000..92501bb65 --- /dev/null +++ b/docs/api-vis/Models/Pc5NeighbourCellInfo.md @@ -0,0 +1,11 @@ +# Pc5NeighbourCellInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ecgi** | [**Ecgi**](Ecgi.md) | | [default to null] +**plmn** | [**Plmn**](Plmn.md) | | [default to null] +**siV2xConfig** | [**Object**](.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Pc5ProvisioningInfo.md b/docs/api-vis/Models/Pc5ProvisioningInfo.md new file mode 100644 index 000000000..fe146d660 --- /dev/null +++ b/docs/api-vis/Models/Pc5ProvisioningInfo.md @@ -0,0 +1,10 @@ +# Pc5ProvisioningInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proInfoPc5** | [**List**](Pc5ProvisioningInfo.proInfoPc5.md) | | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Pc5ProvisioningInfoProInfoPc5.md b/docs/api-vis/Models/Pc5ProvisioningInfoProInfoPc5.md new file mode 100644 index 000000000..db0b0a758 --- /dev/null +++ b/docs/api-vis/Models/Pc5ProvisioningInfoProInfoPc5.md @@ -0,0 +1,11 @@ +# Pc5ProvisioningInfoProInfoPc5 +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dstLayer2Id** | [**String**](string.md) | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer2 ID(s) for different V2X services are configured in a consistent manner. | [default to null] +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/Plmn.md b/docs/api-vis/Models/Plmn.md new file mode 100644 index 000000000..0d05a6311 --- /dev/null +++ b/docs/api-vis/Models/Plmn.md @@ -0,0 +1,10 @@ +# Plmn +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mcc** | [**String**](string.md) | The Mobile Country Code part of PLMN Identity. | [default to null] +**mnc** | [**String**](string.md) | The Mobile Network Code part of PLMN Identity. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/PredictedQos.md b/docs/api-vis/Models/PredictedQos.md new file mode 100644 index 000000000..d117f5474 --- /dev/null +++ b/docs/api-vis/Models/PredictedQos.md @@ -0,0 +1,11 @@ +# PredictedQos +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationGranularity** | [**String**](string.md) | Granularity of visited location. Measured in meters. | [default to null] +**routes** | [**List**](PredictedQos.routes.md) | Information relating to the potential routes of a vehicular UE. | [default to null] +**timeGranularity** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/PredictedQosRoutes.md b/docs/api-vis/Models/PredictedQosRoutes.md new file mode 100644 index 000000000..da13d02c4 --- /dev/null +++ b/docs/api-vis/Models/PredictedQosRoutes.md @@ -0,0 +1,9 @@ +# PredictedQosRoutes +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**routeInfo** | [**List**](PredictedQos.routes.routeInfo.md) | Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/PredictedQosRoutesRouteInfo.md b/docs/api-vis/Models/PredictedQosRoutesRouteInfo.md new file mode 100644 index 000000000..f5d96e37f --- /dev/null +++ b/docs/api-vis/Models/PredictedQosRoutesRouteInfo.md @@ -0,0 +1,12 @@ +# PredictedQosRoutesRouteInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | [**LocationInfo**](LocationInfo.md) | | [optional] [default to null] +**rsrp** | [**Integer**](integer.md) | Reference Signal Received Power as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. | [optional] [default to null] +**rsrq** | [**Integer**](integer.md) | Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response. | [optional] [default to null] +**time** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProblemDetails.md b/docs/api-vis/Models/ProblemDetails.md new file mode 100644 index 000000000..840b6dc7f --- /dev/null +++ b/docs/api-vis/Models/ProblemDetails.md @@ -0,0 +1,13 @@ +# ProblemDetails +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**detail** | [**String**](string.md) | A human-readable explanation specific to this occurrence of the problem | [optional] [default to null] +**instance** | [**URI**](URI.md) | A URI reference that identifies the specific occurrence of the problem | [optional] [default to null] +**status** | [**Integer**](integer.md) | The HTTP status code for this occurrence of the problem | [optional] [default to null] +**title** | [**String**](string.md) | A short, human-readable summary of the problem type | [optional] [default to null] +**type** | [**URI**](URI.md) | A URI reference according to IETF RFC 3986 that identifies the problem type | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgPc5Notification.md b/docs/api-vis/Models/ProvChgPc5Notification.md new file mode 100644 index 000000000..c4189828f --- /dev/null +++ b/docs/api-vis/Models/ProvChgPc5Notification.md @@ -0,0 +1,13 @@ +# ProvChgPc5Notification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dstLayer2Id** | [**String**](string.md) | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. | [optional] [default to null] +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"ProvChgPc5Notification\". | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgPc5Subscription.md b/docs/api-vis/Models/ProvChgPc5Subscription.md new file mode 100644 index 000000000..6da0b342a --- /dev/null +++ b/docs/api-vis/Models/ProvChgPc5Subscription.md @@ -0,0 +1,15 @@ +# ProvChgPc5Subscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**links**](links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**filterCriteria** | [**ProvChgPc5Subscription.filterCriteria**](ProvChgPc5Subscription.filterCriteria.md) | | [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**subscriptionType** | [**String**](string.md) | Shall be set to \"ProvChgPc5Subscription\". | [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgPc5SubscriptionFilterCriteria.md b/docs/api-vis/Models/ProvChgPc5SubscriptionFilterCriteria.md new file mode 100644 index 000000000..1745d8741 --- /dev/null +++ b/docs/api-vis/Models/ProvChgPc5SubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgPc5SubscriptionFilterCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dstLayer2Id** | [**String**](string.md) | For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. | [default to null] +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](Pc5NeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuMbmsNotification.md b/docs/api-vis/Models/ProvChgUuMbmsNotification.md new file mode 100644 index 000000000..490d76139 --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuMbmsNotification.md @@ -0,0 +1,13 @@ +# ProvChgUuMbmsNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"ProvChgUuMbmsNotification\". | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**v2xServerUsd** | [**V2xServerUsd**](V2xServerUsd.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuMbmsSubscription.md b/docs/api-vis/Models/ProvChgUuMbmsSubscription.md new file mode 100644 index 000000000..47bd960e0 --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuMbmsSubscription.md @@ -0,0 +1,15 @@ +# ProvChgUuMbmsSubscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**links**](links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**filterCriteria** | [**ProvChgUuMbmsSubscription.filterCriteria**](ProvChgUuMbmsSubscription.filterCriteria.md) | | [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**subscriptionType** | [**String**](string.md) | Shall be set to \"ProvChgUuMbmsSubscription\". | [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuMbmsSubscriptionFilterCriteria.md b/docs/api-vis/Models/ProvChgUuMbmsSubscriptionFilterCriteria.md new file mode 100644 index 000000000..70881d06e --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuMbmsSubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgUuMbmsSubscriptionFilterCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**v2xServerUsd** | [**V2xServerUsd**](V2xServerUsd.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuUniNotification.md b/docs/api-vis/Models/ProvChgUuUniNotification.md new file mode 100644 index 000000000..c249f40bb --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuUniNotification.md @@ -0,0 +1,13 @@ +# ProvChgUuUniNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"ProvChgUuUniNotification\". | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**v2xApplicationServer** | [**V2xApplicationServer**](V2xApplicationServer.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuUniSubscription.md b/docs/api-vis/Models/ProvChgUuUniSubscription.md new file mode 100644 index 000000000..4758570c2 --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuUniSubscription.md @@ -0,0 +1,15 @@ +# ProvChgUuUniSubscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**links**](links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**filterCriteria** | [**ProvChgUuUniSubscription.filterCriteria**](ProvChgUuUniSubscription.filterCriteria.md) | | [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**subscriptionType** | [**String**](string.md) | Shall be set to \"ProvChgUuUniSubscription\". | [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/ProvChgUuUniSubscriptionFilterCriteria.md b/docs/api-vis/Models/ProvChgUuUniSubscriptionFilterCriteria.md new file mode 100644 index 000000000..c1f907db3 --- /dev/null +++ b/docs/api-vis/Models/ProvChgUuUniSubscriptionFilterCriteria.md @@ -0,0 +1,11 @@ +# ProvChgUuUniSubscriptionFilterCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**v2xApplicationServer** | [**V2xApplicationServer**](V2xApplicationServer.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/SubscriptionLinkList.md b/docs/api-vis/Models/SubscriptionLinkList.md new file mode 100644 index 000000000..7344a86a3 --- /dev/null +++ b/docs/api-vis/Models/SubscriptionLinkList.md @@ -0,0 +1,9 @@ +# SubscriptionLinkList +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**SubscriptionLinkList.links**](SubscriptionLinkList.links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/SubscriptionLinkListLinks.md b/docs/api-vis/Models/SubscriptionLinkListLinks.md new file mode 100644 index 000000000..b026953ff --- /dev/null +++ b/docs/api-vis/Models/SubscriptionLinkListLinks.md @@ -0,0 +1,10 @@ +# SubscriptionLinkListLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**LinkType**](LinkType.md) | | [default to null] +**subscriptions** | [**List**](SubscriptionLinkList.links.subscriptions.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/SubscriptionLinkListLinksSubscriptions.md b/docs/api-vis/Models/SubscriptionLinkListLinksSubscriptions.md new file mode 100644 index 000000000..ef6c7c01a --- /dev/null +++ b/docs/api-vis/Models/SubscriptionLinkListLinksSubscriptions.md @@ -0,0 +1,10 @@ +# SubscriptionLinkListLinksSubscriptions +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | [**URI**](URI.md) | The URI referring to the subscription. | [default to null] +**subscriptionType** | [**String**](string.md) | Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different V2X information event subscription data type. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TddInfo.md b/docs/api-vis/Models/TddInfo.md new file mode 100644 index 000000000..58ccc0256 --- /dev/null +++ b/docs/api-vis/Models/TddInfo.md @@ -0,0 +1,11 @@ +# TddInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**earfcn** | [**Earfcn**](Earfcn.md) | | [default to null] +**subframeAssignment** | [**String**](string.md) | Uplink-downlink subframe configuration information. | [default to null] +**transmissionBandwidth** | [**TransmissionBandwidth**](TransmissionBandwidth.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TestNotification.md b/docs/api-vis/Models/TestNotification.md new file mode 100644 index 000000000..57bb6df54 --- /dev/null +++ b/docs/api-vis/Models/TestNotification.md @@ -0,0 +1,10 @@ +# TestNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**TestNotification__links**](TestNotification__links.md) | | [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"TestNotification\". | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TestNotificationLinks.md b/docs/api-vis/Models/TestNotificationLinks.md new file mode 100644 index 000000000..118582a62 --- /dev/null +++ b/docs/api-vis/Models/TestNotificationLinks.md @@ -0,0 +1,9 @@ +# TestNotificationLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscription** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TimeStamp.md b/docs/api-vis/Models/TimeStamp.md new file mode 100644 index 000000000..a86b6d00d --- /dev/null +++ b/docs/api-vis/Models/TimeStamp.md @@ -0,0 +1,10 @@ +# TimeStamp +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nanoSeconds** | [**Integer**](integer.md) | The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. | [default to null] +**seconds** | [**Integer**](integer.md) | The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TransmissionBandwidth.md b/docs/api-vis/Models/TransmissionBandwidth.md new file mode 100644 index 000000000..02f4de190 --- /dev/null +++ b/docs/api-vis/Models/TransmissionBandwidth.md @@ -0,0 +1,9 @@ +# TransmissionBandwidth +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transmissionBandwidth** | [**TransmissionBandwidth.transmissionBandwidth**](TransmissionBandwidth.transmissionBandwidth.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/TransmissionBandwidthTransmissionBandwidth.md b/docs/api-vis/Models/TransmissionBandwidthTransmissionBandwidth.md new file mode 100644 index 000000000..d39838767 --- /dev/null +++ b/docs/api-vis/Models/TransmissionBandwidthTransmissionBandwidth.md @@ -0,0 +1,8 @@ +# TransmissionBandwidthTransmissionBandwidth +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuMbmsNeighbourCellInfo.md b/docs/api-vis/Models/UuMbmsNeighbourCellInfo.md new file mode 100644 index 000000000..9143c7e0e --- /dev/null +++ b/docs/api-vis/Models/UuMbmsNeighbourCellInfo.md @@ -0,0 +1,14 @@ +# UuMbmsNeighbourCellInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ecgi** | [**Ecgi**](Ecgi.md) | | [default to null] +**fddInfo** | [**FddInfo**](FddInfo.md) | | [default to null] +**mbmsServiceAreaIdentity** | [**List**](string.md) | Supported MBMS Service Area Identities in the cell. | [default to null] +**pci** | [**Integer**](integer.md) | Physical Cell Identifier. | [default to null] +**plmn** | [**Plmn**](Plmn.md) | | [default to null] +**tddInfo** | [**TddInfo**](TddInfo.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuMbmsProvisioningInfo.md b/docs/api-vis/Models/UuMbmsProvisioningInfo.md new file mode 100644 index 000000000..ebe46df13 --- /dev/null +++ b/docs/api-vis/Models/UuMbmsProvisioningInfo.md @@ -0,0 +1,10 @@ +# UuMbmsProvisioningInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proInfoUuMbms** | [**List**](UuMbmsProvisioningInfo.proInfoUuMbms.md) | | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuMbmsProvisioningInfoProInfoUuMbms.md b/docs/api-vis/Models/UuMbmsProvisioningInfoProInfoUuMbms.md new file mode 100644 index 000000000..7a25910ea --- /dev/null +++ b/docs/api-vis/Models/UuMbmsProvisioningInfoProInfoUuMbms.md @@ -0,0 +1,11 @@ +# UuMbmsProvisioningInfoProInfoUuMbms +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuMbmsNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. | [optional] [default to null] +**v2xServerUsd** | [**V2xServerUsd**](V2xServerUsd.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuUniNeighbourCellInfo.md b/docs/api-vis/Models/UuUniNeighbourCellInfo.md new file mode 100644 index 000000000..191d2ada5 --- /dev/null +++ b/docs/api-vis/Models/UuUniNeighbourCellInfo.md @@ -0,0 +1,13 @@ +# UuUniNeighbourCellInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ecgi** | [**Ecgi**](Ecgi.md) | | [default to null] +**fddInfo** | [**FddInfo**](FddInfo.md) | | [default to null] +**pci** | [**Integer**](integer.md) | Physical Cell Identifier. | [default to null] +**plmn** | [**Plmn**](Plmn.md) | | [default to null] +**tddInfo** | [**TddInfo**](TddInfo.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuUnicastProvisioningInfo.md b/docs/api-vis/Models/UuUnicastProvisioningInfo.md new file mode 100644 index 000000000..2e6da4dd8 --- /dev/null +++ b/docs/api-vis/Models/UuUnicastProvisioningInfo.md @@ -0,0 +1,10 @@ +# UuUnicastProvisioningInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proInfoUuUnicast** | [**List**](UuUnicastProvisioningInfo.proInfoUuUnicast.md) | | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/UuUnicastProvisioningInfoProInfoUuUnicast.md b/docs/api-vis/Models/UuUnicastProvisioningInfoProInfoUuUnicast.md new file mode 100644 index 000000000..317d47657 --- /dev/null +++ b/docs/api-vis/Models/UuUnicastProvisioningInfoProInfoUuUnicast.md @@ -0,0 +1,11 @@ +# UuUnicastProvisioningInfoProInfoUuUnicast +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locationInfo** | [**LocationInfo**](LocationInfo.md) | | [default to null] +**neighbourCellInfo** | [**List**](UuUniNeighbourCellInfo.md) | The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. | [optional] [default to null] +**v2xApplicationServer** | [**V2xApplicationServer**](V2xApplicationServer.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xApplicationServer.md b/docs/api-vis/Models/V2xApplicationServer.md new file mode 100644 index 000000000..caeca42dc --- /dev/null +++ b/docs/api-vis/Models/V2xApplicationServer.md @@ -0,0 +1,10 @@ +# V2xApplicationServer +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipAddress** | [**String**](string.md) | | [default to null] +**udpPort** | [**String**](string.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xMsgNotification.md b/docs/api-vis/Models/V2xMsgNotification.md new file mode 100644 index 000000000..844b40cd2 --- /dev/null +++ b/docs/api-vis/Models/V2xMsgNotification.md @@ -0,0 +1,15 @@ +# V2xMsgNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**V2xMsgNotification.links**](V2xMsgNotification.links.md) | | [default to null] +**msgContent** | [**String**](string.md) | Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] +**msgEncodeFormat** | [**String**](string.md) | The encode format of the V2X message, for example base64. | [default to null] +**msgType** | [**msgType**](msgType.md) | | [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"V2xMsgNotification\". | [default to null] +**stdOrganization** | [**String**](string.md) | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] +**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xMsgNotificationLinks.md b/docs/api-vis/Models/V2xMsgNotificationLinks.md new file mode 100644 index 000000000..a33b9acc9 --- /dev/null +++ b/docs/api-vis/Models/V2xMsgNotificationLinks.md @@ -0,0 +1,9 @@ +# V2xMsgNotificationLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscription** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xMsgPublication.md b/docs/api-vis/Models/V2xMsgPublication.md new file mode 100644 index 000000000..8d1c05f0f --- /dev/null +++ b/docs/api-vis/Models/V2xMsgPublication.md @@ -0,0 +1,12 @@ +# V2xMsgPublication +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**msgContent** | [**String**](string.md) | Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. | [default to null] +**msgEncodeFormat** | [**String**](string.md) | The encode format of the V2X message, for example base64. | [default to null] +**msgType** | [**msgType**](msgType.md) | | [default to null] +**stdOrganization** | [**String**](string.md) | Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xMsgSubscription.md b/docs/api-vis/Models/V2xMsgSubscription.md new file mode 100644 index 000000000..9a4c19d84 --- /dev/null +++ b/docs/api-vis/Models/V2xMsgSubscription.md @@ -0,0 +1,15 @@ +# V2xMsgSubscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**links**](links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI exposed by the client on which to receive notifications via HTTP. See note 1. | [optional] [default to null] +**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**filterCriteria** | [**V2xMsgSubscription.filterCriteria**](V2xMsgSubscription.filterCriteria.md) | | [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, as described in ETSI GS MEC 009 [i.1], clause 6.12a. Default: FALSE. | [optional] [default to null] +**subscriptionType** | [**String**](string.md) | Shall be set to \"V2xMsgSubscription\". | [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xMsgSubscriptionFilterCriteria.md b/docs/api-vis/Models/V2xMsgSubscriptionFilterCriteria.md new file mode 100644 index 000000000..60b13f669 --- /dev/null +++ b/docs/api-vis/Models/V2xMsgSubscriptionFilterCriteria.md @@ -0,0 +1,10 @@ +# V2xMsgSubscriptionFilterCriteria +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**msgType** | [**List**](string.md) | Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 3. | [optional] [default to null] +**stdOrganization** | [**String**](string.md) | Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 2. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xServerUsd.md b/docs/api-vis/Models/V2xServerUsd.md new file mode 100644 index 000000000..37ef4a4ec --- /dev/null +++ b/docs/api-vis/Models/V2xServerUsd.md @@ -0,0 +1,11 @@ +# V2xServerUsd +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sdpInfo** | [**V2xServerUsd.sdpInfo**](V2xServerUsd.sdpInfo.md) | | [default to null] +**serviceAreaIdentifier** | [**List**](string.md) | A list of service area identifier for the applicable MBMS broadcast area. | [default to null] +**tmgi** | [**V2xServerUsd.tmgi**](V2xServerUsd.tmgi.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xServerUsdSdpInfo.md b/docs/api-vis/Models/V2xServerUsdSdpInfo.md new file mode 100644 index 000000000..3d7da2852 --- /dev/null +++ b/docs/api-vis/Models/V2xServerUsdSdpInfo.md @@ -0,0 +1,10 @@ +# V2xServerUsdSdpInfo +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipMulticastAddress** | [**String**](string.md) | | [default to null] +**portNumber** | [**String**](string.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/V2xServerUsdTmgi.md b/docs/api-vis/Models/V2xServerUsdTmgi.md new file mode 100644 index 000000000..766c76da0 --- /dev/null +++ b/docs/api-vis/Models/V2xServerUsdTmgi.md @@ -0,0 +1,11 @@ +# V2xServerUsdTmgi +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mbmsServiceId** | [**String**](string.md) | MBMS Service ID consisting of three octets. | [default to null] +**mcc** | [**String**](string.md) | The Mobile Country Code part of PLMN Identity. | [default to null] +**mnc** | [**String**](string.md) | The Mobile Network Code part of PLMN Identity. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/Models/WebsockNotifConfig.md b/docs/api-vis/Models/WebsockNotifConfig.md new file mode 100644 index 000000000..c45bd3642 --- /dev/null +++ b/docs/api-vis/Models/WebsockNotifConfig.md @@ -0,0 +1,10 @@ +# WebsockNotifConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**requestWebsocketUri** | [**Boolean**](boolean.md) | Set to TRUE by the service consumer to indicate that Websocket delivery is requested. | [optional] [default to null] +**websocketUri** | [**URI**](URI.md) | Set by VIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-vis/README.md b/docs/api-vis/README.md new file mode 100644 index 000000000..d067441ca --- /dev/null +++ b/docs/api-vis/README.md @@ -0,0 +1,85 @@ +# Documentation for AdvantEDGE V2X Information Service REST API + + +## Documentation for API Endpoints + +All URIs are relative to *https://localhost/sandboxname/vis/v2* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*UnsupportedApi* | [**individualSubscriptionDELETE**](Apis/UnsupportedApi.md#individualsubscriptiondelete) | **DELETE** /subscriptions/{subscriptionId} | Used to cancel the existing subscription. +*UnsupportedApi* | [**individualSubscriptionGET**](Apis/UnsupportedApi.md#individualsubscriptionget) | **GET** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +*UnsupportedApi* | [**individualSubscriptionPUT**](Apis/UnsupportedApi.md#individualsubscriptionput) | **PUT** /subscriptions/{subscriptionId} | Used to update the existing subscription. +*UnsupportedApi* | [**provInfoGET**](Apis/UnsupportedApi.md#provinfoget) | **GET** /queries/pc5_provisioning_info | Query provisioning information for V2X communication over PC5. +*UnsupportedApi* | [**provInfoUuMbmsGET**](Apis/UnsupportedApi.md#provinfouumbmsget) | **GET** /queries/uu_mbms_provisioning_info | retrieve information required for V2X communication over Uu MBMS. +*UnsupportedApi* | [**provInfoUuUnicastGET**](Apis/UnsupportedApi.md#provinfouuunicastget) | **GET** /queries/uu_unicast_provisioning_info | Used to query provisioning information for V2X communication over Uu unicast. +*UnsupportedApi* | [**subGET**](Apis/UnsupportedApi.md#subget) | **GET** /subscriptions | Request information about the subscriptions for this requestor. +*UnsupportedApi* | [**subPOST**](Apis/UnsupportedApi.md#subpost) | **POST** /subscriptions | create a new subscription to VIS notifications. +*UnsupportedApi* | [**v2xMessagePOST**](Apis/UnsupportedApi.md#v2xmessagepost) | **POST** /publish_v2x_message | Used to publish a V2X message. +*V2xiApi* | [**mec011AppTerminationPOST**](Apis/V2xiApi.md#mec011appterminationpost) | **POST** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +*V2xiApi* | [**predictedQosPOST**](Apis/V2xiApi.md#predictedqospost) | **POST** /provide_predicted_qos | Request the predicted QoS correspondent to potential routes of a vehicular UE. + + + +## Documentation for Models + + - [AppTerminationNotification](./Models/AppTerminationNotification.md) + - [AppTerminationNotificationLinks](./Models/AppTerminationNotificationLinks.md) + - [CellId](./Models/CellId.md) + - [Earfcn](./Models/Earfcn.md) + - [Ecgi](./Models/Ecgi.md) + - [FddInfo](./Models/FddInfo.md) + - [LinkType](./Models/LinkType.md) + - [Links](./Models/Links.md) + - [LocationInfo](./Models/LocationInfo.md) + - [LocationInfoGeoArea](./Models/LocationInfoGeoArea.md) + - [MsgType](./Models/MsgType.md) + - [OperationActionType](./Models/OperationActionType.md) + - [Pc5NeighbourCellInfo](./Models/Pc5NeighbourCellInfo.md) + - [Pc5ProvisioningInfo](./Models/Pc5ProvisioningInfo.md) + - [Pc5ProvisioningInfoProInfoPc5](./Models/Pc5ProvisioningInfoProInfoPc5.md) + - [Plmn](./Models/Plmn.md) + - [PredictedQos](./Models/PredictedQos.md) + - [PredictedQosRoutes](./Models/PredictedQosRoutes.md) + - [PredictedQosRoutesRouteInfo](./Models/PredictedQosRoutesRouteInfo.md) + - [ProblemDetails](./Models/ProblemDetails.md) + - [ProvChgPc5Notification](./Models/ProvChgPc5Notification.md) + - [ProvChgPc5Subscription](./Models/ProvChgPc5Subscription.md) + - [ProvChgPc5SubscriptionFilterCriteria](./Models/ProvChgPc5SubscriptionFilterCriteria.md) + - [ProvChgUuMbmsNotification](./Models/ProvChgUuMbmsNotification.md) + - [ProvChgUuMbmsSubscription](./Models/ProvChgUuMbmsSubscription.md) + - [ProvChgUuMbmsSubscriptionFilterCriteria](./Models/ProvChgUuMbmsSubscriptionFilterCriteria.md) + - [ProvChgUuUniNotification](./Models/ProvChgUuUniNotification.md) + - [ProvChgUuUniSubscription](./Models/ProvChgUuUniSubscription.md) + - [ProvChgUuUniSubscriptionFilterCriteria](./Models/ProvChgUuUniSubscriptionFilterCriteria.md) + - [SubscriptionLinkList](./Models/SubscriptionLinkList.md) + - [SubscriptionLinkListLinks](./Models/SubscriptionLinkListLinks.md) + - [SubscriptionLinkListLinksSubscriptions](./Models/SubscriptionLinkListLinksSubscriptions.md) + - [TddInfo](./Models/TddInfo.md) + - [TestNotification](./Models/TestNotification.md) + - [TestNotificationLinks](./Models/TestNotificationLinks.md) + - [TimeStamp](./Models/TimeStamp.md) + - [TransmissionBandwidth](./Models/TransmissionBandwidth.md) + - [TransmissionBandwidthTransmissionBandwidth](./Models/TransmissionBandwidthTransmissionBandwidth.md) + - [UuMbmsNeighbourCellInfo](./Models/UuMbmsNeighbourCellInfo.md) + - [UuMbmsProvisioningInfo](./Models/UuMbmsProvisioningInfo.md) + - [UuMbmsProvisioningInfoProInfoUuMbms](./Models/UuMbmsProvisioningInfoProInfoUuMbms.md) + - [UuUniNeighbourCellInfo](./Models/UuUniNeighbourCellInfo.md) + - [UuUnicastProvisioningInfo](./Models/UuUnicastProvisioningInfo.md) + - [UuUnicastProvisioningInfoProInfoUuUnicast](./Models/UuUnicastProvisioningInfoProInfoUuUnicast.md) + - [V2xApplicationServer](./Models/V2xApplicationServer.md) + - [V2xMsgNotification](./Models/V2xMsgNotification.md) + - [V2xMsgNotificationLinks](./Models/V2xMsgNotificationLinks.md) + - [V2xMsgPublication](./Models/V2xMsgPublication.md) + - [V2xMsgSubscription](./Models/V2xMsgSubscription.md) + - [V2xMsgSubscriptionFilterCriteria](./Models/V2xMsgSubscriptionFilterCriteria.md) + - [V2xServerUsd](./Models/V2xServerUsd.md) + - [V2xServerUsdSdpInfo](./Models/V2xServerUsdSdpInfo.md) + - [V2xServerUsdTmgi](./Models/V2xServerUsdTmgi.md) + - [WebsockNotifConfig](./Models/WebsockNotifConfig.md) + + + +## Documentation for Authorization + +All endpoints do not require authorization. -- GitLab From 99cc9b25754581bf4b0fcacd5d774e33829a959d Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 20 May 2022 10:41:52 +0500 Subject: [PATCH 105/183] add VIS in meepctl docs --- docs/meepctl/meepctl_build.md | 1 + docs/meepctl/meepctl_dockerize.md | 1 + docs/meepctl/meepctl_lint.md | 2 ++ 3 files changed, 4 insertions(+) diff --git a/docs/meepctl/meepctl_build.md b/docs/meepctl/meepctl_build.md index 46978db89..7dc7e5666 100644 --- a/docs/meepctl/meepctl_build.md +++ b/docs/meepctl/meepctl_build.md @@ -38,6 +38,7 @@ Valid Targets: * meep-tc-engine * meep-tc-sidecar * meep-virt-engine + * meep-vis * meep-wais * meep-webhook ``` diff --git a/docs/meepctl/meepctl_dockerize.md b/docs/meepctl/meepctl_dockerize.md index 2189da848..4042b7578 100644 --- a/docs/meepctl/meepctl_dockerize.md +++ b/docs/meepctl/meepctl_dockerize.md @@ -40,6 +40,7 @@ Valid Targets: * meep-tc-engine * meep-tc-sidecar * meep-virt-engine + * meep-vis * meep-wais * meep-webhook ``` diff --git a/docs/meepctl/meepctl_lint.md b/docs/meepctl/meepctl_lint.md index 4d36049d6..a1a3e16b0 100644 --- a/docs/meepctl/meepctl_lint.md +++ b/docs/meepctl/meepctl_lint.md @@ -60,6 +60,8 @@ Valid Targets: * meep-tc-sidecar * meep-users * meep-virt-engine + * meep-vis + * meep-vis-traffic-mgr * meep-wais * meep-watchdog * meep-webhook -- GitLab From 4a23002dc3bfe89d4f573d16ea2bf5ce7ead0e65 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 20 May 2022 14:24:55 +0500 Subject: [PATCH 106/183] update initial values for RSRQ and RSRP --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 0408f9785..fe68f6129 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -2125,8 +2125,8 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co var position Position var CoordinatePowerValues []CoordinatePowerValue for _, coord := range coordinates { - maxRsrp := minCell4gRsrp - maxRsrq := minCell4gRsrq + maxRsrp := float32(0) + maxRsrq := float32(0) var bestPoa string for _, poa := range poaMap { _ = json.Unmarshal([]byte(poa.Position), &position) -- GitLab From fca5681a55b9381f725e64d90318d160b8e7e96b Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 20 May 2022 13:56:50 +0200 Subject: [PATCH 107/183] Update test scenarios --- go-packages/meep-gis-asset-mgr/asset-mgr.go | 3 +++ .../meep-gis-asset-mgr/assets-mgr_test.go | 26 ++++++++++--------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index fe68f6129..4ff95cba9 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -433,6 +433,7 @@ func (am *AssetMgr) DeleteTable(tableName string) (err error) { // CreateUe - Create new UE func (am *AssetMgr) CreateUe(id string, name string, data map[string]interface{}) (err error) { + log.Info(">>> CreateUe") if profiling { profilingTimers["CreateUe"] = time.Now() } @@ -2171,6 +2172,8 @@ func (am *AssetMgr) GetPowerValuesForCoordinates(coordinates []Coordinate) ([]Co } if maxRsrp != minCell4gRsrp && maxRsrq != minCell4gRsrq { newCoordinatePowerValue.PoaName = bestPoa + } else { + newCoordinatePowerValue.PoaName = "" // TODO Check if empty string is the most significant value to be used } CoordinatePowerValues = append(CoordinatePowerValues, newCoordinatePowerValue) diff --git a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go index 9e917cf22..743a0cc0a 100644 --- a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go +++ b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go @@ -1660,11 +1660,11 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { coordinates[0] = Coordinate { float32(lat), float32(lon) } fmt.Println(coordinates) ret_value, err = am.GetPowerValuesForCoordinates(coordinates) - fmt.Println("--- ret_value", ret_value) fmt.Println("--- err", err) if err != nil { t.Fatalf("Unexpected error returned: " + err.Error()) } + fmt.Println("--- ret_value", ret_value) if len(ret_value) != 1 { t.Fatalf("Only one item is expected") } @@ -1677,32 +1677,34 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { // Check multiple items list of coordinates fmt.Println("Check multiple item length list of coordinates") m = r.FindStringSubmatch(point2) - lon, err = strconv.ParseFloat(m[1], 32) - lat, err = strconv.ParseFloat(m[2], 32) + lon, _ = strconv.ParseFloat(m[1], 32) + lat, _ = strconv.ParseFloat(m[2], 32) coordinates = make([]Coordinate, 3) coordinates[0] = Coordinate { float32(lat), float32(lon) } m = r.FindStringSubmatch(point3) - lon, err = strconv.ParseFloat(m[1], 32) - lat, err = strconv.ParseFloat(m[2], 32) + lon, _ = strconv.ParseFloat(m[1], 32) + lat, _ = strconv.ParseFloat(m[2], 32) coordinates[1] = Coordinate { float32(lat), float32(lon) } m = r.FindStringSubmatch(point5) - lon, err = strconv.ParseFloat(m[1], 32) - lat, err = strconv.ParseFloat(m[2], 32) + lon, _ = strconv.ParseFloat(m[1], 32) + lat, _ = strconv.ParseFloat(m[2], 32) coordinates[2] = Coordinate { float32(lat), float32(lon) } fmt.Println(coordinates) ret_value, err = am.GetPowerValuesForCoordinates(coordinates) fmt.Println("--- ret_value", ret_value) - fmt.Println("--- err", err) if err != nil { t.Fatalf("Unexpected error returned: " + err.Error()) } + fmt.Println("--- err", err) if len(ret_value) != 3 { t.Fatalf("Only one item is expected") } - /*var expectd_value []CoordinatePowerValue = make ([]CoordinatePowerValue, 1) - expectd_value[0] = CoordinatePowerValue { float32(43.7342), float32(7.418522), 12, 54, "poa1" } + expectd_value = make ([]CoordinatePowerValue, 3) + expectd_value[0] = CoordinatePowerValue { float32(43.736977), float32(7.421501), -2, 40, "" } + expectd_value[1] = CoordinatePowerValue { float32(43.732285), float32(7.422441), -2, 40, "" } + expectd_value[2] = CoordinatePowerValue { float32(43.73153), float32(7.417135), -2, 40, "" } if expectd_value[0] != ret_value[0] { - t.Fatalf("OUnexpected value was returned") - }*/ + t.Fatalf("Unexpected value was returned") + } } -- GitLab From d9090cdd44df6526628f9f02193bb098b3e46aac Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 20 May 2022 14:46:08 +0200 Subject: [PATCH 108/183] Update meep-vis server test scenarios --- go-apps/meep-vis/sbi/vis-sbi.go | 2 +- go-apps/meep-vis/server/vis.go | 4 ++ go-apps/meep-vis/server/vis_test.go | 59 ++++++++++++++++++++++++++--- 3 files changed, 58 insertions(+), 7 deletions(-) diff --git a/go-apps/meep-vis/sbi/vis-sbi.go b/go-apps/meep-vis/sbi/vis-sbi.go index 3af7f2fc5..a387f1a61 100644 --- a/go-apps/meep-vis/sbi/vis-sbi.go +++ b/go-apps/meep-vis/sbi/vis-sbi.go @@ -158,7 +158,7 @@ func Init(cfg SbiCfg) (err error) { if predictionModelSupported { // Connect to VIS Traffic Manager - sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, "", "") + sbi.trafficMgr, err = tm.NewTrafficMgr(sbi.moduleName, sbi.sandboxName, postgisUser, postgisPwd, cfg.PostgisHost, cfg.PostgisPort) if sbi.trafficMgr.GridFileExists { if err != nil { log.Error("Failed connection to VIS Traffic Manager: ", err) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index b2dde2407..77c559626 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -76,6 +76,8 @@ var baseKey string var gisAppClient *gisClient.APIClient var gisAppClientUrl string = "http://meep-gis-engine" +var postgisHost string = "" +var postgisPort string = "" const serviceAppVersion = "2.1.1" @@ -380,6 +382,8 @@ func Init() (err error) { ModuleName: moduleName, SandboxName: sandboxName, RedisAddr: redisAddr, + PostgisHost: postgisHost, + PostgisPort: postgisPort, Locality: locality, ScenarioNameCb: updateStoreName, CleanUpCb: cleanUp, diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index f202ea4a2..298326b52 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -1,6 +1,7 @@ package server import ( + "os" "bytes" "encoding/json" "errors" @@ -472,6 +473,8 @@ const testScenario string = ` const redisTestAddr = "localhost:30380" const influxTestAddr = "http://localhost:30986" +const postgisTestHost = "localhost" +const postgisTestPort = "30432" const testScenarioName = "testScenario" var m *mod.Model @@ -481,10 +484,51 @@ func TestNotImplemented(t *testing.T) { fmt.Println("--- ", t.Name()) log.MeepTextLogInit(t.Name()) - _, err := sendRequest(http.MethodGet, "/queries/uu_unicast_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoUuUnicastGET) + _, err := sendRequest(http.MethodDelete, "/subscriptions/1", nil, nil, nil, http.StatusNotImplemented, IndividualSubscriptionDELETE) if err != nil { t.Fatalf("Failed to get expected response") } + + _, err = sendRequest(http.MethodGet, "/subscriptions/1", nil, nil, nil, http.StatusNotImplemented, IndividualSubscriptionGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodPut, "/subscriptions/1", nil, nil, nil, http.StatusNotImplemented, IndividualSubscriptionPUT) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodGet, "/queries/pc5_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodGet, "/queries/uu_mbms_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoUuMbmsGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodGet, "/queries/uu_unicast_provisioning_info", nil, nil, nil, http.StatusNotImplemented, ProvInfoUuUnicastGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodGet, "/subscriptions", nil, nil, nil, http.StatusNotImplemented, SubGET) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodPost, "/subscriptions", nil, nil, nil, http.StatusNotImplemented, SubPOST) + if err != nil { + t.Fatalf("Failed to get expected response") + } + + _, err = sendRequest(http.MethodPost, "/publish_v2x_message", nil, nil, nil, http.StatusNotImplemented, V2xMessagePOST) + if err != nil { + t.Fatalf("Failed to get expected response") + } + } func TestPredictedQosPost(t *testing.T) { @@ -542,14 +586,14 @@ func TestPredictedQosPost(t *testing.T) { // MEC-030 Clause 7.6.3.4 pointA := LocationInfoGeoArea{43.733505, 7.413917} locationInfoA := LocationInfo{nil, &pointA} - tsA := TimeStamp{0, 45} + //tsA := TimeStamp{0, 45} pointB := LocationInfoGeoArea{43.733515, 7.413916} locationInfoB := LocationInfo{nil, &pointB} - tsB := TimeStamp{0, 45} + //tsB := TimeStamp{0, 45} // Fill PredictedQosRoutesRouteInfo with LocationInfo list routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, &tsA} - routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, &tsB} + routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, nil/*&tsA*/} // FIXME routeInfo.Time Not Supported yet + routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, nil/*&tsB*/} // FIXME routeInfo.Time Not Supported yet // PredictedQosRoutes with PredictedQosRoutesRouteInfo list predictedQosRoutes := PredictedQosRoutes{routeInfo} // Fill PredictedQos with PredictedQosRoutes list @@ -594,7 +638,10 @@ func initializeVars() { redisAddr = redisTestAddr influxAddr = influxTestAddr sandboxName = testScenarioName -} + os.Setenv("MEEP_PREDICT_MODEL_SUPPORTED", "true") + postgisHost = postgisTestHost + postgisPort = postgisTestPort + os.Setenv("MEEP_SANDBOX_NAME", testScenarioName)} func initialiseScenario(testScenario string) { log.Info(">>> initialiseScenario") -- GitLab From 4a52d74becd90919fe8d4932dd7b7e2bd4c8e23c Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 20 May 2022 17:06:46 +0200 Subject: [PATCH 109/183] Fixing build errors (gp-lint) --- go-apps/meep-gis-engine/server/gis-engine_test.go | 4 ++-- go-apps/meep-vis/server/vis_test.go | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go index 650546e68..2a6fa665f 100644 --- a/go-apps/meep-gis-engine/server/gis-engine_test.go +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -537,7 +537,7 @@ func terminateScenario() { } } -func updateScenario(testUpdate string) { +/*func updateScenario(testUpdate string) { switch testUpdate { case "mobility1": @@ -588,7 +588,7 @@ func updateScenario(testUpdate string) { default: } time.Sleep(100 * time.Millisecond) -} +}*/ func initializeVars() { mod.DbAddress = redisTestAddr diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 298326b52..dec9001fd 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -1,7 +1,6 @@ package server import ( - "os" "bytes" "encoding/json" "errors" @@ -9,6 +8,7 @@ import ( "io" "net/http" "net/http/httptest" + "os" "testing" "time" @@ -592,8 +592,8 @@ func TestPredictedQosPost(t *testing.T) { //tsB := TimeStamp{0, 45} // Fill PredictedQosRoutesRouteInfo with LocationInfo list routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, nil/*&tsA*/} // FIXME routeInfo.Time Not Supported yet - routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, nil/*&tsB*/} // FIXME routeInfo.Time Not Supported yet + routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, nil /*&tsA*/} // FIXME routeInfo.Time Not Supported yet + routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, nil /*&tsB*/} // FIXME routeInfo.Time Not Supported yet // PredictedQosRoutes with PredictedQosRoutesRouteInfo list predictedQosRoutes := PredictedQosRoutes{routeInfo} // Fill PredictedQos with PredictedQosRoutes list @@ -638,10 +638,11 @@ func initializeVars() { redisAddr = redisTestAddr influxAddr = influxTestAddr sandboxName = testScenarioName - os.Setenv("MEEP_PREDICT_MODEL_SUPPORTED", "true") + os.Setenv("MEEP_PREDICT_MODEL_SUPPORTED", "true") postgisHost = postgisTestHost postgisPort = postgisTestPort - os.Setenv("MEEP_SANDBOX_NAME", testScenarioName)} + os.Setenv("MEEP_SANDBOX_NAME", testScenarioName) +} func initialiseScenario(testScenario string) { log.Info(">>> initialiseScenario") -- GitLab From 051540719ab6a6f3c1cd1303516a155319b489bb Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 23 May 2022 16:57:25 +0500 Subject: [PATCH 110/183] set minimum value for RSRP and RSRQ in traffic manager --- go-packages/meep-vis-traffic-mgr/traffic-mgr.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go index 6d0c25710..c53aae369 100644 --- a/go-packages/meep-vis-traffic-mgr/traffic-mgr.go +++ b/go-packages/meep-vis-traffic-mgr/traffic-mgr.go @@ -19,6 +19,7 @@ package vistrafficmgr import ( "database/sql" "errors" + "math" "strconv" "strings" "time" @@ -1139,8 +1140,8 @@ func findReducedSignalStrength(inRsrp int32, inRsrq int32, users int32, averageL // Case: crowded area if users > averageLoad { - redRsrp = int32(float32(inRsrp) * (float32(averageLoad) / float32(users))) - redRsrq = int32(float32(inRsrq) * (float32(averageLoad) / float32(users))) + redRsrp = int32(math.Max(float64(float32(inRsrp)*(float32(averageLoad)/float32(users))), float64(40))) + redRsrq = int32(math.Max(float64(float32(inRsrq)*(float32(averageLoad)/float32(users))), float64(0))) return redRsrp, redRsrq, nil -- GitLab From d17cc7ee28b840520f9ea1a9292c3811fba0ee97 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 24 May 2022 15:25:51 +0200 Subject: [PATCH 111/183] Update meep-vis test scenario --- .../demo3/src/backend/server/demo3_service.go | 7 +- .../meep-gis-engine/server/gis-automation.go | 30 ++-- go-apps/meep-gis-engine/server/gis-engine.go | 65 +++++--- .../meep-gis-engine/server/gis-engine_test.go | 152 +++++++++++++++++- go-apps/meep-vis/server/vis.go | 1 + go-apps/meep-vis/server/vis_test.go | 11 +- 6 files changed, 227 insertions(+), 39 deletions(-) diff --git a/examples/demo3/src/backend/server/demo3_service.go b/examples/demo3/src/backend/server/demo3_service.go index e639633e4..b8abf5f61 100644 --- a/examples/demo3/src/backend/server/demo3_service.go +++ b/examples/demo3/src/backend/server/demo3_service.go @@ -1122,12 +1122,13 @@ func sendReadyConfirmation(appInstanceId string) error { appReady.Indication = "READY" log.Info(appSupportClientPath) resp, err := appSupportClient.MecAppSupportApi.ApplicationsConfirmReadyPOST(context.TODO(), appReady, appInstanceId) - status := strconv.Itoa(resp.StatusCode) if err != nil { - log.Error("Failed to receive confirmation acknowlegement ", resp.Status) - appActivityLogs = append(appActivityLogs, "Send confirm ready ["+status+"]") + log.Error(err.Error()) + //log.Error("Failed to receive confirmation acknowlegement ", resp.Status) + appActivityLogs = append(appActivityLogs, "Send confirm ready ["+err.Error()+"]") return err } + status := strconv.Itoa(resp.StatusCode) appActivityLogs = append(appActivityLogs, "Send confirm ready ["+status+"]") return nil diff --git a/go-apps/meep-gis-engine/server/gis-automation.go b/go-apps/meep-gis-engine/server/gis-automation.go index 2018317f6..b45b659c8 100644 --- a/go-apps/meep-gis-engine/server/gis-automation.go +++ b/go-apps/meep-gis-engine/server/gis-automation.go @@ -44,7 +44,7 @@ const ( ) func resetAutomation() { - log.Debug("Reset automation") + log.Info(">>> Reset automation") // Stop automation if running _ = setAutomation(AutoTypeMovement, false) @@ -60,6 +60,7 @@ func resetAutomation() { } func setAutomation(automationType string, state bool) (err error) { + log.Info(">>> setAutomation: ", automationType) // Validate automation type if _, found := ge.automation[automationType]; !found { @@ -101,8 +102,9 @@ func setAutomation(automationType string, state bool) (err error) { } func startAutomation() { + log.Info(">>> startAutomation") if ge.automationTicker == nil { - log.Debug("Starting automation loop") + log.Info("Starting automation loop") ge.automationTicker = time.NewTicker(1000 * time.Millisecond) go func() { for range ge.automationTicker.C { @@ -113,14 +115,17 @@ func startAutomation() { } func stopAutomation() { + log.Info(">>> stopAutomation") if ge.automationTicker != nil { ge.automationTicker.Stop() ge.automationTicker = nil - log.Debug("Stopping automation loop") + log.Info("Stopping automation loop") } } func runAutomation() { + log.Info(">>> runAutomation: ") + var ueMap map[string]*am.Ue var poaMap map[string]*am.Poa var err error @@ -146,6 +151,7 @@ func runAutomation() { } // Mobility + log.Info("runAutomation: ge.automation[AutoTypeMobility]: ", ge.automation[AutoTypeMobility]) if ge.automation[AutoTypeMobility] { runAutoMobility(ueMap) } @@ -169,7 +175,7 @@ func runAutomation() { } func runAutoMovement() { - log.Debug("Auto Movement: updating UE positions") + log.Info("Auto Movement: updating UE positions") // Calculate number of increments (seconds) for position update currentTime := time.Now() @@ -189,6 +195,8 @@ func runAutoMovement() { } func runAutoMobility(ueMap map[string]*am.Ue) { + log.Info(">>> runAutoMobility: updating UE positions: ", ueMap) + for _, ue := range ueMap { // Get stored UE info ueInfo := getUeInfo(ue.Name) @@ -418,7 +426,7 @@ func calculateThroughput(radius float32, distance float32, maxUl int32, maxDl in // ---------------------------- REST API ------------------------------------ func geGetAutomationState(w http.ResponseWriter, r *http.Request) { - log.Debug("Get all automation states") + log.Info("Get all automation states") var automationList AutomationStateList for automation, state := range ge.automation { @@ -443,10 +451,12 @@ func geGetAutomationState(w http.ResponseWriter, r *http.Request) { } func geGetAutomationStateByName(w http.ResponseWriter, r *http.Request) { + log.Info(">>> geGetAutomationStateByName: ", r) // Get automation type from request path parameters vars := mux.Vars(r) + log.Info(">>> geGetAutomationStateByName: vars: ", vars) automationType := vars["type"] - log.Debug("Get automation state for type: ", automationType) + log.Info("***************** Get automation state for type: ", automationType) // Get automation state var automationState AutomationState @@ -475,17 +485,19 @@ func geGetAutomationStateByName(w http.ResponseWriter, r *http.Request) { } func geSetAutomationStateByName(w http.ResponseWriter, r *http.Request) { + log.Info(">>> geSetAutomationStateByName: ", *r) // Get automation type from request path parameters - vars := mux.Vars(r) + vars := mux.Vars(r) //returns map[] https://stackoverflow.com/questions/31371111/mux-vars-not-working + log.Info("geSetAutomationStateByName: vars: ", vars) automationType := vars["type"] // Retrieve requested state from query parameters query := r.URL.Query() automationState, _ := strconv.ParseBool(query.Get("run")) if automationState { - log.Debug("Start automation for type: ", automationType) + log.Info("Start automation for type: ", automationType) } else { - log.Debug("Stop automation for type: ", automationType) + log.Info("Stop automation for type: ", automationType) } // Set automation state diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index cb2a623d1..a5fd6e7eb 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -284,13 +284,13 @@ func msgHandler(msg *mq.Msg, userData interface{}) { switch msg.Message { case mq.MsgScenarioActivate: - log.Debug("RX MSG: ", mq.PrintMsg(msg)) + log.Info("RX MSG: ", mq.PrintMsg(msg)) processScenarioActivate() case mq.MsgScenarioUpdate: - log.Debug("RX MSG: ", mq.PrintMsg(msg)) + log.Info("RX MSG: ", mq.PrintMsg(msg)) processScenarioUpdate() case mq.MsgScenarioTerminate: - log.Debug("RX MSG: ", mq.PrintMsg(msg)) + log.Info("RX MSG: ", mq.PrintMsg(msg)) processScenarioTerminate() default: log.Trace("Ignoring unsupported message: ", mq.PrintMsg(msg)) @@ -298,16 +298,19 @@ func msgHandler(msg *mq.Msg, userData interface{}) { } func processScenarioActivate() { + log.Info(">>> processScenarioActivate") // Sync with active scenario store ge.activeModel.UpdateScenario() // Retrieve & process POA and Compute Assets in active scenario assetList := ge.activeModel.GetNodeNames(mod.NodeTypePoa, mod.NodeTypePoa4G, mod.NodeTypePoa5G, mod.NodeTypePoaWifi, mod.NodeTypeEdge, mod.NodeTypeFog, mod.NodeTypeCloud) + log.Info("processScenarioActivate: assetList (Poa): ", assetList) setAssets(assetList) // Retrieve & process UE assets in active scenario // NOTE: Required to make sure initial UE selection takes all POAs into account assetList = ge.activeModel.GetNodeNames(mod.NodeTypeUE) + log.Info("processScenarioActivate: assetList (Ue): ", assetList) setAssets(assetList) // Update Gis cache @@ -315,6 +318,7 @@ func processScenarioActivate() { // Start snapshot thread scenarioName := ge.activeModel.GetScenarioName() + log.Info("processScenarioActivate: scenarioName: ", scenarioName) if scenarioName != "" { err := ge.StartSnapshotThread() @@ -347,6 +351,7 @@ func processScenarioActivate() { } func processScenarioUpdate() { + log.Info(">>> processScenarioUpdate") // Sync with active scenario store ge.activeModel.UpdateScenario() @@ -366,6 +371,7 @@ func processScenarioUpdate() { } // Create, update & delete assets according to scenario update + log.Info("processScenarioUpdate: assetList: ", assetList) setAssets(assetList) removeAssets(assetsToRemove) @@ -374,6 +380,7 @@ func processScenarioUpdate() { } func processScenarioTerminate() { + log.Info(">>> processScenarioTerminate") // Sync with active scenario store ge.activeModel.UpdateScenario() @@ -389,7 +396,7 @@ func processScenarioTerminate() { _ = ge.assetMgr.DeleteAllCompute() // Clear asset list - log.Debug("GeoData deleted for all assets") + log.Info("GeoData deleted for all assets") ge.assets = make(map[string]*Asset) // Flush cache @@ -397,6 +404,7 @@ func processScenarioTerminate() { } func setAssets(assetList []string) { + log.Info(">>> setAssets") for _, assetName := range assetList { var geoData *AssetGeoData = nil var err error @@ -461,21 +469,21 @@ func removeAssets(assetList []string) { delete(ge.assets, assetName) if isUe(nodeType) { - log.Debug("GeoData deleted for UE: ", assetName) + log.Info("GeoData deleted for UE: ", assetName) err := ge.assetMgr.DeleteUe(assetName) if err != nil { log.Error(err.Error()) continue } } else if isPoa(nodeType) { - log.Debug("GeoData deleted for POA: ", assetName) + log.Info("GeoData deleted for POA: ", assetName) err := ge.assetMgr.DeletePoa(assetName) if err != nil { log.Error(err.Error()) continue } } else if isCompute(nodeType) { - log.Debug("GeoData deleted for Compute: ", assetName) + log.Info("GeoData deleted for Compute: ", assetName) err := ge.assetMgr.DeleteCompute(assetName) if err != nil { log.Error(err.Error()) @@ -488,6 +496,7 @@ func removeAssets(assetList []string) { } func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) error { + log.Info(">>> setUe") // UE data map ueData := make(map[string]interface{}) @@ -521,7 +530,7 @@ func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) if err != nil { return err } - log.Debug("GeoData created for UE: ", asset.name) + log.Info("GeoData created for UE: ", asset.name) asset.geoData = geoData } else { @@ -559,7 +568,7 @@ func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) if err != nil { return err } - log.Debug("GeoData updated for UE: ", asset.name) + log.Info("GeoData updated for UE: ", asset.name) } } @@ -567,6 +576,7 @@ func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) } func setPoa(asset *Asset, nl *dataModel.NetworkLocation, geoData *AssetGeoData) error { + log.Info(">>> setUe") // Get POA Data poaData := make(map[string]interface{}) @@ -587,7 +597,7 @@ func setPoa(asset *Asset, nl *dataModel.NetworkLocation, geoData *AssetGeoData) if err != nil { return err } - log.Debug("GeoData stored for POA: ", asset.name) + log.Info("GeoData stored for POA: ", asset.name) asset.geoData = geoData } else { // Update Geodata @@ -606,13 +616,14 @@ func setPoa(asset *Asset, nl *dataModel.NetworkLocation, geoData *AssetGeoData) if err != nil { return err } - log.Debug("GeoData created for POA: ", asset.name) + log.Info("GeoData created for POA: ", asset.name) } } return nil } func setCompute(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) error { + log.Info(">>> setUe") // Get Compute Data computeData := make(map[string]interface{}) @@ -633,7 +644,7 @@ func setCompute(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoD if err != nil { return err } - log.Debug("GeoData created for Compute: ", asset.name) + log.Info("GeoData created for Compute: ", asset.name) asset.geoData = geoData } else { // Update Geodata @@ -655,7 +666,7 @@ func setCompute(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoD if err != nil { return err } - log.Debug("GeoData updated for Compute: ", asset.name) + log.Info("GeoData updated for Compute: ", asset.name) } } return nil @@ -995,7 +1006,7 @@ func updateCache() { if profiling { proFinish = time.Now() - log.Debug("updateCache: ", proFinish.Sub(proStart)) + log.Info("updateCache: ", proFinish.Sub(proStart)) } } @@ -1036,7 +1047,7 @@ func geDeleteGeoDataByName(w http.ResponseWriter, r *http.Request) { http.Error(w, err.Error(), http.StatusNotFound) return } - log.Debug("Delete GeoData for asset: ", asset.name) + log.Info("Delete GeoData for asset: ", asset.name) // Remove asset from DB if isUe(asset.typ) { @@ -1086,7 +1097,7 @@ func geGetAssetData(w http.ResponseWriter, r *http.Request) { if subType != "" { subTypeStr = subType } - log.Debug("Get GeoData for assetType[", assetTypeStr, "] subType[", subTypeStr, "] excludePath[", excludePath, "]") + log.Info("Get GeoData for assetType[", assetTypeStr, "] subType[", subTypeStr, "] excludePath[", excludePath, "]") var assetList GeoDataAssetList @@ -1209,7 +1220,7 @@ func geGetDistanceGeoDataByName(w http.ResponseWriter, r *http.Request) { // Get asset name from request path parameters vars := mux.Vars(r) assetName := vars["assetName"] - log.Debug("Get Distance GeoData for asset: ", assetName) + log.Info("Get Distance GeoData for asset: ", assetName) // Make sure scenario is active if ge.activeModel.GetScenarioName() == "" { @@ -1329,7 +1340,7 @@ func geGetWithinRangeGeoDataByName(w http.ResponseWriter, r *http.Request) { // Get asset name from request path parameters vars := mux.Vars(r) assetName := vars["assetName"] - log.Debug("Get Within Range GeoData for asset: ", assetName) + log.Info("Get Within Range GeoData for asset: ", assetName) // Make sure scenario is active if ge.activeModel.GetScenarioName() == "" { @@ -1444,16 +1455,24 @@ func geGetWithinRangeGeoDataByName(w http.ResponseWriter, r *http.Request) { } func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { + log.Info(">>> geGetGeoDataByName: ", *r) + // Get asset name from request path parameters vars := mux.Vars(r) assetName := vars["assetName"] - log.Debug("Get GeoData for asset: ", assetName) + log.Info("Get GeoData for asset: ", assetName) // Retrieve query parameters query := r.URL.Query() + log.Info("geGetGeoDataByName: query: ", query) + if assetName == "" { + assetName = query.Get("assetName") + } excludePath := query.Get("excludePath") + log.Info("geGetGeoDataByName: excludePath: ", excludePath) // Make sure scenario is active + log.Info("geGetGeoDataByName: ge.activeModel.GetScenarioName: ", ge.activeModel.GetScenarioName()) if ge.activeModel.GetScenarioName() == "" { err := errors.New("No active scenario") log.Error(err.Error()) @@ -1463,6 +1482,7 @@ func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { // Find asset in active scenario model node := ge.activeModel.GetNode(assetName) + log.Info("geGetGeoDataByName: node: ", node) if node == nil { err := errors.New("Asset not found in active scenario") log.Error(err.Error()) @@ -1477,6 +1497,11 @@ func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { // Retrieve geodata from Asset Manager using asset name & type nodeType := ge.activeModel.GetNodeType(assetName) asset.SubType = nodeType + log.Info("geGetGeoDataByName: nodeType: ", nodeType) + log.Info("geGetGeoDataByName: isUe(nodeType): ", isUe(nodeType)) + + ueMap, _ := ge.assetMgr.GetAllUe() + log.Info("geGetGeoDataByName: All UEs: ", ueMap) if isUe(nodeType) { // Get UE information @@ -1553,7 +1578,7 @@ func geUpdateGeoDataByName(w http.ResponseWriter, r *http.Request) { // Get asset name from request path parameters vars := mux.Vars(r) assetName := vars["assetName"] - log.Debug("Set GeoData for asset: ", assetName) + log.Info("Set GeoData for asset: ", assetName) // Retrieve Geodata to set from request body var geoData GeoDataAsset diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go index 650546e68..b528e33a2 100644 --- a/go-apps/meep-gis-engine/server/gis-engine_test.go +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -19,7 +19,7 @@ package server import ( "os" //"bytes" - //"encoding/json" + "encoding/json" "errors" "fmt" "io" @@ -516,15 +516,139 @@ func TestGetAutomationState(t *testing.T) { time.Sleep(1000 * time.Millisecond) + var expectedResponse AutomationStateList + expectedResponse.States = make([]AutomationState, 4) + expectedResponse.States[0] = AutomationState{"MOVEMENT", false} + expectedResponse.States[1] = AutomationState{"MOBILITY", false} + expectedResponse.States[2] = AutomationState{"POAS-IN-RANGE", false} + expectedResponse.States[3] = AutomationState{"NETWORK-CHARACTERISTICS-UPDATE", false} + r, err := sendRequest(http.MethodGet, "/automation", nil, nil, nil, http.StatusOK, GetAutomationState) if err != nil { t.Fatal("Failed to get expected response: ", err.Error()) } - fmt.Println("==> ", r) + var respBody AutomationStateList + err = json.Unmarshal([]byte(r), &respBody) // Verify Json conversion + if err != nil { + t.Fatalf("Failed to get expected response") + } + if !validateAutomationStateList(respBody, expectedResponse) { + t.Fatalf("Failed to get expected response") + } terminateScenario() + + Stop() + err = Uninit() + if err != nil { + t.Fatalf("Error terminating test basic procedure") + } } +func TestGetGeodata(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + initializeVars() + err := Init() + if err != nil { + t.Fatalf("Error initializing test basic procedure") + } + err = Run() + if err != nil { + t.Fatalf("Error running test basic procedure") + } + fmt.Println("Set a scenario") + initialiseScenario(testScenario) + + time.Sleep(1000 * time.Millisecond) + + r, err := sendRequest(http.MethodGet, "/geodata?assetName=UE", nil, nil, nil, http.StatusNotFound, GetGeoDataByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + fmt.Println("==> r: ", r) + + updateScenario("mobility1") + time.Sleep(1000 * time.Millisecond) + + r, err = sendRequest(http.MethodGet, "/geodata?assetName=ue1", nil, nil, nil, http.StatusOK, GetGeoDataByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + fmt.Println("==> r: ", r) + + terminateScenario() + + Stop() + err = Uninit() + if err != nil { + t.Fatalf("Error terminating test basic procedure") + } +} + +/*func TestGetAutomationStateByName(t *testing.T) { + fmt.Println("--- ", t.Name()) + log.MeepTextLogInit(t.Name()) + + initializeVars() + err := Init() + if err != nil { + t.Fatalf("Error initializing test basic procedure") + } + err = Run() + if err != nil { + t.Fatalf("Error running test basic procedure") + } + fmt.Println("Set a scenario") + initialiseScenario(testScenario) + + time.Sleep(1000 * time.Millisecond) + + // HTTP error 500 expected + _, err = sendRequest(http.MethodGet, "/automation/MOBILITY", nil, nil, nil, http.StatusInternalServerError, GetAutomationStateByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + + updateScenario("mobility1") + time.Sleep(1000 * time.Millisecond) + + // Set MOBILITY + _, err = sendRequest(http.MethodPost, "/automation/MOBILITY?run=true", nil, nil, nil, http.StatusOK, SetAutomationStateByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + // HTTP OK expected + r, err := sendRequest(http.MethodGet, "/automation/MOBILITY", nil, nil, nil, http.StatusOK, GetAutomationStateByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + fmt.Println("==> r: ", r) + + updateScenario("mobility1") + time.Sleep(1000 * time.Millisecond) + + // Unset MOBILITY + _, err = sendRequest(http.MethodPost, "/automation/MOBILITY?run=false", nil, nil, nil, http.StatusOK, SetAutomationStateByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + // HTTP error 500 expected + _, err = sendRequest(http.MethodGet, "/automation/MOBILITY", nil, nil, nil, http.StatusInternalServerError, GetAutomationStateByName) + if err != nil { + t.Fatal("Failed to get expected response: ", err.Error()) + } + + terminateScenario() + + Stop() + err = Uninit() + if err != nil { + t.Fatalf("Error terminating test basic procedure") + } +}*/ + func terminateScenario() { if mqLocal != nil { Stop() @@ -684,3 +808,27 @@ func sendRequest(method string, url string, body io.Reader, vars map[string]stri } return string(rr.Body.String()), nil } + +func validateAutomationStateList(response AutomationStateList, expectedResponse AutomationStateList) bool { + if len(response.States) != len(expectedResponse.States) { + fmt.Println("len(response) != len(expectedResponse)") + return false + } + notFound := false + for _, item := range response.States { + found := false + for _, item1 := range expectedResponse.States { + if item == item1 { + // Found it + fmt.Println("validateAutomationStateList: item: ", item, "found") + found = true + break + } + } + if !found { + notFound = true + break + } + } + return !notFound +} diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 77c559626..63665a485 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -647,6 +647,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { powerResp, _, err := gisAppClient.GeospatialDataApi.GetGeoDataPowerValues(context.TODO(), geocoordinatesList) if err != nil { log.Error("Failed to communicate with gis engine: ", err) + errHandlerProblemDetails(w, "Failed to communicate with gis engine.", http.StatusBadRequest) return } routeInfoList := responseData.Routes[i].RouteInfo diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index 298326b52..dec9001fd 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -1,7 +1,6 @@ package server import ( - "os" "bytes" "encoding/json" "errors" @@ -9,6 +8,7 @@ import ( "io" "net/http" "net/http/httptest" + "os" "testing" "time" @@ -592,8 +592,8 @@ func TestPredictedQosPost(t *testing.T) { //tsB := TimeStamp{0, 45} // Fill PredictedQosRoutesRouteInfo with LocationInfo list routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, nil/*&tsA*/} // FIXME routeInfo.Time Not Supported yet - routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, nil/*&tsB*/} // FIXME routeInfo.Time Not Supported yet + routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, nil /*&tsA*/} // FIXME routeInfo.Time Not Supported yet + routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, nil /*&tsB*/} // FIXME routeInfo.Time Not Supported yet // PredictedQosRoutes with PredictedQosRoutesRouteInfo list predictedQosRoutes := PredictedQosRoutes{routeInfo} // Fill PredictedQos with PredictedQosRoutes list @@ -638,10 +638,11 @@ func initializeVars() { redisAddr = redisTestAddr influxAddr = influxTestAddr sandboxName = testScenarioName - os.Setenv("MEEP_PREDICT_MODEL_SUPPORTED", "true") + os.Setenv("MEEP_PREDICT_MODEL_SUPPORTED", "true") postgisHost = postgisTestHost postgisPort = postgisTestPort - os.Setenv("MEEP_SANDBOX_NAME", testScenarioName)} + os.Setenv("MEEP_SANDBOX_NAME", testScenarioName) +} func initialiseScenario(testScenario string) { log.Info(">>> initialiseScenario") -- GitLab From 736b48732d453e3c424a7e0b4cf25e6f01de8534 Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 24 May 2022 16:27:09 +0200 Subject: [PATCH 112/183] Update meep-gis-engine test scenario; Remove debug logs --- .../meep-gis-engine/server/gis-automation.go | 10 - go-apps/meep-gis-engine/server/gis-engine.go | 31 +- .../meep-gis-engine/server/gis-engine_test.go | 4331 +++++++++++++++-- go-apps/meep-vis/server/vis_test.go | 1 - go-packages/meep-gis-asset-mgr/asset-mgr.go | 1 - 5 files changed, 3917 insertions(+), 457 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-automation.go b/go-apps/meep-gis-engine/server/gis-automation.go index b45b659c8..b7d97fb24 100644 --- a/go-apps/meep-gis-engine/server/gis-automation.go +++ b/go-apps/meep-gis-engine/server/gis-automation.go @@ -44,7 +44,6 @@ const ( ) func resetAutomation() { - log.Info(">>> Reset automation") // Stop automation if running _ = setAutomation(AutoTypeMovement, false) @@ -60,7 +59,6 @@ func resetAutomation() { } func setAutomation(automationType string, state bool) (err error) { - log.Info(">>> setAutomation: ", automationType) // Validate automation type if _, found := ge.automation[automationType]; !found { @@ -102,7 +100,6 @@ func setAutomation(automationType string, state bool) (err error) { } func startAutomation() { - log.Info(">>> startAutomation") if ge.automationTicker == nil { log.Info("Starting automation loop") ge.automationTicker = time.NewTicker(1000 * time.Millisecond) @@ -115,7 +112,6 @@ func startAutomation() { } func stopAutomation() { - log.Info(">>> stopAutomation") if ge.automationTicker != nil { ge.automationTicker.Stop() ge.automationTicker = nil @@ -124,7 +120,6 @@ func stopAutomation() { } func runAutomation() { - log.Info(">>> runAutomation: ") var ueMap map[string]*am.Ue var poaMap map[string]*am.Poa @@ -195,7 +190,6 @@ func runAutoMovement() { } func runAutoMobility(ueMap map[string]*am.Ue) { - log.Info(">>> runAutoMobility: updating UE positions: ", ueMap) for _, ue := range ueMap { // Get stored UE info @@ -451,12 +445,9 @@ func geGetAutomationState(w http.ResponseWriter, r *http.Request) { } func geGetAutomationStateByName(w http.ResponseWriter, r *http.Request) { - log.Info(">>> geGetAutomationStateByName: ", r) // Get automation type from request path parameters vars := mux.Vars(r) - log.Info(">>> geGetAutomationStateByName: vars: ", vars) automationType := vars["type"] - log.Info("***************** Get automation state for type: ", automationType) // Get automation state var automationState AutomationState @@ -485,7 +476,6 @@ func geGetAutomationStateByName(w http.ResponseWriter, r *http.Request) { } func geSetAutomationStateByName(w http.ResponseWriter, r *http.Request) { - log.Info(">>> geSetAutomationStateByName: ", *r) // Get automation type from request path parameters vars := mux.Vars(r) //returns map[] https://stackoverflow.com/questions/31371111/mux-vars-not-working log.Info("geSetAutomationStateByName: vars: ", vars) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index a5fd6e7eb..98591e4c4 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -298,19 +298,17 @@ func msgHandler(msg *mq.Msg, userData interface{}) { } func processScenarioActivate() { - log.Info(">>> processScenarioActivate") + // Sync with active scenario store ge.activeModel.UpdateScenario() // Retrieve & process POA and Compute Assets in active scenario assetList := ge.activeModel.GetNodeNames(mod.NodeTypePoa, mod.NodeTypePoa4G, mod.NodeTypePoa5G, mod.NodeTypePoaWifi, mod.NodeTypeEdge, mod.NodeTypeFog, mod.NodeTypeCloud) - log.Info("processScenarioActivate: assetList (Poa): ", assetList) setAssets(assetList) // Retrieve & process UE assets in active scenario // NOTE: Required to make sure initial UE selection takes all POAs into account assetList = ge.activeModel.GetNodeNames(mod.NodeTypeUE) - log.Info("processScenarioActivate: assetList (Ue): ", assetList) setAssets(assetList) // Update Gis cache @@ -318,7 +316,6 @@ func processScenarioActivate() { // Start snapshot thread scenarioName := ge.activeModel.GetScenarioName() - log.Info("processScenarioActivate: scenarioName: ", scenarioName) if scenarioName != "" { err := ge.StartSnapshotThread() @@ -351,7 +348,7 @@ func processScenarioActivate() { } func processScenarioUpdate() { - log.Info(">>> processScenarioUpdate") + // Sync with active scenario store ge.activeModel.UpdateScenario() @@ -371,7 +368,6 @@ func processScenarioUpdate() { } // Create, update & delete assets according to scenario update - log.Info("processScenarioUpdate: assetList: ", assetList) setAssets(assetList) removeAssets(assetsToRemove) @@ -380,7 +376,7 @@ func processScenarioUpdate() { } func processScenarioTerminate() { - log.Info(">>> processScenarioTerminate") + // Sync with active scenario store ge.activeModel.UpdateScenario() @@ -404,7 +400,7 @@ func processScenarioTerminate() { } func setAssets(assetList []string) { - log.Info(">>> setAssets") + for _, assetName := range assetList { var geoData *AssetGeoData = nil var err error @@ -496,7 +492,6 @@ func removeAssets(assetList []string) { } func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) error { - log.Info(">>> setUe") // UE data map ueData := make(map[string]interface{}) @@ -576,7 +571,6 @@ func setUe(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) } func setPoa(asset *Asset, nl *dataModel.NetworkLocation, geoData *AssetGeoData) error { - log.Info(">>> setUe") // Get POA Data poaData := make(map[string]interface{}) @@ -623,7 +617,6 @@ func setPoa(asset *Asset, nl *dataModel.NetworkLocation, geoData *AssetGeoData) } func setCompute(asset *Asset, pl *dataModel.PhysicalLocation, geoData *AssetGeoData) error { - log.Info(">>> setUe") // Get Compute Data computeData := make(map[string]interface{}) @@ -831,7 +824,7 @@ func initWirelessType(wireless bool, wirelessType string) string { } func updateCache() { - + if profiling { proStart = time.Now() } @@ -1455,24 +1448,22 @@ func geGetWithinRangeGeoDataByName(w http.ResponseWriter, r *http.Request) { } func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { - log.Info(">>> geGetGeoDataByName: ", *r) // Get asset name from request path parameters vars := mux.Vars(r) assetName := vars["assetName"] - log.Info("Get GeoData for asset: ", assetName) + //log.Info("Get GeoData for asset: ", assetName) // Retrieve query parameters query := r.URL.Query() - log.Info("geGetGeoDataByName: query: ", query) + //log.Info("geGetGeoDataByName: query: ", query) if assetName == "" { assetName = query.Get("assetName") } excludePath := query.Get("excludePath") - log.Info("geGetGeoDataByName: excludePath: ", excludePath) + //log.Info("geGetGeoDataByName: excludePath: ", excludePath) // Make sure scenario is active - log.Info("geGetGeoDataByName: ge.activeModel.GetScenarioName: ", ge.activeModel.GetScenarioName()) if ge.activeModel.GetScenarioName() == "" { err := errors.New("No active scenario") log.Error(err.Error()) @@ -1482,7 +1473,6 @@ func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { // Find asset in active scenario model node := ge.activeModel.GetNode(assetName) - log.Info("geGetGeoDataByName: node: ", node) if node == nil { err := errors.New("Asset not found in active scenario") log.Error(err.Error()) @@ -1497,11 +1487,6 @@ func geGetGeoDataByName(w http.ResponseWriter, r *http.Request) { // Retrieve geodata from Asset Manager using asset name & type nodeType := ge.activeModel.GetNodeType(assetName) asset.SubType = nodeType - log.Info("geGetGeoDataByName: nodeType: ", nodeType) - log.Info("geGetGeoDataByName: isUe(nodeType): ", isUe(nodeType)) - - ueMap, _ := ge.assetMgr.GetAllUe() - log.Info("geGetGeoDataByName: All UEs: ", ueMap) if isUe(nodeType) { // Get UE information diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go index b528e33a2..103359039 100644 --- a/go-apps/meep-gis-engine/server/gis-engine_test.go +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -43,451 +43,3938 @@ import ( //json format using spacing to facilitate reading const testScenario string = ` { - "version":"1.5.3", - "name":"test-scenario", - "deployment":{ - "netChar":{ - "latency":50, - "latencyVariation":5, - "throughputDl":1000, - "throughputUl":1000 + "version": "1.8.1", + "name": "dual-mep-short-path", + "deployment": { + "netChar": { + "latency": 50, + "latencyVariation": 10, + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "throughput": null, + "packetLoss": null + }, + "connectivity": { + "model": "OPEN" + }, + "userMeta": { + "mec-sandbox": "{\"defaultStaticUeCount\": 1, \"defaultLowVelocityUeCount\": 1, \"defaultHighVelocityUeCount\": 1, \"highVelocitySpeedThreshold\": 10}", + "network-info": "{\"type\": \"local\", \"path\":\"4G-Macro-Network-Topology.png\"}" + }, + "domains": [ + { + "id": "PUBLIC", + "name": "PUBLIC", + "type": "PUBLIC", + "netChar": { + "latency": 6, + "latencyVariation": 2, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "zones": [ + { + "id": "PUBLIC-COMMON", + "name": "PUBLIC-COMMON", + "type": "COMMON", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "networkLocations": [ + { + "id": "PUBLIC-COMMON-DEFAULT", + "name": "PUBLIC-COMMON-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "meta": null, + "userMeta": null + } + ], + "interZoneLatency": null, + "interZoneLatencyVariation": null, + "interZoneThroughput": null, + "interZonePacketLoss": null, + "meta": null, + "userMeta": null, + "cellularDomainConfig": null }, - "domains":[ + { + "id": "f1c5f2fe-5fbb-48fa-a0df-6ad00e4eeb4c", + "name": "sandbox-operator", + "type": "OPERATOR-CELLULAR", + "netChar": { + "latency": 6, + "latencyVariation": 2, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "cellularDomainConfig": { + "mnc": "001", + "mcc": "001", + "defaultCellId": "FFFFFFF" + }, + "zones": [ + { + "id": "sandbox-operator-COMMON", + "name": "sandbox-operator-COMMON", + "type": "COMMON", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "networkLocations": [ + { + "id": "sandbox-operator-COMMON-DEFAULT", + "name": "sandbox-operator-COMMON-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "meta": null, + "userMeta": null + }, { - "id":"PUBLIC", - "name":"PUBLIC", - "type":"PUBLIC", - "netChar":{ - "latency":6, - "latencyVariation":2, - "throughputDl":1000000, - "throughputUl":1000000 - }, - "zones":[ + "id": "6fd7e9d1-3646-474d-880b-d4a21799d280", + "name": "zone01", + "type": "ZONE", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "meta": { + "display.map.color": "blueviolet" + }, + "networkLocations": [ + { + "id": "zone01-DEFAULT", + "name": "zone01-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "physicalLocations": [ + { + "id": "429f6812-5825-48be-9b53-6e9ed343a211", + "name": "mep1", + "type": "EDGE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421096, + 43.73408 + ] + }, + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "connected": true, + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "processes": [ + { + "id": "e5ba96bb-7dca-45d7-975e-19a3877c3353", + "name": "mec011-1", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-app-enablement", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "environment": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + }, + { + "id": "73f62963-7345-4fb5-9a88-f8a4cf4d3525", + "name": "mec012-1", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-rnis", + "environment": "MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + }, + { + "id": "ca29c5a5-f471-4098-abcb-d55d83410087", + "name": "mec013-1", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-loc-serv", + "environment": "MEEP_LOCALITY=zone01:zone02:zone03,MEEP_SCOPE_OF_LOCALITY=MEC_HOST,MEEP_CONSUMED_LOCAL_ONLY=true", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + }, + { + "id": "b1817bf2-62c7-4b21-9818-f625f5da680b", + "name": "mec021-1", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-ams", + "environment": "MEEP_MEP_COVERAGE=mep1:zone01:zone02:zone03/mep2:zone04,MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + }, + { + "id": "fa255407-1131-4d95-bd1f-bb99d587dadd", + "name": "mec028-1", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-wais", + "environment": "MEEP_SCOPE_OF_LOCALITY=MEC_SYSTEM,MEEP_CONSUMED_LOCAL_ONLY=false", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + } + ], + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "networkLocationsInRange": null, + "wireless": null, + "wirelessType": null, + "meta": null, + "userMeta": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null, + "macId": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null + }, + { + "id": "3480e529-3fc1-44b8-a892-42bbbfa4018f", + "name": "4g-macro-cell-1", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "1010101" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.419344, + 43.72764 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ + { + "id": "3331ee44-2236-1111-0020-5a3c2bde0eaa", + "name": "10.10.0.4", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.420433, + 43.729942 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.420433, + 43.729942 + ], + [ + 7.420659, + 43.73036 + ], + [ + 7.420621, + 43.731045 + ], + [ + 7.420922, + 43.73129 + ], + [ + 7.421345, + 43.731373 + ], + [ + 7.42135, + 43.73168 + ], + [ + 7.421148, + 43.73173 + ], + [ + 7.420616, + 43.731964 + ], + [ + 7.419779, + 43.732197 + ], + [ + 7.419111, + 43.732353 + ], + [ + 7.418931, + 43.732315 + ], + [ + 7.418345, + 43.731964 + ], + [ + 7.418319, + 43.73186 + ], + [ + 7.418024, + 43.73179 + ], + [ + 7.41796, + 43.731728 + ], + [ + 7.417729, + 43.731743 + ], + [ + 7.417463, + 43.731632 + ], + [ + 7.417507, + 43.73148 + ], + [ + 7.417428, + 43.731407 + ], + [ + 7.417343, + 43.731396 + ], + [ + 7.417334, + 43.731133 + ], + [ + 7.417317, + 43.73053 + ], + [ + 7.417164, + 43.7304 + ], + [ + 7.417164, + 43.72998 + ], + [ + 7.417319, + 43.729916 + ], + [ + 7.419065, + 43.730103 + ] + ] + }, + "eopMode": "REVERSE", + "velocity": 9, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-android-walk" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A0A0004", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + }, + { + "id": "1e2600f4-4861-43d6-abcb-07f4481a124c", + "name": "10.10.0.3", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.423684, + 43.727867 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.423684, + 43.727867 + ], + [ + 7.422571, + 43.727325 + ], + [ + 7.422421, + 43.727333 + ], + [ + 7.42196, + 43.727123 + ], + [ + 7.421828, + 43.72711 + ], + [ + 7.420988, + 43.726707 + ], + [ + 7.420757, + 43.72654 + ], + [ + 7.420393, + 43.72653 + ], + [ + 7.420207, + 43.726746 + ], + [ + 7.419985, + 43.72686 + ], + [ + 7.41988, + 43.72701 + ], + [ + 7.419869, + 43.727287 + ], + [ + 7.419807, + 43.727474 + ], + [ + 7.419671, + 43.727585 + ], + [ + 7.419502, + 43.727608 + ], + [ + 7.419402, + 43.728645 + ], + [ + 7.421238, + 43.72874 + ], + [ + 7.421412, + 43.728493 + ], + [ + 7.421532, + 43.728237 + ], + [ + 7.421697, + 43.72798 + ], + [ + 7.421928, + 43.727783 + ], + [ + 7.422381, + 43.727524 + ], + [ + 7.422507, + 43.72749 + ], + [ + 7.422922, + 43.72768 + ], + [ + 7.422894, + 43.727715 + ], + [ + 7.423666, + 43.72804 + ], + [ + 7.423763, + 43.72794 + ], + [ + 7.4237, + 43.727905 + ], + [ + 7.423684, + 43.727867 + ] + ] + }, + "eopMode": "LOOP", + "velocity": 9, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-android-walk" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A0A0003", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "8c2599e8-dd88-4ff2-9cf4-6fc54663c152", + "name": "4g-macro-cell-2", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "2020202" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.413819, + 43.729538 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ + { + "id": "c52208b3-93bb-4255-9b34-52432acc4398", + "name": "10.100.0.1", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.424013, + 43.740044 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.424013, + 43.740044 + ], + [ + 7.425471, + 43.741444 + ], + [ + 7.425771, + 43.741653 + ], + [ + 7.426651, + 43.741646 + ], + [ + 7.426802, + 43.741543 + ], + [ + 7.426941, + 43.74167 + ], + [ + 7.427896, + 43.74232 + ], + [ + 7.428733, + 43.7439 + ] + ] + }, + "eopMode": "REVERSE", + "velocity": 20, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "meta": { + "display.map.icon": "ion-android-car" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A640001", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "f32f0c05-4491-4a93-be0c-19420d4407f0", + "name": "4g-macro-cell-3", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "3030303" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.416715, + 43.733616 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ { - "id":"PUBLIC-COMMON", - "name":"PUBLIC-COMMON", - "type":"COMMON", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughput":1000000 + "id": "0ca4bfcc-7346-4f57-9c85-bb92642ec37e", + "name": "10.1.0.2", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.4187, + 43.732403 + ] }, - "networkLocations":[ - { - "id":"PUBLIC-COMMON-DEFAULT", - "name":"PUBLIC-COMMON-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":50000, - "throughputUl":50000, - "packetLoss":1 - } - } - ] + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-ios-videocam" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A010002", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null } - ] + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "1835f9ea-1f72-47e8-98b7-f0a5e4ff44e4", + "name": "wifi-ap-1", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C01010101" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.419891, + 43.727787 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "fb7ff207-f67d-4a1d-a353-038e96085d06", + "name": "wifi-ap-2", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C02020202" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.42179, + 43.727474 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "37be6821-a5f3-4af9-af0a-ceff4c0f66be", + "name": "5g-small-cell-1", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "101010101" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.415385, + 43.730846 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "ab60918a-acd8-4f4e-9693-d2fbffae9b72", + "name": "5g-small-cell-2", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "202020202" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.416962, + 43.731453 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "de2d952d-11b1-4294-8a67-6d994f1a5f37", + "name": "5g-small-cell-3", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "303030303" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.418507, + 43.731865 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "userMeta": null }, { - "id":"4da82f2d-1f44-4945-8fe7-00c0431ef8c7", - "name":"operator-cell1", - "type":"OPERATOR-CELLULAR", - "netChar":{ - "latency":6, - "latencyVariation":2, - "throughputDl":1000, - "throughputUl":1000 - }, - "cellularDomainConfig":{ - "mnc":"456", - "mcc":"123", - "defaultCellId":"1234567" - }, - "zones":[ + "id": "4c3c9568-6408-4900-9d97-4556f6d805db", + "name": "zone02", + "type": "ZONE", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "meta": { + "display.map.color": "darkred" + }, + "networkLocations": [ + { + "id": "zone02-DEFAULT", + "name": "zone02-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null, + "physicalLocations": null + }, + { + "id": "78327873-c828-47da-8a5b-3c74d251dbbc", + "name": "4g-macro-cell-4", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "4040404" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.423547, + 43.731724 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ + { + "id": "67a40b8b-5777-4e96-a896-8622af4a741f", + "name": "10.100.0.3", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.427762, + 43.73765 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.427762, + 43.73765 + ], + [ + 7.428867, + 43.738125 + ], + [ + 7.429136, + 43.73831 + ], + [ + 7.429626, + 43.738724 + ], + [ + 7.429853, + 43.73897 + ], + [ + 7.430023, + 43.739243 + ], + [ + 7.430125, + 43.7395 + ], + [ + 7.430301, + 43.740196 + ], + [ + 7.430422, + 43.741196 + ], + [ + 7.430411, + 43.741318 + ], + [ + 7.430493, + 43.741344 + ], + [ + 7.430568, + 43.741417 + ], + [ + 7.431135, + 43.742336 + ] + ] + }, + "eopMode": "REVERSE", + "velocity": 20, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "meta": { + "display.map.icon": "ion-android-car" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A640003", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "ca3b5b42-0e99-4553-9d19-4696cd8fe469", + "name": "4g-macro-cell-5", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "5050505" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.429257, + 43.73411 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ { - "id":"operator-cell1-COMMON", - "name":"operator-cell1-COMMON", - "type":"COMMON", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughput":1000 + "id": "c18e3f93-79c4-427d-af91-81996adab3e7", + "name": "10.1.0.3", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.426565, + 43.73298 + ] }, - "networkLocations":[ - { - "id":"operator-cell1-COMMON-DEFAULT", - "name":"operator-cell1-COMMON-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - } - } - ] + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-ios-videocam" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A010003", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null }, { - "id":"0836975f-a7ea-41ec-b0e0-aff43178194d", - "name":"zone1", - "type":"ZONE", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughput":1000 + "id": "1d2683f4-086e-47d6-abbb-07fa481a25fb", + "name": "10.10.0.1", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.43166, + 43.736156 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.43166, + 43.736156 + ], + [ + 7.431723, + 43.736115 + ], + [ + 7.431162, + 43.735607 + ], + [ + 7.430685, + 43.73518 + ], + [ + 7.43043, + 43.73532 + ], + [ + 7.429067, + 43.734108 + ], + [ + 7.428863, + 43.734184 + ], + [ + 7.428388, + 43.734116 + ], + [ + 7.427817, + 43.73446 + ], + [ + 7.427689, + 43.734917 + ], + [ + 7.427581, + 43.73499 + ], + [ + 7.427308, + 43.734955 + ], + [ + 7.42723, + 43.734844 + ], + [ + 7.427281, + 43.734646 + ], + [ + 7.427411, + 43.734657 + ], + [ + 7.427709, + 43.73362 + ], + [ + 7.424581, + 43.732964 + ], + [ + 7.424312, + 43.73363 + ], + [ + 7.424512, + 43.73368 + ], + [ + 7.424534, + 43.733707 + ], + [ + 7.424534, + 43.73373 + ], + [ + 7.424477, + 43.733753 + ], + [ + 7.42423, + 43.73371 + ], + [ + 7.424029, + 43.733665 + ], + [ + 7.423999, + 43.733624 + ], + [ + 7.424058, + 43.73358 + ], + [ + 7.424246, + 43.733624 + ], + [ + 7.424522, + 43.732952 + ], + [ + 7.423748, + 43.73279 + ], + [ + 7.423545, + 43.733307 + ], + [ + 7.423508, + 43.7333 + ], + [ + 7.423535, + 43.73324 + ], + [ + 7.423668, + 43.732857 + ], + [ + 7.423455, + 43.73282 + ], + [ + 7.423356, + 43.73307 + ], + [ + 7.423199, + 43.733135 + ], + [ + 7.423043, + 43.73321 + ], + [ + 7.422855, + 43.73337 + ], + [ + 7.422744, + 43.733517 + ], + [ + 7.422694, + 43.733624 + ], + [ + 7.422659, + 43.73374 + ], + [ + 7.422578, + 43.734074 + ], + [ + 7.422604, + 43.734188 + ], + [ + 7.422541, + 43.734425 + ], + [ + 7.422509, + 43.73456 + ], + [ + 7.422697, + 43.73458 + ], + [ + 7.422847, + 43.734077 + ], + [ + 7.422881, + 43.73408 + ], + [ + 7.422756, + 43.73459 + ], + [ + 7.423254, + 43.73466 + ], + [ + 7.423413, + 43.73412 + ], + [ + 7.423512, + 43.73413 + ], + [ + 7.423351, + 43.734753 + ], + [ + 7.42326, + 43.73506 + ], + [ + 7.423223, + 43.73522 + ], + [ + 7.423173, + 43.735416 + ], + [ + 7.423072, + 43.7354 + ], + [ + 7.4232, + 43.734898 + ], + [ + 7.423191, + 43.734848 + ], + [ + 7.422693, + 43.734776 + ], + [ + 7.42256, + 43.7353 + ], + [ + 7.422513, + 43.73529 + ], + [ + 7.422655, + 43.734776 + ], + [ + 7.422423, + 43.734737 + ], + [ + 7.422299, + 43.735203 + ], + [ + 7.422233, + 43.735435 + ], + [ + 7.42215, + 43.735508 + ], + [ + 7.422032, + 43.735546 + ], + [ + 7.421888, + 43.735535 + ], + [ + 7.421866, + 43.735683 + ], + [ + 7.421872, + 43.735928 + ], + [ + 7.421975, + 43.736275 + ], + [ + 7.422107, + 43.73651 + ], + [ + 7.422269, + 43.73673 + ], + [ + 7.42493, + 43.737007 + ], + [ + 7.425109, + 43.73692 + ], + [ + 7.425631, + 43.736973 + ], + [ + 7.425674, + 43.736706 + ], + [ + 7.425721, + 43.736477 + ], + [ + 7.425736, + 43.736366 + ], + [ + 7.425787, + 43.736378 + ], + [ + 7.425655, + 43.737087 + ], + [ + 7.426748, + 43.73719 + ], + [ + 7.426931, + 43.736523 + ], + [ + 7.427054, + 43.736073 + ], + [ + 7.427052, + 43.73606 + ], + [ + 7.427027, + 43.736053 + ], + [ + 7.426908, + 43.73604 + ], + [ + 7.426963, + 43.73584 + ], + [ + 7.427089, + 43.73575 + ], + [ + 7.427368, + 43.735783 + ], + [ + 7.427427, + 43.735886 + ], + [ + 7.427096, + 43.737133 + ], + [ + 7.429107, + 43.73754 + ], + [ + 7.429795, + 43.736343 + ] + ] }, - "networkLocations":[ - { - "id":"zone1-DEFAULT", - "name":"zone1-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - }, - "physicalLocations":[ - { - "id":"97b80da7-a74a-4649-bb61-f7fa4fbb2d76", - "name":"zone1-edge1", - "type":"EDGE", - "connected":true, - "processes":[ - { - "id":"fcf1269c-a061-448e-aa80-6dd9c2d4c548", - "name":"zone1-edge1-iperf", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/iperf-server", - "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT", - "commandExe":"/bin/bash", - "serviceConfig":{ - "name":"zone1-edge1-iperf", - "meSvcName":"iperf", - "ports":[ - { - "protocol":"UDP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - }, - { - "id":"35697e68-c627-4b8d-9cd7-ad8b8e226aee", - "name":"zone1-edge1-svc", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/demo-server", - "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-edge1-svc, MGM_APP_PORT=80", - "serviceConfig":{ - "name":"zone1-edge1-svc", - "meSvcName":"svc", - "ports":[ - { - "protocol":"TCP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ], - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ] - }, - { - "id":"7a6f8077-b0b3-403d-b954-3351e21afeb7", - "name":"zone1-poa-cell1", - "type":"POA-4G", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - }, - "poa4GConfig":{ - "cellId":"2345678" - }, - "physicalLocations":[ - { - "id":"32a2ced4-a262-49a8-8503-8489a94386a2", - "name":"ue1", - "type":"UE", - "connected":true, - "wireless":true, - "processes":[ - { - "id":"9bdd6acd-f6e4-44f6-a26c-8fd9abd338a7", - "name":"ue1-iperf", - "type":"UE-APP", - "image":"meep-docker-registry:30001/iperf-client", - "commandArguments":"-c, export; iperf -u -c $IPERF_SERVICE_HOST -p $IPERF_SERVICE_PORT\n-t 3600 -b 50M;", - "commandExe":"/bin/bash", - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ], - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - }, - { - "id":"b1851da5-c9e1-4bd8-ad23-5925c82ee127", - "name":"zone1-fog1", - "type":"FOG", - "connected":true, - "processes":[ - { - "id":"c2f2fb5d-4053-4cee-a0ee-e62bbb7751b6", - "name":"zone1-fog1-iperf", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/iperf-server", - "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", - "commandExe":"/bin/bash", - "serviceConfig":{ - "name":"zone1-fog1-iperf", - "meSvcName":"iperf", - "ports":[ - { - "protocol":"UDP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - }, - { - "id":"53b5806b-e213-4c5a-a181-f1c31c24287b", - "name":"zone1-fog1-svc", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/demo-server", - "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone1-fog1-svc, MGM_APP_PORT=80", - "serviceConfig":{ - "name":"zone1-fog1-svc", - "meSvcName":"svc", - "ports":[ - { - "protocol":"TCP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ], - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ] - }, - { - "id":"7ff90180-2c1a-4c11-b59a-3608c5d8d874", - "name":"zone1-poa-cell2", - "type":"POA-4G", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - }, - "poa4GConfig":{ - "cellId":"3456789" - } - } - ] + "eopMode": "REVERSE", + "velocity": 9, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-android-walk" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A0A0001", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + }, + { + "id": "ec32caa6-ddc6-4f5e-a815-654782b31abb", + "name": "10.100.0.2", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.424826, + 43.739296 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.424826, + 43.739296 + ], + [ + 7.425503, + 43.74032 + ], + [ + 7.426222, + 43.741188 + ], + [ + 7.426651, + 43.741646 + ], + [ + 7.426802, + 43.741978 + ], + [ + 7.427628, + 43.74245 + ], + [ + 7.427982, + 43.743404 + ], + [ + 7.428554, + 43.743565 + ], + [ + 7.428948, + 43.74346 + ], + [ + 7.428315, + 43.742283 + ], + [ + 7.428465, + 43.74205 + ], + [ + 7.427102, + 43.74064 + ], + [ + 7.427757, + 43.74019 + ], + [ + 7.426866, + 43.739388 + ], + [ + 7.42619, + 43.74 + ], + [ + 7.425502, + 43.740314 + ], + [ + 7.424826, + 43.739296 + ] + ] + }, + "eopMode": "LOOP", + "velocity": 20, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "meta": { + "display.map.icon": "ion-android-car" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A640002", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "bc76299f-1394-46d7-ab61-1791c883718d", + "name": "wifi-ap-4", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C04040404" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.427702, + 43.733475 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "4a0a69b3-7c5a-475e-a34d-a0c9177e972e", + "name": "wifi-ap-3", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C03030303" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.422327, + 43.73342 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "66938f56-4e52-47e2-baa2-501f026e4eb3", + "name": "wifi-ap-5", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C05050505" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421984, + 43.735027 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "b50df04b-c3bd-46c4-a7d4-5de55e74b444", + "name": "5g-small-cell-4", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "404040404" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.419741, + 43.732998 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "bddd61c9-6ddd-4f7e-9082-0d004fced7ab", + "name": "5g-small-cell-5", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "505050505" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421158, + 43.732063 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "8e0dad0d-72c9-4b6d-850b-06b02243b1d3", + "name": "5g-small-cell-6", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "606060606" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421865, + 43.733368 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "318f3796-4091-409e-8767-44ba36600a34", + "name": "5g-small-cell-7", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "707070707" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.420943, + 43.734097 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "7d3688cc-0dda-48b1-a171-b817c176e053", + "name": "5g-small-cell-8", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "808080808" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.425063, + 43.732555 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "91691048-64bb-4d2f-917f-4219a95881c0", + "name": "5g-small-cell-9", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "909090909" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.427027, + 43.73308 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "userMeta": null + }, + { + "id": "472c9927-800a-46e9-9d62-d08b09080dd5", + "name": "zone03", + "type": "ZONE", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "meta": { + "display.map.color": "darkorange" + }, + "networkLocations": [ + { + "id": "zone03-DEFAULT", + "name": "zone03-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null, + "physicalLocations": null + }, + { + "id": "e4ce8267-5433-4b2b-aa5a-9a40de76b685", + "name": "4g-macro-cell-6", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "6060606" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421007, + 43.737087 + ] }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ { - "id":"d1f06b00-4454-4d35-94a5-b573888e7ea9", - "name":"zone2", - "type":"ZONE", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughput":1000 + "id": "c3bc8d8d-170b-45bb-93a9-8ce658571321", + "name": "10.1.0.1", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.421802, + 43.736515 + ] }, - "networkLocations":[ - { - "id":"zone2-DEFAULT", - "name":"zone2-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - }, - "physicalLocations":[ - { - "id":"fb130d18-fd81-43e0-900c-c584e7190302", - "name":"zone2-edge1", - "type":"EDGE", - "connected":true, - "processes":[ - { - "id":"5c8276ba-0b78-429d-a0bf-d96f35ba2c77", - "name":"zone2-edge1-iperf", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/iperf-server", - "commandArguments":"-c, export; iperf -s -p $IPERF_SERVICE_PORT;", - "commandExe":"/bin/bash", - "serviceConfig":{ - "name":"zone2-edge1-iperf", - "meSvcName":"iperf", - "ports":[ - { - "protocol":"UDP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - }, - { - "id":"53fa28f0-80e2-414c-8841-86db9bd37d51", - "name":"zone2-edge1-svc", - "type":"EDGE-APP", - "image":"meep-docker-registry:30001/demo-server", - "environment":"MGM_GROUP_NAME=svc, MGM_APP_ID=zone2-edge1-svc, MGM_APP_PORT=80", - "serviceConfig":{ - "name":"zone2-edge1-svc", - "meSvcName":"svc", - "ports":[ - { - "protocol":"TCP", - "port":80 - } - ] - }, - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ], - "netChar":{ - "throughputDl":1000, - "throughputUl":1000 - } - } - ] - }, - { - "id":"c44b8937-58af-44b2-acdb-e4d1c4a1510b", - "name":"zone2-poa1", - "type":"POA", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":20, - "throughputUl":20 - } - } - ] + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-ios-videocam" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A010001", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null } - ] + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "663df9f0-57af-43aa-ba2e-e45a4b2f3c28", + "name": "4g-macro-cell-7", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "7070707" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.426414, + 43.739445 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "190a7ff6-7b77-479a-8f23-1f5c7f935914", + "name": "wifi-ap-6", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C06060606" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.425288, + 43.73727 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "99e67725-25b1-4274-8b05-fe253b0e5ee6", + "name": "wifi-ap-7", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C07070707" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.429639, + 43.739006 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "a3067167-cdaf-4264-9e32-abfc0ede0564", + "name": "5g-small-cell-10", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "A0A0A0A0A" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.426736, + 43.73771 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "2c2ba76c-8880-4c5b-a949-a161713910f4", + "name": "5g-small-cell-11", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "B0B0B0B0B" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.42856, + 43.738018 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "d9ca5e58-15fe-4161-840f-f3155db3729b", + "name": "5g-small-cell-12", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "C0C0C0C0C" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.42738, + 43.739075 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "userMeta": null }, { - "id":"e29138fb-cf03-4372-8335-fd2665b77a11", - "name":"operator1", - "type":"OPERATOR", - "netChar":{ - "latency":6, - "latencyVariation":2, - "throughputDl":1000, - "throughputUl":1000 - }, - "zones":[ + "id": "d56c4e67-0e0f-4456-9431-290de7b674c8", + "name": "zone04", + "type": "ZONE", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "meta": { + "display.map.color": "limegreen" + }, + "networkLocations": [ + { + "id": "zone04-DEFAULT", + "name": "zone04-DEFAULT", + "type": "DEFAULT", + "netChar": { + "latency": 1, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "physicalLocations": [ { - "id":"operator1-COMMON", - "name":"operator1-COMMON", - "type":"COMMON", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 + "id": "f8638c1e-9560-44c2-b42d-3f373ab17ccf", + "name": "mep2", + "type": "EDGE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.435813, + 43.748196 + ] + }, + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "connected": true, + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "processes": [ + { + "id": "6b2d246a-a306-410f-ae45-3e69be67aa2e", + "name": "mec011-2", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-app-enablement", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "environment": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null }, - "networkLocations":[ - { - "id":"operator1-COMMON-DEFAULT", - "name":"operator1-COMMON-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - } - } - ] + { + "id": "9afdbca8-afac-405b-b220-4154828280b8", + "name": "mec013-2", + "type": "EDGE-APP", + "image": "meep-docker-registry:30001/meep-loc-serv", + "environment": "MEEP_LOCALITY=zone04,MEEP_SCOPE_OF_LOCALITY=MEC_HOST,MEEP_CONSUMED_LOCAL_ONLY=true", + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "commandArguments": null, + "commandExe": null, + "serviceConfig": null, + "gpuConfig": null, + "memoryConfig": null, + "cpuConfig": null, + "externalConfig": null, + "status": null, + "userChartLocation": null, + "userChartAlternateValues": null, + "userChartGroup": null, + "meta": null, + "userMeta": null, + "appLatency": null, + "appLatencyVariation": null, + "appThroughput": null, + "appPacketLoss": null, + "placementId": null + } + ], + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "isExternal": null, + "networkLocationsInRange": null, + "wireless": null, + "wirelessType": null, + "meta": null, + "userMeta": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null, + "macId": null + } + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "geoData": null + }, + { + "id": "fc4d9ec8-ebb6-4b5d-a281-bb74af729b4a", + "name": "4g-macro-cell-8", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "8080808" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.429504, + 43.74301 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "b73b3ef5-dba0-44af-a648-bbda7191c249", + "name": "4g-macro-cell-9", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "9090909" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.432551, + 43.746544 + ] }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "e1d47a4b-0664-4915-81ea-eb0d70af15a7", + "name": "4g-macro-cell-10", + "type": "POA-4G", + "netChar": { + "latency": 10, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa4GConfig": { + "cellId": "A0A0A0A" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.437573, + 43.748993 + ] + }, + "radius": 400, + "path": null, + "eopMode": null, + "velocity": null + }, + "physicalLocations": [ { - "id":"7d8bee73-6d5c-4c5a-a3a0-49ebe3cd2c71", - "name":"zone3", - "type":"ZONE", - "netChar":{ - "latency":5, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 + "id": "4e423f57-daef-4c1c-b30e-45e88e3c9366", + "name": "10.1.0.4", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.438248, + 43.74835 + ] }, - "networkLocations":[ - { - "id":"zone3-DEFAULT", - "name":"zone3-DEFAULT", - "type":"DEFAULT", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - } - }, - { - "id":"ecc2a41b-7381-4108-a037-52862c520733", - "name":"poa1", - "type":"POA", - "netChar":{ - "latency":1, - "latencyVariation":1, - "throughputDl":1000, - "throughputUl":1000 - } - } - ] + "radius": null, + "path": null, + "eopMode": null, + "velocity": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-ios-videocam" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A010004", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + }, + { + "id": "824cf1bf-f91d-44c2-906d-e939fa3339cd", + "name": "10.10.0.2", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.438755, + 43.748512 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.438755, + 43.748512 + ], + [ + 7.438267, + 43.748566 + ], + [ + 7.437795, + 43.7484 + ], + [ + 7.437684, + 43.748253 + ], + [ + 7.437555, + 43.748203 + ], + [ + 7.437341, + 43.748203 + ], + [ + 7.43673, + 43.747974 + ], + [ + 7.436623, + 43.747704 + ], + [ + 7.436237, + 43.747643 + ], + [ + 7.435969, + 43.74743 + ], + [ + 7.435841, + 43.74717 + ], + [ + 7.435504, + 43.74695 + ], + [ + 7.434829, + 43.74691 + ], + [ + 7.434293, + 43.746685 + ], + [ + 7.433882, + 43.746166 + ], + [ + 7.433431, + 43.746063 + ], + [ + 7.432831, + 43.745686 + ], + [ + 7.432585, + 43.745182 + ], + [ + 7.432767, + 43.744633 + ], + [ + 7.432552, + 43.744244 + ], + [ + 7.432617, + 43.743763 + ], + [ + 7.432305, + 43.743305 + ], + [ + 7.431682, + 43.742676 + ], + [ + 7.431136, + 43.74201 + ], + [ + 7.430524, + 43.741123 + ], + [ + 7.430432, + 43.740696 + ], + [ + 7.430382, + 43.740437 + ], + [ + 7.430384, + 43.74021 + ], + [ + 7.430288, + 43.739372 + ], + [ + 7.429773, + 43.73849 + ], + [ + 7.429976, + 43.738228 + ], + [ + 7.429654, + 43.73791 + ], + [ + 7.429371, + 43.73765 + ], + [ + 7.430027, + 43.736446 + ] + ] + }, + "eopMode": "REVERSE", + "velocity": 9, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "meta": { + "display.map.icon": "ion-android-walk" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A0A0002", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "dataNetwork": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null + }, + { + "id": "097f79f4-bf76-4be0-be28-5acc3bdb0dba", + "name": "10.100.0.4", + "type": "UE", + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.431027, + 43.743736 + ] + }, + "path": { + "type": "LineString", + "coordinates": [ + [ + 7.431027, + 43.743736 + ], + [ + 7.430685, + 43.7423 + ], + [ + 7.430411, + 43.741318 + ], + [ + 7.430159, + 43.7411 + ], + [ + 7.429848, + 43.740414 + ], + [ + 7.429791, + 43.739834 + ], + [ + 7.42971, + 43.739548 + ], + [ + 7.429385, + 43.73896 + ], + [ + 7.428917, + 43.73845 + ], + [ + 7.428061, + 43.73796 + ], + [ + 7.428238, + 43.737843 + ], + [ + 7.429136, + 43.73831 + ], + [ + 7.429626, + 43.738724 + ], + [ + 7.430023, + 43.739243 + ], + [ + 7.430259, + 43.74003 + ], + [ + 7.430422, + 43.741196 + ], + [ + 7.431027, + 43.743736 + ] + ] + }, + "eopMode": "LOOP", + "velocity": 20, + "radius": null + }, + "wireless": true, + "wirelessType": "wifi,5g,4g", + "dataNetwork": { + "dnn": null, + "ladn": null, + "ecsp": null + }, + "meta": { + "display.map.icon": "ion-android-car" + }, + "netChar": { + "latencyDistribution": "Normal", + "throughputDl": 1000, + "throughputUl": 1000, + "latency": null, + "latencyVariation": null, + "throughput": null, + "packetLoss": null + }, + "macId": "005C0A640004", + "isExternal": null, + "networkLocationsInRange": null, + "connected": null, + "userMeta": null, + "processes": null, + "linkLatency": null, + "linkLatencyVariation": null, + "linkThroughput": null, + "linkPacketLoss": null } - ] + ], + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa5GConfig": null, + "poaWifiConfig": null + }, + { + "id": "4a3da8ed-e833-48bf-b833-2c67512e53cf", + "name": "wifi-ap-8", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C08080808" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.431644, + 43.746662 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "d1cc062f-bb7f-40cf-91af-5593376f3b4d", + "name": "wifi-ap-9", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C09090909" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.435867, + 43.748856 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "c4df58ab-17a2-49e0-b5fa-531a6ce15baf", + "name": "wifi-ap-10", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C0A0A0A0A" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.438055, + 43.748734 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + }, + { + "id": "3fbf9ec8-3932-455c-8352-0d06b7bb7a15", + "name": "5g-small-cell-13", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "D0D0D0D0D" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.431907, + 43.74543 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "80e3b677-56cb-495c-b798-e19f96d491b9", + "name": "5g-small-cell-14", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "E0E0E0E0E" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.433109, + 43.746513 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "dcb66c87-1854-4c8e-ae88-72b14df9aaff", + "name": "5g-small-cell-15", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "F0F0F0F0F" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.434376, + 43.747337 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "10b048d1-2fba-486d-89a0-d1a3191b90b4", + "name": "5g-small-cell-16", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "010101010" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.435985, + 43.747784 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "35602880-9727-4ed6-8f53-fe0ffab22cb4", + "name": "5g-small-cell-17", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "111111111" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.437487, + 43.7487 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "4aef0f33-51d2-472c-8441-b5c55f0de626", + "name": "5g-small-cell-18", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "212121212" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.438839, + 43.749706 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "3396c6ae-28f8-4c8b-ba12-9991bddeed61", + "name": "5g-small-cell-19", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "313131313" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.4371, + 43.750282 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "246f3830-3b56-4359-9452-b17f34426888", + "name": "5g-small-cell-20", + "type": "POA-5G", + "netChar": { + "latency": 4, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poa5GConfig": { + "cellId": "414141414" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.436006, + 43.749382 + ] + }, + "radius": 100, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poaWifiConfig": null, + "physicalLocations": null + }, + { + "id": "da565fc0-0d1e-47a1-944e-2d77441051de", + "name": "wifi-ap-11", + "type": "POA-WIFI", + "netChar": { + "latency": 5, + "latencyVariation": 1, + "throughputDl": 1000, + "throughputUl": 1000, + "latencyDistribution": null, + "throughput": null, + "packetLoss": null + }, + "poaWifiConfig": { + "macId": "005C0B0B0B0B" + }, + "geoData": { + "location": { + "type": "Point", + "coordinates": [ + 7.43891, + 43.74822 + ] + }, + "radius": 50, + "path": null, + "eopMode": null, + "velocity": null + }, + "terminalLinkLatency": null, + "terminalLinkLatencyVariation": null, + "terminalLinkThroughput": null, + "terminalLinkPacketLoss": null, + "meta": null, + "userMeta": null, + "cellularPoaConfig": null, + "poa4GConfig": null, + "poa5GConfig": null, + "physicalLocations": null + } + ], + "interFogLatency": null, + "interFogLatencyVariation": null, + "interFogThroughput": null, + "interFogPacketLoss": null, + "interEdgeLatency": null, + "interEdgeLatencyVariation": null, + "interEdgeThroughput": null, + "interEdgePacketLoss": null, + "edgeFogLatency": null, + "edgeFogLatencyVariation": null, + "edgeFogThroughput": null, + "edgeFogPacketLoss": null, + "userMeta": null } - ] - } -} -` + ], + "interZoneLatency": null, + "interZoneLatencyVariation": null, + "interZoneThroughput": null, + "interZonePacketLoss": null, + "meta": null, + "userMeta": null + } + ], + "interDomainLatency": null, + "interDomainLatencyVariation": null, + "interDomainThroughput": null, + "interDomainPacketLoss": null, + "meta": null + }, + "id": null, + "description": null, + "config": null + } + ` const redisTestAddr = "localhost:30380" const influxTestAddr = "http://localhost:30986" @@ -563,7 +4050,7 @@ func TestGetGeodata(t *testing.T) { time.Sleep(1000 * time.Millisecond) - r, err := sendRequest(http.MethodGet, "/geodata?assetName=UE", nil, nil, nil, http.StatusNotFound, GetGeoDataByName) + r, err := sendRequest(http.MethodGet, "/geodata?assetName=192.168.1.1", nil, nil, nil, http.StatusNotFound, GetGeoDataByName) if err != nil { t.Fatal("Failed to get expected response: ", err.Error()) } @@ -572,7 +4059,7 @@ func TestGetGeodata(t *testing.T) { updateScenario("mobility1") time.Sleep(1000 * time.Millisecond) - r, err = sendRequest(http.MethodGet, "/geodata?assetName=ue1", nil, nil, nil, http.StatusOK, GetGeoDataByName) + r, err = sendRequest(http.MethodGet, "/geodata?assetName=10.1.0.1", nil, nil, nil, http.StatusOK, GetGeoDataByName) if err != nil { t.Fatal("Failed to get expected response: ", err.Error()) } diff --git a/go-apps/meep-vis/server/vis_test.go b/go-apps/meep-vis/server/vis_test.go index dec9001fd..78e2ca5c1 100644 --- a/go-apps/meep-vis/server/vis_test.go +++ b/go-apps/meep-vis/server/vis_test.go @@ -645,7 +645,6 @@ func initializeVars() { } func initialiseScenario(testScenario string) { - log.Info(">>> initialiseScenario") //clear DB cleanUp() diff --git a/go-packages/meep-gis-asset-mgr/asset-mgr.go b/go-packages/meep-gis-asset-mgr/asset-mgr.go index 4ff95cba9..e53e6fb4d 100644 --- a/go-packages/meep-gis-asset-mgr/asset-mgr.go +++ b/go-packages/meep-gis-asset-mgr/asset-mgr.go @@ -433,7 +433,6 @@ func (am *AssetMgr) DeleteTable(tableName string) (err error) { // CreateUe - Create new UE func (am *AssetMgr) CreateUe(id string, name string, data map[string]interface{}) (err error) { - log.Info(">>> CreateUe") if profiling { profilingTimers["CreateUe"] = time.Now() } -- GitLab From b335a6fc785ba676fe4e43dbd224f5d15f60189a Mon Sep 17 00:00:00 2001 From: garciay Date: Tue, 24 May 2022 20:07:46 +0200 Subject: [PATCH 113/183] Validate the platform full rebuild/dockerize --- go-apps/meep-gis-engine/server/gis-engine.go | 2 +- go-apps/meep-gis-engine/server/gis-engine_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go-apps/meep-gis-engine/server/gis-engine.go b/go-apps/meep-gis-engine/server/gis-engine.go index 98591e4c4..b0a7dbbbe 100644 --- a/go-apps/meep-gis-engine/server/gis-engine.go +++ b/go-apps/meep-gis-engine/server/gis-engine.go @@ -824,7 +824,7 @@ func initWirelessType(wireless bool, wirelessType string) string { } func updateCache() { - + if profiling { proStart = time.Now() } diff --git a/go-apps/meep-gis-engine/server/gis-engine_test.go b/go-apps/meep-gis-engine/server/gis-engine_test.go index 03e52fbbc..0e4a60fe6 100644 --- a/go-apps/meep-gis-engine/server/gis-engine_test.go +++ b/go-apps/meep-gis-engine/server/gis-engine_test.go @@ -4113,7 +4113,7 @@ func TestGetGeodata(t *testing.T) { } fmt.Println("==> r: ", r) - updateScenario("mobility1") + updateScenario("mobility1") time.Sleep(1000 * time.Millisecond) // Unset MOBILITY @@ -4148,7 +4148,7 @@ func terminateScenario() { } } -/*func updateScenario(testUpdate string) { +func updateScenario(testUpdate string) { switch testUpdate { case "mobility1": @@ -4199,7 +4199,7 @@ func terminateScenario() { default: } time.Sleep(100 * time.Millisecond) -}*/ +} func initializeVars() { mod.DbAddress = redisTestAddr -- GitLab From aeaed2e0a116c7d90e13d814a71adeb2e14c83b7 Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 25 May 2022 16:56:51 +0200 Subject: [PATCH 114/183] Update assets-mgr_test.go with the correct values --- .../meep-gis-asset-mgr/assets-mgr_test.go | 155 ++++++++++-------- test/run-ut.sh | 2 +- 2 files changed, 92 insertions(+), 65 deletions(-) diff --git a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go index 743a0cc0a..fab2a1593 100644 --- a/go-packages/meep-gis-asset-mgr/assets-mgr_test.go +++ b/go-packages/meep-gis-asset-mgr/assets-mgr_test.go @@ -35,11 +35,11 @@ const ( amDBHost = "localhost" amDBPort = "30432" - point1 = "[7.418522,43.734198]" - point2 = "[7.421501,43.736978]" - point3 = "[7.422441,43.732285]" - point4 = "[7.418944,43.732591]" - point5 = "[7.417135,43.731531]" + point1 = "[7.418522,43.734198]" // around 100m from poa1 + point2 = "[7.418536,43.733866]" // < 100m + point3 = "[7.418578,43.733701]" // < 100m + point4 = "[7.418711,43.733306]" // < 100m + point5 = "[7.417135,43.731531]" // Around 200m from poa1 ue1Id = "ue1-id" ue1Name = "ue1" @@ -308,8 +308,9 @@ func TestAssetMgrCreateUe(t *testing.T) { if err != nil || ue == nil { t.Fatalf("Failed to get UE") } + fmt.Println("==> ue: ", ue) if !validateUe(ue, ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, "", 0.000, []string{}, ue1Priority, false) { + 200.994, 0.024876, 0.000, "", 0.000, []string{}, ue1Priority, false) { t.Fatalf("UE validation failed") } @@ -351,7 +352,7 @@ func TestAssetMgrCreateUe(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, "", 0.000, []string{}, ue3Priority, false) { + 63.819, 0.391735, 0.000, "", 0.000, []string{}, ue3Priority, false) { t.Fatalf("UE validation failed") } @@ -372,7 +373,7 @@ func TestAssetMgrCreateUe(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -782,7 +783,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } @@ -803,7 +804,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 10.085, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, poa1Name, 46.455, []string{poa1Name}, ue2Priority, true) { t.Fatalf("UE validation failed") } @@ -824,7 +825,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, poa1Name, 101.991, []string{poa1Name}, ue3Priority, true) { + 63.819, 0.391735, 0.000, poa1Name, 23.624, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } @@ -845,7 +846,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -894,7 +895,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ueLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa2Name, 10.085, []string{poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 46.455, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } @@ -913,7 +914,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ueLoc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, poa2Name, 10.085, []string{poa2Name}, ue1Priority, true) { + 63.819, 0.391735, 0.000, poa1Name, 46.455, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } @@ -933,7 +934,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } @@ -960,19 +961,19 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa1Name, 83.25, []string{poa1Name, poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 83.25, []string{poa1Name, poa2Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 391.155, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, poa1Name, 46.455, []string{poa1Name, poa2Name}, ue2Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, poa1Name, 101.991, []string{poa1Name, poa2Name}, ue3Priority, true) { + 63.819, 0.391735, 0.000, poa1Name, 23.624, []string{poa1Name, poa2Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue4Name], ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, poa2Name, 316.692, []string{poa2Name}, ue4Priority, true) { + 334.824, 0.029866, 0.000, poa2Name, 316.692, []string{poa2Name}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -996,19 +997,19 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 10.085, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, poa1Name, 46.455, []string{poa1Name}, ue2Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, poa1Name, 101.991, []string{poa1Name}, ue3Priority, true) { + 63.819, 0.391735, 0.000, poa1Name, 23.624, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue4Name], ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -1027,19 +1028,19 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, "", 0.000, []string{}, ue1Priority, true) { + 200.994, 0.024876, 0.000, "", 0.000, []string{}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 10.085, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, "", 0.000, []string{}, ue2Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, "", 0.000, []string{}, ue3Priority, true) { + 63.819, 0.391735, 0.000, "", 0.000, []string{}, ue3Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue4Name], ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -1066,19 +1067,19 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 0.000, poa1Name, 83.25, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 10.085, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, poa1Name, 46.455, []string{poa1Name}, ue2Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, poa1Name, 101.991, []string{poa1Name}, ue3Priority, true) { + 63.819, 0.391735, 0.000, poa1Name, 23.624, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue4Name], ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -1097,7 +1098,7 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1Loc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.000, "", 0.000, []string{}, ue1Priority, true) { + 200.994, 0.024876, 0.000, "", 0.000, []string{}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, @@ -1105,11 +1106,11 @@ func TestAssetMgrPoaSelection(t *testing.T) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3Loc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.000, "", 0.000, []string{}, ue3Priority, true) { + 63.819, 0.391735, 0.000, "", 0.000, []string{}, ue3Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue4Name], ue4Id, ue4Name, ue4Loc, ue4Path, ue4PathMode, ue4Velocity, - 369.139, 0.02709, 0.000, "", 0.000, []string{}, ue4Priority, true) { + 334.824, 0.029866, 0.000, "", 0.000, []string{}, ue4Priority, true) { t.Fatalf("UE validation failed") } @@ -1209,7 +1210,7 @@ func TestAssetMgrMovement(t *testing.T) { // Advance UE1 along Looping path and validate UE fmt.Println("Advance UE1 along looping path and validate UE") - ue1AdvLoc := "{\"type\":\"Point\",\"coordinates\":[7.419448935,43.735063015]}" + ue1AdvLoc := "{\"type\":\"Point\",\"coordinates\":[7.418665513,43.733520679]}" err = am.AdvanceUePosition(ue1Name, 25.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1219,11 +1220,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.09035, poa2Name, 276.166, []string{poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 0.6219, poa1Name, 15.949, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } - ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.421302805,43.736793045]}" + ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418572975,43.733957418]}" err = am.AdvanceUePosition(ue1Name, 50.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1233,11 +1234,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.27105, poa2Name, 33.516, []string{poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 1.8657, poa1Name, 56.846, []string{poa1Name}, ue1Priority, true) {//"wifi","5g","4g","other" t.Fatalf("UE validation failed") } - ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.421945766,43.734757482]}" + ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418530448,43.733997667]}" err = am.AdvanceUePosition(ue1Name, 50.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1247,11 +1248,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.45175, poa3Name, 199.781, []string{poa2Name, poa3Name}, ue1Priority, true) { + 200.994, 0.024876, 3.1095, poa1Name, 61.031, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } - ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418829679,43.734485126]}" + ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418528917,43.734033965]}" err = am.AdvanceUePosition(ue1Name, 160.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1261,11 +1262,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 1.02999, poa1Name, 118.255, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 7.08966, poa1Name, 65.055, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } - ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.419756614,43.735350141]}" + ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418631481,43.733681294]}" err = am.AdvanceUePosition(ue1Name, 25.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1275,11 +1276,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 1.12034, poa2Name, 235.784, []string{poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 7.71156, poa1Name, 28.086, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } - ueLoc := "{\"type\":\"Point\",\"coordinates\":[7.418766584,43.734426245]}" + ueLoc := "{\"type\":\"Point\",\"coordinates\":[7.418548357,43.734073607]}" err = am.AdvanceUePosition(ue1Name, 250.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1289,14 +1290,14 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue1Id, ue1Name, ueLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 2.02384, poa1Name, 110.777, []string{poa1Name}, ue1Priority, true) { + 200.994, 0.024876, 13.93056, poa1Name, 69.536, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } // Advance UE3 along Reverse path and validate UE fmt.Println("Advance UE3 along reverse path and validate UE") - ue3AdvLoc := "{\"type\":\"Point\",\"coordinates\":[7.42187422,43.735114679]}" + ue3AdvLoc := "{\"type\":\"Point\",\"coordinates\":[7.418672293,43.733420958]}" err = am.AdvanceUePosition(ue3Name, 25.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1306,11 +1307,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue3Id, ue3Name, ue3AdvLoc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 0.77095, poa2Name, 208.545, []string{poa2Name}, ue3Priority, true) { + 63.819, 0.391735, 9.793375, poa1Name, 14.698, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } - ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.421630262,43.736332651]}" + ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.41865681,43.733466941]}" err = am.AdvanceUePosition(ue3Name, 10.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1320,11 +1321,11 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue3Id, ue3Name, ue3AdvLoc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 1.07933, poa2Name, 72.259, []string{poa2Name}, ue3Priority, true) { + 63.819, 0.391735, 13.710725, poa1Name, 13.267, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } - ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.419490696,43.732543162]}" + ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418664871,43.733443001]}" err = am.AdvanceUePosition(ue3Name, 32.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1334,15 +1335,15 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get UE") } if !validateUe(ue, ue3Id, ue3Name, ue3AdvLoc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 2.066146, poa1Name, 128.753, []string{poa1Name}, ue3Priority, true) { + 63.819, 0.391735, 26.246244, poa1Name, 13.782, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } // Advance all UEs along path fmt.Println("Advance all UEs along path") - ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.420620454,43.736156275]}" - ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.422183498,43.732307532]}" + ue1AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418535452,43.733879004]}" + ue3AdvLoc = "{\"type\":\"Point\",\"coordinates\":[7.418679715,43.733398915]}" err = am.AdvanceAllUePosition(50.0) if err != nil { t.Fatalf("Failed to advance UE") @@ -1352,15 +1353,15 @@ func TestAssetMgrMovement(t *testing.T) { t.Fatalf("Failed to get all UE") } if !validateUe(ueMap[ue1Name], ue1Id, ue1Name, ue1AdvLoc, ue1Path, ue1PathMode, ue1Velocity, - 1383.59, 0.003614, 0.20454, poa2Name, 122.472, []string{poa2Name}, ue1Priority, true) { + 200.994, 0.024876, 1.17436, poa1Name, 47.893, []string{poa1Name}, ue1Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue2Name], ue2Id, ue2Name, ue2Loc, ue2Path, ue2PathMode, ue2Velocity, - 0.000, 0.000, 0.000, poa2Name, 10.085, []string{poa2Name}, ue2Priority, true) { + 0.000, 0.000, 0.000, poa1Name, 46.455, []string{poa1Name}, ue2Priority, true) { t.Fatalf("UE validation failed") } if !validateUe(ueMap[ue3Name], ue3Id, ue3Name, ue3AdvLoc, ue3Path, ue3PathMode, ue3Velocity, - 810.678, 0.030838, 1.608046, poa3Name, 73.962, []string{poa3Name}, ue3Priority, true) { + 63.819, 0.391735, 1.832995, poa1Name, 15.963, []string{poa1Name}, ue3Priority, true) { t.Fatalf("UE validation failed") } @@ -1370,6 +1371,7 @@ func TestAssetMgrMovement(t *testing.T) { func validateUe(ue *Ue, id string, name string, position string, path string, mode string, velocity float32, length float32, increment float32, fraction float32, poa string, distance float32, poaInRange []string, poaTypePrio []string, connected bool) bool { + fmt.Println("validateUe: ue: ", ue) if ue == nil { fmt.Println("ue == nil") return false @@ -1384,48 +1386,70 @@ func validateUe(ue *Ue, id string, name string, position string, path string, } if ue.Position != position { fmt.Println("ue.Position != position") + // fmt.Println("ue.Position: ", ue.Position) + // fmt.Println("position: ", position) return false } if ue.Path != path { fmt.Println("ue.Path != path") + // fmt.Println("ue.Path: ", ue.Path) + // fmt.Println("path: ", path) return false } if ue.PathMode != mode { fmt.Println("ue.PathMode != mode") + // fmt.Println("ue.PathLength: ", ue.PathLength) + // fmt.Println("length: ", length) return false } if ue.PathVelocity != velocity { fmt.Println("ue.PathVelocity != velocity") + // fmt.Println("ue.PathLength: ", ue.PathLength) + // fmt.Println("length: ", length) return false } if ue.PathLength != length { fmt.Println("ue.PathLength != length") + fmt.Println("ue.PathLength: ", ue.PathLength) + fmt.Println("length: ", length) return false } if ue.PathIncrement != increment { fmt.Println("ue.PathIncrement != increment") + fmt.Println("ue.PathIncrement: ", ue.PathIncrement) + fmt.Println("increment: ", increment) return false } if ue.PathFraction != fraction { fmt.Println("ue.PathFraction != fraction") + // fmt.Println("ue.PathFraction: ", ue.PathFraction) + // fmt.Println("fraction: ", fraction) return false } if ue.Poa != poa { fmt.Println("ue.Poa != poa") + // fmt.Println("ue.Poa: ", ue.Poa) + // fmt.Println("poa: ", poa) return false } if ue.PoaDistance != distance { fmt.Println("ue.PoaDistance != distance") + // fmt.Println("ue.PoaDistance: ", ue.PoaDistance) + // fmt.Println("distance: ", distance) return false } if len(ue.PoaInRange) != len(poaInRange) { fmt.Println("len(ue.PoaInRange) != len(poaInRange)") + // fmt.Println("ue.PoaInRange: ", ue.PoaInRange) + // fmt.Println("poaInRange: ", poaInRange) return false } else { sort.Strings(ue.PoaInRange) sort.Strings(poaInRange) + // fmt.Println("ue.PoaInRange: ", ue.PoaInRange) + // fmt.Println("poaInRange: ", poaInRange) for i, poa := range ue.PoaInRange { if poa != poaInRange[i] { fmt.Println("poa != poaInRange[i]") @@ -1436,8 +1460,12 @@ func validateUe(ue *Ue, id string, name string, position string, path string, if len(ue.PoaTypePrio) != len(poaTypePrio) { fmt.Println("len(ue.PoaTypePrio) != len(poaTypePrio)") + // fmt.Println("ue.PoaTypePrio: ", ue.PoaTypePrio) + // fmt.Println("poaTypePrio: ", poaTypePrio) return false } else { + // fmt.Println("ue.PoaTypePrio: ", ue.PoaTypePrio) + // fmt.Println("poaTypePrio: ", poaTypePrio) for i, poaType := range ue.PoaTypePrio { if poaType != poaTypePrio[i] { fmt.Println("poaType != poaTypePrio[i]") @@ -1448,6 +1476,8 @@ func validateUe(ue *Ue, id string, name string, position string, path string, if ue.Connected != connected { fmt.Println("ue.Connected != connected") + // fmt.Println("ue.Connected: ", ue.Connected) + // fmt.Println("connected: ", connected) return false } @@ -1658,9 +1688,7 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { } coordinates = make([]Coordinate, 1) coordinates[0] = Coordinate { float32(lat), float32(lon) } - fmt.Println(coordinates) ret_value, err = am.GetPowerValuesForCoordinates(coordinates) - fmt.Println("--- err", err) if err != nil { t.Fatalf("Unexpected error returned: " + err.Error()) } @@ -1695,15 +1723,14 @@ func TestAssetMgrGetPowerValuesForCoordinates(t *testing.T) { if err != nil { t.Fatalf("Unexpected error returned: " + err.Error()) } - fmt.Println("--- err", err) if len(ret_value) != 3 { t.Fatalf("Only one item is expected") } expectd_value = make ([]CoordinatePowerValue, 3) - expectd_value[0] = CoordinatePowerValue { float32(43.736977), float32(7.421501), -2, 40, "" } - expectd_value[1] = CoordinatePowerValue { float32(43.732285), float32(7.422441), -2, 40, "" } - expectd_value[2] = CoordinatePowerValue { float32(43.73153), float32(7.417135), -2, 40, "" } - if expectd_value[0] != ret_value[0] { + expectd_value[0] = CoordinatePowerValue { float32(43.733868), float32(7.418536), 19, 61, "poa1" } + expectd_value[1] = CoordinatePowerValue { float32(43.7337), float32(7.418578), 22, 64, "poa1" } + expectd_value[2] = CoordinatePowerValue { float32(43.73153), float32(7.417135), 0, 0, "" } + if expectd_value[0] != ret_value[0] || expectd_value[1] != ret_value[1] || expectd_value[2] != ret_value[2] { t.Fatalf("Unexpected value was returned") } diff --git a/test/run-ut.sh b/test/run-ut.sh index 8bce36857..6578928bb 100755 --- a/test/run-ut.sh +++ b/test/run-ut.sh @@ -9,7 +9,7 @@ GOAPPS=( meep-rnis/server meep-wais/server meep-ams/server - meep-vis/server + #meep-vis/server ) GOPKGS=( -- GitLab From fe001038e097859c474143c2b653952417288805 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 26 May 2022 13:25:36 +0500 Subject: [PATCH 115/183] modify VIS system tests --- test/system/go.mod | 16 +- test/system/go.sum | 363 +++++++++++++++++++++++++++++++++++++++- test/system/vis_test.go | 45 ++--- 3 files changed, 390 insertions(+), 34 deletions(-) diff --git a/test/system/go.mod b/test/system/go.mod index 177c2809e..cf7c2b039 100644 --- a/test/system/go.mod +++ b/test/system/go.mod @@ -3,32 +3,28 @@ module github.com/InterDigitalInc/AdvantEDGE/test/system go 1.12 require ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-loc-serv-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0-00010101000000-000000000000 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-platform-ctrl-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-rnis-client v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-wais-client v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client v0.0.0 github.com/ghodss/yaml v1.0.0 - github.com/gorilla/handlers v1.4.0 - github.com/gorilla/mux v1.7.4 - golang.org/x/sys v0.0.0-20190412213103-97732733099d // indirect - gopkg.in/yaml.v2 v2.2.2 ) replace ( + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client => ../../go-packages/meep-app-support-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-gis-engine-client => ../../go-packages/meep-gis-engine-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-loc-serv-client => ../../go-packages/meep-loc-serv-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger => ../../go-packages/meep-logger github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-platform-ctrl-client => ../../go-packages/meep-platform-ctrl-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-rnis-client => ../../go-packages/meep-rnis-client - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client => ../../go-packages/meep-vis-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client => ../../go-packages/meep-sandbox-ctrl-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client => ../../go-packages/meep-service-mgmt-client + github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client => ../../go-packages/meep-vis-client github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-wais-client => ../../go-packages/meep-wais-client - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client => ../../go-packages/meep-service-mgmt-client - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client => ../../go-packages/meep-app-support-client ) diff --git a/test/system/go.sum b/test/system/go.sum index c205c5dc3..5c2918eb9 100644 --- a/test/system/go.sum +++ b/test/system/go.sum @@ -1,35 +1,388 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/gorilla/handlers v1.4.0/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/test/system/vis_test.go b/test/system/vis_test.go index 1eb20d036..1c262be06 100644 --- a/test/system/vis_test.go +++ b/test/system/vis_test.go @@ -31,12 +31,6 @@ var visAppClient *visClient.APIClient var visServerUrl string // MEC-030 Clause 6.2.5 Type: PredictedQos, replaced by inteface{} in models -type PredictedQosRoutesRouteInfo struct { - LocationInfo visClient.LocationInfoGeoArea - time *visClient.TimeStamp - rsrp *int32 - rsrq *int32 -} func init() { @@ -99,22 +93,35 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { // Initialize the data structure for the POST request // MEC-030 Clause 6.2.5 // MEC-030 Clause 7.6.3.4 - pointA := LocationInfoGeoArea{7.413917, 43.733505} - locationInfoA := LocationInfo{nil, &pointA} - tsA := TimeStamp{0, 45} - pointB := LocationInfoGeoArea{7.413916, 43.733515} - locationInfoB := LocationInfo{nil, &pointB} - tsB := TimeStamp{0, 45} + pointA := visClient.LocationInfoGeoArea{Longitude: 7.413917, Latitude: 43.733505} + locationInfoA := visClient.LocationInfo{GeoArea: &pointA} + tsA := visClient.TimeStamp{NanoSeconds: 0, Seconds: 45} + pointB := visClient.LocationInfoGeoArea{Longitude: 7.413916, Latitude: 43.733515} + locationInfoB := visClient.LocationInfo{GeoArea: &pointB} + tsB := visClient.TimeStamp{NanoSeconds: 0, Seconds: 45} // Fill PredictedQosRoutesRouteInfo with LocationInfo list - routeInfo := make([]PredictedQosRoutesRouteInfo, 2) - routeInfo[0] = PredictedQosRoutesRouteInfo{&locationInfoA, 0, 0, &tsA} - routeInfo[1] = PredictedQosRoutesRouteInfo{&locationInfoB, 0, 0, &tsB} + routeInfo := make([]visClient.PredictedQosRoutesRouteInfo, 2) + routeInfo[0] = visClient.PredictedQosRoutesRouteInfo{ + Location: &locationInfoA, + Rsrq: 0, + Rsrp: 0, + Time: &tsA, + } + routeInfo[1] = visClient.PredictedQosRoutesRouteInfo{ + Location: &locationInfoB, + Rsrq: 0, + Rsrp: 0, + Time: &tsB, + } // PredictedQosRoutes with PredictedQosRoutesRouteInfo list - predictedQosRoutes := PredictedQosRoutes{routeInfo} + predictedQosRoutes := visClient.PredictedQosRoutes{RouteInfo: routeInfo} // Fill PredictedQos with PredictedQosRoutes list - routes := make([]PredictedQosRoutes, 1) + routes := make([]visClient.PredictedQosRoutes, 1) routes[0] = predictedQosRoutes - testPredictedQos := PredictedQos{"100", routes, nil} + testPredictedQos := visClient.PredictedQos{ + LocationGranularity: "100", + Routes: routes, + } fmt.Println("testPredictedQos: ", testPredictedQos) // Moving to initial position @@ -152,7 +159,7 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { func visPeriodicSubPOST(testPredictedQos visClient.PredictedQos) error { //PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) - _, _, err := visAppClient.QoSApi.PredictedQosPOST(context.TODO(), testPredictedQos) + _, _, err := visAppClient.V2xiApi.PredictedQosPOST(context.TODO(), testPredictedQos) if err != nil { log.Error("Failed to send subscription: ", err) return err -- GitLab From 92fd3cd2721e28d8a4715412692b9996995cec41 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 30 May 2022 13:54:09 +0200 Subject: [PATCH 116/183] Update System test script --- test/system/go.mod | 3 +++ test/system/go.sum | 5 +++++ test/system/loopTest.sh | 13 +++++++------ test/system/vis_test.go | 3 ++- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/test/system/go.mod b/test/system/go.mod index cf7c2b039..8a4bed473 100644 --- a/test/system/go.mod +++ b/test/system/go.mod @@ -14,6 +14,9 @@ require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-vis-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-wais-client v0.0.0 github.com/ghodss/yaml v1.0.0 + github.com/gorilla/handlers v1.4.0 + github.com/gorilla/mux v1.7.4 + gopkg.in/yaml.v2 v2.2.2 ) replace ( diff --git a/test/system/go.sum b/test/system/go.sum index 5c2918eb9..3a00241fa 100644 --- a/test/system/go.sum +++ b/test/system/go.sum @@ -100,6 +100,8 @@ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hf github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gorilla/handlers v1.4.0/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= @@ -176,6 +178,7 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -200,6 +203,7 @@ golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 h1:OSnWWcOd/CtWQC2cYSBgbTSJv3ciqd8r54ySIW2y3RE= golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= @@ -215,6 +219,7 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/test/system/loopTest.sh b/test/system/loopTest.sh index 80aef4865..944a1c246 100755 --- a/test/system/loopTest.sh +++ b/test/system/loopTest.sh @@ -1,15 +1,16 @@ #!/bin/bash # This script executes go test X times -export MEEP_HOST_TEST_URL="http://10.190.115.20" +export MEEP_HOST_TEST_URL="http://172.29.10.52" i="0" -while [ $i -lt 1 ] -do output_prefix="result" output_suffix=".txt" -output=${output_prefix}${i}${output_suffix} -go test -timeout 30m > ${output} -i=$[$i+1] +rm -f ${output_prefix}*${output_suffix} +while [ $i -lt 1 ] +do + output=${output_prefix}${i}${output_suffix} + go test -timeout 30m > ${output} + i=$[$i+1] done diff --git a/test/system/vis_test.go b/test/system/vis_test.go index 1c262be06..220a256e3 100644 --- a/test/system/vis_test.go +++ b/test/system/vis_test.go @@ -157,7 +157,6 @@ func Test_VIS_periodic_4g_5gNei(t *testing.T) { } func visPeriodicSubPOST(testPredictedQos visClient.PredictedQos) error { - //PredictedQosPOST(ctx context.Context, body PredictedQos) (PredictedQos, *http.Response, error) _, _, err := visAppClient.V2xiApi.PredictedQosPOST(context.TODO(), testPredictedQos) if err != nil { @@ -169,6 +168,8 @@ func visPeriodicSubPOST(testPredictedQos visClient.PredictedQos) error { } func validatePredictedQos(response *visClient.PredictedQos, expectedAssocId *visClient.PredictedQos) string { + fmt.Println(">>> validatePredictedQos: ", response) + fmt.Println(">>> validatePredictedQos: ", expectedAssocId) if response.LocationGranularity != expectedAssocId.LocationGranularity { return ("PredictedQos.LocationGranularity not as expected: " + response.LocationGranularity + " instead of " + expectedAssocId.LocationGranularity) -- GitLab From aa7dcaad8cecd947f91af1659868bac90821516c Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 30 May 2022 17:17:52 +0500 Subject: [PATCH 117/183] add grid map file copying and deletion for unit tests --- test/grid_map.yaml | 228 +++++++++++++++++++++++++++++++++++++++++++ test/start-ut-env.sh | 8 ++ test/stop-ut-env.sh | 8 ++ 3 files changed, 244 insertions(+) create mode 100644 test/grid_map.yaml diff --git a/test/grid_map.yaml b/test/grid_map.yaml new file mode 100644 index 000000000..cef5e041f --- /dev/null +++ b/test/grid_map.yaml @@ -0,0 +1,228 @@ +residential: + area-1: + - '7.412251950392685 43.72791692204446' + - '7.412174768310321 43.72811929230551' + - '7.412082168640928 43.72832328456246' + - '7.412258292114533 43.72868578535503' + - '7.412667104878034 43.72951071398454' + - '7.41293395269218 43.73001857084243' + - '7.413909436236601 43.7303324779033' + - '7.414845099169913 43.73085772186122' + - '7.415686272521507 43.73140827154441' + - '7.417035715607321 43.73150376752979' + - '7.41811951280293 43.73125813101358' + - '7.418496582896259 43.73105428551223' + - '7.417434617206712 43.7303285305292' + - '7.41761612246052 43.72994506278113' + - '7.418475552736686 43.73002455487853' + - '7.418583628695767 43.72901665897288' + - '7.419206675548777 43.72905121172964' + - '7.419276724805592 43.72859252750181' + - '7.421163717704948 43.72867443423857' + - '7.421329630272973 43.72830199194946' + - '7.421491550303836 43.72803665703435' + - '7.421782477046712 43.7277717542315' + - '7.422214271916112 43.72747620627226' + - '7.422504565367829 43.72723219488084' + - '7.420680151271053 43.7261019149033' + - '7.41861879465773 43.72467460835772' + - '7.417217361608561 43.72534442567208' + - '7.415396051104368 43.72626835861559' + - '7.413504901522874 43.72721718804736' + - '7.412251950392685 43.72791692204446' + area-2: + - '7.412251950000019 43.72791691999998' + - '7.411804027225728 43.72816131012375' + - '7.410720479921626 43.72869765990779' + - '7.409766648242966 43.72922566662531' + - '7.408977429067094 43.72955314039889' + - '7.409459702810654 43.73009170062428' + - '7.41079280207825 43.73123211336428' + - '7.411498167531976 43.73156030213696' + - '7.411981155210787 43.73165154471924' + - '7.412869529259951 43.73174631793645' + - '7.413103672228885 43.73285905697139' + - '7.412628412999993 43.73348784000001' + - '7.412631065999973 43.73365316000002' + - '7.412836050000027 43.73390495000003' + - '7.412263138000026 43.73433529999998' + - '7.41232007199998 43.73447780000002' + - '7.41272860800001 43.73490302' + - '7.414536576000001 43.73596065999998' + - '7.414790898000021 43.73593182999998' + - '7.415021658000009 43.73579005000001' + - '7.415204773000013 43.73563441' + - '7.415460622999999 43.73559658999999' + - '7.415375119999998 43.73542449999998' + - '7.415019677000005 43.73510931' + - '7.415505957999993 43.73499287' + - '7.415866061000012 43.73534442999998' + - '7.416066182000023 43.73524041000002' + - '7.416378377999995 43.73509695000001' + - '7.416259374182514 43.73439937025293' + - '7.417151421038497 43.73438386838809' + - '7.417564606186713 43.73358803210659' + - '7.416856147336349 43.73251603862495' + - '7.415686273000004 43.73140827000001' + - '7.414845098999989 43.73085772000002' + - '7.41390943600003 43.73033248' + - '7.412933952999974 43.73001857000001' + - '7.412667104999997 43.72951071' + - '7.412258291999985 43.72868578999997' + - '7.412082169 43.72832327999999' + - '7.412174767999988 43.72811928999998' + - '7.412251950000019 43.72791691999998' + area-3: + - '7.417564606186713 43.73358803210659' + - '7.417151421038497 43.73438386838809' + - '7.416259374182514 43.73439937025293' + - '7.416378377999995 43.73509695000001' + - '7.416066182000023 43.73524041000002' + - '7.415866061000012 43.73534442999998' + - '7.415505957999993 43.73499287' + - '7.415019677000005 43.73510931' + - '7.415375119999998 43.73542449999998' + - '7.415460622999999 43.73559658999999' + - '7.415204773000013 43.73563441' + - '7.415021658000009 43.73579005000001' + - '7.414790898000021 43.73593182999998' + - '7.414536576000001 43.73596065999998' + - '7.415512495190002 43.7366281498032' + - '7.417332072341214 43.73771758368893' + - '7.418873230204741 43.73877571241193' + - '7.419142110422192 43.73847712514304' + - '7.419021090393514 43.73811417743455' + - '7.419190679523593 43.7378587827692' + - '7.419850585061147 43.73757228474087' + - '7.420399074406829 43.73760555882292' + - '7.420457413890754 43.73725619517442' + - '7.420333798401728 43.73716498791435' + - '7.420396504373983 43.73684132416717' + - '7.418478149857243 43.73523598789635' + - '7.418202862931748 43.73477086158007' + - '7.418225296647933 43.73449931632479' + - '7.417564606186713 43.73358803210659' +commercial: + area-4: + - '7.418496582999996 43.73105429000002' + - '7.418119513000012 43.73125813000001' + - '7.417035715999987 43.73150377000003' + - '7.417801369901946 43.73185473282849' + - '7.418584870898128 43.73219944105407' + - '7.41894602891624 43.73247754691842' + - '7.419518816143889 43.73234860360077' + - '7.420266731735728 43.73216882154254' + - '7.420675309267695 43.73206553612534' + - '7.421452309732304 43.73190764162803' + - '7.422101110512265 43.73184404705347' + - '7.423140834328907 43.73192377454985' + - '7.424047577614303 43.7320563652538' + - '7.425024569979013 43.73221910461157' + - '7.426346364587159 43.73243408313061' + - '7.427069735704325 43.73259121517835' + - '7.427018687669246 43.7328563012876' + - '7.427387604873992 43.73294215353545' + - '7.427618602663808 43.73298365486792' + - '7.42776926194308 43.73316320459038' + - '7.427853246747372 43.73324229998455' + - '7.428018540822499 43.7332520054401' + - '7.428053072302474 43.73324868304703' + - '7.42804388704374 43.73321951005548' + - '7.428157779465874 43.73320226453772' + - '7.428184633997812 43.73315114504467' + - '7.428173864894223 43.73300777874597' + - '7.428472513453945 43.73288785590012' + - '7.428340523264967 43.73240940190094' + - '7.428355260733552 43.7320638817348' + - '7.428052465635798 43.73183164547587' + - '7.427719754216082 43.73126147430344' + - '7.426791008264177 43.73050535738137' + - '7.426140051754682 43.73059151647244' + - '7.425422876643704 43.73013799032908' + - '7.424569817414428 43.72959358275482' + - '7.423973082002464 43.72925388225838' + - '7.423253358018433 43.72951012971406' + - '7.422212030034432 43.72965249553761' + - '7.421803319220919 43.7301342399201' + - '7.4215757625905 43.73035387586872' + - '7.420850294302137 43.73005520723608' + - '7.420497749571428 43.72995749603205' + - '7.420256165533474 43.73023629378087' + - '7.419449086174669 43.7308514985659' + - '7.418994657919904 43.73100689871077' + - '7.418496582999996 43.73105429000002' + area-5: + - '7.422504565000003 43.72723219' + - '7.422214272000005 43.72747621000001' + - '7.421491549999999 43.72803665999997' + - '7.421329629999991 43.72830198999998' + - '7.421163718000012 43.72867443000003' + - '7.419276724999997 43.72859253000001' + - '7.419206675999996 43.72905120999999' + - '7.418583629000004 43.72901666000001' + - '7.418475553000015 43.73002454999999' + - '7.417616122000008 43.72994506000001' + - '7.417434616999978 43.73032852999999' + - '7.418496582999996 43.73105429000002' + - '7.418994657919904 43.73100689871077' + - '7.419449086174669 43.7308514985659' + - '7.420256165533474 43.73023629378087' + - '7.420497749571428 43.72995749603205' + - '7.420850294302137 43.73005520723608' + - '7.4215757625905 43.73035387586872' + - '7.421803319220919 43.7301342399201' + - '7.422212030034432 43.72965249553761' + - '7.423253358018433 43.72951012971406' + - '7.423973082002464 43.72925388225838' + - '7.42410389544898 43.72788678068092' + - '7.422504565000003 43.72723219' +coastal: + area-6: + - '7.417151421038497 43.73438386838809' + - '7.418225296647933 43.73449931632479' + - '7.418202862931748 43.73477086158007' + - '7.418478149857243 43.73523598789635' + - '7.420396504373983 43.73684132416717' + - '7.421474633387888 43.73735181273111' + - '7.422389180165956 43.73757439549585' + - '7.422574970752851 43.73746434232518' + - '7.424453465789913 43.73740626769943' + - '7.426230067309811 43.73761808075336' + - '7.427662318340127 43.7379168624471' + - '7.428038293652051 43.73810579370274' + - '7.428415582222376 43.73830218127022' + - '7.428878098113083 43.73865563528157' + - '7.429532505751562 43.73764671224635' + - '7.43177958793355 43.73684077032769' + - '7.432454305187117 43.73631487190695' + - '7.428867685250811 43.73319793548649' + - '7.428472513453945 43.73288785590012' + - '7.428173864894223 43.73300777874597' + - '7.428184633997812 43.73315114504467' + - '7.428157779465874 43.73320226453772' + - '7.42804388704374 43.73321951005548' + - '7.428053072302474 43.73324868304703' + - '7.428018540822499 43.7332520054401' + - '7.427853246747372 43.73324229998455' + - '7.42776926194308 43.73316320459038' + - '7.427618602663808 43.73298365486792' + - '7.427387604873992 43.73294215353545' + - '7.427018687669246 43.7328563012876' + - '7.427069735704325 43.73259121517835' + - '7.426346364587159 43.73243408313061' + - '7.425024569979013 43.73221910461157' + - '7.424047577614303 43.7320563652538' + - '7.423140834328907 43.73192377454985' + - '7.422101110512265 43.73184404705347' + - '7.421452309732304 43.73190764162803' + - '7.420675309267695 43.73206553612534' + - '7.420266731735728 43.73216882154254' + - '7.419518816143889 43.73234860360077' + - '7.41894602891624 43.73247754691842' + - '7.418584870898128 43.73219944105407' + - '7.417801369901946 43.73185473282849' + - '7.417035715999987 43.73150377000003' + - '7.415686273000004 43.73140827000001' + - '7.416856147336349 43.73251603862495' + - '7.417564606186713 43.73358803210659' + - '7.417151421038497 43.73438386838809' diff --git a/test/start-ut-env.sh b/test/start-ut-env.sh index d0b2365d5..eb59989fa 100755 --- a/test/start-ut-env.sh +++ b/test/start-ut-env.sh @@ -35,3 +35,11 @@ echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" helm install meep-ut-postgis --set meepOrigin="ut" --set securityContext.enabled=false --set master.service.type=NodePort --set master.service.nodePort=30432 --set persistence.enabled=false --set ingress.enabled=false $BASEDIR/../charts/postgis/ + +echo "" +echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" +echo ">>> Copying Grid Map File" +echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" +echo "" + +cp -rf grid_map.yaml /grid_map.yaml diff --git a/test/stop-ut-env.sh b/test/stop-ut-env.sh index 3f4251c1f..6612800e8 100755 --- a/test/stop-ut-env.sh +++ b/test/stop-ut-env.sh @@ -11,3 +11,11 @@ echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" helm ls --short | grep meep-ut | xargs -L1 helm uninstall + +echo "" +echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" +echo ">>> Removing Grid Map File" +echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" +echo "" + +rm -rf grid_map.yaml -- GitLab From 28d68af4e176f9e2b6be6c1d138a2363b5bee1a6 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 30 May 2022 17:58:28 +0500 Subject: [PATCH 118/183] add sudo for copying grid map file --- test/start-ut-env.sh | 2 +- test/stop-ut-env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/start-ut-env.sh b/test/start-ut-env.sh index eb59989fa..1008b14f8 100755 --- a/test/start-ut-env.sh +++ b/test/start-ut-env.sh @@ -42,4 +42,4 @@ echo ">>> Copying Grid Map File" echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" -cp -rf grid_map.yaml /grid_map.yaml +sudo cp -rf grid_map.yaml /grid_map.yaml diff --git a/test/stop-ut-env.sh b/test/stop-ut-env.sh index 6612800e8..51d82702d 100755 --- a/test/stop-ut-env.sh +++ b/test/stop-ut-env.sh @@ -18,4 +18,4 @@ echo ">>> Removing Grid Map File" echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" echo "" -rm -rf grid_map.yaml +sudo rm -rf /grid_map.yaml -- GitLab From e7ce4ded02e4ea128d2da484645647659c227d8c Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Wed, 1 Jun 2022 12:44:16 +0500 Subject: [PATCH 119/183] update date models according to MEC013 v2.2.1 --- go-apps/meep-loc-serv/api/swagger.yaml | 33 +++-------------- go-apps/meep-loc-serv/server/README.md | 4 +-- go-apps/meep-loc-serv/server/api_location.go | 4 +-- go-apps/meep-loc-serv/server/loc-serv.go | 2 +- go-apps/meep-loc-serv/server/logger.go | 4 +-- .../server/model_access_point_info.go | 4 +-- .../server/model_access_point_list.go | 4 +-- .../model_app_termination_notification.go | 4 +-- ...del_app_termination_notification__links.go | 4 +-- .../server/model_callback_reference.go | 4 +-- .../model_circle_notification_subscription.go | 4 +-- .../server/model_connection_type.go | 4 +-- .../server/model_distance_criteria.go | 4 +-- ...odel_distance_notification_subscription.go | 4 +-- .../server/model_entering_leaving_criteria.go | 4 +-- .../server/model_inline_access_point_info.go | 4 +-- .../server/model_inline_access_point_list.go | 4 +-- ...inline_circle_notification_subscription.go | 4 +-- ...line_distance_notification_subscription.go | 4 +-- ...l_inline_notification_subscription_list.go | 4 +-- ...line_periodic_notification_subscription.go | 4 +-- .../server/model_inline_problem_details.go | 4 +-- .../model_inline_problem_details_required.go | 4 +-- .../model_inline_subscription_notification.go | 4 +-- .../server/model_inline_terminal_distance.go | 4 +-- .../server/model_inline_user_list.go | 4 +-- ...model_inline_user_tracking_subscription.go | 4 +-- ...odel_inline_zonal_presence_notification.go | 4 +-- ...model_inline_zonal_traffic_subscription.go | 4 +-- .../server/model_inline_zone_info.go | 4 +-- .../server/model_inline_zone_list.go | 4 +-- .../model_inline_zone_status_notification.go | 4 +-- .../model_inline_zone_status_subscription.go | 4 +-- go-apps/meep-loc-serv/server/model_link.go | 4 +-- .../meep-loc-serv/server/model_link_type.go | 4 +-- .../server/model_location_info.go | 4 +-- .../server/model_location_info_velocity.go | 4 +-- .../server/model_notification_format.go | 4 +-- .../model_notification_subscription_list.go | 4 +-- .../server/model_operation_action_type.go | 4 +-- .../server/model_operation_status.go | 4 +-- ...odel_periodic_notification_subscription.go | 4 +-- .../server/model_problem_details.go | 4 +-- .../server/model_retrieval_status.go | 4 +-- .../server/model_service_error.go | 4 +-- ..._subscription_cancellation_notification.go | 36 ------------------- .../server/model_subscription_notification.go | 4 +-- .../server/model_terminal_distance.go | 4 +-- .../server/model_terminal_location.go | 4 +-- .../meep-loc-serv/server/model_time_stamp.go | 4 +-- .../server/model_user_event_type.go | 4 +-- .../meep-loc-serv/server/model_user_info.go | 4 +-- .../meep-loc-serv/server/model_user_list.go | 4 +-- .../model_user_tracking_subscription.go | 4 +-- .../model_zonal_presence_notification.go | 4 +-- .../model_zonal_traffic_subscription.go | 4 +-- .../meep-loc-serv/server/model_zone_info.go | 4 +-- .../meep-loc-serv/server/model_zone_list.go | 4 +-- .../server/model_zone_status_notification.go | 4 +-- .../server/model_zone_status_subscription.go | 4 +-- go-apps/meep-loc-serv/server/routers.go | 4 +-- 61 files changed, 121 insertions(+), 182 deletions(-) delete mode 100644 go-apps/meep-loc-serv/server/model_subscription_cancellation_notification.go diff --git a/go-apps/meep-loc-serv/api/swagger.yaml b/go-apps/meep-loc-serv/api/swagger.yaml index 3aa0c09c2..5d0c35544 100644 --- a/go-apps/meep-loc-serv/api/swagger.yaml +++ b/go-apps/meep-loc-serv/api/swagger.yaml @@ -4,9 +4,9 @@ info: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com title: AdvantEDGE Location Service REST API - version: 2.1.1 + version: 2.2.1 description: "Location Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf) + [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv) @@ -16,8 +16,8 @@ info: name: "Apache 2.0" url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE" externalDocs: - description: ETSI MEC013 V2.1.1 Location API - url: 'http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf' + description: ETSI MEC013 V2.2.1 Location API + url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf' servers: - url: 'https://localhost/sandboxname/location/v2' tags: @@ -2467,31 +2467,6 @@ components: - messageId - text type: object - SubscriptionCancellationNotification: - description: A type containing the subscription cancellation notification. - properties: - address: - description: Address of terminal if the error applies to an individual terminal. - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: anyURI - callbackData: - description: CallbackData if passed by the application in the receiptRequest element during the associated subscription operation - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: string - link: - description: Link to other resources that are in relationship with the resource. - items: - $ref: '#/components/schemas/Link' - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Link - reason: - $ref: '#/components/schemas/ServiceError' - required: - - terminalLocation - type: object SubscriptionNotification: description: A type containing the notification subscription. properties: diff --git a/go-apps/meep-loc-serv/server/README.md b/go-apps/meep-loc-serv/server/README.md index 1e4c470bf..d7c248624 100644 --- a/go-apps/meep-loc-serv/server/README.md +++ b/go-apps/meep-loc-serv/server/README.md @@ -1,6 +1,6 @@ # Go API Server for server -Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). +Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). ## Overview This server was generated by the [swagger-codegen] @@ -12,7 +12,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) -- API version: 2.1.1 +- API version: 2.2.1 - Build date: 2021-11-23T08:34:09.722782-05:00[America/Toronto] diff --git a/go-apps/meep-loc-serv/server/api_location.go b/go-apps/meep-loc-serv/server/api_location.go index 8a1fdd66d..6c5ee1540 100644 --- a/go-apps/meep-loc-serv/server/api_location.go +++ b/go-apps/meep-loc-serv/server/api_location.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/loc-serv.go b/go-apps/meep-loc-serv/server/loc-serv.go index 55c0c985b..9ad4e42cd 100644 --- a/go-apps/meep-loc-serv/server/loc-serv.go +++ b/go-apps/meep-loc-serv/server/loc-serv.go @@ -164,7 +164,7 @@ var mutex sync.Mutex var gisAppClient *gisClient.APIClient var gisAppClientUrl string = "http://meep-gis-engine" -const serviceAppVersion = "2.1.1" +const serviceAppVersion = "2.2.1" var serviceAppInstanceId string diff --git a/go-apps/meep-loc-serv/server/logger.go b/go-apps/meep-loc-serv/server/logger.go index 06cfc3830..9a6e32cb8 100644 --- a/go-apps/meep-loc-serv/server/logger.go +++ b/go-apps/meep-loc-serv/server/logger.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_access_point_info.go b/go-apps/meep-loc-serv/server/model_access_point_info.go index 1277cfad3..f28346eb8 100644 --- a/go-apps/meep-loc-serv/server/model_access_point_info.go +++ b/go-apps/meep-loc-serv/server/model_access_point_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_access_point_list.go b/go-apps/meep-loc-serv/server/model_access_point_list.go index df3e9e3bb..f1d08e5ec 100644 --- a/go-apps/meep-loc-serv/server/model_access_point_list.go +++ b/go-apps/meep-loc-serv/server/model_access_point_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_app_termination_notification.go b/go-apps/meep-loc-serv/server/model_app_termination_notification.go index 2397744cd..03d0c423b 100644 --- a/go-apps/meep-loc-serv/server/model_app_termination_notification.go +++ b/go-apps/meep-loc-serv/server/model_app_termination_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_app_termination_notification__links.go b/go-apps/meep-loc-serv/server/model_app_termination_notification__links.go index a3289871d..ebed147f2 100644 --- a/go-apps/meep-loc-serv/server/model_app_termination_notification__links.go +++ b/go-apps/meep-loc-serv/server/model_app_termination_notification__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_callback_reference.go b/go-apps/meep-loc-serv/server/model_callback_reference.go index 74135131b..694c0e049 100644 --- a/go-apps/meep-loc-serv/server/model_callback_reference.go +++ b/go-apps/meep-loc-serv/server/model_callback_reference.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_circle_notification_subscription.go b/go-apps/meep-loc-serv/server/model_circle_notification_subscription.go index 16b80c843..aa307bdec 100644 --- a/go-apps/meep-loc-serv/server/model_circle_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_circle_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_connection_type.go b/go-apps/meep-loc-serv/server/model_connection_type.go index 5d697c213..490e86b0d 100644 --- a/go-apps/meep-loc-serv/server/model_connection_type.go +++ b/go-apps/meep-loc-serv/server/model_connection_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_distance_criteria.go b/go-apps/meep-loc-serv/server/model_distance_criteria.go index 734715183..0969ae808 100644 --- a/go-apps/meep-loc-serv/server/model_distance_criteria.go +++ b/go-apps/meep-loc-serv/server/model_distance_criteria.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_distance_notification_subscription.go b/go-apps/meep-loc-serv/server/model_distance_notification_subscription.go index 0711c0568..1093c6f08 100644 --- a/go-apps/meep-loc-serv/server/model_distance_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_distance_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_entering_leaving_criteria.go b/go-apps/meep-loc-serv/server/model_entering_leaving_criteria.go index 2804ea157..e7f501768 100644 --- a/go-apps/meep-loc-serv/server/model_entering_leaving_criteria.go +++ b/go-apps/meep-loc-serv/server/model_entering_leaving_criteria.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_access_point_info.go b/go-apps/meep-loc-serv/server/model_inline_access_point_info.go index 246416716..634ec5fe3 100644 --- a/go-apps/meep-loc-serv/server/model_inline_access_point_info.go +++ b/go-apps/meep-loc-serv/server/model_inline_access_point_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_access_point_list.go b/go-apps/meep-loc-serv/server/model_inline_access_point_list.go index 7157073c4..8a8206583 100644 --- a/go-apps/meep-loc-serv/server/model_inline_access_point_list.go +++ b/go-apps/meep-loc-serv/server/model_inline_access_point_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_circle_notification_subscription.go b/go-apps/meep-loc-serv/server/model_inline_circle_notification_subscription.go index 4842c0744..bff1af402 100644 --- a/go-apps/meep-loc-serv/server/model_inline_circle_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_circle_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_distance_notification_subscription.go b/go-apps/meep-loc-serv/server/model_inline_distance_notification_subscription.go index 294c6bfa8..0c902b4cb 100644 --- a/go-apps/meep-loc-serv/server/model_inline_distance_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_distance_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_notification_subscription_list.go b/go-apps/meep-loc-serv/server/model_inline_notification_subscription_list.go index 95793245b..233409f3f 100644 --- a/go-apps/meep-loc-serv/server/model_inline_notification_subscription_list.go +++ b/go-apps/meep-loc-serv/server/model_inline_notification_subscription_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_periodic_notification_subscription.go b/go-apps/meep-loc-serv/server/model_inline_periodic_notification_subscription.go index c6bb1551f..6476cfce9 100644 --- a/go-apps/meep-loc-serv/server/model_inline_periodic_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_periodic_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_problem_details.go b/go-apps/meep-loc-serv/server/model_inline_problem_details.go index 7bf7e4c02..d9cf4b115 100644 --- a/go-apps/meep-loc-serv/server/model_inline_problem_details.go +++ b/go-apps/meep-loc-serv/server/model_inline_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_problem_details_required.go b/go-apps/meep-loc-serv/server/model_inline_problem_details_required.go index 96d6d996d..47fc06967 100644 --- a/go-apps/meep-loc-serv/server/model_inline_problem_details_required.go +++ b/go-apps/meep-loc-serv/server/model_inline_problem_details_required.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_subscription_notification.go b/go-apps/meep-loc-serv/server/model_inline_subscription_notification.go index eb250014f..f6846e688 100644 --- a/go-apps/meep-loc-serv/server/model_inline_subscription_notification.go +++ b/go-apps/meep-loc-serv/server/model_inline_subscription_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_terminal_distance.go b/go-apps/meep-loc-serv/server/model_inline_terminal_distance.go index 9106109c4..b679f44b1 100644 --- a/go-apps/meep-loc-serv/server/model_inline_terminal_distance.go +++ b/go-apps/meep-loc-serv/server/model_inline_terminal_distance.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_user_list.go b/go-apps/meep-loc-serv/server/model_inline_user_list.go index 1f4267a54..d7b619eeb 100644 --- a/go-apps/meep-loc-serv/server/model_inline_user_list.go +++ b/go-apps/meep-loc-serv/server/model_inline_user_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_user_tracking_subscription.go b/go-apps/meep-loc-serv/server/model_inline_user_tracking_subscription.go index caf68d11a..3b200bd94 100644 --- a/go-apps/meep-loc-serv/server/model_inline_user_tracking_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_user_tracking_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zonal_presence_notification.go b/go-apps/meep-loc-serv/server/model_inline_zonal_presence_notification.go index 319a25e23..1f08701c1 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zonal_presence_notification.go +++ b/go-apps/meep-loc-serv/server/model_inline_zonal_presence_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zonal_traffic_subscription.go b/go-apps/meep-loc-serv/server/model_inline_zonal_traffic_subscription.go index d6432a139..f0c1d9f19 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zonal_traffic_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_zonal_traffic_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zone_info.go b/go-apps/meep-loc-serv/server/model_inline_zone_info.go index 75c9dc2a6..f19f34e76 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zone_info.go +++ b/go-apps/meep-loc-serv/server/model_inline_zone_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zone_list.go b/go-apps/meep-loc-serv/server/model_inline_zone_list.go index 1a619cd71..b90cf56fd 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zone_list.go +++ b/go-apps/meep-loc-serv/server/model_inline_zone_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zone_status_notification.go b/go-apps/meep-loc-serv/server/model_inline_zone_status_notification.go index e895b12f7..a5b997c9d 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zone_status_notification.go +++ b/go-apps/meep-loc-serv/server/model_inline_zone_status_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_inline_zone_status_subscription.go b/go-apps/meep-loc-serv/server/model_inline_zone_status_subscription.go index d185e24b8..58607ad7e 100644 --- a/go-apps/meep-loc-serv/server/model_inline_zone_status_subscription.go +++ b/go-apps/meep-loc-serv/server/model_inline_zone_status_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_link.go b/go-apps/meep-loc-serv/server/model_link.go index e712b6f9a..a3a23c776 100644 --- a/go-apps/meep-loc-serv/server/model_link.go +++ b/go-apps/meep-loc-serv/server/model_link.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_link_type.go b/go-apps/meep-loc-serv/server/model_link_type.go index 79f12c797..614834d70 100644 --- a/go-apps/meep-loc-serv/server/model_link_type.go +++ b/go-apps/meep-loc-serv/server/model_link_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_location_info.go b/go-apps/meep-loc-serv/server/model_location_info.go index 98fef1d73..63a7e9da5 100644 --- a/go-apps/meep-loc-serv/server/model_location_info.go +++ b/go-apps/meep-loc-serv/server/model_location_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_location_info_velocity.go b/go-apps/meep-loc-serv/server/model_location_info_velocity.go index 8b92ca765..8a6567e24 100644 --- a/go-apps/meep-loc-serv/server/model_location_info_velocity.go +++ b/go-apps/meep-loc-serv/server/model_location_info_velocity.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_notification_format.go b/go-apps/meep-loc-serv/server/model_notification_format.go index 1e0abac4b..fe427c1e8 100644 --- a/go-apps/meep-loc-serv/server/model_notification_format.go +++ b/go-apps/meep-loc-serv/server/model_notification_format.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_notification_subscription_list.go b/go-apps/meep-loc-serv/server/model_notification_subscription_list.go index ef6e12c96..a8d5f91c7 100644 --- a/go-apps/meep-loc-serv/server/model_notification_subscription_list.go +++ b/go-apps/meep-loc-serv/server/model_notification_subscription_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_operation_action_type.go b/go-apps/meep-loc-serv/server/model_operation_action_type.go index f221d9895..6dadbde5a 100644 --- a/go-apps/meep-loc-serv/server/model_operation_action_type.go +++ b/go-apps/meep-loc-serv/server/model_operation_action_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_operation_status.go b/go-apps/meep-loc-serv/server/model_operation_status.go index e22cf3902..2199424f4 100644 --- a/go-apps/meep-loc-serv/server/model_operation_status.go +++ b/go-apps/meep-loc-serv/server/model_operation_status.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_periodic_notification_subscription.go b/go-apps/meep-loc-serv/server/model_periodic_notification_subscription.go index a03b50bfc..f3da03ee9 100644 --- a/go-apps/meep-loc-serv/server/model_periodic_notification_subscription.go +++ b/go-apps/meep-loc-serv/server/model_periodic_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_problem_details.go b/go-apps/meep-loc-serv/server/model_problem_details.go index 460cbc3c7..ad918bcb2 100644 --- a/go-apps/meep-loc-serv/server/model_problem_details.go +++ b/go-apps/meep-loc-serv/server/model_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_retrieval_status.go b/go-apps/meep-loc-serv/server/model_retrieval_status.go index 2d83e1dc7..c9cd221ef 100644 --- a/go-apps/meep-loc-serv/server/model_retrieval_status.go +++ b/go-apps/meep-loc-serv/server/model_retrieval_status.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_service_error.go b/go-apps/meep-loc-serv/server/model_service_error.go index aad942bd3..b77f9a0ec 100644 --- a/go-apps/meep-loc-serv/server/model_service_error.go +++ b/go-apps/meep-loc-serv/server/model_service_error.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_subscription_cancellation_notification.go b/go-apps/meep-loc-serv/server/model_subscription_cancellation_notification.go deleted file mode 100644 index 392acd7e9..000000000 --- a/go-apps/meep-loc-serv/server/model_subscription_cancellation_notification.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Location Service REST API - * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -// A type containing the subscription cancellation notification. -type SubscriptionCancellationNotification struct { - // Address of terminal if the error applies to an individual terminal. - Address string `json:"address,omitempty"` - // CallbackData if passed by the application in the receiptRequest element during the associated subscription operation - CallbackData string `json:"callbackData,omitempty"` - // Link to other resources that are in relationship with the resource. - Link []Link `json:"link,omitempty"` - - Reason *ServiceError `json:"reason,omitempty"` -} diff --git a/go-apps/meep-loc-serv/server/model_subscription_notification.go b/go-apps/meep-loc-serv/server/model_subscription_notification.go index f14517949..9b9af288d 100644 --- a/go-apps/meep-loc-serv/server/model_subscription_notification.go +++ b/go-apps/meep-loc-serv/server/model_subscription_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_terminal_distance.go b/go-apps/meep-loc-serv/server/model_terminal_distance.go index 95e524a47..36e09462c 100644 --- a/go-apps/meep-loc-serv/server/model_terminal_distance.go +++ b/go-apps/meep-loc-serv/server/model_terminal_distance.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_terminal_location.go b/go-apps/meep-loc-serv/server/model_terminal_location.go index d9161d92d..4c2869696 100644 --- a/go-apps/meep-loc-serv/server/model_terminal_location.go +++ b/go-apps/meep-loc-serv/server/model_terminal_location.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_time_stamp.go b/go-apps/meep-loc-serv/server/model_time_stamp.go index 78c236218..48d8e19ed 100644 --- a/go-apps/meep-loc-serv/server/model_time_stamp.go +++ b/go-apps/meep-loc-serv/server/model_time_stamp.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_user_event_type.go b/go-apps/meep-loc-serv/server/model_user_event_type.go index c5a13631c..9eab2fded 100644 --- a/go-apps/meep-loc-serv/server/model_user_event_type.go +++ b/go-apps/meep-loc-serv/server/model_user_event_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_user_info.go b/go-apps/meep-loc-serv/server/model_user_info.go index 276dcd9f6..44a4eb6c4 100644 --- a/go-apps/meep-loc-serv/server/model_user_info.go +++ b/go-apps/meep-loc-serv/server/model_user_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_user_list.go b/go-apps/meep-loc-serv/server/model_user_list.go index 369978585..2ac51496b 100644 --- a/go-apps/meep-loc-serv/server/model_user_list.go +++ b/go-apps/meep-loc-serv/server/model_user_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_user_tracking_subscription.go b/go-apps/meep-loc-serv/server/model_user_tracking_subscription.go index d28ff72e3..bcc746d40 100644 --- a/go-apps/meep-loc-serv/server/model_user_tracking_subscription.go +++ b/go-apps/meep-loc-serv/server/model_user_tracking_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zonal_presence_notification.go b/go-apps/meep-loc-serv/server/model_zonal_presence_notification.go index a9c916f47..4b6365030 100644 --- a/go-apps/meep-loc-serv/server/model_zonal_presence_notification.go +++ b/go-apps/meep-loc-serv/server/model_zonal_presence_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zonal_traffic_subscription.go b/go-apps/meep-loc-serv/server/model_zonal_traffic_subscription.go index 7782b1f4a..a1b89df12 100644 --- a/go-apps/meep-loc-serv/server/model_zonal_traffic_subscription.go +++ b/go-apps/meep-loc-serv/server/model_zonal_traffic_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zone_info.go b/go-apps/meep-loc-serv/server/model_zone_info.go index 96424d6af..ab021957a 100644 --- a/go-apps/meep-loc-serv/server/model_zone_info.go +++ b/go-apps/meep-loc-serv/server/model_zone_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zone_list.go b/go-apps/meep-loc-serv/server/model_zone_list.go index 0fd0ddf23..fe9e616cf 100644 --- a/go-apps/meep-loc-serv/server/model_zone_list.go +++ b/go-apps/meep-loc-serv/server/model_zone_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zone_status_notification.go b/go-apps/meep-loc-serv/server/model_zone_status_notification.go index 296325c42..4ada61d84 100644 --- a/go-apps/meep-loc-serv/server/model_zone_status_notification.go +++ b/go-apps/meep-loc-serv/server/model_zone_status_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/model_zone_status_subscription.go b/go-apps/meep-loc-serv/server/model_zone_status_subscription.go index 984632f37..a726c2c2e 100644 --- a/go-apps/meep-loc-serv/server/model_zone_status_subscription.go +++ b/go-apps/meep-loc-serv/server/model_zone_status_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-loc-serv/server/routers.go b/go-apps/meep-loc-serv/server/routers.go index ea06156f0..1a1832707 100644 --- a/go-apps/meep-loc-serv/server/routers.go +++ b/go-apps/meep-loc-serv/server/routers.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From a4f7e957ceb70f7a104f0259421358888e2ca280 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Wed, 1 Jun 2022 18:10:22 +0500 Subject: [PATCH 120/183] update data models for meep-rnis as per new OAS file --- .../model_app_termination_notification.go | 4 +-- ...del_app_termination_notification__links.go | 4 +-- .../meep-rnis/server/model_associate_id.go | 4 +-- .../server/model_ca_reconf_notification.go | 11 ++++--- .../model_ca_reconf_notification__links.go | 29 +++++++++++++++++ ...ification_carrier_aggregation_meas_info.go | 11 ++++--- ..._reconf_notification_secondary_cell_add.go | 6 ++-- .../server/model_ca_reconf_subscription.go | 17 ++++++---- .../model_ca_reconf_subscription__links.go | 4 +-- ...conf_subscription_filter_criteria_assoc.go | 4 +-- .../server/model_cell_change_notification.go | 14 ++++---- ...del_cell_change_notification_temp_ue_id.go | 4 +-- .../server/model_cell_change_subscription.go | 17 ++++++---- ...e_subscription_filter_criteria_assoc_ho.go | 4 +-- go-apps/meep-rnis/server/model_ecgi.go | 5 +-- .../server/model_expiry_notification.go | 6 ++-- .../model_expiry_notification__links.go | 7 ++-- .../server/model_inline_notification.go | 5 +-- .../server/model_inline_subscription.go | 5 +-- go-apps/meep-rnis/server/model_l2_meas.go | 4 +-- .../server/model_l2_meas_cell_info.go | 8 ++--- .../server/model_l2_meas_cell_ue_info.go | 8 ++--- go-apps/meep-rnis/server/model_link_type.go | 4 +-- .../server/model_meas_quantity_results_nr.go | 4 +-- .../server/model_meas_rep_ue_notification.go | 11 ++++--- ...ification_carrier_aggregation_meas_info.go | 9 +++--- ...ication_eutran_neighbour_cell_meas_info.go | 12 +++---- ...rep_ue_notification_new_radio_meas_info.go | 8 ++--- ...ue_notification_new_radio_meas_nei_info.go | 6 ++-- ...model_meas_rep_ue_notification_nr_bn_cs.go | 4 +-- ...e_notification_nr_bn_cs_nr_bn_cell_info.go | 9 +++--- ...meas_rep_ue_notification_nr_n_cell_info.go | 9 +++--- .../model_meas_rep_ue_notification_nr_s_cs.go | 4 +-- ..._ue_notification_nr_s_cs_nr_s_cell_info.go | 9 +++--- .../server/model_meas_rep_ue_subscription.go | 17 ++++++---- ..._subscription_filter_criteria_assoc_tri.go | 4 +-- .../server/model_meas_ta_notification.go | 9 +++--- .../server/model_meas_ta_subscription.go | 17 ++++++---- go-apps/meep-rnis/server/model_n_rcgi.go | 30 ----------------- .../model_nr_meas_rep_ue_notification.go | 9 +++--- ...notification_eutra_neigh_cell_meas_info.go | 12 +++---- ...odel_nr_meas_rep_ue_notification_n_cell.go | 4 +-- ...ue_notification_nr_neigh_cell_meas_info.go | 6 ++-- ...odel_nr_meas_rep_ue_notification_s_cell.go | 6 ++-- ...rep_ue_notification_serv_cell_meas_info.go | 8 ++--- .../model_nr_meas_rep_ue_subscription.go | 17 ++++++---- ..._ue_subscription_filter_criteria_nr_mrs.go | 6 ++-- go-apps/meep-rnis/server/model_nrcgi.go | 31 ++++++++++++++++++ .../model_one_of_inline_notification.go | 4 +-- .../model_one_of_inline_subscription.go | 4 +-- .../server/model_operation_action_type.go | 4 +-- go-apps/meep-rnis/server/model_plmn.go | 4 +-- go-apps/meep-rnis/server/model_plmn_info.go | 4 +-- .../meep-rnis/server/model_problem_details.go | 4 +-- .../server/model_rab_est_notification.go | 9 +++--- ...ab_est_notification_erab_qos_parameters.go | 4 +-- ...ion_erab_qos_parameters_qos_information.go | 4 +-- .../model_rab_est_notification_temp_ue_id.go | 4 +-- .../server/model_rab_est_subscription.go | 17 ++++++---- ...ab_est_subscription_filter_criteria_qci.go | 4 +-- go-apps/meep-rnis/server/model_rab_info.go | 4 +-- .../server/model_rab_info_cell_user_info.go | 8 ++--- .../server/model_rab_info_erab_info.go | 4 +-- .../server/model_rab_info_ue_info.go | 6 ++-- .../server/model_rab_mod_notification.go | 9 +++--- ...ab_mod_notification_erab_qos_parameters.go | 4 +-- ...ion_erab_qos_parameters_qos_information.go | 4 +-- .../server/model_rab_mod_subscription.go | 17 ++++++---- ...ab_mod_subscription_filter_criteria_qci.go | 4 +-- .../server/model_rab_rel_notification.go | 9 +++--- ..._rab_rel_notification_erab_release_info.go | 4 +-- .../server/model_rab_rel_subscription.go | 17 ++++++---- .../server/model_results_per_csi_rs_index.go | 4 +-- .../model_results_per_csi_rs_index_list.go | 4 +-- ..._rs_index_list_results_per_csi_rs_index.go | 4 +-- .../server/model_results_per_ssb_index.go | 4 +-- .../model_results_per_ssb_index_list.go | 4 +-- ...er_ssb_index_list_results_per_ssb_index.go | 4 +-- .../server/model_rs_index_results.go | 4 +-- .../meep-rnis/server/model_s1_bearer_info.go | 4 +-- .../server/model_s1_bearer_info_enb_info.go | 4 +-- ..._s1_bearer_info_s1_bearer_info_detailed.go | 8 ++--- .../server/model_s1_bearer_info_s1_ue_info.go | 10 +++--- .../server/model_s1_bearer_info_s_gw_info.go | 4 +-- .../server/model_s1_bearer_notification.go | 7 ++-- ...model_s1_bearer_notification_s1_ue_info.go | 4 +-- .../server/model_s1_bearer_subscription.go | 19 +++++++---- ...ription_s1_bearer_subscription_criteria.go | 4 +-- .../server/model_subscription_link_list.go | 4 +-- .../model_subscription_link_list__links.go | 4 +-- ...scription_link_list__links_subscription.go | 4 +-- .../server/model_test_notification.go | 31 ++++++++++++++++++ go-apps/meep-rnis/server/model_time_stamp.go | 4 +-- go-apps/meep-rnis/server/model_trigger.go | 4 +-- go-apps/meep-rnis/server/model_trigger_nr.go | 4 +-- .../server/model_websock_notif_config.go | 32 +++++++++++++++++++ 96 files changed, 467 insertions(+), 314 deletions(-) create mode 100644 go-apps/meep-rnis/server/model_ca_reconf_notification__links.go delete mode 100644 go-apps/meep-rnis/server/model_n_rcgi.go create mode 100644 go-apps/meep-rnis/server/model_nrcgi.go create mode 100644 go-apps/meep-rnis/server/model_test_notification.go create mode 100644 go-apps/meep-rnis/server/model_websock_notif_config.go diff --git a/go-apps/meep-rnis/server/model_app_termination_notification.go b/go-apps/meep-rnis/server/model_app_termination_notification.go index e57fe8a1e..ad44e2847 100644 --- a/go-apps/meep-rnis/server/model_app_termination_notification.go +++ b/go-apps/meep-rnis/server/model_app_termination_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_app_termination_notification__links.go b/go-apps/meep-rnis/server/model_app_termination_notification__links.go index 517781bae..05ccc1b2f 100644 --- a/go-apps/meep-rnis/server/model_app_termination_notification__links.go +++ b/go-apps/meep-rnis/server/model_app_termination_notification__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_associate_id.go b/go-apps/meep-rnis/server/model_associate_id.go index d485c4874..03cd3d9b2 100644 --- a/go-apps/meep-rnis/server/model_associate_id.go +++ b/go-apps/meep-rnis/server/model_associate_id.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification.go b/go-apps/meep-rnis/server/model_ca_reconf_notification.go index 53cb98302..13deefd80 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification.go @@ -15,27 +15,28 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type CaReconfNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - // This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. + // This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to N. CarrierAggregationMeasInfo []CaReconfNotificationCarrierAggregationMeasInfo `json:"carrierAggregationMeasInfo,omitempty"` Ecgi *Ecgi `json:"ecgi"` - // Shall be set to \"CaReConfNotification\". - NotificationType string `json:"notificationType"` SecondaryCellAdd []CaReconfNotificationSecondaryCellAdd `json:"secondaryCellAdd,omitempty"` SecondaryCellRemove []CaReconfNotificationSecondaryCellAdd `json:"secondaryCellRemove,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go b/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go new file mode 100644 index 000000000..afbaa39bc --- /dev/null +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// Links to resources related to this notification. +type CaReconfNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go b/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go index 0389a95eb..c0dc83e80 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go @@ -15,18 +15,19 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type CaReconfNotificationCarrierAggregationMeasInfo struct { - CellIdNei string `json:"cellIdNei,omitempty"` - - CellIdSrv string `json:"cellIdSrv,omitempty"` + // String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. + CellIdNei string `json:"cellIdNei"` + // String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. + CellIdSrv string `json:"cellIdSrv"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. RsrpNei int32 `json:"rsrpNei,omitempty"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go b/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go index 3040e2c17..228c5194b 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go @@ -15,14 +15,14 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type CaReconfNotificationSecondaryCellAdd struct { - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` } diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription.go index 1b68bb94a..dcf6f2dcc 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to UE carrier aggregation reconfiguration notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type CaReconfSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc"` - // Shall be set to \"CaReconfSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go index dccd4c4da..c763ae818 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go index 6eca79c3f..c2e49f022 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_cell_change_notification.go b/go-apps/meep-rnis/server/model_cell_change_notification.go index 5e5921685..cc5c6360b 100644 --- a/go-apps/meep-rnis/server/model_cell_change_notification.go +++ b/go-apps/meep-rnis/server/model_cell_change_notification.go @@ -15,27 +15,29 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a notification from RNIS with regards to cell change procedure NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. type CellChangeNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - // Indicate the status of the UE handover procedure. Values are defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. + HoStatus int32 `json:"hoStatus"` - // Shall be set to \"CellChangeNotification\". - NotificationType string `json:"notificationType"` SrcEcgi *Ecgi `json:"srcEcgi"` TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` - // E-UTRAN Cell Global Identifier of the target cell. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. + // E-UTRAN Cell Global Identifier of the target cell. See note. TrgEcgi []Ecgi `json:"trgEcgi"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go b/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go index fed33cf18..77c42043d 100644 --- a/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go +++ b/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_cell_change_subscription.go b/go-apps/meep-rnis/server/model_cell_change_subscription.go index 14db0d30f..8b02a44ef 100644 --- a/go-apps/meep-rnis/server/model_cell_change_subscription.go +++ b/go-apps/meep-rnis/server/model_cell_change_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to cell change notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type CellChangeSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + // Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssocHo *CellChangeSubscriptionFilterCriteriaAssocHo `json:"filterCriteriaAssocHo"` - // Shall be set to \"CellChangeSubscription\". - SubscriptionType string `json:"subscriptionType"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` } diff --git a/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go b/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go index cb09eebc6..484f4aabd 100644 --- a/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go +++ b/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_ecgi.go b/go-apps/meep-rnis/server/model_ecgi.go index 460ae379e..e87ff9d39 100644 --- a/go-apps/meep-rnis/server/model_ecgi.go +++ b/go-apps/meep-rnis/server/model_ecgi.go @@ -15,15 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type Ecgi struct { + // String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. CellId string `json:"cellId"` Plmn *Plmn `json:"plmn"` diff --git a/go-apps/meep-rnis/server/model_expiry_notification.go b/go-apps/meep-rnis/server/model_expiry_notification.go index 540a9cd57..fabdecc8d 100644 --- a/go-apps/meep-rnis/server/model_expiry_notification.go +++ b/go-apps/meep-rnis/server/model_expiry_notification.go @@ -15,15 +15,17 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type ExpiryNotification struct { + NotificationType string `json:"notificationType"` + Links *ExpiryNotificationLinks `json:"_links"` ExpiryDeadline *TimeStamp `json:"expiryDeadline"` diff --git a/go-apps/meep-rnis/server/model_expiry_notification__links.go b/go-apps/meep-rnis/server/model_expiry_notification__links.go index a77ea32bc..7b8a5be5e 100644 --- a/go-apps/meep-rnis/server/model_expiry_notification__links.go +++ b/go-apps/meep-rnis/server/model_expiry_notification__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,5 @@ package server // List of hyperlinks related to the resource. type ExpiryNotificationLinks struct { - // Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. - Self string `json:"self"` + Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-rnis/server/model_inline_notification.go b/go-apps/meep-rnis/server/model_inline_notification.go index 644d4c536..e53f3ef70 100644 --- a/go-apps/meep-rnis/server/model_inline_notification.go +++ b/go-apps/meep-rnis/server/model_inline_notification.go @@ -15,13 +15,14 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type InlineNotification struct { + NotificationType string `json:"notificationType"` } diff --git a/go-apps/meep-rnis/server/model_inline_subscription.go b/go-apps/meep-rnis/server/model_inline_subscription.go index dbeff965a..45b867c4e 100644 --- a/go-apps/meep-rnis/server/model_inline_subscription.go +++ b/go-apps/meep-rnis/server/model_inline_subscription.go @@ -15,13 +15,14 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type InlineSubscription struct { + SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_l2_meas.go b/go-apps/meep-rnis/server/model_l2_meas.go index 9d416aae6..0825f82b8 100644 --- a/go-apps/meep-rnis/server/model_l2_meas.go +++ b/go-apps/meep-rnis/server/model_l2_meas.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_l2_meas_cell_info.go b/go-apps/meep-rnis/server/model_l2_meas_cell_info.go index 28245c68d..c4996893c 100644 --- a/go-apps/meep-rnis/server/model_l2_meas_cell_info.go +++ b/go-apps/meep-rnis/server/model_l2_meas_cell_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -35,7 +35,7 @@ type L2MeasCellInfo struct { // It indicates (in percentage) the PRB usage for total downlink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. DlTotalPrbUsageCell int32 `json:"dl_total_prb_usage_cell,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` // It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11]. NumberOfActiveUeDlGbrCell int32 `json:"number_of_active_ue_dl_gbr_cell,omitempty"` // It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. @@ -44,7 +44,7 @@ type L2MeasCellInfo struct { NumberOfActiveUeUlGbrCell int32 `json:"number_of_active_ue_ul_gbr_cell,omitempty"` // It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. NumberOfActiveUeUlNongbrCell int32 `json:"number_of_active_ue_ul_nongbr_cell,omitempty"` - // It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11]. + // It indicates (in percentage) the received dedicated preambles, as defined in ETSI TS 136 314 [i.11]. ReceivedDedicatedPreamblesCell int32 `json:"received_dedicated_preambles_cell,omitempty"` // It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11]. ReceivedRandomlySelectedPreamblesHighRangeCell int32 `json:"received_randomly_selected_preambles_high_range_cell,omitempty"` diff --git a/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go b/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go index 855b8c63a..15db1d282 100644 --- a/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go +++ b/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go @@ -15,16 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type L2MeasCellUeInfo struct { - AssociateId *AssociateId `json:"associateId,omitempty"` + AssociateId *AssociateId `json:"associateId"` // It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. DlGbrDataVolumeUe int32 `json:"dl_gbr_data_volume_ue,omitempty"` // It indicates the packet delay of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. @@ -42,7 +42,7 @@ type L2MeasCellUeInfo struct { // It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. DlNongbrThroughputUe int32 `json:"dl_nongbr_throughput_ue,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` // It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. UlGbrDataVolumeUe int32 `json:"ul_gbr_data_volume_ue,omitempty"` // It indicates the packet delay of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. diff --git a/go-apps/meep-rnis/server/model_link_type.go b/go-apps/meep-rnis/server/model_link_type.go index e5819606b..cb7a1373e 100644 --- a/go-apps/meep-rnis/server/model_link_type.go +++ b/go-apps/meep-rnis/server/model_link_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go b/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go index f1063a85b..754ece716 100644 --- a/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go +++ b/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go index 93306ea7c..f5487ecb6 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go @@ -15,18 +15,19 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - // This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. + // This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to N. CarrierAggregationMeasInfo []MeasRepUeNotificationCarrierAggregationMeasInfo `json:"carrierAggregationMeasInfo,omitempty"` Ecgi *Ecgi `json:"ecgi"` @@ -38,8 +39,6 @@ type MeasRepUeNotification struct { NewRadioMeasInfo []MeasRepUeNotificationNewRadioMeasInfo `json:"newRadioMeasInfo,omitempty"` // Measurement quantities concerning the 5G NR neighbours. NewRadioMeasNeiInfo []MeasRepUeNotificationNewRadioMeasNeiInfo `json:"newRadioMeasNeiInfo,omitempty"` - // Shall be set to \"MeasRepUeNotification\". - NotificationType string `json:"notificationType"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. Rsrp int32 `json:"rsrp"` // Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. @@ -54,4 +53,6 @@ type MeasRepUeNotification struct { TimeStamp *TimeStamp `json:"timeStamp,omitempty"` Trigger *Trigger `json:"trigger"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go index 057465084..7905e380e 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go @@ -15,18 +15,19 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotificationCarrierAggregationMeasInfo struct { + // String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. CellIdNei string `json:"cellIdNei,omitempty"` - - CellIdSrv string `json:"cellIdSrv,omitempty"` + // String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. + CellIdSrv string `json:"cellIdSrv"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. RsrpNei int32 `json:"rsrpNei,omitempty"` // Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go index ce0acfc9f..b6f51a08f 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go @@ -15,24 +15,22 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotificationEutranNeighbourCellMeasInfo struct { - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` // Reference Signal Received Power as defined in ETSI TS 136 214 [i.5]. - // Server patch: 'omitempty' has been removed for this field to properly store value '0' - Rsrp int32 `json:"rsrp"` + Rsrp int32 `json:"rsrp,omitempty"` // Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. RsrpEx int32 `json:"rsrpEx,omitempty"` // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. - // Server patch: 'omitempty' has been removed for this field to properly store value '0' - Rsrq int32 `json:"rsrq"` + Rsrq int32 `json:"rsrq,omitempty"` // Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. RsrqEx int32 `json:"rsrqEx,omitempty"` // Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go index 8d0d28c18..663c8914d 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,7 +26,7 @@ package server type MeasRepUeNotificationNewRadioMeasInfo struct { NrBNCs *MeasRepUeNotificationNrBnCs `json:"nrBNCs,omitempty"` // ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR carrier frequency, as defined in ETSI TS 138.101 [i.15]. - NrCarrierFreq int32 `json:"nrCarrierFreq,omitempty"` + NrCarrierFreq int32 `json:"nrCarrierFreq"` - NrSCs *MeasRepUeNotificationNrSCs `json:"nrSCs,omitempty"` + NrSCs *MeasRepUeNotificationNrSCs `json:"nrSCs"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go index 7d10fba26..efee4b44b 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,7 +25,7 @@ package server type MeasRepUeNotificationNewRadioMeasNeiInfo struct { // 5G NR neighbour cell info. - NrNCellInfo []MeasRepUeNotificationNrNCellInfo `json:"nrNCellInfo,omitempty"` + NrNCellInfo []MeasRepUeNotificationNrNCellInfo `json:"nrNCellInfo"` // Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. NrNCellRsrp int32 `json:"nrNCellRsrp,omitempty"` // Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go index 5576f1067..b27ad60f6 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go index 268ce987e..8cd6862bf 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go @@ -15,16 +15,17 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotificationNrBnCsNrBnCellInfo struct { - NrBNCellGId string `json:"nrBNCellGId,omitempty"` + // String representing the NR Cell Identity. Encoded as a bit string (size (36)) as defined in ETSI TS 138 423 [i.17]. + NrBNCellGId string `json:"nrBNCellGId"` // Public land mobile network identities - NrBNCellPlmn []Plmn `json:"nrBNCellPlmn,omitempty"` + NrBNCellPlmn []Plmn `json:"nrBNCellPlmn"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go index 0a65811ad..1c852e086 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go @@ -15,16 +15,17 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotificationNrNCellInfo struct { - NrNCellGId string `json:"nrNCellGId,omitempty"` + // String representing the NR Cell Identity. Encoded as a bit string (size (36)) as defined in ETSI TS 138 423 [i.17]. + NrNCellGId string `json:"nrNCellGId"` // Public land mobile network identities. - NrNCellPlmn []Plmn `json:"nrNCellPlmn,omitempty"` + NrNCellPlmn []Plmn `json:"nrNCellPlmn"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go index f72fa4d8f..8fa839b6e 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go index fc68aa37d..2f6f30400 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go @@ -15,16 +15,17 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasRepUeNotificationNrSCsNrSCellInfo struct { - NrSCellGId string `json:"nrSCellGId,omitempty"` + // String representing the NR Cell Identity. Encoded as a bit string (size (36)) as defined in ETSI TS 138 423 [i.17]. + NrSCellGId string `json:"nrSCellGId"` // Public land mobile network identities. - NrSCellPlmn []Plmn `json:"nrSCellPlmn,omitempty"` + NrSCellPlmn []Plmn `json:"nrSCellPlmn"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go index 8e75f40b5..48a77aca5 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to UE measurement report notifications from Radio Network Information Service for UEs served by E-UTRA Cells. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. type MeasRepUeSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssocTri *MeasRepUeSubscriptionFilterCriteriaAssocTri `json:"filterCriteriaAssocTri"` - // Shall be set to \"MeasRepUeSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go index 091c3c2c2..971601a31 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_meas_ta_notification.go b/go-apps/meep-rnis/server/model_meas_ta_notification.go index e52b21d19..85619b894 100644 --- a/go-apps/meep-rnis/server/model_meas_ta_notification.go +++ b/go-apps/meep-rnis/server/model_meas_ta_notification.go @@ -15,23 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MeasTaNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` Ecgi *Ecgi `json:"ecgi"` - // Shall be set to \"MeasTaNotification\". - NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` // The timing advance as defined in ETSI TS 136 214 [i.5]. TimingAdvance int32 `json:"timingAdvance"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_meas_ta_subscription.go b/go-apps/meep-rnis/server/model_meas_ta_subscription.go index 0ea4f1843..994373b79 100644 --- a/go-apps/meep-rnis/server/model_meas_ta_subscription.go +++ b/go-apps/meep-rnis/server/model_meas_ta_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to UE timing advance notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type MeasTaSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc"` - // Shall be set to \"MeasTaSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_n_rcgi.go b/go-apps/meep-rnis/server/model_n_rcgi.go deleted file mode 100644 index 1c8b4ef45..000000000 --- a/go-apps/meep-rnis/server/model_n_rcgi.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Radio Network Information Service REST API - * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type NRcgi struct { - NrcellId string `json:"nrcellId"` - - Plmn *Plmn `json:"plmn"` -} diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go index bb7e6eeb1..cbb79c8ca 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go @@ -15,21 +15,20 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type NrMeasRepUeNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` // This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo is included. EutraNeighCellMeasInfo []NrMeasRepUeNotificationEutraNeighCellMeasInfo `json:"eutraNeighCellMeasInfo,omitempty"` - // Shall be set to \"NrMeasRepUeNotification\". - NotificationType string `json:"notificationType"` // This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo is included. NrNeighCellMeasInfo []NrMeasRepUeNotificationNrNeighCellMeasInfo `json:"nrNeighCellMeasInfo,omitempty"` // This parameter can be repeated to contain information of all the serving cells up to N. @@ -38,4 +37,6 @@ type NrMeasRepUeNotification struct { TimeStamp *TimeStamp `json:"timeStamp,omitempty"` TriggerNr *TriggerNr `json:"triggerNr"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go index 6f8c15c5a..8733dba4d 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go @@ -15,22 +15,20 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type NrMeasRepUeNotificationEutraNeighCellMeasInfo struct { - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` // Reference Signal Received Power as defined in ETSI TS 138 331 [i.13]. - // Server patch: 'omitempty' has been removed for this field to properly store value '0' - Rsrp int32 `json:"rsrp"` + Rsrp int32 `json:"rsrp,omitempty"` // Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. - // Server patch: 'omitempty' has been removed for this field to properly store value '0' - Rsrq int32 `json:"rsrq"` + Rsrq int32 `json:"rsrq,omitempty"` // Reference Signal plus Interference Noise Ratio as defined in ETSI TS 138 331 [i.13]. Sinr int32 `json:"sinr,omitempty"` } diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go index d6e8db0bb..7a9f9259c 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go index f51b90728..b41e681d8 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -28,7 +28,7 @@ type NrMeasRepUeNotificationNrNeighCellMeasInfo struct { MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` - Nrcgi string `json:"nrcgi,omitempty"` + Nrcgi *Nrcgi `json:"nrcgi"` RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` } diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go index 912af614c..328e2f422 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go @@ -15,15 +15,15 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -// Measurement information relating to this serving cell. +// Measurement information relating to the best neighbour of this serving cell. type NrMeasRepUeNotificationSCell struct { MeasQuantityResultsCsiRsCell *MeasQuantityResultsNr `json:"measQuantityResultsCsiRsCell,omitempty"` diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go index d2ab3ba0b..6cc6b3a16 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,7 +26,7 @@ package server type NrMeasRepUeNotificationServCellMeasInfo struct { NCell *NrMeasRepUeNotificationNCell `json:"nCell,omitempty"` - Nrcgi *NRcgi `json:"nrcgi,omitempty"` + Nrcgi *Nrcgi `json:"nrcgi"` - SCell *NrMeasRepUeNotificationSCell `json:"sCell,omitempty"` + SCell *NrMeasRepUeNotificationSCell `json:"sCell"` } diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go index e15a67680..acae6d2b3 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to 5G UE measurement report notifications from Radio Network Information Service for UEs served by NR Cells. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type NrMeasRepUeSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaNrMrs *NrMeasRepUeSubscriptionFilterCriteriaNrMrs `json:"filterCriteriaNrMrs"` - // Shall be set to \"NrMeasRepUeSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go index a9740f132..2488df845 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -30,7 +30,7 @@ type NrMeasRepUeSubscriptionFilterCriteriaNrMrs struct { // 0 to N identifiers to associate the information for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` // NR Cell Global Identier. - Nrcgi []NRcgi `json:"nrcgi,omitempty"` + Nrcgi []Nrcgi `json:"nrcgi,omitempty"` // Corresponds to a specific 5G UE Measurement Report trigger. TriggerNr []TriggerNr `json:"triggerNr,omitempty"` } diff --git a/go-apps/meep-rnis/server/model_nrcgi.go b/go-apps/meep-rnis/server/model_nrcgi.go new file mode 100644 index 000000000..f9c81cb09 --- /dev/null +++ b/go-apps/meep-rnis/server/model_nrcgi.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type Nrcgi struct { + // String representing the NR Cell Identity. Encoded as a bit string (size (36)) as defined in ETSI TS 138 423 [i.17]. + NrCellId string `json:"nrCellId"` + + Plmn *Plmn `json:"plmn"` +} diff --git a/go-apps/meep-rnis/server/model_one_of_inline_notification.go b/go-apps/meep-rnis/server/model_one_of_inline_notification.go index 2f9dab125..dd83f46b3 100644 --- a/go-apps/meep-rnis/server/model_one_of_inline_notification.go +++ b/go-apps/meep-rnis/server/model_one_of_inline_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_one_of_inline_subscription.go b/go-apps/meep-rnis/server/model_one_of_inline_subscription.go index 5945b5108..36695baf0 100644 --- a/go-apps/meep-rnis/server/model_one_of_inline_subscription.go +++ b/go-apps/meep-rnis/server/model_one_of_inline_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_operation_action_type.go b/go-apps/meep-rnis/server/model_operation_action_type.go index 205f1e2c1..87cd067ee 100644 --- a/go-apps/meep-rnis/server/model_operation_action_type.go +++ b/go-apps/meep-rnis/server/model_operation_action_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_plmn.go b/go-apps/meep-rnis/server/model_plmn.go index ed2d00b97..14732d575 100644 --- a/go-apps/meep-rnis/server/model_plmn.go +++ b/go-apps/meep-rnis/server/model_plmn.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_plmn_info.go b/go-apps/meep-rnis/server/model_plmn_info.go index 76874bb9d..c2c2d2ba6 100644 --- a/go-apps/meep-rnis/server/model_plmn_info.go +++ b/go-apps/meep-rnis/server/model_plmn_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_problem_details.go b/go-apps/meep-rnis/server/model_problem_details.go index 98299ee2b..b5f01fc96 100644 --- a/go-apps/meep-rnis/server/model_problem_details.go +++ b/go-apps/meep-rnis/server/model_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_est_notification.go b/go-apps/meep-rnis/server/model_rab_est_notification.go index 78e2c4405..a6c02ba3d 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification.go @@ -15,15 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type RabEstNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to bind the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` @@ -32,10 +33,10 @@ type RabEstNotification struct { ErabId int32 `json:"erabId"` ErabQosParameters *RabEstNotificationErabQosParameters `json:"erabQosParameters,omitempty"` - // Shall be set to \"RabEstNotification\". - NotificationType string `json:"notificationType"` TempUeId *RabEstNotificationTempUeId `json:"tempUeId,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go index 863769139..69eab1b0c 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go index 168d94d01..2efbe0a1d 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go b/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go index bec194a97..e1b2f1725 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_est_subscription.go b/go-apps/meep-rnis/server/model_rab_est_subscription.go index df404b8b9..6db1bcd75 100644 --- a/go-apps/meep-rnis/server/model_rab_est_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_est_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to RAB establishment notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type RabEstSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaQci *RabEstSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` - // Shall be set to \"RabEstSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go b/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go index d4ad526bd..cb5e5ed3a 100644 --- a/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go +++ b/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_info.go b/go-apps/meep-rnis/server/model_rab_info.go index f35b31641..ec2dace22 100644 --- a/go-apps/meep-rnis/server/model_rab_info.go +++ b/go-apps/meep-rnis/server/model_rab_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go b/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go index f72f38aab..1e886edf3 100644 --- a/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go @@ -15,16 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type RabInfoCellUserInfo struct { - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi"` // Information on UEs in the specific cell as defined below. - UeInfo []RabInfoUeInfo `json:"ueInfo,omitempty"` + UeInfo []RabInfoUeInfo `json:"ueInfo"` } diff --git a/go-apps/meep-rnis/server/model_rab_info_erab_info.go b/go-apps/meep-rnis/server/model_rab_info_erab_info.go index 50fb6084f..e00b59000 100644 --- a/go-apps/meep-rnis/server/model_rab_info_erab_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_erab_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_info_ue_info.go b/go-apps/meep-rnis/server/model_rab_info_ue_info.go index 462469466..ec16fc69a 100644 --- a/go-apps/meep-rnis/server/model_rab_info_ue_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_ue_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,5 +27,5 @@ type RabInfoUeInfo struct { // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` // Information on E-RAB as defined below. - ErabInfo []RabInfoErabInfo `json:"erabInfo,omitempty"` + ErabInfo []ErabInfo `json:"erabInfo"` } diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification.go b/go-apps/meep-rnis/server/model_rab_mod_notification.go index 6f68ded64..7c065d019 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification.go @@ -15,15 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type RabModNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to bind the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` @@ -32,8 +33,8 @@ type RabModNotification struct { ErabId int32 `json:"erabId"` ErabQosParameters *RabModNotificationErabQosParameters `json:"erabQosParameters,omitempty"` - // Shall be set to \"RabModNotification\". - NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go index 72a942c7b..fa8af3795 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go index a152b2057..b3bde04eb 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_mod_subscription.go b/go-apps/meep-rnis/server/model_rab_mod_subscription.go index 7ad9bb9b0..ed8f058a3 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_mod_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to RAB modification notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type RabModSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` - // Shall be set to \"RabModSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go b/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go index 4fb667261..f7b1ca93f 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go +++ b/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_rel_notification.go b/go-apps/meep-rnis/server/model_rab_rel_notification.go index 045e2f323..e4ae0c79e 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_notification.go +++ b/go-apps/meep-rnis/server/model_rab_rel_notification.go @@ -15,23 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type RabRelNotification struct { + NotificationType string `json:"notificationType"` // 0 to N identifiers to bind the event for a specific UE or flow as defined below. AssociateId []AssociateId `json:"associateId,omitempty"` Ecgi *Ecgi `json:"ecgi"` ErabReleaseInfo *RabRelNotificationErabReleaseInfo `json:"erabReleaseInfo"` - // Shall be set to \"RabRelNotification\". - NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go b/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go index 8a5e99618..c697ae5e8 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go +++ b/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rab_rel_subscription.go b/go-apps/meep-rnis/server/model_rab_rel_subscription.go index 43bd527d7..ca7eebd1b 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_rel_subscription.go @@ -15,22 +15,27 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to RAB release notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. type RabRelSubscription struct { + SubscriptionType string `json:"subscriptionType"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` - // Shall be set to \"RabRelSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go index 08323cf1d..61cd004a5 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go index 06cf43ab8..83b40df4b 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go index ee5e2d951..e2d2dda9c 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index.go b/go-apps/meep-rnis/server/model_results_per_ssb_index.go index 055f5fc41..bee8b0e40 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go b/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go index 2e5eb4155..1bf8c2e2e 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go b/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go index c233b6671..1a4d713e8 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_rs_index_results.go b/go-apps/meep-rnis/server/model_rs_index_results.go index 6cc84ae1d..76b69e036 100644 --- a/go-apps/meep-rnis/server/model_rs_index_results.go +++ b/go-apps/meep-rnis/server/model_rs_index_results.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info.go index dc630e79a..748284646 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go index a251d728d..215a249c8 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go index 93dd46f4e..312833c49 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,7 +26,7 @@ package server type S1BearerInfoS1BearerInfoDetailed struct { EnbInfo *S1BearerInfoEnbInfo `json:"enbInfo,omitempty"` // The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. - ErabId int32 `json:"erabId,omitempty"` + ErabId int32 `json:"erabId"` - SGwInfo *S1BearerInfoSGwInfo `json:"sGwInfo,omitempty"` + SGwInfo *S1BearerInfoSGwInfo `json:"sGwInfo"` } diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go index fffecbed0..9116a52af 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,11 +25,11 @@ package server type S1BearerInfoS1UeInfo struct { // 1 to N identifiers to associate the information for a specific UE or flow. - AssociateId []AssociateId `json:"associateId,omitempty"` + AssociateId []AssociateId `json:"associateId"` // E-UTRAN Cell Global Identifier. - Ecgi []Ecgi `json:"ecgi,omitempty"` + Ecgi []Ecgi `json:"ecgi"` // S1 bearer information as defined below. - S1BearerInfoDetailed []S1BearerInfoS1BearerInfoDetailed `json:"s1BearerInfoDetailed,omitempty"` + S1BearerInfoDetailed []S1BearerInfoS1BearerInfoDetailed `json:"s1BearerInfoDetailed"` TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` } diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go index 5142976a4..6a5b0fc85 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_s1_bearer_notification.go b/go-apps/meep-rnis/server/model_s1_bearer_notification.go index cced7bc90..cfe4a488a 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_notification.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_notification.go @@ -15,16 +15,15 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type S1BearerNotification struct { - // Shall be set to \"S1BearerNotification\". NotificationType string `json:"notificationType"` // The subscribed event that triggered this notification in S1BearerSubscription. S1Event int32 `json:"s1Event"` @@ -32,4 +31,6 @@ type S1BearerNotification struct { S1UeInfo *S1BearerNotificationS1UeInfo `json:"s1UeInfo"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go b/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go index 0694563e1..b0d525efb 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_s1_bearer_subscription.go b/go-apps/meep-rnis/server/model_s1_bearer_subscription.go index cd1ee725c..b9530adae 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_subscription.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_subscription.go @@ -15,24 +15,29 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// This type represents a subscription to S1-U bearer information notification from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type S1BearerSubscription struct { - S1BearerSubscriptionCriteria *S1BearerSubscriptionS1BearerSubscriptionCriteria `json:"S1BearerSubscriptionCriteria"` + SubscriptionType string `json:"subscriptionType"` Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - CallbackReference string `json:"callbackReference"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + + S1BearerSubscriptionCriteria *S1BearerSubscriptionS1BearerSubscriptionCriteria `json:"S1BearerSubscriptionCriteria"` // Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE. EventType []int32 `json:"eventType"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - // Shall be set to \"S1BearerSubscription\". - SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go b/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go index c69c5509a..9351e516d 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_subscription_link_list.go b/go-apps/meep-rnis/server/model_subscription_link_list.go index 5f672eca1..c58156496 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_subscription_link_list__links.go b/go-apps/meep-rnis/server/model_subscription_link_list__links.go index 73da442ca..99739227a 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list__links.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go b/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go index c2bf6e1bc..cd878d1d2 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_test_notification.go b/go-apps/meep-rnis/server/model_test_notification.go new file mode 100644 index 000000000..369426fd7 --- /dev/null +++ b/go-apps/meep-rnis/server/model_test_notification.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// This type represents a test notification from a Radio Network Information service to determine if the Websocket method is to be utilized for the RNIS to issue notifications for a subscription, as defined in clause 6.12a of ETSI GS MEC 009 [6]. +type TestNotification struct { + NotificationType string `json:"notificationType"` + + Links *CaReconfNotificationLinks `json:"_links"` +} diff --git a/go-apps/meep-rnis/server/model_time_stamp.go b/go-apps/meep-rnis/server/model_time_stamp.go index 54a0961e0..57db5315f 100644 --- a/go-apps/meep-rnis/server/model_time_stamp.go +++ b/go-apps/meep-rnis/server/model_time_stamp.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_trigger.go b/go-apps/meep-rnis/server/model_trigger.go index bdf574183..661bb9629 100644 --- a/go-apps/meep-rnis/server/model_trigger.go +++ b/go-apps/meep-rnis/server/model_trigger.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_trigger_nr.go b/go-apps/meep-rnis/server/model_trigger_nr.go index ebdf10a3f..2b392ed34 100644 --- a/go-apps/meep-rnis/server/model_trigger_nr.go +++ b/go-apps/meep-rnis/server/model_trigger_nr.go @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/model_websock_notif_config.go b/go-apps/meep-rnis/server/model_websock_notif_config.go new file mode 100644 index 000000000..089ed9f47 --- /dev/null +++ b/go-apps/meep-rnis/server/model_websock_notif_config.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// This type represents configuration for the delivery of subscription notifications over Websockets per the pattern defined in defined in clause 6.12a of ETSI GS MEC 009 [6]. +type WebsockNotifConfig struct { + // Set by RNIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` + // Set to true by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` +} -- GitLab From 28fe53b52612a912a498f58090a7d4772b07530f Mon Sep 17 00:00:00 2001 From: muhammadh Date: Wed, 1 Jun 2022 18:35:30 +0500 Subject: [PATCH 121/183] update the Copyright year in the data model files --- go-apps/meep-rnis/server/model_app_termination_notification.go | 2 +- .../server/model_app_termination_notification__links.go | 2 +- go-apps/meep-rnis/server/model_associate_id.go | 2 +- go-apps/meep-rnis/server/model_ca_reconf_notification.go | 2 +- go-apps/meep-rnis/server/model_ca_reconf_notification__links.go | 2 +- ...odel_ca_reconf_notification_carrier_aggregation_meas_info.go | 2 +- .../server/model_ca_reconf_notification_secondary_cell_add.go | 2 +- go-apps/meep-rnis/server/model_ca_reconf_subscription.go | 2 +- go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go | 2 +- .../model_ca_reconf_subscription_filter_criteria_assoc.go | 2 +- go-apps/meep-rnis/server/model_cell_change_notification.go | 2 +- .../server/model_cell_change_notification_temp_ue_id.go | 2 +- go-apps/meep-rnis/server/model_cell_change_subscription.go | 2 +- .../model_cell_change_subscription_filter_criteria_assoc_ho.go | 2 +- go-apps/meep-rnis/server/model_ecgi.go | 2 +- go-apps/meep-rnis/server/model_expiry_notification.go | 2 +- go-apps/meep-rnis/server/model_expiry_notification__links.go | 2 +- go-apps/meep-rnis/server/model_inline_notification.go | 2 +- go-apps/meep-rnis/server/model_inline_subscription.go | 2 +- go-apps/meep-rnis/server/model_l2_meas.go | 2 +- go-apps/meep-rnis/server/model_l2_meas_cell_info.go | 2 +- go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go | 2 +- go-apps/meep-rnis/server/model_link_type.go | 2 +- go-apps/meep-rnis/server/model_meas_quantity_results_nr.go | 2 +- go-apps/meep-rnis/server/model_meas_rep_ue_notification.go | 2 +- ...el_meas_rep_ue_notification_carrier_aggregation_meas_info.go | 2 +- ..._meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go | 2 +- .../model_meas_rep_ue_notification_new_radio_meas_info.go | 2 +- .../model_meas_rep_ue_notification_new_radio_meas_nei_info.go | 2 +- .../meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go | 2 +- .../model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go | 2 +- .../server/model_meas_rep_ue_notification_nr_n_cell_info.go | 2 +- .../meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go | 2 +- .../model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go | 2 +- go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go | 2 +- .../model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go | 2 +- go-apps/meep-rnis/server/model_meas_ta_notification.go | 2 +- go-apps/meep-rnis/server/model_meas_ta_subscription.go | 2 +- go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go | 2 +- ...el_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go | 2 +- .../server/model_nr_meas_rep_ue_notification_n_cell.go | 2 +- ...model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go | 2 +- .../server/model_nr_meas_rep_ue_notification_s_cell.go | 2 +- .../model_nr_meas_rep_ue_notification_serv_cell_meas_info.go | 2 +- go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go | 2 +- .../model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go | 2 +- go-apps/meep-rnis/server/model_nrcgi.go | 2 +- go-apps/meep-rnis/server/model_one_of_inline_notification.go | 2 +- go-apps/meep-rnis/server/model_one_of_inline_subscription.go | 2 +- go-apps/meep-rnis/server/model_operation_action_type.go | 2 +- go-apps/meep-rnis/server/model_plmn.go | 2 +- go-apps/meep-rnis/server/model_plmn_info.go | 2 +- go-apps/meep-rnis/server/model_problem_details.go | 2 +- go-apps/meep-rnis/server/model_rab_est_notification.go | 2 +- .../server/model_rab_est_notification_erab_qos_parameters.go | 2 +- ..._rab_est_notification_erab_qos_parameters_qos_information.go | 2 +- .../meep-rnis/server/model_rab_est_notification_temp_ue_id.go | 2 +- go-apps/meep-rnis/server/model_rab_est_subscription.go | 2 +- .../server/model_rab_est_subscription_filter_criteria_qci.go | 2 +- go-apps/meep-rnis/server/model_rab_info.go | 2 +- go-apps/meep-rnis/server/model_rab_info_cell_user_info.go | 2 +- go-apps/meep-rnis/server/model_rab_info_erab_info.go | 2 +- go-apps/meep-rnis/server/model_rab_info_ue_info.go | 2 +- go-apps/meep-rnis/server/model_rab_mod_notification.go | 2 +- .../server/model_rab_mod_notification_erab_qos_parameters.go | 2 +- ..._rab_mod_notification_erab_qos_parameters_qos_information.go | 2 +- go-apps/meep-rnis/server/model_rab_mod_subscription.go | 2 +- .../server/model_rab_mod_subscription_filter_criteria_qci.go | 2 +- go-apps/meep-rnis/server/model_rab_rel_notification.go | 2 +- .../server/model_rab_rel_notification_erab_release_info.go | 2 +- go-apps/meep-rnis/server/model_rab_rel_subscription.go | 2 +- go-apps/meep-rnis/server/model_results_per_csi_rs_index.go | 2 +- go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go | 2 +- ...el_results_per_csi_rs_index_list_results_per_csi_rs_index.go | 2 +- go-apps/meep-rnis/server/model_results_per_ssb_index.go | 2 +- go-apps/meep-rnis/server/model_results_per_ssb_index_list.go | 2 +- .../model_results_per_ssb_index_list_results_per_ssb_index.go | 2 +- go-apps/meep-rnis/server/model_rs_index_results.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_info.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go | 2 +- .../server/model_s1_bearer_info_s1_bearer_info_detailed.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_notification.go | 2 +- .../meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go | 2 +- go-apps/meep-rnis/server/model_s1_bearer_subscription.go | 2 +- ...el_s1_bearer_subscription_s1_bearer_subscription_criteria.go | 2 +- go-apps/meep-rnis/server/model_subscription_link_list.go | 2 +- go-apps/meep-rnis/server/model_subscription_link_list__links.go | 2 +- .../server/model_subscription_link_list__links_subscription.go | 2 +- go-apps/meep-rnis/server/model_test_notification.go | 2 +- go-apps/meep-rnis/server/model_time_stamp.go | 2 +- go-apps/meep-rnis/server/model_trigger.go | 2 +- go-apps/meep-rnis/server/model_trigger_nr.go | 2 +- go-apps/meep-rnis/server/model_websock_notif_config.go | 2 +- 95 files changed, 95 insertions(+), 95 deletions(-) diff --git a/go-apps/meep-rnis/server/model_app_termination_notification.go b/go-apps/meep-rnis/server/model_app_termination_notification.go index ad44e2847..f5e3bced5 100644 --- a/go-apps/meep-rnis/server/model_app_termination_notification.go +++ b/go-apps/meep-rnis/server/model_app_termination_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_app_termination_notification__links.go b/go-apps/meep-rnis/server/model_app_termination_notification__links.go index 05ccc1b2f..794ac7628 100644 --- a/go-apps/meep-rnis/server/model_app_termination_notification__links.go +++ b/go-apps/meep-rnis/server/model_app_termination_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_associate_id.go b/go-apps/meep-rnis/server/model_associate_id.go index 03cd3d9b2..ce3340462 100644 --- a/go-apps/meep-rnis/server/model_associate_id.go +++ b/go-apps/meep-rnis/server/model_associate_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification.go b/go-apps/meep-rnis/server/model_ca_reconf_notification.go index 13deefd80..55f98d009 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go b/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go index afbaa39bc..6474853ee 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go b/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go index c0dc83e80..0b1c2d646 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification_carrier_aggregation_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go b/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go index 228c5194b..2710409f1 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_notification_secondary_cell_add.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription.go index dcf6f2dcc..05c75464c 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go index c763ae818..58a5cea83 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go b/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go index c2e49f022..fc110fb47 100644 --- a/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go +++ b/go-apps/meep-rnis/server/model_ca_reconf_subscription_filter_criteria_assoc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_cell_change_notification.go b/go-apps/meep-rnis/server/model_cell_change_notification.go index cc5c6360b..77b60fd57 100644 --- a/go-apps/meep-rnis/server/model_cell_change_notification.go +++ b/go-apps/meep-rnis/server/model_cell_change_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go b/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go index 77c42043d..44be9fa3a 100644 --- a/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go +++ b/go-apps/meep-rnis/server/model_cell_change_notification_temp_ue_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_cell_change_subscription.go b/go-apps/meep-rnis/server/model_cell_change_subscription.go index 8b02a44ef..2ffd184bb 100644 --- a/go-apps/meep-rnis/server/model_cell_change_subscription.go +++ b/go-apps/meep-rnis/server/model_cell_change_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go b/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go index 484f4aabd..5bba03db3 100644 --- a/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go +++ b/go-apps/meep-rnis/server/model_cell_change_subscription_filter_criteria_assoc_ho.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_ecgi.go b/go-apps/meep-rnis/server/model_ecgi.go index e87ff9d39..705b32570 100644 --- a/go-apps/meep-rnis/server/model_ecgi.go +++ b/go-apps/meep-rnis/server/model_ecgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_expiry_notification.go b/go-apps/meep-rnis/server/model_expiry_notification.go index fabdecc8d..fd9f5d953 100644 --- a/go-apps/meep-rnis/server/model_expiry_notification.go +++ b/go-apps/meep-rnis/server/model_expiry_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_expiry_notification__links.go b/go-apps/meep-rnis/server/model_expiry_notification__links.go index 7b8a5be5e..1b9704bff 100644 --- a/go-apps/meep-rnis/server/model_expiry_notification__links.go +++ b/go-apps/meep-rnis/server/model_expiry_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_inline_notification.go b/go-apps/meep-rnis/server/model_inline_notification.go index e53f3ef70..910ba766f 100644 --- a/go-apps/meep-rnis/server/model_inline_notification.go +++ b/go-apps/meep-rnis/server/model_inline_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_inline_subscription.go b/go-apps/meep-rnis/server/model_inline_subscription.go index 45b867c4e..1ef7507ea 100644 --- a/go-apps/meep-rnis/server/model_inline_subscription.go +++ b/go-apps/meep-rnis/server/model_inline_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_l2_meas.go b/go-apps/meep-rnis/server/model_l2_meas.go index 0825f82b8..e89ff5c62 100644 --- a/go-apps/meep-rnis/server/model_l2_meas.go +++ b/go-apps/meep-rnis/server/model_l2_meas.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_l2_meas_cell_info.go b/go-apps/meep-rnis/server/model_l2_meas_cell_info.go index c4996893c..449a9fefa 100644 --- a/go-apps/meep-rnis/server/model_l2_meas_cell_info.go +++ b/go-apps/meep-rnis/server/model_l2_meas_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go b/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go index 15db1d282..ace285c62 100644 --- a/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go +++ b/go-apps/meep-rnis/server/model_l2_meas_cell_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_link_type.go b/go-apps/meep-rnis/server/model_link_type.go index cb7a1373e..c3d09f706 100644 --- a/go-apps/meep-rnis/server/model_link_type.go +++ b/go-apps/meep-rnis/server/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go b/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go index 754ece716..620791e1e 100644 --- a/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go +++ b/go-apps/meep-rnis/server/model_meas_quantity_results_nr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go index f5487ecb6..fda8d12e5 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go index 7905e380e..ea3185afb 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go index b6f51a08f..bc6398369 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go index 663c8914d..d6476d3c5 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go index efee4b44b..77c2f834f 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_new_radio_meas_nei_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go index b27ad60f6..b1f93e5f5 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go index 8cd6862bf..447333ae1 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go index 1c852e086..e8001f329 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_n_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go index 8fa839b6e..d5c724f91 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go index 2f6f30400..6439ed592 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go index 48a77aca5..0b449d304 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go index 971601a31..ff19936c2 100644 --- a/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go +++ b/go-apps/meep-rnis/server/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_ta_notification.go b/go-apps/meep-rnis/server/model_meas_ta_notification.go index 85619b894..e49c193cc 100644 --- a/go-apps/meep-rnis/server/model_meas_ta_notification.go +++ b/go-apps/meep-rnis/server/model_meas_ta_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_meas_ta_subscription.go b/go-apps/meep-rnis/server/model_meas_ta_subscription.go index 994373b79..bb62834a0 100644 --- a/go-apps/meep-rnis/server/model_meas_ta_subscription.go +++ b/go-apps/meep-rnis/server/model_meas_ta_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go index cbb79c8ca..ef3542b40 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go index 8733dba4d..06aae3961 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go index 7a9f9259c..6507ad095 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_n_cell.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go index b41e681d8..cc268d8f9 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go index 328e2f422..28297240d 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_s_cell.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go index 6cc6b3a16..f16a02c34 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go index acae6d2b3..9f4ce1d5d 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go index 2488df845..0ea23dd03 100644 --- a/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go +++ b/go-apps/meep-rnis/server/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_nrcgi.go b/go-apps/meep-rnis/server/model_nrcgi.go index f9c81cb09..ba55997a8 100644 --- a/go-apps/meep-rnis/server/model_nrcgi.go +++ b/go-apps/meep-rnis/server/model_nrcgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_one_of_inline_notification.go b/go-apps/meep-rnis/server/model_one_of_inline_notification.go index dd83f46b3..4147b11f0 100644 --- a/go-apps/meep-rnis/server/model_one_of_inline_notification.go +++ b/go-apps/meep-rnis/server/model_one_of_inline_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_one_of_inline_subscription.go b/go-apps/meep-rnis/server/model_one_of_inline_subscription.go index 36695baf0..f6709738f 100644 --- a/go-apps/meep-rnis/server/model_one_of_inline_subscription.go +++ b/go-apps/meep-rnis/server/model_one_of_inline_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_operation_action_type.go b/go-apps/meep-rnis/server/model_operation_action_type.go index 87cd067ee..190f0a2a1 100644 --- a/go-apps/meep-rnis/server/model_operation_action_type.go +++ b/go-apps/meep-rnis/server/model_operation_action_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_plmn.go b/go-apps/meep-rnis/server/model_plmn.go index 14732d575..84a31cebc 100644 --- a/go-apps/meep-rnis/server/model_plmn.go +++ b/go-apps/meep-rnis/server/model_plmn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_plmn_info.go b/go-apps/meep-rnis/server/model_plmn_info.go index c2c2d2ba6..901dd12fc 100644 --- a/go-apps/meep-rnis/server/model_plmn_info.go +++ b/go-apps/meep-rnis/server/model_plmn_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_problem_details.go b/go-apps/meep-rnis/server/model_problem_details.go index b5f01fc96..994df5fee 100644 --- a/go-apps/meep-rnis/server/model_problem_details.go +++ b/go-apps/meep-rnis/server/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_notification.go b/go-apps/meep-rnis/server/model_rab_est_notification.go index a6c02ba3d..c07e1516f 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go index 69eab1b0c..c4c278d90 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go index 2efbe0a1d..dc4160adf 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_erab_qos_parameters_qos_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go b/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go index e1b2f1725..7019b58f5 100644 --- a/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go +++ b/go-apps/meep-rnis/server/model_rab_est_notification_temp_ue_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_subscription.go b/go-apps/meep-rnis/server/model_rab_est_subscription.go index 6db1bcd75..b0986b99d 100644 --- a/go-apps/meep-rnis/server/model_rab_est_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_est_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go b/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go index cb5e5ed3a..e57916341 100644 --- a/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go +++ b/go-apps/meep-rnis/server/model_rab_est_subscription_filter_criteria_qci.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_info.go b/go-apps/meep-rnis/server/model_rab_info.go index ec2dace22..aaea2a255 100644 --- a/go-apps/meep-rnis/server/model_rab_info.go +++ b/go-apps/meep-rnis/server/model_rab_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go b/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go index 1e886edf3..ac99be7cf 100644 --- a/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_cell_user_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_info_erab_info.go b/go-apps/meep-rnis/server/model_rab_info_erab_info.go index e00b59000..0eb83e7d5 100644 --- a/go-apps/meep-rnis/server/model_rab_info_erab_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_erab_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_info_ue_info.go b/go-apps/meep-rnis/server/model_rab_info_ue_info.go index ec16fc69a..d3aab1163 100644 --- a/go-apps/meep-rnis/server/model_rab_info_ue_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification.go b/go-apps/meep-rnis/server/model_rab_mod_notification.go index 7c065d019..314a407a9 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go index fa8af3795..251ef1269 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go index b3bde04eb..633fbcb13 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go +++ b/go-apps/meep-rnis/server/model_rab_mod_notification_erab_qos_parameters_qos_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_mod_subscription.go b/go-apps/meep-rnis/server/model_rab_mod_subscription.go index ed8f058a3..1f6c2dc64 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_mod_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go b/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go index f7b1ca93f..3f3a64c49 100644 --- a/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go +++ b/go-apps/meep-rnis/server/model_rab_mod_subscription_filter_criteria_qci.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_rel_notification.go b/go-apps/meep-rnis/server/model_rab_rel_notification.go index e4ae0c79e..558ea2188 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_notification.go +++ b/go-apps/meep-rnis/server/model_rab_rel_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go b/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go index c697ae5e8..cdbabc5e8 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go +++ b/go-apps/meep-rnis/server/model_rab_rel_notification_erab_release_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rab_rel_subscription.go b/go-apps/meep-rnis/server/model_rab_rel_subscription.go index ca7eebd1b..64761cab9 100644 --- a/go-apps/meep-rnis/server/model_rab_rel_subscription.go +++ b/go-apps/meep-rnis/server/model_rab_rel_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go index 61cd004a5..563944080 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go index 83b40df4b..76f2502bd 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go index e2d2dda9c..9061ecc12 100644 --- a/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go +++ b/go-apps/meep-rnis/server/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index.go b/go-apps/meep-rnis/server/model_results_per_ssb_index.go index bee8b0e40..70e816d4c 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go b/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go index 1bf8c2e2e..3074821cb 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go b/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go index 1a4d713e8..1dcc8d4ea 100644 --- a/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go +++ b/go-apps/meep-rnis/server/model_results_per_ssb_index_list_results_per_ssb_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_rs_index_results.go b/go-apps/meep-rnis/server/model_rs_index_results.go index 76b69e036..622b4b41b 100644 --- a/go-apps/meep-rnis/server/model_rs_index_results.go +++ b/go-apps/meep-rnis/server/model_rs_index_results.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info.go index 748284646..fc14b146b 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go index 215a249c8..04513f0c8 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_enb_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go index 312833c49..7683a1ac1 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_bearer_info_detailed.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go index 9116a52af..2f7c6ecb7 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s1_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go b/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go index 6a5b0fc85..3ba349d91 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_info_s_gw_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_notification.go b/go-apps/meep-rnis/server/model_s1_bearer_notification.go index cfe4a488a..84fa80aef 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_notification.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go b/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go index b0d525efb..321c8d828 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_notification_s1_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_subscription.go b/go-apps/meep-rnis/server/model_s1_bearer_subscription.go index b9530adae..d4bdd6d91 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_subscription.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go b/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go index 9351e516d..865d9016d 100644 --- a/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go +++ b/go-apps/meep-rnis/server/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_subscription_link_list.go b/go-apps/meep-rnis/server/model_subscription_link_list.go index c58156496..09db6d50c 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_subscription_link_list__links.go b/go-apps/meep-rnis/server/model_subscription_link_list__links.go index 99739227a..9a50efaa4 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list__links.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go b/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go index cd878d1d2..af4f9d96f 100644 --- a/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go +++ b/go-apps/meep-rnis/server/model_subscription_link_list__links_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_test_notification.go b/go-apps/meep-rnis/server/model_test_notification.go index 369426fd7..dd9b678da 100644 --- a/go-apps/meep-rnis/server/model_test_notification.go +++ b/go-apps/meep-rnis/server/model_test_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_time_stamp.go b/go-apps/meep-rnis/server/model_time_stamp.go index 57db5315f..d11594865 100644 --- a/go-apps/meep-rnis/server/model_time_stamp.go +++ b/go-apps/meep-rnis/server/model_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_trigger.go b/go-apps/meep-rnis/server/model_trigger.go index 661bb9629..e3dd9bf3f 100644 --- a/go-apps/meep-rnis/server/model_trigger.go +++ b/go-apps/meep-rnis/server/model_trigger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_trigger_nr.go b/go-apps/meep-rnis/server/model_trigger_nr.go index 2b392ed34..6ee39e965 100644 --- a/go-apps/meep-rnis/server/model_trigger_nr.go +++ b/go-apps/meep-rnis/server/model_trigger_nr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/model_websock_notif_config.go b/go-apps/meep-rnis/server/model_websock_notif_config.go index 089ed9f47..481001c1f 100644 --- a/go-apps/meep-rnis/server/model_websock_notif_config.go +++ b/go-apps/meep-rnis/server/model_websock_notif_config.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. -- GitLab From 9f5ba368c0c20c510af701cc6443253019898006 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 2 Jun 2022 09:42:08 +0500 Subject: [PATCH 122/183] update data models --- go-apps/meep-loc-serv/api/swagger.yaml | 35 +++++++++++--------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/go-apps/meep-loc-serv/api/swagger.yaml b/go-apps/meep-loc-serv/api/swagger.yaml index 5d0c35544..a24c3b454 100644 --- a/go-apps/meep-loc-serv/api/swagger.yaml +++ b/go-apps/meep-loc-serv/api/swagger.yaml @@ -2158,17 +2158,17 @@ components: LocationInfo: properties: accuracy: - description: Horizontal accuracy / (semi-major) uncertainty of location provided in meters, as defined in [14]. Present only if "shape" equals 4, 5 or 6 + description: Horizontal accuracy / (semi-major) uncertainty of location provided in meters, as defined in ETSI TS 123 032 [14]. Present only if "shape" equals 4, 5 or 6 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt accuracyAltitude: - description: Altitude accuracy / uncertainty of location provided in meters, as defined in [14]. Present only if "shape" equals 3 or 4 + description: Altitude accuracy / uncertainty of location provided in meters, as defined in ETSI TS 123 032 [14]. Present only if "shape" equals 3 or 4 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt accuracySemiMinor: - description: Horizontal accuracy / (semi-major) uncertainty of location provided in meters, as defined in [14]. Present only if "shape" equals 4, 5 or 6 + description: Horizontal accuracy / (semi-major) uncertainty of location provided in meters, as defined in ETSI TS 123 032 [14]. Present only if "shape" equals 4, 5 or 6 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt @@ -2179,7 +2179,7 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Float confidence: - description: Confidence by which the position of a target entity is known to be within the shape description, expressed as a percentage and defined in [14]. Present only if "shape" equals 1, 4 or 6 + description: Confidence by which the position of a target entity is known to be within the shape description, expressed as a percentage and defined in ETSI TS 123 032 [14]. Present only if "shape" equals 1, 4 or 6 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt @@ -2217,12 +2217,12 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt orientationMajorAxis: - description: "Angle of orientation of the major axis, expressed in the range 0\xB0 to 180\xB0, as defined in [14]. Present only if \"shape\" equals 4 or 6" + description: "Angle of orientation of the major axis, expressed in the range 0\xB0 to 180\xB0, as defined in ETSI TS 123 032 [14]. Present only if \"shape\" equals 4 or 6" type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt shape: - description: 'Shape information, as detailed in [14], associated with the reported location coordinate:

1 = ELLIPSOID_ARC

2 = ELLIPSOID_POINT

3 = ELLIPSOID_POINT_ALTITUDE

4 = ELLIPSOID_POINT_ALTITUDE_UNCERT_ELLIPSOID

5 = ELLIPSOID_POINT_UNCERT_CIRCLE

6 = ELLIPSOID_POINT_UNCERT_ELLIPSE

7 = POLYGON' + description: 'Shape information, as detailed in ETSI TS 123 032 [14], associated with the reported location coordinate:

1 = ELLIPSOID_ARC

2 = ELLIPSOID_POINT

3 = ELLIPSOID_POINT_ALTITUDE

4 = ELLIPSOID_POINT_ALTITUDE_UNCERT_ELLIPSOID

5 = ELLIPSOID_POINT_UNCERT_CIRCLE

6 = ELLIPSOID_POINT_UNCERT_ELLIPSE

7 = POLYGON' type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum_inlined @@ -2234,35 +2234,35 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt velocity: - description: "Structure with attributes relating to the target entity\u2019s velocity, as defined in [14]." + description: "Structure with attributes relating to the target entity\u2019s velocity, as defined in ETSI TS 123 032 [14]." properties: bearing: - description: "Bearing, expressed in the range 0\xB0 to 360\xB0, as defined in [14]." + description: "Bearing, expressed in the range 0\xB0 to 360\xB0, as defined in ETSI TS 123 032 [14]." type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: UnsignedInt horizontalSpeed: - description: Horizontal speed, expressed in km/h and defined in [14]. + description: Horizontal speed, expressed in km/h and defined in ETSI TS 123 032 [14]. type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: UnsignedInt uncertainty: - description: Horizontal uncertainty, as defined in [14]. Present only if "velocityType" equals 3 or 4 + description: Horizontal uncertainty, as defined in ETSI TS 123 032 [14]. Present only if "velocityType" equals 3 or 4 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt velocityType: - description: 'Velocity information, as detailed in [14], associated with the reported location coordinate:

1 = HORIZONTAL

2 = HORIZONTAL_VERTICAL

3 = HORIZONTAL_UNCERT

4 = HORIZONTAL_VERTICAL_UNCERT' + description: 'Velocity information, as detailed in ETSI TS 123 032 [14], associated with the reported location coordinate:

1 = HORIZONTAL

2 = HORIZONTAL_VERTICAL

3 = HORIZONTAL_UNCERT

4 = HORIZONTAL_VERTICAL_UNCERT' type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum_inlined verticalSpeed: - description: Vertical speed, expressed in km/h and defined in [14]. Present only if "velocityType" equals 2 or 4 + description: Vertical speed, expressed in km/h and defined in ETSI TS 123 032 [14]. Present only if "velocityType" equals 2 or 4 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Int verticalUncertainty: - description: Vertical uncertainty, as defined in [14]. Present only if "velocityType" equals 4 + description: Vertical uncertainty, as defined in ETSI TS 123 032 [14]. Present only if "velocityType" equals 4 type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt @@ -2537,13 +2537,6 @@ components: - address - locationRetrievalStatus type: object - TerminalLocationList: - description: Collection of the terminal locations. - items: - $ref: '#/components/schemas/TerminalLocation' - type: array - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: TerminalLocation TimeStamp: properties: nanoSeconds: @@ -2600,7 +2593,7 @@ components: description: Self-referring URL, see note 1. type: string x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String + x-etsi-mec-origin-type: AnyURI timestamp: $ref: '#/components/schemas/TimeStamp' zoneId: -- GitLab From bfd59051f53134f8d7e722e9d6f4bc3418d07ff1 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 2 Jun 2022 12:29:27 +0500 Subject: [PATCH 123/183] update meep-loc-serv-client according to MEC013 v2.2.1 --- go-packages/meep-loc-serv-client/README.md | 4 +- .../meep-loc-serv-client/api/swagger.yaml | 38 +++++++++---------- .../meep-loc-serv-client/api_location.go | 4 +- go-packages/meep-loc-serv-client/client.go | 6 +-- .../meep-loc-serv-client/configuration.go | 4 +- .../model_access_point_info.go | 4 +- .../model_access_point_list.go | 4 +- .../model_app_termination_notification.go | 4 +- ...del_app_termination_notification__links.go | 4 +- .../model_callback_reference.go | 4 +- .../model_circle_notification_subscription.go | 4 +- .../model_connection_type.go | 4 +- .../model_distance_criteria.go | 4 +- ...odel_distance_notification_subscription.go | 4 +- .../model_entering_leaving_criteria.go | 4 +- .../model_inline_access_point_info.go | 4 +- .../model_inline_access_point_list.go | 4 +- ...inline_circle_notification_subscription.go | 4 +- ...line_distance_notification_subscription.go | 4 +- ...l_inline_notification_subscription_list.go | 4 +- ...line_periodic_notification_subscription.go | 4 +- .../model_inline_problem_details.go | 4 +- .../model_inline_problem_details_required.go | 4 +- .../model_inline_subscription_notification.go | 4 +- .../model_inline_terminal_distance.go | 4 +- .../model_inline_user_list.go | 4 +- ...model_inline_user_tracking_subscription.go | 4 +- ...odel_inline_zonal_presence_notification.go | 4 +- ...model_inline_zonal_traffic_subscription.go | 4 +- .../model_inline_zone_info.go | 4 +- .../model_inline_zone_list.go | 4 +- .../model_inline_zone_status_notification.go | 4 +- .../model_inline_zone_status_subscription.go | 4 +- .../meep-loc-serv-client/model_link.go | 4 +- .../meep-loc-serv-client/model_link_type.go | 4 +- .../model_location_info.go | 4 +- .../model_location_info_velocity.go | 4 +- .../model_notification_format.go | 4 +- .../model_notification_subscription_list.go | 4 +- .../model_operation_action_type.go | 4 +- .../model_operation_status.go | 4 +- ...odel_periodic_notification_subscription.go | 4 +- .../model_problem_details.go | 4 +- .../model_retrieval_status.go | 4 +- .../model_service_error.go | 4 +- ..._subscription_cancellation_notification.go | 4 +- .../model_subscription_notification.go | 4 +- .../model_terminal_distance.go | 4 +- .../model_terminal_location.go | 4 +- .../meep-loc-serv-client/model_time_stamp.go | 4 +- .../model_user_event_type.go | 4 +- .../meep-loc-serv-client/model_user_info.go | 4 +- .../meep-loc-serv-client/model_user_list.go | 4 +- .../model_user_tracking_subscription.go | 4 +- .../model_zonal_presence_notification.go | 4 +- .../model_zonal_traffic_subscription.go | 4 +- .../meep-loc-serv-client/model_zone_info.go | 4 +- .../meep-loc-serv-client/model_zone_list.go | 4 +- .../model_zone_status_notification.go | 4 +- .../model_zone_status_subscription.go | 4 +- go-packages/meep-loc-serv-client/response.go | 4 +- 61 files changed, 140 insertions(+), 140 deletions(-) diff --git a/go-packages/meep-loc-serv-client/README.md b/go-packages/meep-loc-serv-client/README.md index 7d78e5231..6da358b7b 100644 --- a/go-packages/meep-loc-serv-client/README.md +++ b/go-packages/meep-loc-serv-client/README.md @@ -1,11 +1,11 @@ # Go API client for client -Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). +Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2.1.1 +- API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen diff --git a/go-packages/meep-loc-serv-client/api/swagger.yaml b/go-packages/meep-loc-serv-client/api/swagger.yaml index 9bd2cd1ec..6f533a667 100644 --- a/go-packages/meep-loc-serv-client/api/swagger.yaml +++ b/go-packages/meep-loc-serv-client/api/swagger.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: AdvantEDGE Location Service REST API description: "Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013\ - \ Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)\ + \ Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)\ \

The API is based on the Open Mobile Alliance's specification RESTful Network\ \ API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ \

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)\ @@ -15,10 +15,10 @@ info: license: name: Apache 2.0 url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.1.1 + version: 2.2.1 externalDocs: - description: ETSI MEC013 V2.1.1 Location API - url: http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf + description: ETSI MEC013 V2.2.1 Location API + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf servers: - url: https://localhost/sandboxname/location/v2 tags: @@ -3439,20 +3439,20 @@ components: accuracy: type: integer description: "Horizontal accuracy / (semi-major) uncertainty of location\ - \ provided in meters, as defined in [14]. Present only if \"shape\" equals\ + \ provided in meters, as defined in ETSI TS 123 032 [14]. Present only if \"shape\" equals\ \ 4, 5 or 6" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt accuracyAltitude: type: integer description: "Altitude accuracy / uncertainty of location provided in meters,\ - \ as defined in [14]. Present only if \"shape\" equals 3 or 4" + \ as defined in ETSI TS 123 032 [14]. Present only if \"shape\" equals 3 or 4" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt accuracySemiMinor: type: integer description: "Horizontal accuracy / (semi-major) uncertainty of location\ - \ provided in meters, as defined in [14]. Present only if \"shape\" equals\ + \ provided in meters, as defined in ETSI TS 123 032 [14]. Present only if \"shape\" equals\ \ 4, 5 or 6" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt @@ -3466,7 +3466,7 @@ components: type: integer description: "Confidence by which the position of a target entity is known\ \ to be within the shape description, expressed as a percentage and defined\ - \ in [14]. Present only if \"shape\" equals 1, 4 or 6" + \ in ETSI TS 123 032 [14]. Present only if \"shape\" equals 1, 4 or 6" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt includedAngle: @@ -3507,13 +3507,13 @@ components: orientationMajorAxis: type: integer description: "Angle of orientation of the major axis, expressed in the range\ - \ 0° to 180°, as defined in [14]. Present only if \"shape\" equals 4 or\ + \ 0° to 180°, as defined in ETSI TS 123 032 [14]. Present only if \"shape\" equals 4 or\ \ 6" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt shape: type: integer - description: "Shape information, as detailed in [14], associated with the\ + description: "Shape information, as detailed in ETSI TS 123 032 [14], associated with the\ \ reported location coordinate:

1 = ELLIPSOID_ARC

2 = ELLIPSOID_POINT\ \

3 = ELLIPSOID_POINT_ALTITUDE

4 = ELLIPSOID_POINT_ALTITUDE_UNCERT_ELLIPSOID\ \

5 = ELLIPSOID_POINT_UNCERT_CIRCLE

6 = ELLIPSOID_POINT_UNCERT_ELLIPSE\ @@ -4140,7 +4140,7 @@ components: type: string description: "Self-referring URL, see note 1." x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String + x-etsi-mec-origin-type: AnyURI timestamp: $ref: '#/components/schemas/TimeStamp' zoneId: @@ -5253,41 +5253,41 @@ components: bearing: type: integer description: "Bearing, expressed in the range 0° to 360°, as defined in\ - \ [14]." + \ ETSI TS 123 032 [14]." x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: UnsignedInt horizontalSpeed: type: integer - description: "Horizontal speed, expressed in km/h and defined in [14]." + description: "Horizontal speed, expressed in km/h and defined in ETSI TS 123 032 [14]." x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: UnsignedInt uncertainty: type: integer - description: "Horizontal uncertainty, as defined in [14]. Present only if\ + description: "Horizontal uncertainty, as defined in ETSI TS 123 032 [14]. Present only if\ \ \"velocityType\" equals 3 or 4" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt velocityType: type: integer - description: "Velocity information, as detailed in [14], associated with\ + description: "Velocity information, as detailed in ETSI TS 123 032 [14], associated with\ \ the reported location coordinate:

1 = HORIZONTAL

2 = HORIZONTAL_VERTICAL\ \

3 = HORIZONTAL_UNCERT

4 = HORIZONTAL_VERTICAL_UNCERT" x-etsi-mec-cardinality: "1" x-etsi-mec-origin-type: Enum_inlined verticalSpeed: type: integer - description: "Vertical speed, expressed in km/h and defined in [14]. Present\ + description: "Vertical speed, expressed in km/h and defined in ETSI TS 123 032 [14]. Present\ \ only if \"velocityType\" equals 2 or 4" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Int verticalUncertainty: type: integer - description: "Vertical uncertainty, as defined in [14]. Present only if\ + description: "Vertical uncertainty, as defined in ETSI TS 123 032 [14]. Present only if\ \ \"velocityType\" equals 4" x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: UnsignedInt - description: "Structure with attributes relating to the target entity’s velocity,\ - \ as defined in [14]." + description: "Structure with attributes relating to the target entity\u2019s velocity,\ + \ as defined in ETSI TS 123 032 [14]." example: verticalUncertainty: 4 horizontalSpeed: 1 diff --git a/go-packages/meep-loc-serv-client/api_location.go b/go-packages/meep-loc-serv-client/api_location.go index ad584dfcc..a9096b2d7 100644 --- a/go-packages/meep-loc-serv-client/api_location.go +++ b/go-packages/meep-loc-serv-client/api_location.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/client.go b/go-packages/meep-loc-serv-client/client.go index 66cd4f796..54924b4d9 100644 --- a/go-packages/meep-loc-serv-client/client.go +++ b/go-packages/meep-loc-serv-client/client.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -52,7 +52,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the AdvantEDGE Location Service REST API API v2.1.1 +// APIClient manages communication with the AdvantEDGE Location Service REST API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/go-packages/meep-loc-serv-client/configuration.go b/go-packages/meep-loc-serv-client/configuration.go index 82045dbe4..07a01ee50 100644 --- a/go-packages/meep-loc-serv-client/configuration.go +++ b/go-packages/meep-loc-serv-client/configuration.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_access_point_info.go b/go-packages/meep-loc-serv-client/model_access_point_info.go index 2b4665dbb..335a30997 100644 --- a/go-packages/meep-loc-serv-client/model_access_point_info.go +++ b/go-packages/meep-loc-serv-client/model_access_point_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_access_point_list.go b/go-packages/meep-loc-serv-client/model_access_point_list.go index 2406cbde5..3998853e0 100644 --- a/go-packages/meep-loc-serv-client/model_access_point_list.go +++ b/go-packages/meep-loc-serv-client/model_access_point_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_app_termination_notification.go b/go-packages/meep-loc-serv-client/model_app_termination_notification.go index 79e8bb8b4..22314a0dd 100644 --- a/go-packages/meep-loc-serv-client/model_app_termination_notification.go +++ b/go-packages/meep-loc-serv-client/model_app_termination_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_app_termination_notification__links.go b/go-packages/meep-loc-serv-client/model_app_termination_notification__links.go index 774c60401..48db46220 100644 --- a/go-packages/meep-loc-serv-client/model_app_termination_notification__links.go +++ b/go-packages/meep-loc-serv-client/model_app_termination_notification__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_callback_reference.go b/go-packages/meep-loc-serv-client/model_callback_reference.go index c42fa4e5f..fbdfc35f4 100644 --- a/go-packages/meep-loc-serv-client/model_callback_reference.go +++ b/go-packages/meep-loc-serv-client/model_callback_reference.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_circle_notification_subscription.go b/go-packages/meep-loc-serv-client/model_circle_notification_subscription.go index 2fcc97073..655bc0ab1 100644 --- a/go-packages/meep-loc-serv-client/model_circle_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_circle_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_connection_type.go b/go-packages/meep-loc-serv-client/model_connection_type.go index 67d1bd207..0859d387a 100644 --- a/go-packages/meep-loc-serv-client/model_connection_type.go +++ b/go-packages/meep-loc-serv-client/model_connection_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_distance_criteria.go b/go-packages/meep-loc-serv-client/model_distance_criteria.go index 44f4d4448..6a49b1559 100644 --- a/go-packages/meep-loc-serv-client/model_distance_criteria.go +++ b/go-packages/meep-loc-serv-client/model_distance_criteria.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_distance_notification_subscription.go b/go-packages/meep-loc-serv-client/model_distance_notification_subscription.go index 770a00406..fa69782da 100644 --- a/go-packages/meep-loc-serv-client/model_distance_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_distance_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_entering_leaving_criteria.go b/go-packages/meep-loc-serv-client/model_entering_leaving_criteria.go index 5cb505300..3b24ae293 100644 --- a/go-packages/meep-loc-serv-client/model_entering_leaving_criteria.go +++ b/go-packages/meep-loc-serv-client/model_entering_leaving_criteria.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_access_point_info.go b/go-packages/meep-loc-serv-client/model_inline_access_point_info.go index d0dc714ea..d800cc2bd 100644 --- a/go-packages/meep-loc-serv-client/model_inline_access_point_info.go +++ b/go-packages/meep-loc-serv-client/model_inline_access_point_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_access_point_list.go b/go-packages/meep-loc-serv-client/model_inline_access_point_list.go index bf7464c7b..804d03370 100644 --- a/go-packages/meep-loc-serv-client/model_inline_access_point_list.go +++ b/go-packages/meep-loc-serv-client/model_inline_access_point_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_circle_notification_subscription.go b/go-packages/meep-loc-serv-client/model_inline_circle_notification_subscription.go index a9458e37a..416f2c67e 100644 --- a/go-packages/meep-loc-serv-client/model_inline_circle_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_circle_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_distance_notification_subscription.go b/go-packages/meep-loc-serv-client/model_inline_distance_notification_subscription.go index e2a25c823..3f22781f3 100644 --- a/go-packages/meep-loc-serv-client/model_inline_distance_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_distance_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_notification_subscription_list.go b/go-packages/meep-loc-serv-client/model_inline_notification_subscription_list.go index 2296447cc..e2042cd28 100644 --- a/go-packages/meep-loc-serv-client/model_inline_notification_subscription_list.go +++ b/go-packages/meep-loc-serv-client/model_inline_notification_subscription_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_periodic_notification_subscription.go b/go-packages/meep-loc-serv-client/model_inline_periodic_notification_subscription.go index 6d3823476..981e648bf 100644 --- a/go-packages/meep-loc-serv-client/model_inline_periodic_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_periodic_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_problem_details.go b/go-packages/meep-loc-serv-client/model_inline_problem_details.go index bcea1e710..ec6f25b60 100644 --- a/go-packages/meep-loc-serv-client/model_inline_problem_details.go +++ b/go-packages/meep-loc-serv-client/model_inline_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_problem_details_required.go b/go-packages/meep-loc-serv-client/model_inline_problem_details_required.go index 6e3688bb3..5a55234c9 100644 --- a/go-packages/meep-loc-serv-client/model_inline_problem_details_required.go +++ b/go-packages/meep-loc-serv-client/model_inline_problem_details_required.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_subscription_notification.go b/go-packages/meep-loc-serv-client/model_inline_subscription_notification.go index 584331ee5..fe527cba2 100644 --- a/go-packages/meep-loc-serv-client/model_inline_subscription_notification.go +++ b/go-packages/meep-loc-serv-client/model_inline_subscription_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_terminal_distance.go b/go-packages/meep-loc-serv-client/model_inline_terminal_distance.go index 4d2dee701..6fa2db2c3 100644 --- a/go-packages/meep-loc-serv-client/model_inline_terminal_distance.go +++ b/go-packages/meep-loc-serv-client/model_inline_terminal_distance.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_user_list.go b/go-packages/meep-loc-serv-client/model_inline_user_list.go index 7c79c98ba..94c7c6b9d 100644 --- a/go-packages/meep-loc-serv-client/model_inline_user_list.go +++ b/go-packages/meep-loc-serv-client/model_inline_user_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_user_tracking_subscription.go b/go-packages/meep-loc-serv-client/model_inline_user_tracking_subscription.go index fb707905f..8648a2204 100644 --- a/go-packages/meep-loc-serv-client/model_inline_user_tracking_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_user_tracking_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zonal_presence_notification.go b/go-packages/meep-loc-serv-client/model_inline_zonal_presence_notification.go index 7d9aa6e72..4df1cfdc4 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zonal_presence_notification.go +++ b/go-packages/meep-loc-serv-client/model_inline_zonal_presence_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zonal_traffic_subscription.go b/go-packages/meep-loc-serv-client/model_inline_zonal_traffic_subscription.go index 687c83ce9..756102b74 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zonal_traffic_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_zonal_traffic_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zone_info.go b/go-packages/meep-loc-serv-client/model_inline_zone_info.go index f3ef168cd..f6e4681b6 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zone_info.go +++ b/go-packages/meep-loc-serv-client/model_inline_zone_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zone_list.go b/go-packages/meep-loc-serv-client/model_inline_zone_list.go index 5a8235379..0cbf33781 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zone_list.go +++ b/go-packages/meep-loc-serv-client/model_inline_zone_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zone_status_notification.go b/go-packages/meep-loc-serv-client/model_inline_zone_status_notification.go index d220e1108..0ff35ba37 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zone_status_notification.go +++ b/go-packages/meep-loc-serv-client/model_inline_zone_status_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_inline_zone_status_subscription.go b/go-packages/meep-loc-serv-client/model_inline_zone_status_subscription.go index d8c6980b1..42a18459c 100644 --- a/go-packages/meep-loc-serv-client/model_inline_zone_status_subscription.go +++ b/go-packages/meep-loc-serv-client/model_inline_zone_status_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_link.go b/go-packages/meep-loc-serv-client/model_link.go index bff8d6b33..277c78bd3 100644 --- a/go-packages/meep-loc-serv-client/model_link.go +++ b/go-packages/meep-loc-serv-client/model_link.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_link_type.go b/go-packages/meep-loc-serv-client/model_link_type.go index 24f23ef91..a89a3c3b1 100644 --- a/go-packages/meep-loc-serv-client/model_link_type.go +++ b/go-packages/meep-loc-serv-client/model_link_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_location_info.go b/go-packages/meep-loc-serv-client/model_location_info.go index 97ed7051a..59528f068 100644 --- a/go-packages/meep-loc-serv-client/model_location_info.go +++ b/go-packages/meep-loc-serv-client/model_location_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_location_info_velocity.go b/go-packages/meep-loc-serv-client/model_location_info_velocity.go index 52515699d..78040bb47 100644 --- a/go-packages/meep-loc-serv-client/model_location_info_velocity.go +++ b/go-packages/meep-loc-serv-client/model_location_info_velocity.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_notification_format.go b/go-packages/meep-loc-serv-client/model_notification_format.go index fa1ec13bd..060989778 100644 --- a/go-packages/meep-loc-serv-client/model_notification_format.go +++ b/go-packages/meep-loc-serv-client/model_notification_format.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_notification_subscription_list.go b/go-packages/meep-loc-serv-client/model_notification_subscription_list.go index 3a16e2d6a..10a7e8dd7 100644 --- a/go-packages/meep-loc-serv-client/model_notification_subscription_list.go +++ b/go-packages/meep-loc-serv-client/model_notification_subscription_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_operation_action_type.go b/go-packages/meep-loc-serv-client/model_operation_action_type.go index 5893d5a33..402d10eeb 100644 --- a/go-packages/meep-loc-serv-client/model_operation_action_type.go +++ b/go-packages/meep-loc-serv-client/model_operation_action_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_operation_status.go b/go-packages/meep-loc-serv-client/model_operation_status.go index 6bfdd642e..cdd11be05 100644 --- a/go-packages/meep-loc-serv-client/model_operation_status.go +++ b/go-packages/meep-loc-serv-client/model_operation_status.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_periodic_notification_subscription.go b/go-packages/meep-loc-serv-client/model_periodic_notification_subscription.go index 9d0c1cefc..6bb5649da 100644 --- a/go-packages/meep-loc-serv-client/model_periodic_notification_subscription.go +++ b/go-packages/meep-loc-serv-client/model_periodic_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_problem_details.go b/go-packages/meep-loc-serv-client/model_problem_details.go index b84e93124..1d83fd4a3 100644 --- a/go-packages/meep-loc-serv-client/model_problem_details.go +++ b/go-packages/meep-loc-serv-client/model_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_retrieval_status.go b/go-packages/meep-loc-serv-client/model_retrieval_status.go index c64e8b925..b09e0a408 100644 --- a/go-packages/meep-loc-serv-client/model_retrieval_status.go +++ b/go-packages/meep-loc-serv-client/model_retrieval_status.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_service_error.go b/go-packages/meep-loc-serv-client/model_service_error.go index 5993033f1..cc10ede94 100644 --- a/go-packages/meep-loc-serv-client/model_service_error.go +++ b/go-packages/meep-loc-serv-client/model_service_error.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go b/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go index 8929e4e67..81b04278b 100644 --- a/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go +++ b/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_subscription_notification.go b/go-packages/meep-loc-serv-client/model_subscription_notification.go index 1c916d0cd..85224de93 100644 --- a/go-packages/meep-loc-serv-client/model_subscription_notification.go +++ b/go-packages/meep-loc-serv-client/model_subscription_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_terminal_distance.go b/go-packages/meep-loc-serv-client/model_terminal_distance.go index 18a7db6fc..1e935ed78 100644 --- a/go-packages/meep-loc-serv-client/model_terminal_distance.go +++ b/go-packages/meep-loc-serv-client/model_terminal_distance.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_terminal_location.go b/go-packages/meep-loc-serv-client/model_terminal_location.go index ce1b6265e..c13285231 100644 --- a/go-packages/meep-loc-serv-client/model_terminal_location.go +++ b/go-packages/meep-loc-serv-client/model_terminal_location.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_time_stamp.go b/go-packages/meep-loc-serv-client/model_time_stamp.go index d7332426b..af4219995 100644 --- a/go-packages/meep-loc-serv-client/model_time_stamp.go +++ b/go-packages/meep-loc-serv-client/model_time_stamp.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_user_event_type.go b/go-packages/meep-loc-serv-client/model_user_event_type.go index 503a7a5ed..878dea5ec 100644 --- a/go-packages/meep-loc-serv-client/model_user_event_type.go +++ b/go-packages/meep-loc-serv-client/model_user_event_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_user_info.go b/go-packages/meep-loc-serv-client/model_user_info.go index bd90d3247..444ce2894 100644 --- a/go-packages/meep-loc-serv-client/model_user_info.go +++ b/go-packages/meep-loc-serv-client/model_user_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_user_list.go b/go-packages/meep-loc-serv-client/model_user_list.go index 0d5018760..92c6498f7 100644 --- a/go-packages/meep-loc-serv-client/model_user_list.go +++ b/go-packages/meep-loc-serv-client/model_user_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_user_tracking_subscription.go b/go-packages/meep-loc-serv-client/model_user_tracking_subscription.go index 918947da8..bb9cf0ac3 100644 --- a/go-packages/meep-loc-serv-client/model_user_tracking_subscription.go +++ b/go-packages/meep-loc-serv-client/model_user_tracking_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zonal_presence_notification.go b/go-packages/meep-loc-serv-client/model_zonal_presence_notification.go index f32bd476f..a4257dcb4 100644 --- a/go-packages/meep-loc-serv-client/model_zonal_presence_notification.go +++ b/go-packages/meep-loc-serv-client/model_zonal_presence_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zonal_traffic_subscription.go b/go-packages/meep-loc-serv-client/model_zonal_traffic_subscription.go index 93ceb7289..a47aa7dfe 100644 --- a/go-packages/meep-loc-serv-client/model_zonal_traffic_subscription.go +++ b/go-packages/meep-loc-serv-client/model_zonal_traffic_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zone_info.go b/go-packages/meep-loc-serv-client/model_zone_info.go index f865b2647..0f93ae598 100644 --- a/go-packages/meep-loc-serv-client/model_zone_info.go +++ b/go-packages/meep-loc-serv-client/model_zone_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zone_list.go b/go-packages/meep-loc-serv-client/model_zone_list.go index 62c880b61..9a3d3e812 100644 --- a/go-packages/meep-loc-serv-client/model_zone_list.go +++ b/go-packages/meep-loc-serv-client/model_zone_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zone_status_notification.go b/go-packages/meep-loc-serv-client/model_zone_status_notification.go index c3ac1b0c6..31605c752 100644 --- a/go-packages/meep-loc-serv-client/model_zone_status_notification.go +++ b/go-packages/meep-loc-serv-client/model_zone_status_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/model_zone_status_subscription.go b/go-packages/meep-loc-serv-client/model_zone_status_subscription.go index 51ba63c22..73915c9ed 100644 --- a/go-packages/meep-loc-serv-client/model_zone_status_subscription.go +++ b/go-packages/meep-loc-serv-client/model_zone_status_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-loc-serv-client/response.go b/go-packages/meep-loc-serv-client/response.go index 914cb4d9e..f38b572a0 100644 --- a/go-packages/meep-loc-serv-client/response.go +++ b/go-packages/meep-loc-serv-client/response.go @@ -15,9 +15,9 @@ * * AdvantEDGE Location Service REST API * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.01.01_60/gs_mec013v020101p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). + * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From b3b2afb507764d559742b11dfca46a060ff08711 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 2 Jun 2022 13:12:46 +0500 Subject: [PATCH 124/183] remove data model from loc-serv --- docs/api-location/.openapi-generator/FILES | 1 - .../SubscriptionCancellationNotification.md | 12 ------- docs/api-location/README.md | 1 - go-packages/meep-loc-serv-client/README.md | 1 - .../meep-loc-serv-client/api/swagger.yaml | 26 -------------- .../SubscriptionCancellationNotification.md | 13 ------- ..._subscription_cancellation_notification.go | 36 ------------------- 7 files changed, 90 deletions(-) delete mode 100644 docs/api-location/Models/SubscriptionCancellationNotification.md delete mode 100644 go-packages/meep-loc-serv-client/docs/SubscriptionCancellationNotification.md delete mode 100644 go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go diff --git a/docs/api-location/.openapi-generator/FILES b/docs/api-location/.openapi-generator/FILES index b42f2f328..ed8b9591d 100644 --- a/docs/api-location/.openapi-generator/FILES +++ b/docs/api-location/.openapi-generator/FILES @@ -40,7 +40,6 @@ Models/PeriodicNotificationSubscription.md Models/ProblemDetails.md Models/RetrievalStatus.md Models/ServiceError.md -Models/SubscriptionCancellationNotification.md Models/SubscriptionNotification.md Models/TerminalDistance.md Models/TerminalLocation.md diff --git a/docs/api-location/Models/SubscriptionCancellationNotification.md b/docs/api-location/Models/SubscriptionCancellationNotification.md deleted file mode 100644 index 3c409afd5..000000000 --- a/docs/api-location/Models/SubscriptionCancellationNotification.md +++ /dev/null @@ -1,12 +0,0 @@ -# SubscriptionCancellationNotification -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | [**String**](string.md) | Address of terminal if the error applies to an individual terminal. | [optional] [default to null] -**callbackData** | [**String**](string.md) | CallbackData if passed by the application in the receiptRequest element during the associated subscription operation | [optional] [default to null] -**link** | [**List**](Link.md) | Link to other resources that are in relationship with the resource. | [optional] [default to null] -**reason** | [**ServiceError**](ServiceError.md) | | [optional] [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/api-location/README.md b/docs/api-location/README.md index 26fc88f4e..5ef5f01a5 100644 --- a/docs/api-location/README.md +++ b/docs/api-location/README.md @@ -89,7 +89,6 @@ Class | Method | HTTP request | Description - [ProblemDetails](./Models/ProblemDetails.md) - [RetrievalStatus](./Models/RetrievalStatus.md) - [ServiceError](./Models/ServiceError.md) - - [SubscriptionCancellationNotification](./Models/SubscriptionCancellationNotification.md) - [SubscriptionNotification](./Models/SubscriptionNotification.md) - [TerminalDistance](./Models/TerminalDistance.md) - [TerminalLocation](./Models/TerminalLocation.md) diff --git a/go-packages/meep-loc-serv-client/README.md b/go-packages/meep-loc-serv-client/README.md index 6da358b7b..c42398773 100644 --- a/go-packages/meep-loc-serv-client/README.md +++ b/go-packages/meep-loc-serv-client/README.md @@ -102,7 +102,6 @@ Class | Method | HTTP request | Description - [ProblemDetails](docs/ProblemDetails.md) - [RetrievalStatus](docs/RetrievalStatus.md) - [ServiceError](docs/ServiceError.md) - - [SubscriptionCancellationNotification](docs/SubscriptionCancellationNotification.md) - [SubscriptionNotification](docs/SubscriptionNotification.md) - [TerminalDistance](docs/TerminalDistance.md) - [TerminalLocation](docs/TerminalLocation.md) diff --git a/go-packages/meep-loc-serv-client/api/swagger.yaml b/go-packages/meep-loc-serv-client/api/swagger.yaml index 6f533a667..5057ebead 100644 --- a/go-packages/meep-loc-serv-client/api/swagger.yaml +++ b/go-packages/meep-loc-serv-client/api/swagger.yaml @@ -3956,32 +3956,6 @@ components: x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: string description: used to indicate a notification termination or cancellation. - SubscriptionCancellationNotification: - required: - - terminalLocation - type: object - properties: - address: - type: string - description: Address of terminal if the error applies to an individual terminal. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: anyURI - callbackData: - type: string - description: CallbackData if passed by the application in the receiptRequest - element during the associated subscription operation - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: string - link: - type: array - description: Link to other resources that are in relationship with the resource. - items: - $ref: '#/components/schemas/Link' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Link - reason: - $ref: '#/components/schemas/ServiceError' - description: A type containing the subscription cancellation notification. SubscriptionNotification: required: - terminalLocation diff --git a/go-packages/meep-loc-serv-client/docs/SubscriptionCancellationNotification.md b/go-packages/meep-loc-serv-client/docs/SubscriptionCancellationNotification.md deleted file mode 100644 index 3357a81e6..000000000 --- a/go-packages/meep-loc-serv-client/docs/SubscriptionCancellationNotification.md +++ /dev/null @@ -1,13 +0,0 @@ -# SubscriptionCancellationNotification - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Address** | **string** | Address of terminal if the error applies to an individual terminal. | [optional] [default to null] -**CallbackData** | **string** | CallbackData if passed by the application in the receiptRequest element during the associated subscription operation | [optional] [default to null] -**Link** | [**[]Link**](Link.md) | Link to other resources that are in relationship with the resource. | [optional] [default to null] -**Reason** | [***ServiceError**](ServiceError.md) | | [optional] [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go b/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go deleted file mode 100644 index 81b04278b..000000000 --- a/go-packages/meep-loc-serv-client/model_subscription_cancellation_notification.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Location Service REST API - * - * Location Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC013 Location API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/013/02.02.01_60/gs_mec013v020201p.pdf)

The API is based on the Open Mobile Alliance's specification RESTful Network API for Zonal Presence

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-loc-serv](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-loc-serv)

**Type & Usage**
Edge Service used by edge applications that want to get information about Users (UE) and Zone locations

**Note**
AdvantEDGE supports all of Location API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -// A type containing the subscription cancellation notification. -type SubscriptionCancellationNotification struct { - // Address of terminal if the error applies to an individual terminal. - Address string `json:"address,omitempty"` - // CallbackData if passed by the application in the receiptRequest element during the associated subscription operation - CallbackData string `json:"callbackData,omitempty"` - // Link to other resources that are in relationship with the resource. - Link []Link `json:"link,omitempty"` - Reason *ServiceError `json:"reason,omitempty"` -} -- GitLab From 99c27e632ceed91dda34b4c9297f24bebe95465c Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 2 Jun 2022 14:31:01 +0500 Subject: [PATCH 125/183] remove data model --- go-packages/meep-loc-serv-client/api/swagger.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/go-packages/meep-loc-serv-client/api/swagger.yaml b/go-packages/meep-loc-serv-client/api/swagger.yaml index 5057ebead..db0542f53 100644 --- a/go-packages/meep-loc-serv-client/api/swagger.yaml +++ b/go-packages/meep-loc-serv-client/api/swagger.yaml @@ -4038,13 +4038,6 @@ components: $ref: '#/components/schemas/RetrievalStatus' description: "A type containing device address, retrieval status and location\ \ information." - TerminalLocationList: - type: array - description: Collection of the terminal locations. - items: - $ref: '#/components/schemas/TerminalLocation' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: TerminalLocation TimeStamp: required: - nanoSeconds -- GitLab From 6bbbe7915865fec67a616edefd109244f731b04f Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 2 Jun 2022 16:07:32 +0500 Subject: [PATCH 126/183] update meep-rnis OAS file as per MEC012 v2.2.1 --- go-apps/meep-rnis/api/swagger.yaml | 360 +++++++++++++++++++++++++---- 1 file changed, 310 insertions(+), 50 deletions(-) diff --git a/go-apps/meep-rnis/api/swagger.yaml b/go-apps/meep-rnis/api/swagger.yaml index af0bd44f7..939416943 100644 --- a/go-apps/meep-rnis/api/swagger.yaml +++ b/go-apps/meep-rnis/api/swagger.yaml @@ -1122,7 +1122,7 @@ components: - cellIdSrv - cellIdNei type: array - x-etsi-mec-cardinality: 0..M + x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) ecgi: # description': E-UTRAN Cell Global Identifier. @@ -1171,12 +1171,31 @@ components: # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - ecgi + - _links type: object x-etsi-ref: 6.4.8 CaReconfSubscription: + title: CaReconfSubscription + description: > + This type represents a subscription to UE carrier aggregation reconfiguration notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -1192,11 +1211,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -1236,7 +1261,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaAssoc type: object x-etsi-ref: 6.3.8 @@ -1301,7 +1325,7 @@ components: # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' trgEcgi: - description: 'E-UTRAN Cell Global Identifier of the target cell. + description: 'E-UTRAN Cell Global Identifier of the target cell. See note. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED.' items: @@ -1310,14 +1334,33 @@ components: type: array x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Ecgi + _links: + description: Links to resources related to this notification. + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' required: - notificationType - srcEcgi - trgEcgi - hoStatus + - _links type: object x-etsi-ref: 6.4.2 CellChangeSubscription: + title: CellChangeSubscription + description: > + This type represents a subscription to cell change notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -1333,16 +1376,22 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. filterCriteriaAssocHo: description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. properties: @@ -1390,7 +1439,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaAssocHo type: object x-etsi-ref: 6.3.2 @@ -1420,17 +1468,14 @@ components: properties: _links: description: List of hyperlinks related to the resource. - properties: - self: - description: Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. - format: uri - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI required: - - self + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' type: object - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 1 x-etsi-mec-origin-type: Structure (inlined) expiryDeadline: # description': Time stamp. @@ -1438,13 +1483,19 @@ components: # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' timeStamp: - # description': Time stamp. + # description': Shall be set to "ExpiryNotification" # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + notificationType: + description: Shall be set to "ExpiryNotification" + type: string + x-etsi-mec-cardinality': '1' + x-etsi-mec-origin-type': String required: - _links - expiryDeadline + - notificationType type: object x-etsi-ref: 6.4.9 L2Meas: @@ -1654,7 +1705,7 @@ components: format: uri type: string x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI + x-etsi-mec-origin-type: Uri required: - href type: object @@ -1770,7 +1821,7 @@ components: required: - cellIdSrv type: array - x-etsi-mec-cardinality: 0..M + x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) ecgi: # description': E-UTRAN Cell Global Identifier of the Primary serving Cell (PCell), as defined in ETSI TS 136 331 [i.7]. @@ -1852,14 +1903,14 @@ components: $ref: '#/components/schemas/Plmn' minItems: 1 type: array - x-etsi-mec-cardinality: 1..P + x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Plmn minItems: 1 required: - nrBNCellPlmn - nrBNCellGId type: array - x-etsi-mec-cardinality: 1..P + x-etsi-mec-cardinality: 1..N x-etsi-mec-origin-type: Structure (inlined) nrBNCellRsrp: description: Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. @@ -2052,15 +2103,32 @@ components: # x-etsi-mec-cardinality': '1' # x-etsi-mec-origin-type': Trigger $ref: '#/components/schemas/Trigger' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - ecgi - rsrp - rsrq - trigger + - _links type: object x-etsi-ref: 6.4.6 MeasRepUeSubscription: + title: MeasRepUeSubscription + description: > + This type represents a subscription to UE measurement report notifications from Radio Network Information Service for UEs served by E-UTRA Cells. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -2076,11 +2144,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications, either in place of the callbackReference URI or if it is not reachable via the test notification. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -2128,7 +2202,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaAssocTri type: object x-etsi-ref: 6.3.6 @@ -2163,13 +2236,32 @@ components: type: integer x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Uint32 + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - ecgi - timingAdvance + - _links type: object x-etsi-ref: 6.4.7 MeasTaSubscription: + title: MeasTaSubscription + description: > + This type represents a subscription to UE timing advance notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -2185,11 +2277,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -2229,11 +2327,10 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaAssoc type: object x-etsi-ref: 6.3.7 - NRcgi: + Nrcgi: properties: nrcellId: # description': NR Cell Global Identifier. @@ -2321,7 +2418,7 @@ components: # description': Cell Global Identifier. # x-etsi-mec-cardinality': '1' # x-etsi-mec-origin-type': NrCellId - $ref: '#/components/schemas/NrCellId' + $ref: '#/components/schemas/Nrcgi' rsIndexResults: # description': Beam level measurement information. # x-etsi-mec-cardinality': 0..1 @@ -2363,7 +2460,7 @@ components: # description': NR Cell Global Identifier. # x-etsi-mec-cardinality': '1' # x-etsi-mec-origin-type': Nrcgi - $ref: '#/components/schemas/NRcgi' + $ref: '#/components/schemas/Nrcgi' sCell: description: Measurement information relating to this serving cell. properties: @@ -2402,12 +2499,31 @@ components: # x-etsi-mec-cardinality': '1' # x-etsi-mec-origin-type': TriggerNr $ref: '#/components/schemas/TriggerNr' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - triggerNr + - _links type: object x-etsi-ref: 6.4.11 NrMeasRepUeSubscription: + title: NrMeasRepUeSubscription + description: > + This type represents a subscription to 5G UE measurement report notifications from Radio Network Information Service for UEs served by NR Cells. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -2423,11 +2539,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -2452,11 +2574,11 @@ components: nrcgi: description: NR Cell Global Identier. items: - $ref: '#/components/schemas/NRcgi' + $ref: '#/components/schemas/Nrcgi' minItems: 0 type: array x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: NRcgi + x-etsi-mec-origin-type: Nrcgi triggerNr: description: Corresponds to a specific 5G UE Measurement Report trigger. items: @@ -2475,7 +2597,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaNrMrs type: object x-etsi-ref: 6.3.11 @@ -2640,6 +2761,17 @@ components: type: object x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) timeStamp: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -2649,9 +2781,17 @@ components: - notificationType - ecgi - erabId + - _links type: object x-etsi-ref: 6.4.3 RabEstSubscription: + title: RabEstSubscription + description: > + This type represents a subscription to RAB establishment notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -2667,16 +2807,22 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. filterCriteriaQci: description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. properties: @@ -2710,7 +2856,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaQci type: object x-etsi-ref: 6.3.3 @@ -2906,13 +3051,32 @@ components: # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - ecgi - erabId + - _links type: object x-etsi-ref: 6.4.4 RabModSubscription: + title: RabModSubscription + description: > + This type represents a subscription to RAB modification notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -2928,11 +3092,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -2977,7 +3147,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaQci type: object x-etsi-ref: 6.3.4 @@ -3019,13 +3188,31 @@ components: # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - ecgi - erabReleaseInfo + - _links type: object x-etsi-ref: 6.4.5 RabRelSubscription: + title: RabRelSubscription + description: > + This type represents a subscription to RAB release notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. properties: _links: description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. @@ -3041,11 +3228,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. + description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. expiryDeadline: # description': Time stamp. # x-etsi-mec-cardinality': 0..1 @@ -3090,7 +3283,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - filterCriteriaQci type: object x-etsi-ref: 6.3.5 @@ -3129,7 +3321,7 @@ components: required: - csiRsIndex type: array - x-etsi-mec-cardinality: "0..P" + x-etsi-mec-cardinality: "0..N" x-etsi-mec-origin-type: Structure (inline) type: object x-etsi-ref: 6.5.10 @@ -3168,7 +3360,7 @@ components: required: - ssbIndex type: array - x-etsi-mec-cardinality: 0..P + x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inline) type: object x-etsi-ref: 6.5.9 @@ -3421,13 +3613,32 @@ components: # x-etsi-mec-cardinality': 0..1 # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) required: - notificationType - s1Event - s1UeInfo + - _links type: object x-etsi-ref: 6.4.10 S1BearerSubscription: + title: S1BearerSubscription + description: > + This type represents a subscription to S1-U bearer information notification from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: S1BearerSubscriptionCriteria: description: As defined below. @@ -3473,11 +3684,17 @@ components: x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Structure (inlined) callbackReference: - description: URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. + description: URI exposed by the client on which to receive notifications via HTTP. See note. format: uri type: string - x-etsi-mec-cardinality: '1' + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. eventType: description: 'Description of the subscribed event. The event is included both in the request and in the response. \nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE.' items: @@ -3498,7 +3715,6 @@ components: x-etsi-mec-origin-type: String required: - subscriptionType - - callbackReference - eventType - S1BearerSubscriptionCriteria type: object @@ -3675,3 +3891,47 @@ components: enum: - STOPPING - TERMINATING + WebsockNotifConfig: + title: WebsockNotifConfig + description: > + This type represents configuration for the delivery of subscription notifications over Websockets per the pattern defined in defined in clause 6.12a of ETSI GS MEC 009 [6]. + type: object + properties: + websocketUri: + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + description: Set by RNIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + requestWebsocketUri: + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + description: Set to true by the service consumer to indicate that Websocket delivery is requested. + x-etsi-ref: 6.3.12 + + TestNotification: + description: > + This type represents a test notification from a Radio Network Information service to determine if the Websocket method is to be utilized for the RNIS to issue notifications for a subscription, as defined in clause 6.12a of ETSI GS MEC 009 [6]. + type: object + required: + - _links + - notificationType + properties: + notificationType: + description: Shall be set to "RabEstNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) + x-etsi-ref: 6.4.12 -- GitLab From d701c0abb8c8afca466857c5dd34da64f8eeec3b Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 2 Jun 2022 16:14:11 +0500 Subject: [PATCH 127/183] fix erab info model in meep-rnis --- go-apps/meep-rnis/server/model_rab_info_ue_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-rnis/server/model_rab_info_ue_info.go b/go-apps/meep-rnis/server/model_rab_info_ue_info.go index d3aab1163..6a6704785 100644 --- a/go-apps/meep-rnis/server/model_rab_info_ue_info.go +++ b/go-apps/meep-rnis/server/model_rab_info_ue_info.go @@ -27,5 +27,5 @@ type RabInfoUeInfo struct { // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` // Information on E-RAB as defined below. - ErabInfo []ErabInfo `json:"erabInfo"` + ErabInfo []RabInfoErabInfo `json:"erabInfo"` } -- GitLab From d67d1a7789067db5ba673011cc4ad01b19b1690f Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 2 Jun 2022 16:16:16 +0500 Subject: [PATCH 128/183] update model names in rnis.go as per new Mec012 v2.2.1 --- go-apps/meep-rnis/server/rnis.go | 39 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 8610b8612..d212e54e6 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -147,7 +147,7 @@ type UeData struct { Name string `json:"name"` ErabId int32 `json:"erabId"` Ecgi *Ecgi `json:"ecgi"` - Nrcgi *NRcgi `json:"nrcgi"` + Nrcgi *Nrcgi `json:"nrcgi"` Qci int32 `json:"qci"` ParentPoaName string `json:"parentPoaName"` InRangePoas []InRangePoa `json:"inRangePoas"` @@ -175,7 +175,7 @@ type AppStats struct { type PoaInfo struct { Type string `json:"type"` Ecgi Ecgi `json:"ecgi"` - Nrcgi NRcgi `json:"nrcgi"` + Nrcgi Nrcgi `json:"nrcgi"` Latency int32 `json:"latency"` ThroughputUL int32 `json:"throughputUL"` ThroughputDL int32 `json:"throughputDL"` @@ -713,8 +713,8 @@ func updateUeData(obj sbi.UeDataSbi) { newEcgi.CellId = obj.CellId newEcgi.Plmn = &plmn - var newNrcgi NRcgi - newNrcgi.NrcellId = obj.NrCellId + var newNrcgi Nrcgi + newNrcgi.NrCellId = obj.NrCellId newNrcgi.Plmn = &plmn var ueData UeData @@ -755,7 +755,7 @@ func updateUeData(obj sbi.UeDataSbi) { if ueDataObj.Nrcgi != nil { oldNrPlmnMnc = ueDataObj.Nrcgi.Plmn.Mnc oldNrPlmnMcc = ueDataObj.Nrcgi.Plmn.Mcc - oldNrCellId = ueDataObj.Nrcgi.NrcellId + oldNrCellId = ueDataObj.Nrcgi.NrCellId } // Keep previous measurements ueData.InRangePoas = ueDataObj.InRangePoas @@ -801,7 +801,7 @@ func updateUeData(obj sbi.UeDataSbi) { //keep erabId info that was there ueData.ErabId = oldErabId - if newNrcgi.Plmn.Mnc != oldNrPlmnMnc || newNrcgi.Plmn.Mcc != oldNrPlmnMcc || newNrcgi.NrcellId != oldNrCellId { + if newNrcgi.Plmn.Mnc != oldNrPlmnMnc || newNrcgi.Plmn.Mcc != oldNrPlmnMcc || newNrcgi.NrCellId != oldNrCellId { //update because nrcgi changed _ = rc.JSONSetEntry(baseKey+"UE:"+obj.Name, ".", convertUeDataToJson(&ueData)) } @@ -850,8 +850,8 @@ func updatePoaInfo(obj sbi.PoaInfoSbi) { ecgi.Plmn = &plmn poaInfo.Ecgi = ecgi case poaType5G: - var nrcgi NRcgi - nrcgi.NrcellId = obj.CellId + var nrcgi Nrcgi + nrcgi.NrCellId = obj.CellId nrcgi.Plmn = &plmn poaInfo.Nrcgi = nrcgi default: @@ -957,13 +957,13 @@ func checkForExpiredSubscriptions() { expiryTimeStamp.Seconds = int32(expiryTime) link := new(ExpiryNotificationLinks) - link.Self = cbRef + link.Subscription.Href = cbRef notif.Links = link notif.TimeStamp = &timeStamp notif.ExpiryDeadline = &expiryTimeStamp - sendExpiryNotification(link.Self, notif) + sendExpiryNotification(link.Subscription.Href, notif) _ = delSubscription(baseKey, subsIdStr, true) } } @@ -1460,13 +1460,13 @@ func isMatchNrMrFilterCriteriaNrcgi(filterCriteria interface{}, newPlmn *Plmn, o } } if matchingPlmn { - if nrcgi.NrcellId == "" { + if nrcgi.NrCellId == "" { return true } - if newCellId == nrcgi.NrcellId { + if newCellId == nrcgi.NrCellId { return true } - if oldCellId == nrcgi.NrcellId { + if oldCellId == nrcgi.NrCellId { return true } } @@ -1871,7 +1871,7 @@ func checkMrNotificationRegisteredSubscriptions(key string, jsonInfo string, ext var measRepUeNotificationNrNCellInfo MeasRepUeNotificationNrNCellInfo measRepUeNotificationNrNCellInfo.NrNCellPlmn = append(measRepUeNotificationNrNCellInfo.NrNCellPlmn, *poaInfo.Nrcgi.Plmn) - measRepUeNotificationNrNCellInfo.NrNCellGId = poaInfo.Nrcgi.NrcellId + measRepUeNotificationNrNCellInfo.NrNCellGId = poaInfo.Nrcgi.NrCellId neighborCell.NrNCellInfo = append(neighborCell.NrNCellInfo, measRepUeNotificationNrNCellInfo) notif.NewRadioMeasNeiInfo = append(notif.NewRadioMeasNeiInfo, neighborCell) default: @@ -1914,7 +1914,7 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e return err } - if ueData.Nrcgi == nil || ueData.Nrcgi.NrcellId == "" { + if ueData.Nrcgi == nil || ueData.Nrcgi.NrCellId == "" { //that ue is not on a 5G poa return nil } @@ -1937,7 +1937,7 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e if match { if ueData.Nrcgi != nil { - match = isMatchFilterCriteriaNrcgi(nrMeasRepUeSubscriptionType, sub.FilterCriteriaNrMrs, ueData.Nrcgi.Plmn, nil, ueData.Nrcgi.NrcellId, "") + match = isMatchFilterCriteriaNrcgi(nrMeasRepUeSubscriptionType, sub.FilterCriteriaNrMrs, ueData.Nrcgi.Plmn, nil, ueData.Nrcgi.NrCellId, "") } else { match = false } @@ -2002,8 +2002,7 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e switch poaInfo.Type { case poaType5G: var neighborCell NrMeasRepUeNotificationNrNeighCellMeasInfo - //not using nrcgi but nrcellId, error in the spec... but going along - neighborCell.Nrcgi = poaInfo.Nrcgi.NrcellId + neighborCell.Nrcgi = &poaInfo.Nrcgi var measQuantityResultsNr MeasQuantityResultsNr measQuantityResultsNr.Rsrp = poa.Rsrp measQuantityResultsNr.Rsrq = poa.Rsrq @@ -2463,7 +2462,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { } for _, nrcgi := range subscription.FilterCriteriaNrMrs.Nrcgi { - if nrcgi.Plmn == nil || nrcgi.NrcellId == "" { + if nrcgi.Plmn == nil || nrcgi.NrCellId == "" { log.Error("For non null nrcgi, plmn and cellId are mandatory") http.Error(w, "For non null nrcgi, plmn and cellId are mandatory", http.StatusBadRequest) return -- GitLab From 49a87a2807f4e3fe197a2ba8c2d2c6e6836e1065 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 2 Jun 2022 16:21:04 +0500 Subject: [PATCH 129/183] update version in meep-rnis OAS file as per MEC012 v2.2.1 --- go-apps/meep-rnis/api/swagger.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/go-apps/meep-rnis/api/swagger.yaml b/go-apps/meep-rnis/api/swagger.yaml index 939416943..e9a33210c 100644 --- a/go-apps/meep-rnis/api/swagger.yaml +++ b/go-apps/meep-rnis/api/swagger.yaml @@ -4,9 +4,9 @@ info: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com title: AdvantEDGE Radio Network Information Service REST API - version: 2.1.1 + version: 2.2.1 description: "Radio Network Information Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf) + [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network @@ -21,8 +21,8 @@ info: name: "Apache 2.0" url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE" externalDocs: - description: ETSI GS MEC 012 Radio Network Information API, V2.1.1 - url: 'http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_mec012v020101p.pdf' + description: ETSI GS MEC 012 Radio Network Information API, V2.2.1 + url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf' servers: - url: 'https://localhost/sandboxname/rni/v2' tags: -- GitLab From 261d0a0c7e118d1c3040b2fe7930f9a842a8b96f Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 3 Jun 2022 12:59:04 +0500 Subject: [PATCH 130/183] implement logic in meep-rnis to include _links attribute --- go-apps/meep-rnis/server/rnis.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index d212e54e6..668e52fcd 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -1608,6 +1608,7 @@ func checkCcNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.SrcEcgi = &oldEcgi notif.TrgEcgi = []Ecgi{newEcgi} notif.AssociateId = append(notif.AssociateId, notifAssociateId) + notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr sendCcNotification(subscription.CallbackReference, notif) log.Info("Cell_change Notification" + "(" + subsIdStr + ")") @@ -1681,6 +1682,7 @@ func checkReNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.Ecgi = &newEcgi notif.ErabQosParameters = &erabQos notif.AssociateId = append(notif.AssociateId, notifAssociateId) + notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr sendReNotification(subscription.CallbackReference, notif) log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") @@ -1755,6 +1757,7 @@ func checkRrNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.Ecgi = &oldEcgi notif.ErabReleaseInfo = &erabRelInfo notif.AssociateId = append(notif.AssociateId, notifAssociateId) + notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr sendRrNotification(subscription.CallbackReference, notif) log.Info("Rab_release Notification" + "(" + subsIdStr + ")") @@ -1878,7 +1881,7 @@ func checkMrNotificationRegisteredSubscriptions(key string, jsonInfo string, ext } } } - + notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr if parentMeasExists { log.Info("Sending RNIS notification ", subscription.CallbackReference) callbackReference := subscription.CallbackReference @@ -2031,7 +2034,7 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e if report5GNeighborOnly { notif.EutraNeighCellMeasInfo = nil } - + notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr if parentMeasExists { log.Info("Sending RNIS notification ", subscription.CallbackReference) callbackReference := subscription.CallbackReference -- GitLab From 7338b249fae6151178f3203c3a8ac0f72efc9ddd Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 6 Jun 2022 12:23:40 +0500 Subject: [PATCH 131/183] limit maximum routes and route coordinates in VIS --- go-apps/meep-vis/server/vis.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 63665a485..018bd02b8 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -593,6 +593,13 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } + // Set maximum number of routes + if len(requestData.Routes) > 10 { + log.Error("A maximum of 10 routes are supported in the sandbox") + errHandlerProblemDetails(w, "A maximum of 10 routes are supported in the sandbox", http.StatusBadRequest) + return + } + responseData := requestData // Both request and response have same data model for i, route := range requestData.Routes { @@ -608,6 +615,13 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { return } + // Set maximum number of geo-coordinates for each route + if len(route.RouteInfo) > 10 { + log.Error("A maximum of 10 geo-coordinates are supported for each route") + errHandlerProblemDetails(w, "A maximum of 10 geo-coordinates are supported for each route", http.StatusBadRequest) + return + } + var geocoordinates []gisClient.GeoCoordinate for _, routeInfo := range route.RouteInfo { // empty location attribute will cause a runtime error: invalid memory address or nil pointer dereference -- GitLab From e2d915fb9bfebbb3799a4d7bd934f401f49a9c3e Mon Sep 17 00:00:00 2001 From: muhammadh Date: Mon, 6 Jun 2022 17:24:19 +0500 Subject: [PATCH 132/183] implement Websock functionality in sendCcNotification in meep-rnis --- go-apps/meep-rnis/go.mod | 3 +- go-apps/meep-rnis/go.sum | 20 +++++++ go-apps/meep-rnis/server/rnis.go | 59 ++++++++++++++++--- .../meep-rnis/server/subscriptionCommon.go | 7 ++- 4 files changed, 76 insertions(+), 13 deletions(-) diff --git a/go-apps/meep-rnis/go.mod b/go-apps/meep-rnis/go.mod index 97dc45943..dce3175bf 100644 --- a/go-apps/meep-rnis/go.mod +++ b/go-apps/meep-rnis/go.mod @@ -13,13 +13,12 @@ require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-model v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-mq v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-redis v0.0.0 - github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-rnis-client v0.0.0 // indirect github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-sandbox-ctrl-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client v0.0.0 github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr v0.0.0 - github.com/antihax/optional v1.0.0 // indirect github.com/gorilla/handlers v1.4.0 github.com/gorilla/mux v1.8.0 + github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c github.com/prometheus/client_golang v1.9.0 ) diff --git a/go-apps/meep-rnis/go.sum b/go-apps/meep-rnis/go.sum index 7daca23ea..db044d8fa 100644 --- a/go-apps/meep-rnis/go.sum +++ b/go-apps/meep-rnis/go.sum @@ -4,11 +4,13 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52 h1:trnwuu/Q8T59kgRjXcSDBODnyZP9wes+bnLn0lx4PgM= github.com/RyanCarrier/dijkstra v0.0.0-20190726134004-b51cadb5ae52/go.mod h1:DdR6ymcLl8+sN/XOVNjnYO1NDYfgHskGjreZUDuQCTY= +github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345 h1:fgSpoKViTSqRb4hjDNj10ig5wUvO0CayCzFdLf6fuRM= github.com/RyanCarrier/dijkstra-1 v0.0.0-20170512020943-0e5801a26345/go.mod h1:OK4EvWJ441LQqGzed5NGB6vKBAE34n3z7iayPcEwr30= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= +github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72 h1:uGeGZl8PxSq8VZGG4QK5njJTFA4/G/x5CYORvQVXtAE= github.com/albertorestifo/dijkstra v0.0.0-20160910063646-aba76f725f72/go.mod h1:o+JdB7VetTHjLhU0N57x18B9voDBQe0paApdEAEoEfw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= @@ -48,6 +50,7 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= @@ -61,6 +64,7 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7 github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= +github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= @@ -98,6 +102,7 @@ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= @@ -112,6 +117,7 @@ github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2z github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c h1:Lh2aW+HnU2Nbe1gqD9SOJLJxW1jBMmQOktN2acDyJk8= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= @@ -136,6 +142,7 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= @@ -157,8 +164,10 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= @@ -167,6 +176,7 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237 h1:acuCHBjzG7MFTugvx3buC4m5rLDLaKC9J8C9jtlraRc= github.com/mattomatic/dijkstra v0.0.0-20130617153013-6f6d134eb237/go.mod h1:UOnLAUmVG5paym8pD3C4B9BQylUDC2vXFJJpT7JrlEA= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -195,7 +205,9 @@ github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtb github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= @@ -216,6 +228,7 @@ github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= @@ -271,6 +284,7 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= @@ -354,6 +368,7 @@ golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e h1:AyodaIpKjppX+cBfTASF2E1US3H2JFBj920Ot3rtDjs= golang.org/x/sys v0.0.0-20201214210602-f9fddec55a1e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -372,6 +387,7 @@ golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -402,12 +418,15 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= @@ -415,6 +434,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 668e52fcd..4066f1ca1 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -42,6 +42,7 @@ import ( smc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client" "github.com/gorilla/mux" + "github.com/gorilla/websocket" ) const moduleName = "meep-rnis" @@ -1610,8 +1611,13 @@ func checkCcNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.AssociateId = append(notif.AssociateId, notifAssociateId) notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr - sendCcNotification(subscription.CallbackReference, notif) - log.Info("Cell_change Notification" + "(" + subsIdStr + ")") + if subscription.CallbackReference != "" { + sendCcNotification(subscription.CallbackReference, notif, false) + log.Info("Cell_change Notification" + "(" + subsIdStr + ")") + } else { + sendCcNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + log.Info("Cell_change Notification" + "(" + subsIdStr + ")") + } } } } @@ -2047,22 +2053,57 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e return nil } -func sendCcNotification(notifyUrl string, notification CellChangeNotification) { +func sendCcNotification(notifyUrl string, notification CellChangeNotification, isWebsocket bool) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + var resp *http.Response + var c *websocket.Conn + + switch isWebsocket { + case true: + u := url.URL{ + Host: notifyUrl, + //Path: "/" + } + c, _, err = websocket.DefaultDialer.Dial(u.String(), nil) + if err != nil { + log.Error(err.Error()) + break + } + + // send message + err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) + if err != nil { + // handle error + log.Error(err.Error()) + break + } + + // receive message + _, _, err = c.ReadMessage() + if err != nil { + log.Error(err.Error()) + break + } + + resp.StatusCode = http.StatusNoContent + case false: + resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) + } + duration := float64(time.Since(startTime).Microseconds()) / 1000.0 - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifCellChange, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifCellChange, notifyUrl, resp, duration) + defer c.Close() defer resp.Body.Close() } @@ -2270,9 +2311,9 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { subscriptionType := subscriptionCommon.SubscriptionType //mandatory parameter - if subscriptionCommon.CallbackReference == "" { - log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + if subscriptionCommon.CallbackReference == "" && subscriptionCommon.WebsockNotifConfig.WebsocketUri == "" { + log.Error("At least one of the attributes CallbackReference or WebsockNotifConfig should be present") + http.Error(w, "At least one of the attributes CallbackReference or WebsockNotifConfig should be present", http.StatusBadRequest) return } @@ -2285,6 +2326,8 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { self.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr link.Self = self + // TODO.. if required.. + var jsonResponse []byte switch subscriptionType { diff --git a/go-apps/meep-rnis/server/subscriptionCommon.go b/go-apps/meep-rnis/server/subscriptionCommon.go index da7cbb031..0f3c53b50 100644 --- a/go-apps/meep-rnis/server/subscriptionCommon.go +++ b/go-apps/meep-rnis/server/subscriptionCommon.go @@ -26,7 +26,8 @@ package server type SubscriptionCommon struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - CallbackReference string `json:"callbackReference,omitempty"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - SubscriptionType string `json:"subscriptionType"` + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + SubscriptionType string `json:"subscriptionType"` } -- GitLab From 84d30d7e69360bc888969204aa704c05b445db8b Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Mon, 6 Jun 2022 17:50:33 +0500 Subject: [PATCH 133/183] update app-support yaml according to MEC011 v2.2.1 --- .../api/app-support/swagger.yaml | 43 +++++++++++-------- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index 57abe6939..b77651071 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -3,9 +3,9 @@ servers: - url: 'https://localhost/sandboxname/mec_app_support/v1' info: title: AdvantEDGE MEC Application Support API - version: 2.1.1 + version: 2.2.1 description: "MEC Application Support Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf) + [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network @@ -17,9 +17,9 @@ info: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com externalDocs: - description: 'ETSI GS MEC011 Application Enablement API, V2.1.1' + description: 'ETSI GS MEC011 Application Enablement API, V2.2.1' url: >- - https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf + https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf tags: - name: mec_app_support - name: unsupported @@ -611,13 +611,13 @@ components: minPollingInterval: description: >- Minimum poll interval for NTP messages, in seconds as a power of two. - Range 3...17 + Range 3 to 17 type: integer format: uint32 maxPollingInterval: description: >- Maximum poll interval for NTP messages, in seconds as a power of two. - Range 3...17 + Range 3 to 17 type: integer format: uint32 localPriority: @@ -636,7 +636,7 @@ components: type: integer format: uint32 ptpMasters: - description: Available PTP Masters + description: Number of available PTP Servers (referred to as "masters" in IEEE 1588-2019) type: array items: description: NTP server detail. @@ -647,10 +647,10 @@ components: - delayReqMaxRate properties: ptpMasterIpAddress: - description: PTP Master IP Address + description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address type: string ptpMasterLocalPriority: - description: PTP Master local priority + description: PTP Server (referred to as "master" in IEEE 1588-2019 ) local priority type: integer format: uint32 delayReqMaxRate: @@ -769,8 +769,9 @@ components: - PACKET priority: description: >- - Priority of this traffic rule. If traffic rule conflicts, the one with - higher priority take precedence + Priority of this traffic rule within the range 0 to 255. If traffic rules conflict, + the one with higher priority take precedence. Value indicates the priority in descending + order, i.e. with 0 as the highest priority and 255 as the lowest priority. type: integer format: uint32 trafficFilter: @@ -789,7 +790,10 @@ components: - DUPLICATE_DECAPSULATED - DUPLICATE_ENCAPSULATED dstInterface: - $ref: '#/components/schemas/DestinationInterface' + type: array + items: + $ref: '#/components/schemas/DestinationInterface' + maxItems: 2 state: description: Contains the traffic rule state. This attribute may be updated using HTTP PUT method type: string @@ -856,7 +860,6 @@ components: application/json: schema: type: array - minItems: 0 items: $ref: '#/components/schemas/DnsRule' examples: @@ -926,7 +929,6 @@ components: application/json: schema: type: array - minItems: 0 items: $ref: '#/components/schemas/TrafficRule' examples: @@ -1174,8 +1176,9 @@ components: - '80' action: 'FORWARD_DECAPSULATED' dstInterface: - interfaceType: 'IP' - dstIpAddress: '20.1.1.1' + - dstInterface0: + interfaceType: 'IP' + dstIpAddress: '20.1.1.1' state: 'ACTIVE' TrafficRules: value: @@ -1193,8 +1196,12 @@ components: - '80' action: 'FORWARD_DECAPSULATED' dstInterface: - interfaceType: 'IP' - dstIpAddress: '20.1.1.1' + - dstInterface0: + interfaceType: 'IP' + dstIpAddress: '20.1.1.1' + - dstInterface1: + interfaceType: 'IP' + dstIpAddress: '20.1.1.2' state: 'ACTIVE' -- GitLab From 469a4882bb4323c15b2a67d13d657dcc74965407 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Tue, 7 Jun 2022 11:07:50 +0500 Subject: [PATCH 134/183] update app-support-client yaml to v2.2.1 --- .../api/app-support/swagger.yaml | 3 -- .../meep-app-support-client/api/swagger.yaml | 40 ++++++++++--------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index b77651071..be03c10e6 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -1199,9 +1199,6 @@ components: - dstInterface0: interfaceType: 'IP' dstIpAddress: '20.1.1.1' - - dstInterface1: - interfaceType: 'IP' - dstIpAddress: '20.1.1.2' state: 'ACTIVE' diff --git a/go-packages/meep-app-support-client/api/swagger.yaml b/go-packages/meep-app-support-client/api/swagger.yaml index 40bd5aa29..1dd29bb3a 100644 --- a/go-packages/meep-app-support-client/api/swagger.yaml +++ b/go-packages/meep-app-support-client/api/swagger.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: AdvantEDGE MEC Application Support API description: "MEC Application Support Service is AdvantEDGE's implementation of\ - \ [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)\ + \ [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)\ \

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ \

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)\ \

**Type & Usage**
Edge Service used by edge applications that want to get\ @@ -14,10 +14,10 @@ info: license: name: Apache 2.0 url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.1.1 + version: 2.2.1 externalDocs: - description: "ETSI GS MEC011 Application Enablement API, V2.1.1" - url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf + description: "ETSI GS MEC011 Application Enablement API, V2.2.1" + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf servers: - url: https://localhost/sandboxname/mec_app_support/v1 tags: @@ -48,7 +48,6 @@ paths: content: application/json: schema: - minItems: 0 type: array items: $ref: '#/components/schemas/TrafficRule' @@ -228,7 +227,6 @@ paths: content: application/json: schema: - minItems: 0 type: array items: $ref: '#/components/schemas/DnsRule' @@ -1046,7 +1044,7 @@ components: $ref: '#/components/schemas/TimingCaps_ntpServers' ptpMasters: type: array - description: Available PTP Masters + description: Number of available PTP Servers (referred to as "masters" in IEEE 1588-2019) items: $ref: '#/components/schemas/TimingCaps_ptpMasters' description: This type represents the information provided by the MEC platform @@ -1217,8 +1215,9 @@ components: - PACKET priority: type: integer - description: "Priority of this traffic rule. If traffic rule conflicts,\ - \ the one with higher priority take precedence" + description: "Priority of this traffic rule within the range 0 to 255. If traffic rules conflict,\ + \ the one with higher priority take precedence. Value indicates the priority in descending order,\ + \ i.e. with 0 as the highest priority and 255 as the lowest priority." format: uint32 trafficFilter: type: array @@ -1236,7 +1235,10 @@ components: - DUPLICATE_DECAPSULATED - DUPLICATE_ENCAPSULATED dstInterface: - $ref: '#/components/schemas/DestinationInterface' + type: array + items: + $ref: '#/components/schemas/DestinationInterface' + maxItems: 2 state: type: string description: Contains the traffic rule state. This attribute may be updated @@ -1454,12 +1456,12 @@ components: minPollingInterval: type: integer description: "Minimum poll interval for NTP messages, in seconds as a power\ - \ of two. Range 3...17" + \ of two. Range 3 to 17" format: uint32 maxPollingInterval: type: integer description: "Maximum poll interval for NTP messages, in seconds as a power\ - \ of two. Range 3...17" + \ of two. Range 3 to 17" format: uint32 localPriority: type: integer @@ -1494,10 +1496,10 @@ components: properties: ptpMasterIpAddress: type: string - description: PTP Master IP Address + description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address ptpMasterLocalPriority: type: integer - description: PTP Master local priority + description: PTP Server (referred to as "master" in IEEE 1588-2019 ) local priority format: uint32 delayReqMaxRate: type: integer @@ -1747,8 +1749,9 @@ components: - "80" action: FORWARD_DECAPSULATED dstInterface: - interfaceType: IP - dstIpAddress: 20.1.1.1 + - dstInterface0: + interfaceType: IP + dstIpAddress: 20.1.1.1 state: ACTIVE TrafficRules: value: @@ -1766,8 +1769,9 @@ components: - "80" action: FORWARD_DECAPSULATED dstInterface: - interfaceType: IP - dstIpAddress: 20.1.1.1 + - dstInterface0: + interfaceType: IP + dstIpAddress: 20.1.1.1 state: ACTIVE requestBodies: ApplicationsConfirmReady: -- GitLab From 51cb2f4bd78cc2a67a1e13e2277aeaa25b603906 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Tue, 7 Jun 2022 17:03:12 +0500 Subject: [PATCH 135/183] add error handling capabilities in problemDetails in MEC013 --- go-apps/meep-loc-serv/api/swagger.yaml | 3 + go-apps/meep-loc-serv/server/convert.go | 9 + go-apps/meep-loc-serv/server/loc-serv.go | 309 +++++++++--------- .../server/model_problem_details.go | 4 +- 4 files changed, 174 insertions(+), 151 deletions(-) diff --git a/go-apps/meep-loc-serv/api/swagger.yaml b/go-apps/meep-loc-serv/api/swagger.yaml index a24c3b454..a135e8f19 100644 --- a/go-apps/meep-loc-serv/api/swagger.yaml +++ b/go-apps/meep-loc-serv/api/swagger.yaml @@ -2436,6 +2436,9 @@ components: type: string x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + required: + - status + - detail type: object RetrievalStatus: enum: diff --git a/go-apps/meep-loc-serv/server/convert.go b/go-apps/meep-loc-serv/server/convert.go index 1a5a063b4..c12f8c29f 100755 --- a/go-apps/meep-loc-serv/server/convert.go +++ b/go-apps/meep-loc-serv/server/convert.go @@ -297,3 +297,12 @@ func convertStringToConnectionType(conType string) ConnectionType { return CONTYPE_UNKNOWN } } + +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Println(err.Error()) + return "" + } + return string(jsonInfo) +} \ No newline at end of file diff --git a/go-apps/meep-loc-serv/server/loc-serv.go b/go-apps/meep-loc-serv/server/loc-serv.go index 9ad4e42cd..0e5bfd15c 100644 --- a/go-apps/meep-loc-serv/server/loc-serv.go +++ b/go-apps/meep-loc-serv/server/loc-serv.go @@ -1478,7 +1478,7 @@ func usersGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateUserList, &userData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1486,7 +1486,7 @@ func usersGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1606,7 +1606,7 @@ func apGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateApList, &userData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1614,7 +1614,7 @@ func apGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1638,14 +1638,14 @@ func apByIdGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonApInfo), &apInfo) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1664,14 +1664,14 @@ func zonesGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateZoneList, &zoneList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1695,14 +1695,14 @@ func zonesByIdGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonZoneInfo), &zoneInfo) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1766,7 +1766,7 @@ func distanceSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typeDistanceSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1786,14 +1786,14 @@ func distanceSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateDistanceList, &distanceSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1817,14 +1817,14 @@ func distanceSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonDistanceSub), &distanceSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1841,42 +1841,42 @@ func distanceSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } distanceSub := body.DistanceNotificationSubscription if distanceSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if distanceSub.CallbackReference == nil || distanceSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if distanceSub.Criteria == nil { log.Error("Mandatory DistanceCriteria parameter not present") - http.Error(w, "Mandatory DistanceCriteria parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory DistanceCriteria parameter not present", http.StatusBadRequest) return } if distanceSub.Frequency == 0 { log.Error("Mandatory Frequency parameter not present") - http.Error(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) return } if distanceSub.MonitoredAddress == nil { log.Error("Mandatory MonitoredAddress parameter not present") - http.Error(w, "Mandatory MonitoredAddress parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory MonitoredAddress parameter not present", http.StatusBadRequest) return } /* if distanceSub.TrackingAccuracy == 0 { log.Error("Mandatory TrackingAccuracy parameter not present") - http.Error(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) return } */ @@ -1896,7 +1896,7 @@ func distanceSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -1913,48 +1913,48 @@ func distanceSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } distanceSub := body.DistanceNotificationSubscription if distanceSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if distanceSub.CallbackReference == nil || distanceSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if distanceSub.Criteria == nil { log.Error("Mandatory DistanceCriteria parameter not present") - http.Error(w, "Mandatory DistanceCriteria parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory DistanceCriteria parameter not present", http.StatusBadRequest) return } if distanceSub.Frequency == 0 { log.Error("Mandatory Frequency parameter not present") - http.Error(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) return } if distanceSub.MonitoredAddress == nil { log.Error("Mandatory MonitoredAddress parameter not present") - http.Error(w, "Mandatory MonitoredAddress parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory MonitoredAddress parameter not present", http.StatusBadRequest) return } /* if distanceSub.TrackingAccuracy == 0 { log.Error("Mandatory TrackingAccuracy parameter not present") - http.Error(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) return } */ if distanceSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -1966,7 +1966,7 @@ func distanceSubPut(w http.ResponseWriter, r *http.Request) { //Body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -1997,7 +1997,7 @@ func distanceSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2030,7 +2030,7 @@ func areaCircleSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typeAreaCircleSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2050,14 +2050,14 @@ func areaCircleSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateAreaCircleList, &areaCircleSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2080,14 +2080,14 @@ func areaCircleSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonAreaCircleSub), &areaCircleSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2103,72 +2103,72 @@ func areaCircleSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } areaCircleSub := body.CircleNotificationSubscription if areaCircleSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if areaCircleSub.CallbackReference == nil || areaCircleSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if areaCircleSub.Address == nil { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } if areaCircleSub.Latitude == 0 { log.Error("Mandatory Latitude parameter not present") - http.Error(w, "Mandatory Latitude parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Latitude parameter not present", http.StatusBadRequest) return } if areaCircleSub.Longitude == 0 { log.Error("Mandatory Longitude parameter not present") - http.Error(w, "Mandatory Longitude parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Longitude parameter not present", http.StatusBadRequest) return } if areaCircleSub.Radius == 0 { log.Error("Mandatory Radius parameter not present") - http.Error(w, "Mandatory Radius parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Radius parameter not present", http.StatusBadRequest) return } if areaCircleSub.EnteringLeavingCriteria == nil { log.Error("Mandatory EnteringLeavingCriteria parameter not present") - http.Error(w, "Mandatory EnteringLeavingCriteria parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory EnteringLeavingCriteria parameter not present", http.StatusBadRequest) return } else { switch *areaCircleSub.EnteringLeavingCriteria { case ENTERING_CRITERIA, LEAVING_CRITERIA: default: log.Error("Invalid Mandatory EnteringLeavingCriteria parameter value") - http.Error(w, "Invalid Mandatory EnteringLeavingCriteria parameter value", http.StatusBadRequest) + errHandlerProblemDetails(w, "Invalid Mandatory EnteringLeavingCriteria parameter value", http.StatusBadRequest) return } } if areaCircleSub.Frequency == 0 { log.Error("Mandatory Frequency parameter not present") - http.Error(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) return } /* if areaCircleSub.CheckImmediate == nil { log.Error("Mandatory CheckImmediate parameter not present") - http.Error(w, "Mandatory CheckImmediate parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CheckImmediate parameter not present", http.StatusBadRequest) return } */ /* if areaCircleSub.TrackingAccuracy == 0 { log.Error("Mandatory TrackingAccuracy parameter not present") - http.Error(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) return } */ @@ -2199,7 +2199,7 @@ func areaCircleSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -2217,70 +2217,70 @@ func areaCircleSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } areaCircleSub := body.CircleNotificationSubscription if areaCircleSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if areaCircleSub.CallbackReference == nil || areaCircleSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if areaCircleSub.Address == nil { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } if areaCircleSub.Latitude == 0 { log.Error("Mandatory Latitude parameter not present") - http.Error(w, "Mandatory Latitude parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Latitude parameter not present", http.StatusBadRequest) return } if areaCircleSub.Longitude == 0 { log.Error("Mandatory Longitude parameter not present") - http.Error(w, "Mandatory Longitude parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Longitude parameter not present", http.StatusBadRequest) return } if areaCircleSub.Radius == 0 { log.Error("Mandatory Radius parameter not present") - http.Error(w, "Mandatory Radius parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Radius parameter not present", http.StatusBadRequest) return } if areaCircleSub.EnteringLeavingCriteria == nil { log.Error("Mandatory EnteringLeavingCriteria parameter not present") - http.Error(w, "Mandatory EnteringLeavingCriteria parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory EnteringLeavingCriteria parameter not present", http.StatusBadRequest) return } if areaCircleSub.Frequency == 0 { log.Error("Mandatory Frequency parameter not present") - http.Error(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) return } /* if areaCircleSub.CheckImmediate == nil { log.Error("Mandatory CheckImmediate parameter not present") - http.Error(w, "Mandatory CheckImmediate parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CheckImmediate parameter not present", http.StatusBadRequest) return } */ /* if areaCircleSub.TrackingAccuracy == 0 { log.Error("Mandatory TrackingAccuracy parameter not present") - http.Error(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory TrackingAccuracy parameter not present", http.StatusBadRequest) return } */ if areaCircleSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -2292,7 +2292,7 @@ func areaCircleSubPut(w http.ResponseWriter, r *http.Request) { //body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -2325,7 +2325,7 @@ func areaCircleSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2358,7 +2358,7 @@ func periodicSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typePeriodicSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2378,14 +2378,14 @@ func periodicSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populatePeriodicList, &periodicSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2408,14 +2408,14 @@ func periodicSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonPeriodicSub), &periodicSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2431,37 +2431,37 @@ func periodicSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } periodicSub := body.PeriodicNotificationSubscription if periodicSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if periodicSub.CallbackReference == nil || periodicSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if periodicSub.Address == nil { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } if periodicSub.Frequency <= 0 { log.Error("Mandatory Frequency parameter missing or Frequency value should be 1 or above") - http.Error(w, "Mandatory Frequency parameter missing or Frequency value should be 1 or above", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter missing or Frequency value should be 1 or above", http.StatusBadRequest) return } /* if periodicSub.RequestedAccuracy == 0 { log.Error("Mandatory RequestedAccuracy parameter not present") - http.Error(w, "Mandatory RequestedAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory RequestedAccuracy parameter not present", http.StatusBadRequest) return } */ @@ -2491,7 +2491,7 @@ func periodicSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -2509,43 +2509,43 @@ func periodicSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } periodicSub := body.PeriodicNotificationSubscription if periodicSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if periodicSub.CallbackReference == nil || periodicSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if periodicSub.Address == nil { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } if periodicSub.Frequency == 0 { log.Error("Mandatory Frequency parameter not present") - http.Error(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Frequency parameter not present", http.StatusBadRequest) return } /* if periodicSub.RequestedAccuracy == 0 { log.Error("Mandatory RequestedAccuracy parameter not present") - http.Error(w, "Mandatory RequestedAccuracy parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory RequestedAccuracy parameter not present", http.StatusBadRequest) return } */ if periodicSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -2557,7 +2557,7 @@ func periodicSubPut(w http.ResponseWriter, r *http.Request) { //body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -2585,7 +2585,7 @@ func periodicSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2618,7 +2618,7 @@ func userTrackingSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typeUserSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2638,14 +2638,14 @@ func userTrackingSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateUserTrackingList, &userTrackingSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2669,14 +2669,14 @@ func userTrackingSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonUserTrackingSub), &userTrackingSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2693,26 +2693,26 @@ func userTrackingSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } userTrackingSub := body.UserTrackingSubscription if userTrackingSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if userTrackingSub.CallbackReference == nil || userTrackingSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if userTrackingSub.Address == "" { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } @@ -2730,7 +2730,7 @@ func userTrackingSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -2748,31 +2748,31 @@ func userTrackingSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } userTrackingSub := body.UserTrackingSubscription if userTrackingSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if userTrackingSub.CallbackReference == nil || userTrackingSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if userTrackingSub.Address == "" { log.Error("Mandatory Address parameter not present") - http.Error(w, "Mandatory Address parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Address parameter not present", http.StatusBadRequest) return } if userTrackingSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -2784,7 +2784,7 @@ func userTrackingSubPut(w http.ResponseWriter, r *http.Request) { //Body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -2812,7 +2812,7 @@ func userTrackingSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2845,7 +2845,7 @@ func zonalTrafficSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typeZonalSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2865,14 +2865,14 @@ func zonalTrafficSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateZonalTrafficList, &zonalTrafficSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2895,14 +2895,14 @@ func zonalTrafficSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonZonalTrafficSub), &zonalTrafficSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2919,26 +2919,26 @@ func zonalTrafficSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } zonalTrafficSub := body.ZonalTrafficSubscription if zonalTrafficSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if zonalTrafficSub.CallbackReference == nil || zonalTrafficSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if zonalTrafficSub.ZoneId == "" { log.Error("Mandatory ZoneId parameter not present") - http.Error(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) return } @@ -2968,7 +2968,7 @@ func zonalTrafficSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -2986,31 +2986,31 @@ func zonalTrafficSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } zonalTrafficSub := body.ZonalTrafficSubscription if zonalTrafficSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if zonalTrafficSub.CallbackReference == nil || zonalTrafficSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if zonalTrafficSub.ZoneId == "" { log.Error("Mandatory ZoneId parameter not present") - http.Error(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) return } if zonalTrafficSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -3022,7 +3022,7 @@ func zonalTrafficSubPut(w http.ResponseWriter, r *http.Request) { //body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -3050,7 +3050,7 @@ func zonalTrafficSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3083,7 +3083,7 @@ func zoneStatusSubDelete(w http.ResponseWriter, r *http.Request) { err := rc.JSONDelEntry(baseKey+typeZoneStatusSubscription+":"+vars["subscriptionId"], ".") if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3103,14 +3103,14 @@ func zoneStatusSubListGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateZoneStatusList, &zoneStatusSubList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3134,14 +3134,14 @@ func zoneStatusSubGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonZoneStatusSub), &zoneStatusSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3158,26 +3158,26 @@ func zoneStatusSubPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } zoneStatusSub := body.ZoneStatusSubscription if zoneStatusSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if zoneStatusSub.CallbackReference == nil || zoneStatusSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if zoneStatusSub.ZoneId == "" { log.Error("Mandatory ZoneId parameter not present") - http.Error(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) return } @@ -3197,7 +3197,7 @@ func zoneStatusSubPost(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -3215,31 +3215,31 @@ func zoneStatusSubPut(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&body) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } zoneStatusSub := body.ZoneStatusSubscription if zoneStatusSub == nil { log.Error("Body not present") - http.Error(w, "Body not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Body not present", http.StatusBadRequest) return } //checking for mandatory properties if zoneStatusSub.CallbackReference == nil || zoneStatusSub.CallbackReference.NotifyURL == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if zoneStatusSub.ZoneId == "" { log.Error("Mandatory ZoneId parameter not present") - http.Error(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ZoneId parameter not present", http.StatusBadRequest) return } if zoneStatusSub.ResourceURL == "" { log.Error("Mandatory ResourceURL parameter not present") - http.Error(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory ResourceURL parameter not present", http.StatusBadRequest) return } @@ -3251,7 +3251,7 @@ func zoneStatusSubPut(w http.ResponseWriter, r *http.Request) { //body content not matching parameters if subsIdStr != subsIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -3280,7 +3280,7 @@ func zoneStatusSubPut(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3719,27 +3719,27 @@ func distanceGet(w http.ResponseWriter, r *http.Request) { if len(address) == 0 { log.Error("Query should have at least 1 'address' parameter") - http.Error(w, "Query should have at least 1 'address' parameter", http.StatusBadRequest) + errHandlerProblemDetails(w, "Query should have at least 1 'address' parameter", http.StatusBadRequest) return } if len(address) > 2 { log.Error("Query cannot have more than 2 'address' parameters") - http.Error(w, "Query cannot have more than 2 'address' parameters", http.StatusBadRequest) + errHandlerProblemDetails(w, "Query cannot have more than 2 'address' parameters", http.StatusBadRequest) return } if len(address) == 2 && (latitudeStr != "" || longitudeStr != "") { log.Error("Query cannot have 2 'address' parameters and 'latitude'/'longitude' parameters") - http.Error(w, "Query cannot have 2 'address' parameters and 'latitude'/'longitude' parameters", http.StatusBadRequest) + errHandlerProblemDetails(w, "Query cannot have 2 'address' parameters and 'latitude'/'longitude' parameters", http.StatusBadRequest) return } if (latitudeStr != "" && longitudeStr == "") || (latitudeStr == "" && longitudeStr != "") { log.Error("Query must provide a latitude and a longitude for a point to be valid") - http.Error(w, "Query must provide a latitude and a longitude for a point to be valid", http.StatusBadRequest) + errHandlerProblemDetails(w, "Query must provide a latitude and a longitude for a point to be valid", http.StatusBadRequest) return } if len(address) == 1 && latitudeStr == "" && longitudeStr == "" { log.Error("Query must provide either 2 'address' parameters or 1 'address' parameter and 'latitude'/'longitude' parameters") - http.Error(w, "Query must provide either 2 'address' parameters or 1 'address' parameter and 'latitude'/'longitude' parameters", http.StatusBadRequest) + errHandlerProblemDetails(w, "Query must provide either 2 'address' parameters or 1 'address' parameter and 'latitude'/'longitude' parameters", http.StatusBadRequest) return } @@ -3782,7 +3782,7 @@ func distanceGet(w http.ResponseWriter, r *http.Request) { longitude, err := strconv.ParseFloat(longitudeStr, 32) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } distParam.Longitude = float32(longitude) @@ -3792,7 +3792,7 @@ func distanceGet(w http.ResponseWriter, r *http.Request) { latitude, err := strconv.ParseFloat(latitudeStr, 32) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } distParam.Latitude = float32(latitude) @@ -3804,14 +3804,14 @@ func distanceGet(w http.ResponseWriter, r *http.Request) { errCode, errStr := strconv.Atoi(errCodeStr[0]) if errStr == nil { log.Error("Error code from gis-engine API : ", err) - http.Error(w, err.Error(), errCode) + errHandlerProblemDetails(w, err.Error(), errCode) } else { log.Error("Failed to communicate with gis engine: ", err) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) } } else { log.Error("Failed to communicate with gis engine: ", err) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) } return } @@ -3831,7 +3831,7 @@ func distanceGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3846,7 +3846,7 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(¬ification) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3875,3 +3875,14 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusNoContent) } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} \ No newline at end of file diff --git a/go-apps/meep-loc-serv/server/model_problem_details.go b/go-apps/meep-loc-serv/server/model_problem_details.go index ad918bcb2..0a6e5107b 100644 --- a/go-apps/meep-loc-serv/server/model_problem_details.go +++ b/go-apps/meep-loc-serv/server/model_problem_details.go @@ -25,11 +25,11 @@ package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type -- GitLab From bd7a3875cae8af3561a56e82a674ca2c55c84397 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Tue, 7 Jun 2022 18:16:20 +0500 Subject: [PATCH 136/183] implement webSock functionality in meep-rnis --- go-apps/meep-rnis/server/rnis.go | 240 ++++++++++++++++++++++++++----- 1 file changed, 205 insertions(+), 35 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 4066f1ca1..220b9e429 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -1609,7 +1609,11 @@ func checkCcNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.SrcEcgi = &oldEcgi notif.TrgEcgi = []Ecgi{newEcgi} notif.AssociateId = append(notif.AssociateId, notifAssociateId) - notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr + notif.Links = &CaReconfNotificationLinks{ + &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + subsIdStr, + }, + } if subscription.CallbackReference != "" { sendCcNotification(subscription.CallbackReference, notif, false) @@ -1688,10 +1692,19 @@ func checkReNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.Ecgi = &newEcgi notif.ErabQosParameters = &erabQos notif.AssociateId = append(notif.AssociateId, notifAssociateId) - notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr + notif.Links = &CaReconfNotificationLinks{ + &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + subsIdStr, + }, + } - sendReNotification(subscription.CallbackReference, notif) - log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") + if subscription.CallbackReference != "" { + sendReNotification(subscription.CallbackReference, notif, false) + log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") + } else { + sendReNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") + } } } } @@ -1763,10 +1776,19 @@ func checkRrNotificationRegisteredSubscriptions(appId string, assocId *Associate notif.Ecgi = &oldEcgi notif.ErabReleaseInfo = &erabRelInfo notif.AssociateId = append(notif.AssociateId, notifAssociateId) - notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr + notif.Links = &CaReconfNotificationLinks{ + &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + subsIdStr, + }, + } - sendRrNotification(subscription.CallbackReference, notif) - log.Info("Rab_release Notification" + "(" + subsIdStr + ")") + if subscription.CallbackReference != "" { + sendRrNotification(subscription.CallbackReference, notif, false) + log.Info("Rab_release Notification" + "(" + subsIdStr + ")") + } else { + sendRrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + log.Info("Rab_release Notification" + "(" + subsIdStr + ")") + } } } } @@ -1887,12 +1909,21 @@ func checkMrNotificationRegisteredSubscriptions(key string, jsonInfo string, ext } } } - notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr + notif.Links = &CaReconfNotificationLinks{ + &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + subsIdStr, + }, + } + if parentMeasExists { - log.Info("Sending RNIS notification ", subscription.CallbackReference) - callbackReference := subscription.CallbackReference - go sendMrNotification(callbackReference, notif) - log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + if subscription.CallbackReference != "" { + log.Info("Sending RNIS notification ", subscription.CallbackReference) + go sendMrNotification(subscription.CallbackReference, notif, false) + log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } else { + go sendMrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } } } } @@ -2040,12 +2071,21 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e if report5GNeighborOnly { notif.EutraNeighCellMeasInfo = nil } - notif.Links.Subscription.Href = hostUrl.String() + basePath + "subscriptions/" + subsIdStr + notif.Links = &CaReconfNotificationLinks{ + &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + subsIdStr, + }, + } + if parentMeasExists { - log.Info("Sending RNIS notification ", subscription.CallbackReference) - callbackReference := subscription.CallbackReference - go sendNrMrNotification(callbackReference, notif) - log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + if subscription.CallbackReference != "" { + log.Info("Sending RNIS notification ", subscription.CallbackReference) + go sendNrMrNotification(subscription.CallbackReference, notif, false) + log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } else { + go sendNrMrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } } } } @@ -2065,11 +2105,7 @@ func sendCcNotification(notifyUrl string, notification CellChangeNotification, i switch isWebsocket { case true: - u := url.URL{ - Host: notifyUrl, - //Path: "/" - } - c, _, err = websocket.DefaultDialer.Dial(u.String(), nil) + c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) if err != nil { log.Error(err.Error()) break @@ -2090,7 +2126,9 @@ func sendCcNotification(notifyUrl string, notification CellChangeNotification, i break } - resp.StatusCode = http.StatusNoContent + resp = &http.Response{ + StatusCode: http.StatusNoContent, + } case false: resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) @@ -2107,79 +2145,211 @@ func sendCcNotification(notifyUrl string, notification CellChangeNotification, i defer resp.Body.Close() } -func sendReNotification(notifyUrl string, notification RabEstNotification) { +func sendReNotification(notifyUrl string, notification RabEstNotification, isWebsocket bool) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + var resp *http.Response + var c *websocket.Conn + + switch isWebsocket { + case true: + c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) + if err != nil { + log.Error(err.Error()) + break + } + + // send message + err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) + if err != nil { + // handle error + log.Error(err.Error()) + break + } + + // receive message + _, _, err = c.ReadMessage() + if err != nil { + log.Error(err.Error()) + break + } + + resp = &http.Response{ + StatusCode: http.StatusNoContent, + } + case false: + resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) + } + duration := float64(time.Since(startTime).Microseconds()) / 1000.0 - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifRabEst, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifRabEst, notifyUrl, resp, duration) + defer c.Close() defer resp.Body.Close() } -func sendRrNotification(notifyUrl string, notification RabRelNotification) { +func sendRrNotification(notifyUrl string, notification RabRelNotification, isWebsocket bool) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + var resp *http.Response + var c *websocket.Conn + + switch isWebsocket { + case true: + c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) + if err != nil { + log.Error(err.Error()) + break + } + + // send message + err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) + if err != nil { + // handle error + log.Error(err.Error()) + break + } + + // receive message + _, _, err = c.ReadMessage() + if err != nil { + log.Error(err.Error()) + break + } + + resp = &http.Response{ + StatusCode: http.StatusNoContent, + } + case false: + resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) + } + duration := float64(time.Since(startTime).Microseconds()) / 1000.0 - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifRabRel, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifRabRel, notifyUrl, resp, duration) + defer c.Close() defer resp.Body.Close() } -func sendMrNotification(notifyUrl string, notification MeasRepUeNotification) { +func sendMrNotification(notifyUrl string, notification MeasRepUeNotification, isWebsocket bool) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + var resp *http.Response + var c *websocket.Conn + + switch isWebsocket { + case true: + c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) + if err != nil { + log.Error(err.Error()) + break + } + + // send message + err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) + if err != nil { + // handle error + log.Error(err.Error()) + break + } + + // receive message + _, _, err = c.ReadMessage() + if err != nil { + log.Error(err.Error()) + break + } + + resp = &http.Response{ + StatusCode: http.StatusNoContent, + } + case false: + resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) + } + duration := float64(time.Since(startTime).Microseconds()) / 1000.0 - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifMeasRepUe, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifMeasRepUe, notifyUrl, resp, duration) + defer c.Close() defer resp.Body.Close() } -func sendNrMrNotification(notifyUrl string, notification NrMeasRepUeNotification) { +func sendNrMrNotification(notifyUrl string, notification NrMeasRepUeNotification, isWebsocket bool) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + var resp *http.Response + var c *websocket.Conn + + switch isWebsocket { + case true: + c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) + if err != nil { + log.Error(err.Error()) + break + } + + // send message + err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) + if err != nil { + // handle error + log.Error(err.Error()) + break + } + + // receive message + _, _, err = c.ReadMessage() + if err != nil { + log.Error(err.Error()) + break + } + + resp = &http.Response{ + StatusCode: http.StatusNoContent, + } + case false: + resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) + } + duration := float64(time.Since(startTime).Microseconds()) / 1000.0 - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifNrMeasRepUe, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifNrMeasRepUe, notifyUrl, resp, duration) + defer c.Close() defer resp.Body.Close() } -- GitLab From 3a98e279938c27502e4d13f93517f48b16e3db81 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Tue, 7 Jun 2022 18:43:45 +0500 Subject: [PATCH 137/183] fix minor bug --- go-apps/meep-loc-serv/server/convert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-loc-serv/server/convert.go b/go-apps/meep-loc-serv/server/convert.go index c12f8c29f..fa9cdeae3 100755 --- a/go-apps/meep-loc-serv/server/convert.go +++ b/go-apps/meep-loc-serv/server/convert.go @@ -301,8 +301,8 @@ func convertStringToConnectionType(conType string) ConnectionType { func convertProblemDetailstoJson(probdetails *ProblemDetails) string { jsonInfo, err := json.Marshal(*probdetails) if err != nil { - log.Println(err.Error()) + log.Error(err.Error()) return "" } return string(jsonInfo) -} \ No newline at end of file +} -- GitLab From a21a3a0101176ae874031b572472478dd0a7a550 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Wed, 8 Jun 2022 17:35:49 +0500 Subject: [PATCH 138/183] revert WebSock implementation for now and add validation checks --- go-apps/meep-rnis/server/rnis.go | 244 +++++-------------------------- 1 file changed, 40 insertions(+), 204 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 220b9e429..6f993ebbc 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -42,7 +42,6 @@ import ( smc "github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-service-mgmt-client" "github.com/gorilla/mux" - "github.com/gorilla/websocket" ) const moduleName = "meep-rnis" @@ -1616,11 +1615,11 @@ func checkCcNotificationRegisteredSubscriptions(appId string, assocId *Associate } if subscription.CallbackReference != "" { - sendCcNotification(subscription.CallbackReference, notif, false) - log.Info("Cell_change Notification" + "(" + subsIdStr + ")") - } else { - sendCcNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + sendCcNotification(subscription.CallbackReference, notif) log.Info("Cell_change Notification" + "(" + subsIdStr + ")") + } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + log.Error("WebSocket functionality is not implemented currently") + return } } } @@ -1699,11 +1698,11 @@ func checkReNotificationRegisteredSubscriptions(appId string, assocId *Associate } if subscription.CallbackReference != "" { - sendReNotification(subscription.CallbackReference, notif, false) - log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") - } else { - sendReNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + sendReNotification(subscription.CallbackReference, notif) log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") + } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + log.Error("WebSocket functionality is not implemented currently") + return } } } @@ -1783,11 +1782,11 @@ func checkRrNotificationRegisteredSubscriptions(appId string, assocId *Associate } if subscription.CallbackReference != "" { - sendRrNotification(subscription.CallbackReference, notif, false) - log.Info("Rab_release Notification" + "(" + subsIdStr + ")") - } else { - sendRrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + sendRrNotification(subscription.CallbackReference, notif) log.Info("Rab_release Notification" + "(" + subsIdStr + ")") + } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + log.Error("WebSocket functionality is not implemented currently") + return } } } @@ -1918,11 +1917,12 @@ func checkMrNotificationRegisteredSubscriptions(key string, jsonInfo string, ext if parentMeasExists { if subscription.CallbackReference != "" { log.Info("Sending RNIS notification ", subscription.CallbackReference) - go sendMrNotification(subscription.CallbackReference, notif, false) - log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") - } else { - go sendMrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + go sendMrNotification(subscription.CallbackReference, notif) log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + log.Error("WebSocket functionality is not implemented currently") + err = errors.New("WebSocket functionality is not implemented currently") + return err } } } @@ -2080,11 +2080,12 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e if parentMeasExists { if subscription.CallbackReference != "" { log.Info("Sending RNIS notification ", subscription.CallbackReference) - go sendNrMrNotification(subscription.CallbackReference, notif, false) - log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") - } else { - go sendNrMrNotification(subscription.WebsockNotifConfig.WebsocketUri, notif, true) + go sendNrMrNotification(subscription.CallbackReference, notif) log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") + } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + log.Error("WebSocket functionality is not implemented currently") + err = errors.New("WebSocket functionality is not implemented currently") + return err } } } @@ -2093,263 +2094,98 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e return nil } -func sendCcNotification(notifyUrl string, notification CellChangeNotification, isWebsocket bool) { +func sendCcNotification(notifyUrl string, notification CellChangeNotification) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - var resp *http.Response - var c *websocket.Conn - - switch isWebsocket { - case true: - c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) - if err != nil { - log.Error(err.Error()) - break - } - - // send message - err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) - if err != nil { - // handle error - log.Error(err.Error()) - break - } - - // receive message - _, _, err = c.ReadMessage() - if err != nil { - log.Error(err.Error()) - break - } - - resp = &http.Response{ - StatusCode: http.StatusNoContent, - } - case false: - resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) - } - + resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifCellChange, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifCellChange, notifyUrl, resp, duration) - defer c.Close() defer resp.Body.Close() } -func sendReNotification(notifyUrl string, notification RabEstNotification, isWebsocket bool) { +func sendReNotification(notifyUrl string, notification RabEstNotification) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - var resp *http.Response - var c *websocket.Conn - - switch isWebsocket { - case true: - c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) - if err != nil { - log.Error(err.Error()) - break - } - - // send message - err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) - if err != nil { - // handle error - log.Error(err.Error()) - break - } - - // receive message - _, _, err = c.ReadMessage() - if err != nil { - log.Error(err.Error()) - break - } - - resp = &http.Response{ - StatusCode: http.StatusNoContent, - } - case false: - resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) - } - + resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifRabEst, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifRabEst, notifyUrl, resp, duration) - defer c.Close() defer resp.Body.Close() } -func sendRrNotification(notifyUrl string, notification RabRelNotification, isWebsocket bool) { +func sendRrNotification(notifyUrl string, notification RabRelNotification) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - var resp *http.Response - var c *websocket.Conn - - switch isWebsocket { - case true: - c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) - if err != nil { - log.Error(err.Error()) - break - } - - // send message - err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) - if err != nil { - // handle error - log.Error(err.Error()) - break - } - - // receive message - _, _, err = c.ReadMessage() - if err != nil { - log.Error(err.Error()) - break - } - - resp = &http.Response{ - StatusCode: http.StatusNoContent, - } - case false: - resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) - } - + resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifRabRel, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifRabRel, notifyUrl, resp, duration) - defer c.Close() defer resp.Body.Close() } -func sendMrNotification(notifyUrl string, notification MeasRepUeNotification, isWebsocket bool) { +func sendMrNotification(notifyUrl string, notification MeasRepUeNotification) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - var resp *http.Response - var c *websocket.Conn - - switch isWebsocket { - case true: - c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) - if err != nil { - log.Error(err.Error()) - break - } - - // send message - err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) - if err != nil { - // handle error - log.Error(err.Error()) - break - } - - // receive message - _, _, err = c.ReadMessage() - if err != nil { - log.Error(err.Error()) - break - } - - resp = &http.Response{ - StatusCode: http.StatusNoContent, - } - case false: - resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) - } - + resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifMeasRepUe, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifMeasRepUe, notifyUrl, resp, duration) - defer c.Close() defer resp.Body.Close() } -func sendNrMrNotification(notifyUrl string, notification NrMeasRepUeNotification, isWebsocket bool) { +func sendNrMrNotification(notifyUrl string, notification NrMeasRepUeNotification) { startTime := time.Now() jsonNotif, err := json.Marshal(notification) if err != nil { log.Error(err.Error()) } - var resp *http.Response - var c *websocket.Conn - - switch isWebsocket { - case true: - c, _, err = websocket.DefaultDialer.Dial(notifyUrl, nil) - if err != nil { - log.Error(err.Error()) - break - } - - // send message - err = c.WriteMessage(websocket.TextMessage, []byte(jsonNotif)) - if err != nil { - // handle error - log.Error(err.Error()) - break - } - - // receive message - _, _, err = c.ReadMessage() - if err != nil { - log.Error(err.Error()) - break - } - - resp = &http.Response{ - StatusCode: http.StatusNoContent, - } - case false: - resp, err = http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) - _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) - } - + resp, err := http.Post(notifyUrl, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 + _ = httpLog.LogTx(notifyUrl, "POST", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, notifNrMeasRepUe, notifyUrl, nil, duration) return } met.ObserveNotification(sandboxName, serviceName, notifNrMeasRepUe, notifyUrl, resp, duration) - defer c.Close() defer resp.Body.Close() } @@ -2481,9 +2317,9 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { subscriptionType := subscriptionCommon.SubscriptionType //mandatory parameter - if subscriptionCommon.CallbackReference == "" && subscriptionCommon.WebsockNotifConfig.WebsocketUri == "" { - log.Error("At least one of the attributes CallbackReference or WebsockNotifConfig should be present") - http.Error(w, "At least one of the attributes CallbackReference or WebsockNotifConfig should be present", http.StatusBadRequest) + if subscriptionCommon.CallbackReference == "" { + log.Error("Mandatory CallbackReference parameter not present") + http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } -- GitLab From 2d08e9e2668b7ba428765f7c7791dbe50bd2d4bc Mon Sep 17 00:00:00 2001 From: muhammadh Date: Wed, 8 Jun 2022 17:37:53 +0500 Subject: [PATCH 139/183] update unit tests for rnis as per new Mec012 v2.2.1 --- go-apps/meep-rnis/go.mod | 1 - go-apps/meep-rnis/server/rnis_test.go | 133 +++++++++++++++++++------- 2 files changed, 97 insertions(+), 37 deletions(-) diff --git a/go-apps/meep-rnis/go.mod b/go-apps/meep-rnis/go.mod index dce3175bf..ad4b6f8a5 100644 --- a/go-apps/meep-rnis/go.mod +++ b/go-apps/meep-rnis/go.mod @@ -18,7 +18,6 @@ require ( github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-swagger-api-mgr v0.0.0 github.com/gorilla/handlers v1.4.0 github.com/gorilla/mux v1.8.0 - github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c github.com/prometheus/client_golang v1.9.0 ) diff --git a/go-apps/meep-rnis/server/rnis_test.go b/go-apps/meep-rnis/server/rnis_test.go index cd238b180..6bb0c7b8a 100644 --- a/go-apps/meep-rnis/server/rnis_test.go +++ b/go-apps/meep-rnis/server/rnis_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -896,7 +896,8 @@ func testSubscriptionCellChangePost(t *testing.T) string { expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + strconv.Itoa(nextSubscriptionIdAvailable)} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := CellChangeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, CELL_CHANGE_SUBSCRIPTION} + expectedLink := &CaReconfSubscriptionLinks{Self: &expectedLinkType} + expectedResponse := CellChangeSubscription{CELL_CHANGE_SUBSCRIPTION, expectedLink, expectedCallBackRef, nil, nil, &expectedFilter, false} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -914,7 +915,7 @@ func testSubscriptionCellChangePost(t *testing.T) string { //filter is not exactly the same in response and request filterCriteria := expectedFilter filterCriteria.HoStatus = nil - cellChangeSubscriptionPost1 := CellChangeSubscription{nil, expectedCallBackRef, nil, &expectedFilter, CELL_CHANGE_SUBSCRIPTION} + cellChangeSubscriptionPost1 := CellChangeSubscription{CELL_CHANGE_SUBSCRIPTION, nil, expectedCallBackRef, nil, nil, &expectedFilter, false} body, err := json.Marshal(cellChangeSubscriptionPost1) if err != nil { @@ -958,7 +959,8 @@ func testSubscriptionCellChangePut(t *testing.T, subscriptionId string, expectSu expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + subscriptionId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := CellChangeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, CELL_CHANGE_SUBSCRIPTION} + expectedLink := &CaReconfSubscriptionLinks{Self: &expectedLinkType} + expectedResponse := CellChangeSubscription{CELL_CHANGE_SUBSCRIPTION, expectedLink, expectedCallBackRef, nil, nil, &expectedFilter, false} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -974,7 +976,7 @@ func testSubscriptionCellChangePut(t *testing.T, subscriptionId string, expectSu /****************************** * request body section ******************************/ - cellChangeSubscription1 := CellChangeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, CELL_CHANGE_SUBSCRIPTION} + cellChangeSubscription1 := CellChangeSubscription{CELL_CHANGE_SUBSCRIPTION, expectedLink, expectedCallBackRef, nil, nil, &expectedFilter, false} body, err := json.Marshal(cellChangeSubscription1) if err != nil { @@ -1103,7 +1105,7 @@ func testSubscriptionRabEstPost(t *testing.T) string { expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + strconv.Itoa(nextSubscriptionIdAvailable)} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := RabEstSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_EST_SUBSCRIPTION} + expectedResponse := RabEstSubscription{RAB_EST_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1119,7 +1121,7 @@ func testSubscriptionRabEstPost(t *testing.T) string { ******************************/ //filter is not exactly the same in response and request - subscriptionPost1 := RabEstSubscription{nil, expectedCallBackRef, nil, &expectedFilter, RAB_EST_SUBSCRIPTION} + subscriptionPost1 := RabEstSubscription{RAB_EST_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscriptionPost1) if err != nil { @@ -1161,7 +1163,7 @@ func testSubscriptionRabEstPut(t *testing.T, subscriptionId string, expectSucces expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + subscriptionId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := RabEstSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_EST_SUBSCRIPTION} + expectedResponse := RabEstSubscription{RAB_EST_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1178,7 +1180,7 @@ func testSubscriptionRabEstPut(t *testing.T, subscriptionId string, expectSucces * request body section ******************************/ - subscription1 := RabEstSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_EST_SUBSCRIPTION} + subscription1 := RabEstSubscription{RAB_EST_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscription1) if err != nil { @@ -1228,7 +1230,7 @@ func testSubscriptionRabRelPost(t *testing.T) string { expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + strconv.Itoa(nextSubscriptionIdAvailable)} //expectedExpiry := TimeStamp{0, 1988599770} - expectedResponse := RabRelSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_REL_SUBSCRIPTION} + expectedResponse := RabRelSubscription{RAB_REL_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1244,7 +1246,7 @@ func testSubscriptionRabRelPost(t *testing.T) string { ******************************/ //filter is not exactly the same in response and request - subscriptionPost1 := RabRelSubscription{nil, expectedCallBackRef, nil, &expectedFilter, RAB_REL_SUBSCRIPTION} + subscriptionPost1 := RabRelSubscription{RAB_REL_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscriptionPost1) if err != nil { @@ -1285,7 +1287,7 @@ func testSubscriptionRabRelPut(t *testing.T, subscriptionId string, expectSucces expectedFilter := RabModSubscriptionFilterCriteriaQci{"myApp", expectedEcgi, 1, 88} expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + subscriptionId} - expectedResponse := RabRelSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_REL_SUBSCRIPTION} + expectedResponse := RabRelSubscription{RAB_REL_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1302,7 +1304,7 @@ func testSubscriptionRabRelPut(t *testing.T, subscriptionId string, expectSucces * request body section ******************************/ - subscription1 := RabRelSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, RAB_REL_SUBSCRIPTION} + subscription1 := RabRelSubscription{RAB_REL_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscription1) if err != nil { @@ -1354,7 +1356,7 @@ func testSubscriptionMeasRepUePost(t *testing.T) string { expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + strconv.Itoa(nextSubscriptionIdAvailable)} //expectedExpiry := TimeStamp{0, 1988599770} - expectedResponse := MeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MEAS_REP_UE_SUBSCRIPTION} + expectedResponse := MeasRepUeSubscription{MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1370,7 +1372,7 @@ func testSubscriptionMeasRepUePost(t *testing.T) string { ******************************/ //filter is not exactly the same in response and request - subscriptionPost1 := MeasRepUeSubscription{nil, expectedCallBackRef, nil, &expectedFilter, MEAS_REP_UE_SUBSCRIPTION} + subscriptionPost1 := MeasRepUeSubscription{MEAS_REP_UE_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscriptionPost1) if err != nil { @@ -1413,7 +1415,7 @@ func testSubscriptionMeasRepUePut(t *testing.T, subscriptionId string, expectSuc expectedFilter := MeasRepUeSubscriptionFilterCriteriaAssocTri{"myApp", expectedAssocId, expectedEcgi, []Trigger{1}} expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + subscriptionId} - expectedResponse := MeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MEAS_REP_UE_SUBSCRIPTION} + expectedResponse := MeasRepUeSubscription{MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1430,7 +1432,7 @@ func testSubscriptionMeasRepUePut(t *testing.T, subscriptionId string, expectSuc * request body section ******************************/ - subscription1 := MeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MEAS_REP_UE_SUBSCRIPTION} + subscription1 := MeasRepUeSubscription{MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscription1) if err != nil { @@ -1474,15 +1476,15 @@ func testSubscriptionNrMeasRepUePost(t *testing.T) string { /****************************** * expected response section ******************************/ - expectedNrcgi1 := NRcgi{"1234567", &Plmn{"111", "222"}} - expectedNrcgi := []NRcgi{expectedNrcgi1} + expectedNrcgi1 := Nrcgi{"1234567", &Plmn{"111", "222"}} + expectedNrcgi := []Nrcgi{expectedNrcgi1} expectedAssocId1 := AssociateId{1, "2.2.2.2"} expectedAssocId := []AssociateId{expectedAssocId1} expectedFilter := NrMeasRepUeSubscriptionFilterCriteriaNrMrs{"myApp", expectedAssocId, expectedNrcgi, []TriggerNr{1}} expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + strconv.Itoa(nextSubscriptionIdAvailable)} //expectedExpiry := TimeStamp{0, 1988599770} - expectedResponse := NrMeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, NR_MEAS_REP_UE_SUBSCRIPTION} + expectedResponse := NrMeasRepUeSubscription{NR_MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1498,7 +1500,7 @@ func testSubscriptionNrMeasRepUePost(t *testing.T) string { ******************************/ //filter is not exactly the same in response and request - subscriptionPost1 := NrMeasRepUeSubscription{nil, expectedCallBackRef, nil, &expectedFilter, NR_MEAS_REP_UE_SUBSCRIPTION} + subscriptionPost1 := NrMeasRepUeSubscription{NR_MEAS_REP_UE_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscriptionPost1) if err != nil { @@ -1534,14 +1536,14 @@ func testSubscriptionNrMeasRepUePut(t *testing.T, subscriptionId string, expectS /****************************** * expected response section ******************************/ - expectedNrcgi1 := NRcgi{"1234567", &Plmn{"111", "222"}} - expectedNrcgi := []NRcgi{expectedNrcgi1} + expectedNrcgi1 := Nrcgi{"1234567", &Plmn{"111", "222"}} + expectedNrcgi := []Nrcgi{expectedNrcgi1} expectedAssocId1 := AssociateId{1, "2.2.2.2"} expectedAssocId := []AssociateId{expectedAssocId1} expectedFilter := NrMeasRepUeSubscriptionFilterCriteriaNrMrs{"myApp", expectedAssocId, expectedNrcgi, []TriggerNr{1}} expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/rni/v2/subscriptions/" + subscriptionId} - expectedResponse := NrMeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, NR_MEAS_REP_UE_SUBSCRIPTION} + expectedResponse := NrMeasRepUeSubscription{NR_MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1558,7 +1560,7 @@ func testSubscriptionNrMeasRepUePut(t *testing.T, subscriptionId string, expectS * request body section ******************************/ - subscription1 := NrMeasRepUeSubscription{&CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, NR_MEAS_REP_UE_SUBSCRIPTION} + subscription1 := NrMeasRepUeSubscription{NR_MEAS_REP_UE_SUBSCRIPTION, &CaReconfSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(subscription1) if err != nil { @@ -1641,6 +1643,8 @@ func TestSubscriptionCellChangeNotification(t *testing.T) { //FilterCriteriaAssocHo{"", &expectedAssocId, &expectedSrcPlmn, expectedSrcCellId, &hostatus} expectedCallBackRef := "myCallbakRef" //expectedExpiry := TimeStamp{0, 1988599770} + expectedLinkType := LinkType{"/" + "testScenario" + "/rni/v2/subscriptions/" + strconv.Itoa(1)} + expectedLink := &CaReconfNotificationLinks{Subscription: &expectedLinkType} //****************************** // * request vars section @@ -1653,7 +1657,7 @@ func TestSubscriptionCellChangeNotification(t *testing.T) { //filter is not exactly the same in response and request filterCriteria := expectedFilter filterCriteria.HoStatus = nil - cellChangeSubscriptionPost1 := CellChangeSubscription{nil, expectedCallBackRef, nil, &expectedFilter, CELL_CHANGE_SUBSCRIPTION} + cellChangeSubscriptionPost1 := CellChangeSubscription{CELL_CHANGE_SUBSCRIPTION, nil, expectedCallBackRef, nil, nil, &expectedFilter, false} body, err := json.Marshal(cellChangeSubscriptionPost1) if err != nil { @@ -1737,8 +1741,20 @@ func TestSubscriptionCellChangeNotification(t *testing.T) { } expectedTargetEcgiStr := string(jsonResult) + jsonResult, err = json.Marshal(notification.Links) + if err != nil { + t.Fatalf(err.Error()) + } + notificationLinkStr := string(jsonResult) + + jsonResult, err = json.Marshal(expectedLink) + if err != nil { + t.Fatalf(err.Error()) + } + expectedLinkStr := string(jsonResult) + //only check for src, target ecgi and assocId, other values are dynamic such as the timestamp - if (notificationSrcEcgiStr != expectedSrcEcgiStr) || (notificationTargetEcgiStr != expectedTargetEcgiStr) || (notificationAssocIdStr != expectedAssocIdStr) { + if (notificationSrcEcgiStr != expectedSrcEcgiStr) || (notificationTargetEcgiStr != expectedTargetEcgiStr) || (notificationAssocIdStr != expectedAssocIdStr) || (notificationLinkStr != expectedLinkStr) { t.Fatalf("Failed to get expected response") } @@ -1788,6 +1804,8 @@ func TestSubscriptionRabEstNotification(t *testing.T) { expectedFilter := RabEstSubscriptionFilterCriteriaQci{Qci: qci} expectedCallBackRef := "myCallbakRef" //expectedExpiry := TimeStamp{0, 1988599770} + expectedLinkType := LinkType{"/" + "testScenario" + "/rni/v2/subscriptions/" + strconv.Itoa(1)} + expectedLink := &CaReconfNotificationLinks{Subscription: &expectedLinkType} //****************************** // * request vars section @@ -1797,7 +1815,7 @@ func TestSubscriptionRabEstNotification(t *testing.T) { // * request body section // ****************************** / - rabEstSubscriptionPost1 := RabEstSubscription{nil, expectedCallBackRef, nil, &expectedFilter, RAB_EST_SUBSCRIPTION} + rabEstSubscriptionPost1 := RabEstSubscription{RAB_EST_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(rabEstSubscriptionPost1) if err != nil { @@ -1875,11 +1893,24 @@ func TestSubscriptionRabEstNotification(t *testing.T) { } expectedErabQosParametersStr := string(jsonResult) + jsonResult, err = json.Marshal(notification.Links) + if err != nil { + t.Fatalf(err.Error()) + } + notificationLinkStr := string(jsonResult) + + jsonResult, err = json.Marshal(expectedLink) + if err != nil { + t.Fatalf(err.Error()) + } + expectedLinkStr := string(jsonResult) + //only check for ecgi, erabId, erabQosParameters and assocId, other values are dynamic such as the timestamp if (notificationEcgiStr != expectedEcgiStr) || (notificationErabQosParametersStr != expectedErabQosParametersStr) || (notification.ErabId != int32(expectedErabId)) || - (notificationAssocIdStr != expectedAssocIdStr) { + (notificationAssocIdStr != expectedAssocIdStr) || + (notificationLinkStr != expectedLinkStr) { t.Fatalf("Failed to get expected response") } @@ -1926,6 +1957,8 @@ func TestSubscriptionRabRelNotification(t *testing.T) { expectedFilter := RabModSubscriptionFilterCriteriaQci{"", nil, 1, qci} expectedCallBackRef := "myCallbakRef" //expectedExpiry := TimeStamp{0, 1988599770} + expectedLinkType := LinkType{"/" + "testScenario" + "/rni/v2/subscriptions/" + strconv.Itoa(1)} + expectedLink := &CaReconfNotificationLinks{Subscription: &expectedLinkType} //****************************** // * request vars section @@ -1935,7 +1968,7 @@ func TestSubscriptionRabRelNotification(t *testing.T) { // * request body section // ****************************** / - rabRelSubscriptionPost1 := RabRelSubscription{nil, expectedCallBackRef, nil, &expectedFilter, RAB_REL_SUBSCRIPTION} + rabRelSubscriptionPost1 := RabRelSubscription{RAB_REL_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(rabRelSubscriptionPost1) if err != nil { @@ -2011,10 +2044,23 @@ func TestSubscriptionRabRelNotification(t *testing.T) { } expectedErabReleaseInfoStr := string(jsonResult) + jsonResult, err = json.Marshal(notification.Links) + if err != nil { + t.Fatalf(err.Error()) + } + notificationLinkStr := string(jsonResult) + + jsonResult, err = json.Marshal(expectedLink) + if err != nil { + t.Fatalf(err.Error()) + } + expectedLinkStr := string(jsonResult) + //only check for ecgi, erabReleaseInfo and assocId, other values are dynamic such as the timestamp if (notificationEcgiStr != expectedEcgiStr) || (notificationErabReleaseInfoStr != expectedErabReleaseInfoStr) || - (notificationAssocIdStr != expectedAssocIdStr) { + (notificationAssocIdStr != expectedAssocIdStr) || + (notificationLinkStr != expectedLinkStr) { fmt.Println("TEST FAILED but commented out, TODO") //t.Fatalf("Failed to get expected response") } @@ -2060,6 +2106,8 @@ func TestSubscriptionMeasRepUeNotification(t *testing.T) { expectedTrigger := []Trigger{1} expectedFilter := MeasRepUeSubscriptionFilterCriteriaAssocTri{Trigger: expectedTrigger} expectedCallBackRef := "myCallbakRef" + expectedLinkType := LinkType{"/" + "testScenario" + "/rni/v2/subscriptions/" + strconv.Itoa(1)} + expectedLink := &CaReconfNotificationLinks{Subscription: &expectedLinkType} //expectedExpiry := TimeStamp{0, 1988599770} //****************************** @@ -2070,7 +2118,7 @@ func TestSubscriptionMeasRepUeNotification(t *testing.T) { // * request body section // ****************************** / - measRepUeSubscriptionPost1 := MeasRepUeSubscription{nil, expectedCallBackRef, nil, &expectedFilter, MEAS_REP_UE_SUBSCRIPTION} + measRepUeSubscriptionPost1 := MeasRepUeSubscription{MEAS_REP_UE_SUBSCRIPTION, nil, expectedCallBackRef, nil, false, nil, &expectedFilter} body, err := json.Marshal(measRepUeSubscriptionPost1) if err != nil { @@ -2136,11 +2184,24 @@ func TestSubscriptionMeasRepUeNotification(t *testing.T) { } expectedEcgiStr := string(jsonResult) + jsonResult, err = json.Marshal(notification.Links) + if err != nil { + t.Fatalf(err.Error()) + } + notificationLinkStr := string(jsonResult) + + jsonResult, err = json.Marshal(expectedLink) + if err != nil { + t.Fatalf(err.Error()) + } + expectedLinkStr := string(jsonResult) + //only check for ecgi, erabId, erabQosParameters and assocId, other values are dynamic such as the timestamp if (notificationEcgiStr != expectedEcgiStr) || notification.Rsrp != 0 || notification.Rsrq != 0 || - (notificationAssocIdStr != expectedAssocIdStr) { + (notificationAssocIdStr != expectedAssocIdStr) || + (notificationLinkStr != expectedLinkStr) { t.Fatalf("Failed to get expected response") } @@ -2182,14 +2243,14 @@ func TestSbi(t *testing.T) { var expectedUeData [2]UeData expectedAppNames := []string{"ue1-iperf"} - expectedUeData[INITIAL] = UeData{ueName, 1, &Ecgi{"2345678", &Plmn{"123", "456"}}, &NRcgi{"", &Plmn{"123", "456"}}, 80, poaName, nil, expectedAppNames, 0, 1000, 1000, 0.0} - expectedUeData[UPDATED] = UeData{ueName, -1, &Ecgi{"", &Plmn{"123", "456"}}, &NRcgi{"", &Plmn{"123", "456"}}, 80, poaNameAfter, nil, expectedAppNames, 0, 1000, 1000, 0.0} + expectedUeData[INITIAL] = UeData{ueName, 1, &Ecgi{"2345678", &Plmn{"123", "456"}}, &Nrcgi{"", &Plmn{"123", "456"}}, 80, poaName, nil, expectedAppNames, 0, 1000, 1000, 0.0} + expectedUeData[UPDATED] = UeData{ueName, -1, &Ecgi{"", &Plmn{"123", "456"}}, &Nrcgi{"", &Plmn{"123", "456"}}, 80, poaNameAfter, nil, expectedAppNames, 0, 1000, 1000, 0.0} var expectedAppInfoStr string expectedAppInfo := AppInfo{"EDGE", "zone1-edge1", 0, 1000, 1000, 0} var expectedPoaInfoStr string - expectedPoaInfo := PoaInfo{"POA-4G", Ecgi{"2345678", &Plmn{"123", "456"}}, NRcgi{"", nil}, 1, 1000, 1000, 0} + expectedPoaInfo := PoaInfo{"POA-4G", Ecgi{"2345678", &Plmn{"123", "456"}}, Nrcgi{"", nil}, 1, 1000, 1000, 0} j, err := json.Marshal(expectedUeData[INITIAL]) if err != nil { -- GitLab From c0dcadaf7b6a23a831ec1ef123e8210d2e78a845 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 12:24:55 +0500 Subject: [PATCH 140/183] add error handling capabilities in problemDetails in meep-rnis --- go-apps/meep-rnis/api/swagger.yaml | 3 + go-apps/meep-rnis/server/convert.go | 9 ++ .../meep-rnis/server/model_problem_details.go | 4 +- go-apps/meep-rnis/server/rnis.go | 118 ++++++++++-------- 4 files changed, 79 insertions(+), 55 deletions(-) diff --git a/go-apps/meep-rnis/api/swagger.yaml b/go-apps/meep-rnis/api/swagger.yaml index e9a33210c..3cdd718c2 100644 --- a/go-apps/meep-rnis/api/swagger.yaml +++ b/go-apps/meep-rnis/api/swagger.yaml @@ -2672,6 +2672,9 @@ components: type: string x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + required: + - status + - detail type: object RabEstNotification: properties: diff --git a/go-apps/meep-rnis/server/convert.go b/go-apps/meep-rnis/server/convert.go index acd8d8dce..dfef8ab18 100755 --- a/go-apps/meep-rnis/server/convert.go +++ b/go-apps/meep-rnis/server/convert.go @@ -242,3 +242,12 @@ func convertNrMeasRepUeSubscriptionToJson(obj *NrMeasRepUeSubscription) string { return string(jsonInfo) } + +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} diff --git a/go-apps/meep-rnis/server/model_problem_details.go b/go-apps/meep-rnis/server/model_problem_details.go index 994df5fee..32ec9250a 100644 --- a/go-apps/meep-rnis/server/model_problem_details.go +++ b/go-apps/meep-rnis/server/model_problem_details.go @@ -25,11 +25,11 @@ package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 6f993ebbc..9d6339b5a 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -675,7 +675,8 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(¬ification) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) + return } @@ -2224,7 +2225,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal([]byte(jsonRespDB), &subscriptionCommon) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2235,7 +2236,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal([]byte(jsonRespDB), &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2246,7 +2247,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal([]byte(jsonRespDB), &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2257,7 +2258,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal([]byte(jsonRespDB), &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2268,7 +2269,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal([]byte(jsonRespDB), &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2279,7 +2280,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal([]byte(jsonRespDB), &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2293,7 +2294,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2309,7 +2310,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &subscriptionCommon) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2319,7 +2320,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { //mandatory parameter if subscriptionCommon.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } @@ -2342,7 +2343,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2350,7 +2351,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { if subscription.FilterCriteriaAssocHo == nil { log.Error("FilterCriteriaAssocHo should not be null for this subscription type") - http.Error(w, "FilterCriteriaAssocHo should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaAssocHo should not be null for this subscription type", http.StatusBadRequest) return } @@ -2361,7 +2362,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { for _, ecgi := range subscription.FilterCriteriaAssocHo.Ecgi { if ecgi.Plmn == nil || ecgi.CellId == "" { log.Error("For non null ecgi, plmn and cellId are mandatory") - http.Error(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) + errHandlerProblemDetails(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) return } } @@ -2377,7 +2378,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2385,20 +2386,20 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { if subscription.FilterCriteriaQci == nil { log.Error("FilterCriteriaQci should not be null for this subscription type") - http.Error(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) return } if subscription.FilterCriteriaQci.Qci == 0 { log.Error("Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci") - http.Error(w, "Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci", http.StatusBadRequest) + errHandlerProblemDetails(w, "Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci", http.StatusBadRequest) return } for _, ecgi := range subscription.FilterCriteriaQci.Ecgi { if ecgi.Plmn == nil || ecgi.CellId == "" { log.Error("For non null ecgi, plmn and cellId are mandatory") - http.Error(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) + errHandlerProblemDetails(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) return } } @@ -2414,7 +2415,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2422,26 +2423,26 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { if subscription.FilterCriteriaQci == nil { log.Error("FilterCriteriaQci should not be null for this subscription type") - http.Error(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) return } if subscription.FilterCriteriaQci.Qci == 0 { log.Error("Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci") - http.Error(w, "Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci", http.StatusBadRequest) + errHandlerProblemDetails(w, "Missing or non valid value for mandatory Qci parameter in FilterCriteriaQci", http.StatusBadRequest) return } if subscription.FilterCriteriaQci.ErabId == 0 { log.Error("Missing or non valid value of 0 mandatory ErabId parameter in FilterCriteriaQci") - http.Error(w, "Missing or non valid value of 0 for mandatory ErabId parameter in FilterCriteriaQci", http.StatusBadRequest) + errHandlerProblemDetails(w, "Missing or non valid value of 0 for mandatory ErabId parameter in FilterCriteriaQci", http.StatusBadRequest) return } for _, ecgi := range subscription.FilterCriteriaQci.Ecgi { if ecgi.Plmn == nil || ecgi.CellId == "" { log.Error("For non null ecgi, plmn and cellId are mandatory") - http.Error(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) + errHandlerProblemDetails(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) return } } @@ -2457,7 +2458,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2465,14 +2466,14 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { if subscription.FilterCriteriaAssocTri == nil { log.Error("FilterCriteriaAssocTri should not be null for this subscription type") - http.Error(w, "FilterCriteriaAssocTri should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaAssocTri should not be null for this subscription type", http.StatusBadRequest) return } for _, ecgi := range subscription.FilterCriteriaAssocTri.Ecgi { if ecgi.Plmn == nil || ecgi.CellId == "" { log.Error("For non null ecgi, plmn and cellId are mandatory") - http.Error(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) + errHandlerProblemDetails(w, "For non null ecgi, plmn and cellId are mandatory", http.StatusBadRequest) return } } @@ -2501,7 +2502,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2509,14 +2510,14 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { if subscription.FilterCriteriaNrMrs == nil { log.Error("FilterCriteriaNrMrs should not be null for this subscription type") - http.Error(w, "FilterCriteriaNrMrs should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaNrMrs should not be null for this subscription type", http.StatusBadRequest) return } for _, nrcgi := range subscription.FilterCriteriaNrMrs.Nrcgi { if nrcgi.Plmn == nil || nrcgi.NrCellId == "" { log.Error("For non null nrcgi, plmn and cellId are mandatory") - http.Error(w, "For non null nrcgi, plmn and cellId are mandatory", http.StatusBadRequest) + errHandlerProblemDetails(w, "For non null nrcgi, plmn and cellId are mandatory", http.StatusBadRequest) return } } @@ -2548,7 +2549,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { //processing the error of the jsonResponse if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusCreated) @@ -2567,7 +2568,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &subscriptionCommon) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } //extract common body part @@ -2576,14 +2577,14 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { //mandatory parameter if subscriptionCommon.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } link := subscriptionCommon.Links if link == nil || link.Self == nil { log.Error("Mandatory Link parameter not present") - http.Error(w, "Mandatory Link parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Link parameter not present", http.StatusBadRequest) return } @@ -2592,7 +2593,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { if subsIdStr != subIdParamStr { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -2605,13 +2606,13 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if subscription.FilterCriteriaAssocHo == nil { log.Error("FilterCriteriaAssocHo should not be null for this subscription type") - http.Error(w, "FilterCriteriaAssocHo should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaAssocHo should not be null for this subscription type", http.StatusBadRequest) return } @@ -2631,13 +2632,13 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if subscription.FilterCriteriaQci == nil { log.Error("FilterCriteriaQci should not be null for this subscription type") - http.Error(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) return } @@ -2653,13 +2654,13 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if subscription.FilterCriteriaQci == nil { log.Error("FilterCriteriaQci should not be null for this subscription type") - http.Error(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaQci should not be null for this subscription type", http.StatusBadRequest) return } @@ -2675,13 +2676,13 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if subscription.FilterCriteriaAssocTri == nil { log.Error("FilterCriteriaAssocTri should not be null for this subscription type") - http.Error(w, "FilterCriteriaAssocTri should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaAssocTri should not be null for this subscription type", http.StatusBadRequest) return } @@ -2697,13 +2698,13 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &subscription) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } if subscription.FilterCriteriaNrMrs == nil { log.Error("FilterCriteriaNrMrs should not be null for this subscription type") - http.Error(w, "FilterCriteriaNrMrs should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteriaNrMrs should not be null for this subscription type", http.StatusBadRequest) return } @@ -2722,7 +2723,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { if alreadyRegistered { if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -2745,7 +2746,7 @@ func subscriptionsDelete(w http.ResponseWriter, r *http.Request) { err := delSubscription(baseKey+"subscriptions", subIdParamStr, false) if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3038,7 +3039,7 @@ func plmnInfoGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populatePlmnInfo, &response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } //check if more than one plmnInfo in the array @@ -3050,7 +3051,7 @@ func plmnInfoGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(response.PlmnInfoList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3132,7 +3133,7 @@ func layer2MeasInfoGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateL2Meas, &l2MeasData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3141,7 +3142,7 @@ func layer2MeasInfoGet(w http.ResponseWriter, r *http.Request) { err = rc.ForEachJSONEntry(keyName, populateL2MeasPOA, &l2MeasData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3151,7 +3152,7 @@ func layer2MeasInfoGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(l2Meas) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3530,7 +3531,7 @@ func rabInfoGet(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(keyName, populateRabInfo, &rabInfoData) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -3543,7 +3544,7 @@ func rabInfoGet(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(rabInfo) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3789,7 +3790,7 @@ func subscriptionLinkListSubscriptionsGet(w http.ResponseWriter, r *http.Request jsonResponse, err := json.Marshal(response) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -3838,3 +3839,14 @@ func updateStoreName(storeName string) { } } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} -- GitLab From 60e55260d11166a3d076d92307556a00e5666ec3 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 13:34:22 +0500 Subject: [PATCH 141/183] update versions in server side of meep-rnis --- go-apps/meep-rnis/sbi/rnis-sbi.go | 2 +- go-apps/meep-rnis/server/README.md | 4 ++-- go-apps/meep-rnis/server/routers.go | 6 +++--- go-apps/meep-rnis/server/subscriptionCommon.go | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go-apps/meep-rnis/sbi/rnis-sbi.go b/go-apps/meep-rnis/sbi/rnis-sbi.go index 19f01071c..0c81e9dec 100755 --- a/go-apps/meep-rnis/sbi/rnis-sbi.go +++ b/go-apps/meep-rnis/sbi/rnis-sbi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/README.md b/go-apps/meep-rnis/server/README.md index a3a8f8631..f0d8c5e67 100644 --- a/go-apps/meep-rnis/server/README.md +++ b/go-apps/meep-rnis/server/README.md @@ -1,6 +1,6 @@ # Go API Server for server -Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription +Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription ## Overview This server was generated by the [swagger-codegen] @@ -12,7 +12,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) -- API version: 2.1.1 +- API version: 2.2.1 - Build date: 2021-11-23T08:34:12.622740-05:00[America/Toronto] diff --git a/go-apps/meep-rnis/server/routers.go b/go-apps/meep-rnis/server/routers.go index 5619e6810..fa4ca7a24 100644 --- a/go-apps/meep-rnis/server/routers.go +++ b/go-apps/meep-rnis/server/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/subscriptionCommon.go b/go-apps/meep-rnis/server/subscriptionCommon.go index 0f3c53b50..0da006494 100644 --- a/go-apps/meep-rnis/server/subscriptionCommon.go +++ b/go-apps/meep-rnis/server/subscriptionCommon.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Details**
API details available at _your-AdvantEDGE-ip-address/api_ * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From 2b5a1f0cf97e281c96b5ca73d4195d66fa82be02 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 13:35:33 +0500 Subject: [PATCH 142/183] update client side of meep-rnis-client as per new Mec012 v2.2.1 --- go-packages/meep-rnis-client/README.md | 9 +- go-packages/meep-rnis-client/api/swagger.yaml | 8061 +++++++---------- go-packages/meep-rnis-client/api_rni.go | 6 +- .../meep-rnis-client/api_unsupported.go | 6 +- go-packages/meep-rnis-client/client.go | 6 +- go-packages/meep-rnis-client/configuration.go | 6 +- .../docs/AppTerminationNotification.md | 1 - .../docs/AppTerminationNotificationLinks.md | 1 - .../meep-rnis-client/docs/AssociateId.md | 1 - .../docs/CaReconfNotification.md | 2 +- ...fNotificationCarrierAggregationMeasInfo.md | 1 - .../docs/CaReconfNotificationLinks.md | 9 + .../CaReconfNotificationSecondaryCellAdd.md | 1 - .../docs/CaReconfSubscription.md | 5 +- ...CaReconfSubscriptionFilterCriteriaAssoc.md | 1 - .../docs/CaReconfSubscriptionLinks.md | 1 - .../docs/CellChangeNotification.md | 4 +- .../docs/CellChangeNotificationTempUeId.md | 1 - .../docs/CellChangeSubscription.md | 5 +- ...ChangeSubscriptionFilterCriteriaAssocHo.md | 1 - go-packages/meep-rnis-client/docs/Ecgi.md | 1 - .../docs/ExpiryNotification.md | 2 +- .../docs/ExpiryNotificationLinks.md | 3 +- .../docs/InlineNotification.md | 1 - .../docs/InlineSubscription.md | 1 - go-packages/meep-rnis-client/docs/L2Meas.md | 1 - .../meep-rnis-client/docs/L2MeasCellInfo.md | 1 - .../meep-rnis-client/docs/L2MeasCellUeInfo.md | 1 - .../docs/MeasQuantityResultsNr.md | 1 - .../docs/MeasRepUeNotification.md | 2 +- ...eNotificationCarrierAggregationMeasInfo.md | 1 - ...NotificationEutranNeighbourCellMeasInfo.md | 1 - .../MeasRepUeNotificationNewRadioMeasInfo.md | 1 - ...easRepUeNotificationNewRadioMeasNeiInfo.md | 1 - .../docs/MeasRepUeNotificationNrBnCs.md | 1 - ...MeasRepUeNotificationNrBnCsNrBnCellInfo.md | 1 - .../docs/MeasRepUeNotificationNrNCellInfo.md | 1 - .../docs/MeasRepUeNotificationNrSCs.md | 1 - .../MeasRepUeNotificationNrSCsNrSCellInfo.md | 1 - .../docs/MeasRepUeSubscription.md | 5 +- ...RepUeSubscriptionFilterCriteriaAssocTri.md | 1 - .../docs/MeasTaNotification.md | 2 +- .../docs/MeasTaSubscription.md | 5 +- go-packages/meep-rnis-client/docs/NRcgi.md | 3 +- .../docs/NrMeasRepUeNotification.md | 2 +- ...RepUeNotificationEutraNeighCellMeasInfo.md | 1 - .../docs/NrMeasRepUeNotificationNCell.md | 1 - ...easRepUeNotificationNrNeighCellMeasInfo.md | 3 +- .../docs/NrMeasRepUeNotificationSCell.md | 1 - ...NrMeasRepUeNotificationServCellMeasInfo.md | 3 +- .../docs/NrMeasRepUeSubscription.md | 5 +- ...easRepUeSubscriptionFilterCriteriaNrMrs.md | 3 +- .../docs/OneOfInlineNotification.md | 1 - .../docs/OneOfInlineSubscription.md | 1 - .../docs/OperationActionType.md | 1 - go-packages/meep-rnis-client/docs/Plmn.md | 1 - go-packages/meep-rnis-client/docs/PlmnInfo.md | 1 - .../meep-rnis-client/docs/ProblemDetails.md | 5 +- .../docs/RabEstNotification.md | 2 +- .../RabEstNotificationErabQosParameters.md | 1 - ...ficationErabQosParametersQosInformation.md | 1 - .../docs/RabEstNotificationTempUeId.md | 1 - .../docs/RabEstSubscription.md | 5 +- .../RabEstSubscriptionFilterCriteriaQci.md | 1 - go-packages/meep-rnis-client/docs/RabInfo.md | 1 - .../docs/RabInfoCellUserInfo.md | 1 - .../meep-rnis-client/docs/RabInfoErabInfo.md | 1 - .../meep-rnis-client/docs/RabInfoUeInfo.md | 1 - .../docs/RabModNotification.md | 2 +- .../RabModNotificationErabQosParameters.md | 1 - ...ficationErabQosParametersQosInformation.md | 1 - .../docs/RabModSubscription.md | 5 +- .../RabModSubscriptionFilterCriteriaQci.md | 1 - .../docs/RabRelNotification.md | 2 +- .../docs/RabRelSubscription.md | 5 +- .../docs/ResultsPerCsiRsIndex.md | 1 - .../docs/ResultsPerCsiRsIndexList.md | 1 - ...tsPerCsiRsIndexListResultsPerCsiRsIndex.md | 1 - .../docs/ResultsPerSsbIndex.md | 1 - .../docs/ResultsPerSsbIndexList.md | 1 - ...esultsPerSsbIndexListResultsPerSsbIndex.md | 1 - go-packages/meep-rnis-client/docs/RniApi.md | 18 +- .../meep-rnis-client/docs/RsIndexResults.md | 1 - .../meep-rnis-client/docs/S1BearerInfo.md | 1 - .../docs/S1BearerInfoEnbInfo.md | 1 - .../docs/S1BearerInfoS1BearerInfoDetailed.md | 1 - .../docs/S1BearerInfoS1UeInfo.md | 1 - .../docs/S1BearerInfoSGwInfo.md | 1 - .../docs/S1BearerNotification.md | 2 +- .../docs/S1BearerNotificationS1UeInfo.md | 1 - .../docs/S1BearerSubscription.md | 5 +- ...ubscriptionS1BearerSubscriptionCriteria.md | 1 - .../docs/SubscriptionLinkList.md | 1 - .../docs/SubscriptionLinkListLinks.md | 1 - .../SubscriptionLinkListLinksSubscription.md | 1 - .../meep-rnis-client/docs/TestNotification.md | 10 + .../meep-rnis-client/docs/TimeStamp.md | 1 - go-packages/meep-rnis-client/docs/Trigger.md | 1 - .../meep-rnis-client/docs/TriggerNr.md | 1 - .../meep-rnis-client/docs/UnsupportedApi.md | 8 +- .../docs/WebsockNotifConfig.md | 10 + .../model_app_termination_notification.go | 6 +- ...del_app_termination_notification__links.go | 6 +- .../meep-rnis-client/model_associate_id.go | 6 +- .../model_ca_reconf_notification.go | 7 +- .../model_ca_reconf_notification__links.go | 30 + ...ification_carrier_aggregation_meas_info.go | 6 +- ..._reconf_notification_secondary_cell_add.go | 6 +- .../model_ca_reconf_subscription.go | 16 +- .../model_ca_reconf_subscription__links.go | 6 +- ...conf_subscription_filter_criteria_assoc.go | 6 +- .../model_cell_change_notification.go | 17 +- ...del_cell_change_notification_temp_ue_id.go | 6 +- .../model_cell_change_subscription.go | 16 +- ...e_subscription_filter_criteria_assoc_ho.go | 6 +- go-packages/meep-rnis-client/model_ecgi.go | 8 +- .../model_expiry_notification.go | 14 +- .../model_expiry_notification__links.go | 9 +- .../model_inline_notification.go | 6 +- .../model_inline_subscription.go | 23 +- go-packages/meep-rnis-client/model_l2_meas.go | 8 +- .../model_l2_meas_cell_info.go | 8 +- .../model_l2_meas_cell_ue_info.go | 8 +- .../meep-rnis-client/model_link_type.go | 6 +- .../model_meas_quantity_results_nr.go | 6 +- .../model_meas_rep_ue_notification.go | 13 +- ...ification_carrier_aggregation_meas_info.go | 6 +- ...ication_eutran_neighbour_cell_meas_info.go | 6 +- ...rep_ue_notification_new_radio_meas_info.go | 12 +- ...ue_notification_new_radio_meas_nei_info.go | 8 +- ...model_meas_rep_ue_notification_nr_bn_cs.go | 6 +- ...e_notification_nr_bn_cs_nr_bn_cell_info.go | 6 +- ...meas_rep_ue_notification_nr_n_cell_info.go | 6 +- .../model_meas_rep_ue_notification_nr_s_cs.go | 6 +- ..._ue_notification_nr_s_cs_nr_s_cell_info.go | 6 +- .../model_meas_rep_ue_subscription.go | 16 +- ..._subscription_filter_criteria_assoc_tri.go | 6 +- .../model_meas_ta_notification.go | 13 +- .../model_meas_ta_subscription.go | 16 +- .../model_nr_meas_rep_ue_notification.go | 11 +- ...notification_eutra_neigh_cell_meas_info.go | 6 +- ...odel_nr_meas_rep_ue_notification_n_cell.go | 10 +- ...ue_notification_nr_neigh_cell_meas_info.go | 8 +- ...odel_nr_meas_rep_ue_notification_s_cell.go | 10 +- ...rep_ue_notification_serv_cell_meas_info.go | 8 +- .../model_nr_meas_rep_ue_subscription.go | 16 +- ..._ue_subscription_filter_criteria_nr_mrs.go | 8 +- .../{model_n_rcgi.go => model_nrcgi.go} | 10 +- .../model_one_of_inline_notification.go | 15 +- .../model_one_of_inline_subscription.go | 15 +- .../model_operation_action_type.go | 9 +- go-packages/meep-rnis-client/model_plmn.go | 6 +- .../meep-rnis-client/model_plmn_info.go | 8 +- .../meep-rnis-client/model_problem_details.go | 10 +- .../model_rab_est_notification.go | 19 +- ...ab_est_notification_erab_qos_parameters.go | 8 +- ...ion_erab_qos_parameters_qos_information.go | 6 +- .../model_rab_est_notification_temp_ue_id.go | 8 +- .../model_rab_est_subscription.go | 18 +- ...ab_est_subscription_filter_criteria_qci.go | 6 +- .../meep-rnis-client/model_rab_info.go | 8 +- .../model_rab_info_cell_user_info.go | 6 +- .../model_rab_info_erab_info.go | 8 +- .../model_rab_info_ue_info.go | 6 +- .../model_rab_mod_notification.go | 17 +- ...ab_mod_notification_erab_qos_parameters.go | 8 +- ...ion_erab_qos_parameters_qos_information.go | 6 +- .../model_rab_mod_subscription.go | 16 +- ...ab_mod_subscription_filter_criteria_qci.go | 6 +- .../model_rab_rel_notification.go | 15 +- ..._rab_rel_notification_erab_release_info.go | 6 +- .../model_rab_rel_subscription.go | 18 +- .../model_results_per_csi_rs_index.go | 8 +- .../model_results_per_csi_rs_index_list.go | 6 +- ..._rs_index_list_results_per_csi_rs_index.go | 8 +- .../model_results_per_ssb_index.go | 8 +- .../model_results_per_ssb_index_list.go | 6 +- ...er_ssb_index_list_results_per_ssb_index.go | 8 +- .../model_rs_index_results.go | 8 +- .../meep-rnis-client/model_s1_bearer_info.go | 6 +- .../model_s1_bearer_info_enb_info.go | 6 +- ..._s1_bearer_info_s1_bearer_info_detailed.go | 8 +- .../model_s1_bearer_info_s1_ue_info.go | 8 +- .../model_s1_bearer_info_s_gw_info.go | 6 +- .../model_s1_bearer_notification.go | 13 +- ...model_s1_bearer_notification_s1_ue_info.go | 8 +- .../model_s1_bearer_subscription.go | 18 +- ...ription_s1_bearer_subscription_criteria.go | 6 +- .../model_subscription_link_list.go | 6 +- .../model_subscription_link_list__links.go | 6 +- ...scription_link_list__links_subscription.go | 6 +- .../model_test_notification.go | 32 + .../meep-rnis-client/model_time_stamp.go | 6 +- go-packages/meep-rnis-client/model_trigger.go | 57 +- .../meep-rnis-client/model_trigger_nr.go | 33 +- .../model_websock_notif_config.go | 33 + go-packages/meep-rnis-client/response.go | 6 +- 197 files changed, 4186 insertions(+), 5128 deletions(-) create mode 100644 go-packages/meep-rnis-client/docs/CaReconfNotificationLinks.md create mode 100644 go-packages/meep-rnis-client/docs/TestNotification.md create mode 100644 go-packages/meep-rnis-client/docs/WebsockNotifConfig.md create mode 100644 go-packages/meep-rnis-client/model_ca_reconf_notification__links.go rename go-packages/meep-rnis-client/{model_n_rcgi.go => model_nrcgi.go} (50%) create mode 100644 go-packages/meep-rnis-client/model_test_notification.go create mode 100644 go-packages/meep-rnis-client/model_websock_notif_config.go diff --git a/go-packages/meep-rnis-client/README.md b/go-packages/meep-rnis-client/README.md index 3d29439cd..98795f6a3 100644 --- a/go-packages/meep-rnis-client/README.md +++ b/go-packages/meep-rnis-client/README.md @@ -1,11 +1,11 @@ # Go API client for client -Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription +Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2.1.1 +- API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen @@ -40,6 +40,7 @@ Class | Method | HTTP request | Description - [AssociateId](docs/AssociateId.md) - [CaReconfNotification](docs/CaReconfNotification.md) - [CaReconfNotificationCarrierAggregationMeasInfo](docs/CaReconfNotificationCarrierAggregationMeasInfo.md) + - [CaReconfNotificationLinks](docs/CaReconfNotificationLinks.md) - [CaReconfNotificationSecondaryCellAdd](docs/CaReconfNotificationSecondaryCellAdd.md) - [CaReconfSubscription](docs/CaReconfSubscription.md) - [CaReconfSubscriptionFilterCriteriaAssoc](docs/CaReconfSubscriptionFilterCriteriaAssoc.md) @@ -72,7 +73,6 @@ Class | Method | HTTP request | Description - [MeasRepUeSubscriptionFilterCriteriaAssocTri](docs/MeasRepUeSubscriptionFilterCriteriaAssocTri.md) - [MeasTaNotification](docs/MeasTaNotification.md) - [MeasTaSubscription](docs/MeasTaSubscription.md) - - [NRcgi](docs/NRcgi.md) - [NrMeasRepUeNotification](docs/NrMeasRepUeNotification.md) - [NrMeasRepUeNotificationEutraNeighCellMeasInfo](docs/NrMeasRepUeNotificationEutraNeighCellMeasInfo.md) - [NrMeasRepUeNotificationNCell](docs/NrMeasRepUeNotificationNCell.md) @@ -81,6 +81,7 @@ Class | Method | HTTP request | Description - [NrMeasRepUeNotificationServCellMeasInfo](docs/NrMeasRepUeNotificationServCellMeasInfo.md) - [NrMeasRepUeSubscription](docs/NrMeasRepUeSubscription.md) - [NrMeasRepUeSubscriptionFilterCriteriaNrMrs](docs/NrMeasRepUeSubscriptionFilterCriteriaNrMrs.md) + - [Nrcgi](docs/Nrcgi.md) - [OneOfInlineNotification](docs/OneOfInlineNotification.md) - [OneOfInlineSubscription](docs/OneOfInlineSubscription.md) - [OperationActionType](docs/OperationActionType.md) @@ -124,9 +125,11 @@ Class | Method | HTTP request | Description - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) - [SubscriptionLinkListLinksSubscription](docs/SubscriptionLinkListLinksSubscription.md) + - [TestNotification](docs/TestNotification.md) - [TimeStamp](docs/TimeStamp.md) - [Trigger](docs/Trigger.md) - [TriggerNr](docs/TriggerNr.md) + - [WebsockNotifConfig](docs/WebsockNotifConfig.md) ## Documentation For Authorization diff --git a/go-packages/meep-rnis-client/api/swagger.yaml b/go-packages/meep-rnis-client/api/swagger.yaml index d266718f0..208a813f9 100644 --- a/go-packages/meep-rnis-client/api/swagger.yaml +++ b/go-packages/meep-rnis-client/api/swagger.yaml @@ -1,8 +1,9 @@ openapi: 3.0.0 info: title: AdvantEDGE Radio Network Information Service REST API - description: "Radio Network Information Service is AdvantEDGE's implementation of\ - \ [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)\ + description: + "Radio Network Information Service is AdvantEDGE's implementation of\ + \ [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)\ \

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ \

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)\ \

**Type & Usage**
Edge Service used by edge applications that want to get\ @@ -17,230 +18,67 @@ info: license: name: Apache 2.0 url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.1.1 + version: 2.2.1 externalDocs: - description: "ETSI GS MEC 012 Radio Network Information API, V2.1.1" - url: http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_mec012v020101p.pdf + description: "ETSI GS MEC 012 Radio Network Information API, V2.2.1" + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf servers: -- url: https://localhost/sandboxname/rni/v2 + - url: https://localhost/sandboxname/rni/v2 tags: -- name: rni -- name: unsupported +- name: 'rni' +- name: 'unsupported' paths: /queries/rab_info: get: tags: - - rni - summary: Retrieve information on Radio Access Bearers - description: Queries information about the Radio Access Bearers + - 'rni' + summary: 'Retrieve information on Radio Access Bearers' + description: 'Queries information about the Radio Access Bearers' operationId: rab_infoGET parameters: - - name: app_ins_id - in: query - description: Application instance identifier - required: false - style: form - explode: true - schema: - type: string - x-exportParamName: AppInsId - x-optionalDataType: String - - name: cell_id - in: query - description: Comma separated list of E-UTRAN Cell Identities - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: CellId - - name: ue_ipv4_address - in: query - description: Comma separated list of IE IPv4 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv4Address - - name: ue_ipv6_address - in: query - description: Comma separated list of IE IPv6 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv6Address - - name: nated_ip_address - in: query - description: Comma separated list of IE NATed IP addresses as defined for - the type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: NatedIpAddress - - name: gtp_teid - in: query - description: Comma separated list of GTP TEID addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: GtpTeid - - name: erab_id - in: query - description: E-RAB identifier - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabId - x-optionalDataType: Int32 - - name: qci - in: query - description: QoS Class Identifier as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: Qci - x-optionalDataType: Int32 - - name: erab_mbr_dl - in: query - description: Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabMbrDl - x-optionalDataType: Int32 - - name: erab_mbr_ul - in: query - description: Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabMbrUl - x-optionalDataType: Int32 - - name: erab_gbr_dl - in: query - description: Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 - 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabGbrDl - x-optionalDataType: Int32 - - name: erab_gbr_ul - in: query - description: Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabGbrUl - x-optionalDataType: Int32 + - $ref: '#/components/parameters/Query.AppInsId' + - $ref: '#/components/parameters/Query.CellId' + - $ref: '#/components/parameters/Query.UeIpv4Address' + - $ref: '#/components/parameters/Query.UeIpv6Address' + - $ref: '#/components/parameters/Query.NatedIpAddress' + - $ref: '#/components/parameters/Query.GtpTeid' + - $ref: '#/components/parameters/Query.ErabId' + - $ref: '#/components/parameters/Query.Qci' + - $ref: '#/components/parameters/Query.ErabMbrDl' + - $ref: '#/components/parameters/Query.ErabMbrUl' + - $ref: '#/components/parameters/Query.ErabGbrDl' + - $ref: '#/components/parameters/Query.ErabGbrUl' responses: - "200": + '200': description: Successful response to rab_info request content: application/json: schema: $ref: '#/components/schemas/RabInfo' - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: queries + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "queries" /queries/plmn_info: get: tags: - - rni - summary: Retrieve information on the underlying Mobile Network that the MEC - application is associated to - description: Queries information about the Mobile Network + - 'rni' + summary: 'Retrieve information on the underlying Mobile Network that the MEC application is associated to' + description: 'Queries information about the Mobile Network' operationId: plmn_infoGET parameters: - - name: app_ins_id - in: query - description: Comma separated list of Application instance identifiers - required: true - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: AppInsIdArr + - $ref: '#/components/parameters/Query.AppInsIdArr' responses: - "200": + '200': description: Successful response to plmn_info request content: application/json: @@ -248,672 +86,135 @@ paths: type: array items: $ref: '#/components/schemas/PlmnInfo' - x-content-type: application/json - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: queries + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "queries" /queries/s1_bearer_info: get: tags: - - unsupported - summary: Retrieve S1-U bearer information related to specific UE(s) - description: Queries information about the S1 bearer(s) + - 'unsupported' + summary: 'Retrieve S1-U bearer information related to specific UE(s)' + description: 'Queries information about the S1 bearer(s)' operationId: s1_bearer_infoGET parameters: - - name: temp_ue_id - in: query - description: Comma separated list of temporary identifiers allocated for the - specific UE as defined in ETSI TS 136 413 - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: TempUeId - - name: ue_ipv4_address - in: query - description: Comma separated list of IE IPv4 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv4Address - - name: ue_ipv6_address - in: query - description: Comma separated list of IE IPv6 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv6Address - - name: nated_ip_address - in: query - description: Comma separated list of IE NATed IP addresses as defined for - the type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: NatedIpAddress - - name: gtp_teid - in: query - description: Comma separated list of GTP TEID addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: GtpTeid - - name: cell_id - in: query - description: Comma separated list of E-UTRAN Cell Identities - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: CellId - - name: erab_id - in: query - description: Comma separated list of E-RAB identifiers - required: false - style: form - explode: true - schema: - type: array - items: - type: integer - format: int32 - x-exportParamName: ErabIdArr + - $ref: '#/components/parameters/Query.TempUeId' + - $ref: '#/components/parameters/Query.UeIpv4Address' + - $ref: '#/components/parameters/Query.UeIpv6Address' + - $ref: '#/components/parameters/Query.NatedIpAddress' + - $ref: '#/components/parameters/Query.GtpTeid' + - $ref: '#/components/parameters/Query.CellId' + - $ref: '#/components/parameters/Query.ErabIdArr' responses: - "200": + '200': description: Successful response to s1_bearer_info request content: application/json: schema: $ref: '#/components/schemas/S1BearerInfo' - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: queries + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "queries" /queries/layer2_meas: get: tags: - - rni - summary: Retrieve information on layer 2 measurements - description: Queries information about the layer 2 measurements. + - 'rni' + summary: 'Retrieve information on layer 2 measurements' + description: 'Queries information about the layer 2 measurements.' operationId: layer2_meas_infoGET parameters: - - name: app_ins_id - in: query - description: Application instance identifier - required: false - style: form - explode: true - schema: - type: string - x-exportParamName: AppInsId - x-optionalDataType: String - - name: cell_id - in: query - description: Comma separated list of E-UTRAN Cell Identities - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: CellId - - name: ue_ipv4_address - in: query - description: Comma separated list of IE IPv4 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv4Address - - name: ue_ipv6_address - in: query - description: Comma separated list of IE IPv6 addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv6Address - - name: nated_ip_address - in: query - description: Comma separated list of IE NATed IP addresses as defined for - the type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: NatedIpAddress - - name: gtp_teid - in: query - description: Comma separated list of GTP TEID addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: GtpTeid - - name: dl_gbr_prb_usage_cell - in: query - description: PRB usage for downlink GBR traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPrbUsageCell - - name: ul_gbr_prb_usage_cell - in: query - description: PRB usage for uplink GBR traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPrbUsageCell - - name: dl_nongbr_prb_usage_cell - in: query - description: PRB usage for downlink non-GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPrbUsageCell - - name: ul_nongbr_prb_usage_cell - in: query - description: PRB usage for uplink non-GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPrbUsageCell - - name: dl_total_prb_usage_cell - in: query - description: PRB usage for total downlink traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlTotalPrbUsageCell - - name: ul_total_prb_usage_cell - in: query - description: PRB usage for total uplink traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlTotalPrbUsageCell - - name: received_dedicated_preambles_cell - in: query - description: Received dedicated preambles in percentage as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedDedicatedPreamblesCell - - name: received_randomly_selected_preambles_low_range_cell - in: query - description: Received randomly selected preambles in the low range in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedRandomPreamblesLowRangeCell - - name: received_randomly_selected_preambles_high_range_cell - in: query - description: Received rendomly selected preambles in the high range in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedRandomPreamblesHighRangeCell - - name: number_of_active_ue_dl_gbr_cell - in: query - description: Number of active UEs with downlink GBR traffic as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeDlGbrCell - - name: number_of_active_ue_ul_gbr_cell - in: query - description: Number of active UEs with uplink GBR traffic as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeUlGbrCell - - name: number_of_active_ue_dl_nongbr_cell - in: query - description: Number of active UEs with downlink non-GBR traffic as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeDlNonGbrCell - - name: number_of_active_ue_ul_nongbr_cell - in: query - description: Number of active UEs with uplink non-GBR traffic as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeUlNonGbrCell - - name: dl_gbr_pdr_cell - in: query - description: Packet discard rate for downlink GBR traffic in percentage as - defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPdrCell - - name: ul_gbr_pdr_cell - in: query - description: Packet discard rate for uplink GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPdrCell - - name: dl_nongbr_pdr_cell - in: query - description: Packet discard rate for downlink non-GBR traffic in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPdrCell - - name: ul_nongbr_pdr_cell - in: query - description: Packet discard rate for uplink non-GBR traffic in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPdrCell - - name: dl_gbr_delay_ue - in: query - description: Packet delay of downlink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrDelayUe - - name: ul_gbr_delay_ue - in: query - description: Packet delay of uplink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrDelayUe - - name: dl_nongbr_delay_ue - in: query - description: Packet delay of downlink non-GBR traffic of a UE as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrDelayUe - - name: ul_nongbr_delay_ue - in: query - description: Packet delay of uplink non-GBR traffic of a UE as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrDelayUe - - name: dl_gbr_pdr_ue - in: query - description: Packet discard rate of downlink GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPdrUe - - name: ul_gbr_pdr_ue - in: query - description: Packet discard rate of uplink GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPdrUe - - name: dl_nongbr_pdr_ue - in: query - description: Packet discard rate of downlink non-GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPdrUe - - name: ul_nongbr_pdr_ue - in: query - description: Packet discard rate of uplink non-GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPdrUe - - name: dl_gbr_throughput_ue - in: query - description: Scheduled throughput of downlink GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrThroughputUe - - name: ul_gbr_throughput_ue - in: query - description: Scheduled throughput of uplink GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrThroughputUe - - name: dl_nongbr_throughput_ue - in: query - description: Scheduled throughput of downlink non-GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrThroughputUe - - name: ul_nongbr_throughput_ue - in: query - description: Scheduled throughput of uplink non-GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrThroughputUe - - name: dl_gbr_data_volume_ue - in: query - description: Data volume of downlink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrDataVolumeUe - - name: ul_gbr_data_volume_ue - in: query - description: Data volume of uplink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrDataVolumeUe - - name: dl_nongbr_data_volume_ue - in: query - description: Data volume of downlink non-GBR traffic of a UE as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrDataVolumeUe - - name: ul_nongbr_data_volume_ue - in: query - description: Data volume of uplink non-GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrDataVolumeUe + - $ref: '#/components/parameters/Query.AppInsId' + - $ref: '#/components/parameters/Query.CellId' + - $ref: '#/components/parameters/Query.UeIpv4Address' + - $ref: '#/components/parameters/Query.UeIpv6Address' + - $ref: '#/components/parameters/Query.NatedIpAddress' + - $ref: '#/components/parameters/Query.GtpTeid' + - $ref: '#/components/parameters/Query.DlGbrPrbUsageCell' + - $ref: '#/components/parameters/Query.UlGbrPrbUsageCell' + - $ref: '#/components/parameters/Query.DlNonGbrPrbUsageCell' + - $ref: '#/components/parameters/Query.UlNonGbrPrbUsageCell' + - $ref: '#/components/parameters/Query.DlTotalPrbUsageCell' + - $ref: '#/components/parameters/Query.UlTotalPrbUsageCell' + - $ref: '#/components/parameters/Query.ReceivedDedicatedPreamblesCell' + - $ref: '#/components/parameters/Query.ReceivedRandomPreamblesLowRangeCell' + - $ref: '#/components/parameters/Query.ReceivedRandomPreamblesHighRangeCell' + - $ref: '#/components/parameters/Query.NumberOfActiveUeDlGbrCell' + - $ref: '#/components/parameters/Query.NumberOfActiveUeUlGbrCell' + - $ref: '#/components/parameters/Query.NumberOfActiveUeDlNonGbrCell' + - $ref: '#/components/parameters/Query.NumberOfActiveUeUlNonGbrCell' + - $ref: '#/components/parameters/Query.DlGbrPdrCell' + - $ref: '#/components/parameters/Query.UlGbrPdrCell' + - $ref: '#/components/parameters/Query.DlNonGbrPdrCell' + - $ref: '#/components/parameters/Query.UlNonGbrPdrCell' + - $ref: '#/components/parameters/Query.DlGbrDelayUe' + - $ref: '#/components/parameters/Query.UlGbrDelayUe' + - $ref: '#/components/parameters/Query.DlNonGbrDelayUe' + - $ref: '#/components/parameters/Query.UlNonGbrDelayUe' + - $ref: '#/components/parameters/Query.DlGbrPdrUe' + - $ref: '#/components/parameters/Query.UlGbrPdrUe' + - $ref: '#/components/parameters/Query.DlNonGbrPdrUe' + - $ref: '#/components/parameters/Query.UlNonGbrPdrUe' + - $ref: '#/components/parameters/Query.DlGbrThroughputUe' + - $ref: '#/components/parameters/Query.UlGbrThroughputUe' + - $ref: '#/components/parameters/Query.DlNonGbrThroughputUe' + - $ref: '#/components/parameters/Query.UlNonGbrThroughputUe' + - $ref: '#/components/parameters/Query.DlGbrDataVolumeUe' + - $ref: '#/components/parameters/Query.UlGbrDataVolumeUe' + - $ref: '#/components/parameters/Query.DlNonGbrDataVolumeUe' + - $ref: '#/components/parameters/Query.UlNonGbrDataVolumeUe' responses: - "200": + '200': description: Successful response to layer2 measurements info request content: application/json: schema: $ref: '#/components/schemas/L2Meas' - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "414": - description: "URI Too Long : used to indicate that the server is refusing\ - \ to process the request because the request URI is longer than the server\ - \ is willing or able to process." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: queries + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '414': + $ref: '#/components/responses/414' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "queries" /subscriptions: get: tags: - - rni - summary: Retrieve information on subscriptions for notifications - description: Queries information on subscriptions for notifications + - 'rni' + summary: 'Retrieve information on subscriptions for notifications' + description: 'Queries information on subscriptions for notifications' operationId: subscriptionLinkList_subscriptionsGET parameters: - - name: subscription_type - in: query - description: "Filter on a specific subscription type. Permitted values: cell_change,\ - \ rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue,\ - \ ca_reconf, s1_bearer." - required: false - style: form - explode: true - schema: - type: string - x-exportParamName: SubscriptionType + - $ref: '#/components/parameters/Query.SubscriptionType' responses: - "200": - description: Response body contains the list of links to requestors subscriptions. + '200': + description: 'Response body contains the list of links to requestors subscriptions.' content: application/json: schema: @@ -921,88 +222,60 @@ paths: example: _links: self: - href: http://meAppServer.example.com/rni/v2/subscriptions + href: 'http://meAppServer.example.com/rni/v2/subscriptions' subscription: - - _links: - self: - href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 - callbackReference: http://my.callback.com/rni-cell-change/some-id - subscriptionType: CellChangeSubscription - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: subscriptions + - _links: + self: + href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123' + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' + subscriptionType: CellChangeSubscription + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "subscriptions" post: tags: - - rni - summary: Create a new subscription - description: Creates a new subscription to Radio Network Information notifications + - 'rni' + summary: 'Create a new subscription' + description: 'Creates a new subscription to Radio Network Information notifications' operationId: subscriptionsPOST requestBody: description: Subscription to be created + required: true content: application/json: schema: $ref: '#/components/schemas/InlineSubscription' example: subscriptionType: CellChangeSubscription - callbackReference: http://my.callback.com/rni-cell-change/some-id + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' filterCriteriaAssocHo: - appInstanceId: myApp + appInstanceId: 'myApp' associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' ecgi: - plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' hoStatus: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 - required: true responses: - "201": + '201': description: Successful subscription content: application/json: @@ -1010,104 +283,52 @@ paths: $ref: '#/components/schemas/InlineSubscription' example: subscriptionType: CellChangeSubscription - callbackReference: http://my.callback.com/rni-cell-change/some-id + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' _links: self: - href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123' filterCriteriaAssocHo: - appInstanceId: myApp + appInstanceId: 'myApp' associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' ecgi: - plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' hoStatus: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "415": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts\ - \ when using PUT" - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - example: - application/problem+json: - type: https://meAppServer.example.com/rni/v2/probs/too-many targets - title: Too many targets - status: "422" - detail: The target area for the request is considered too large - instance: /meAppClient.example.com/77777/msgs/abc - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '415': + $ref: '#/components/responses/412' + '422': + $ref: '#/components/responses/422' + '429': + $ref: '#/components/responses/429' callbacks: notification: '{$request.body#/notificationSubscription.callbackReference}': post: - summary: Callback POST used to send a notification - description: "Notification from RNIS, content based on subscription\ - \ type" + summary: 'Callback POST used to send a notification' + description: 'Notification from RNIS, content based on subscription type' operationId: notificationPOST requestBody: description: Subscription notification + required: true content: application/json: schema: @@ -1116,51 +337,39 @@ paths: notificationType: CellChangeNotification associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' hoStatus: 1 srcEcgi: plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' tempUeId: mmec: 1 - mtmsi: 69967622812 + mtmsi: 001011231231234 timeStamp: seconds: 1977836800 nanoseconds: 0 trgEcgi: plmn: - mnc: "01" - mcc: "001" - cellId: FEDCBAA - required: true + mnc: '01' + mcc: '001' + cellId: 'FEDCBAA' responses: - "204": - description: No Content - x-swagger-router-controller: subscriptions - /subscriptions/{subscriptionId}: + '204': + $ref: '#/components/responses/204' + x-swagger-router-controller: "subscriptions" + '/subscriptions/{subscriptionId}': get: tags: - - rni - summary: Retrieve information on current specific subscription - description: "Queries information about an existing subscription, identified\ - \ by its self-referring URI returned on creation (initial POST)" + - 'rni' + summary: 'Retrieve information on current specific subscription' + description: 'Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST)' operationId: subscriptionsGET parameters: - - name: subscriptionId - in: path - description: "Subscription Id, specifically the \"Self-referring URI\" returned\ - \ in the subscription request" - required: true - style: simple - explode: false - schema: - type: string - format: uri - x-exportParamName: SubscriptionId + - $ref: '#/components/parameters/Path.subscrId' responses: - "200": + '200': description: Subscription information regarding subscription notifications content: application/json: @@ -1168,117 +377,78 @@ paths: $ref: '#/components/schemas/InlineSubscription' example: subscriptionType: CellChangeSubscription - callbackReference: http://my.callback.com/rni-cell-change/some-id + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' _links: self: - href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123' filterCriteriaAssocHo: - appInstanceId: myApp + appInstanceId: 'myApp' associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' ecgi: - plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' hoStatus: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: subscriptions + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "subscriptions" put: tags: - - rni - summary: Modify an existing subscription - description: "Updates an existing subscription, identified by its self-referring\ - \ URI returned on creation (initial POST)" + - 'rni' + summary: 'Modify an existing subscription' + description: 'Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST)' operationId: subscriptionsPUT - parameters: - - name: subscriptionId - in: path - description: "Subscription Id, specifically the \"Self-referring URI\" returned\ - \ in the subscription request" - required: true - style: simple - explode: false - schema: - type: string - format: uri - x-exportParamName: SubscriptionId requestBody: description: Subscription to be modified + required: true content: application/json: schema: $ref: '#/components/schemas/InlineSubscription' example: subscriptionType: CellChangeSubscription - callbackReference: http://my.callback.com/rni-cell-change/some-id + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' _links: self: - href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123' filterCriteriaAssocHo: - appInstanceId: myApp + appInstanceId: 'myApp' associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' ecgi: - plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' hoStatus: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 - required: true + parameters: + - $ref: '#/components/parameters/Path.subscrId' responses: - "200": + '200': description: Successful subscription to response to subscription notifications content: application/json: @@ -1286,3703 +456,3484 @@ paths: $ref: '#/components/schemas/InlineSubscription' example: subscriptionType: CellChangeSubscription - callbackReference: http://my.callback.com/rni-cell-change/some-id + callbackReference: 'http://my.callback.com/rni-cell-change/some-id' _links: self: - href: http://meAppServer.example.com/rni/v2/subscriptions/sub123 + href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123' filterCriteriaAssocHo: - appInstanceId: myApp + appInstanceId: 'myApp' associateId: - type: 1 - value: 10.100.0.1 + value: '10.100.0.1' ecgi: - plmn: - mnc: "01" - mcc: "001" - cellId: ACBDEFA + mnc: '01' + mcc: '001' + cellId: 'ACBDEFA' hoStatus: - 1 - 2 expiryDeadline: seconds: 1977836800 nanoseconds: 0 - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts\ - \ when using PUT" - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - example: - application/problem+json: - type: https://meAppServer.example.com/rni/v2/probs/too-many targets - title: Too many targets - status: "422" - detail: The target area for the request is considered too large - instance: /meAppClient.example.com/77777/msgs/abc - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: subscriptions + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '412': + $ref: '#/components/responses/412' + '422': + $ref: '#/components/responses/422' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "subscriptions" delete: tags: - - rni - summary: Cancel an existing subscription - description: "Cancels an existing subscription, identified by its self-referring\ - \ URI returned on creation (initial POST)" + - 'rni' + summary: 'Cancel an existing subscription' + description: 'Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST)' operationId: subscriptionsDELETE parameters: - - name: subscriptionId - in: path - description: "Subscription Id, specifically the \"Self-referring URI\" returned\ - \ in the subscription request" - required: true - style: simple - explode: false - schema: - type: string - format: uri - x-exportParamName: SubscriptionId + - $ref: '#/components/parameters/Path.subscrId' responses: - "204": - description: No Content - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - x-swagger-router-controller: subscriptions + '204': + $ref: '#/components/responses/204' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '429': + $ref: '#/components/responses/429' + x-swagger-router-controller: "subscriptions" /notifications/mec011/appTermination: post: tags: - - rni - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. + - 'rni' + summary: 'MEC011 Application Termination notification for self termination' + description: 'Terminates itself.' operationId: mec011AppTerminationPOST requestBody: - description: Termination notification details + description: 'Termination notification details' + required: true content: application/json: schema: $ref: '#/components/schemas/AppTerminationNotification' example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination - required: true + notificationType: 'AppTerminationNotification' + operationAction: 'TERMINATING' + maxGracefulTimeout: 10 + links: + subscription: + href: 'http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123' + confirmTermination: + href: 'http://mec011Server.example.com/mec_app_support/v1/confirm_termination' responses: - "204": + '204': description: No Content - x-swagger-router-controller: notifications + x-swagger-router-controller: 'notifications' components: - schemas: - AssociateId: - properties: - type: - type: integer - description: "Numeric value (0-255) corresponding to specified type of identifier\ - \ as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.\ - \

3 = NATED_IP_ADDRESS.

4 = GTP_TEID." - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - value: - type: string - description: Value for the identifier. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - example: - type: 0 - value: value - CaReconfNotification: - required: - - ecgi - - notificationType - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - carrierAggregationMeasInfo: - minItems: 0 - required: - - cellIdNei - - cellIdSrv + responses: + 204: + description: No Content + 400: + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 401: + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 403: + description: 'Forbidden : operation is not allowed given the current status of the resource.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 404: + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 406: + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 412: + description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when + using ETags to avoid write conflicts when using PUT' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 414: + description: 'URI Too Long : used to indicate that the server is refusing to process the request because the request URI is + longer than the server is willing or able to process.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 415: + description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 422: + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the + syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an + JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This + error condition can also occur if the capabilities required by the request are not supported.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + example: + application/problem+json: + type: 'https://meAppServer.example.com/rni/v2/probs/too-many targets' + title: Too many targets + status: '422' + detail: The target area for the request is considered too large + instance: /meAppClient.example.com/77777/msgs/abc + 429: + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/problem+json: + schema: + $ref: '#/components/schemas/ProblemDetails' + parameters: + Path.subscrId: + name: subscriptionId + in: path + description: 'Subscription Id, specifically the "Self-referring URI" returned in the subscription request' + required: true + schema: + type: string + format: uri + x-exportParamName: SubscriptionId + Query.AppInsId: + name: app_ins_id + in: query + description: Application instance identifier + required: false + schema: + type: string + x-exportParamName: AppInsId + x-optionalDataType: String + Query.AppInsIdArr: + name: app_ins_id + in: query + description: 'Comma separated list of Application instance identifiers' + required: true + schema: type: array - description: This parameter can be repeated to contain information of all - the carriers assign for Carrier Aggregation up to M. items: - $ref: '#/components/schemas/CaReconfNotification_carrierAggregationMeasInfo' - x-etsi-mec-cardinality: 0..M - x-etsi-mec-origin-type: Structure (inlined) - ecgi: - $ref: '#/components/schemas/Ecgi' - notificationType: + type: string + x-exportParamName: AppInsIdArr + Query.CellId: + name: cell_id + in: query + description: 'Comma separated list of E-UTRAN Cell Identities' + required: false + schema: + type: array + items: type: string - description: Shall be set to "CaReConfNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - secondaryCellAdd: - minItems: 0 - required: - - ecgi - type: array - items: - $ref: '#/components/schemas/CaReconfNotification_secondaryCellAdd' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - secondaryCellRemove: - minItems: 0 - required: - - ecgi - type: array - items: - $ref: '#/components/schemas/CaReconfNotification_secondaryCellAdd' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.8 - CaReconfSubscription: - required: - - callbackReference - - filterCriteriaAssoc - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: + x-exportParamName: CellId + Query.UeIpv4Address: + name: ue_ipv4_address + in: query + description: 'Comma separated list of IE IPv4 addresses as defined for the type for AssociateId' + required: false + schema: + type: array + items: type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaAssoc: - $ref: '#/components/schemas/CaReconfSubscription_filterCriteriaAssoc' - subscriptionType: + x-exportParamName: UeIpv4Address + Query.UeIpv6Address: + name: ue_ipv6_address + in: query + description: 'Comma separated list of IE IPv6 addresses as defined for the type for AssociateId' + required: false + schema: + type: array + items: type: string - description: Shall be set to "CaReconfSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.8 - CellChangeNotification: - required: - - hoStatus - - notificationType - - srcEcgi - - trgEcgi - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - hoStatus: - type: integer - description: "Indicate the status of the UE handover procedure. Values are\ - \ defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3\ - \ = COMPLETED.

4 = REJECTED.

5 = CANCELLED." - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - notificationType: + x-exportParamName: UeIpv6Address + Query.NatedIpAddress: + name: nated_ip_address + in: query + description: 'Comma separated list of IE NATed IP addresses as defined for the type for AssociateId' + required: false + schema: + type: array + items: type: string - description: Shall be set to "CellChangeNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - srcEcgi: - $ref: '#/components/schemas/Ecgi' - tempUeId: - $ref: '#/components/schemas/CellChangeNotification_tempUeId' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - trgEcgi: - minItems: 1 - type: array - description: "E-UTRAN Cell Global Identifier of the target cell.\nNOTE:\ - \ Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED\ - \ and CANCELLED." - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Ecgi - x-etsi-ref: 6.4.2 - CellChangeSubscription: - required: - - callbackReference - - filterCriteriaAssocHo - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumerto receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaAssocHo: - $ref: '#/components/schemas/CellChangeSubscription_filterCriteriaAssocHo' - subscriptionType: - type: string - description: Shall be set to "CellChangeSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.2 - CellId: - type: string - description: "String representing the E-UTRAN Cell Identity. Encoded as a bit\ - \ string (size (28)) as defined in ETSI TS 136 413 [i.3]." - Ecgi: - required: - - cellId - - plmn - type: object - properties: - cellId: - $ref: '#/components/schemas/CellId' - plmn: - $ref: '#/components/schemas/Plmn' - example: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - x-etsi-ref: 6.5.6 - Enum: - type: integer - ExpiryNotification: - required: - - _links - - expiryDeadline - type: object - properties: - _links: - $ref: '#/components/schemas/ExpiryNotification__links' - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.9 - L2Meas: - type: object - properties: - cellInfo: - minItems: 0 - required: - - ecgi - type: array - description: The per cell measurement information as defined below. - items: - $ref: '#/components/schemas/L2Meas_cellInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - cellUEInfo: - minItems: 0 - required: - - associateId - - ecgi - type: array - description: The per cell per UE layer 2 measurements information as defined - below. - items: - $ref: '#/components/schemas/L2Meas_cellUEInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 3 - nanoSeconds: 9 - cellUEInfo: - - dl_gbr_delay_ue: 4 - ul_nongbr_data_volume_ue: 2 - dl_nongbr_delay_ue: 6 - ul_gbr_delay_ue: 3 - ul_gbr_throughput_ue: 1 - ul_nongbr_delay_ue: 6 - dl_nongbr_throughput_ue: 9 - ul_gbr_data_volume_ue: 6 - dl_nongbr_data_volume_ue: 9 - ecgi: null - dl_gbr_data_volume_ue: 1 - associateId: - type: 0 - value: value - dl_gbr_throughput_ue: 9 - dl_nongbr_pdr_ue: 8 - ul_nongbr_throughput_ue: 5 - ul_nongbr_pdr_ue: 6 - dl_gbr_pdr_ue: 5 - ul_gbr_pdr_ue: 6 - - dl_gbr_delay_ue: 4 - ul_nongbr_data_volume_ue: 2 - dl_nongbr_delay_ue: 6 - ul_gbr_delay_ue: 3 - ul_gbr_throughput_ue: 1 - ul_nongbr_delay_ue: 6 - dl_nongbr_throughput_ue: 9 - ul_gbr_data_volume_ue: 6 - dl_nongbr_data_volume_ue: 9 - ecgi: null - dl_gbr_data_volume_ue: 1 - associateId: - type: 0 - value: value - dl_gbr_throughput_ue: 9 - dl_nongbr_pdr_ue: 8 - ul_nongbr_throughput_ue: 5 - ul_nongbr_pdr_ue: 6 - dl_gbr_pdr_ue: 5 - ul_gbr_pdr_ue: 6 - cellInfo: - - number_of_active_ue_dl_nongbr_cell: 7 - ul_total_prb_usage_cell: 7 - received_dedicated_preambles_cell: 2 - dl_total_prb_usage_cell: 5 - ul_gbr_prb_usage_cell: 1 - dl_gbr_pdr_cell: 0 - number_of_active_ue_ul_gbr_cell: 9 - ul_nongbr_pdr_cell: 1 - dl_nongbr_pdr_cell: 1 - number_of_active_ue_dl_gbr_cell: 2 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - ul_gbr_pdr_cell: 1 - ul_nongbr_prb_usage_cell: 6 - received_randomly_selected_preambles_low_range_cell: 7 - number_of_active_ue_ul_nongbr_cell: 3 - received_randomly_selected_preambles_high_range_cell: 4 - dl_nongbr_prb_usage_cell: 5 - dl_gbr_prb_usage_cell: 6 - - number_of_active_ue_dl_nongbr_cell: 7 - ul_total_prb_usage_cell: 7 - received_dedicated_preambles_cell: 2 - dl_total_prb_usage_cell: 5 - ul_gbr_prb_usage_cell: 1 - dl_gbr_pdr_cell: 0 - number_of_active_ue_ul_gbr_cell: 9 - ul_nongbr_pdr_cell: 1 - dl_nongbr_pdr_cell: 1 - number_of_active_ue_dl_gbr_cell: 2 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - ul_gbr_pdr_cell: 1 - ul_nongbr_prb_usage_cell: 6 - received_randomly_selected_preambles_low_range_cell: 7 - number_of_active_ue_ul_nongbr_cell: 3 - received_randomly_selected_preambles_high_range_cell: 4 - dl_nongbr_prb_usage_cell: 5 - dl_gbr_prb_usage_cell: 6 - x-etsi-ref: 6.2.4a - LinkType: - required: - - href - type: object - properties: - href: + x-exportParamName: NatedIpAddress + Query.GtpTeid: + name: gtp_teid + in: query + description: 'Comma separated list of GTP TEID addresses as defined for the type for AssociateId' + required: false + schema: + type: array + items: type: string - description: URI referring to a resource - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - example: - href: http://example.com/aeiou - x-etsi-ref: 6.5.2 - MeasQuantityResultsNr: - type: object - properties: - rsrp: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_138\ - \ 331 [i.13]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 138\ - \ 331 [i.13]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - sinr: + x-exportParamName: GtpTeid + Query.ErabId: + name: erab_id + in: query + description: E-RAB identifier + required: false + schema: + type: integer + format: int32 + x-exportParamName: ErabId + x-optionalDataType: Int32 + Query.ErabIdArr: + name: erab_id + in: query + description: 'Comma separated list of E-RAB identifiers' + required: false + schema: + type: array + items: type: integer - description: "Reference Signal to Interference & Noise Ratio as defined\ - \ in ETSI TS 138 331 [i.13]." format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - x-etsi-ref: 6.5.11 - MeasRepUeNotification: - required: - - ecgi - - notificationType - - rsrp - - rsrq - - trigger - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - carrierAggregationMeasInfo: - minItems: 0 - required: - - cellIdSrv - type: array - description: This parameter can be repeated to contain information of all - the carriers assign for Carrier Aggregation up to M. - items: - $ref: '#/components/schemas/MeasRepUeNotification_carrierAggregationMeasInfo' - x-etsi-mec-cardinality: 0..M - x-etsi-mec-origin-type: Structure (inlined) - ecgi: - $ref: '#/components/schemas/Ecgi' - eutranNeighbourCellMeasInfo: - minItems: 0 - required: - - ecgi - type: array - description: This parameter can be repeated to contain information of all - the neighbouring cells up to N. - items: - $ref: '#/components/schemas/MeasRepUeNotification_eutranNeighbourCellMeasInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - heightUe: - type: integer - description: "Indicates height of the UE in meters relative to the sea level\ - \ as defined in ETSI TS 136.331 [i.7]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Int - newRadioMeasInfo: - minItems: 0 - required: - - nrCarrierFreq - - nrSCs - type: array - description: 5G New Radio secondary serving cells measurement information. - items: - $ref: '#/components/schemas/MeasRepUeNotification_newRadioMeasInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - newRadioMeasNeiInfo: - minItems: 0 - required: - - nrNCellInfo - type: array - description: Measurement quantities concerning the 5G NR neighbours. - items: - $ref: '#/components/schemas/MeasRepUeNotification_newRadioMeasNeiInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - notificationType: + x-exportParamName: ErabIdArr + Query.Qci: + name: qci + in: query + description: 'QoS Class Identifier as defined in ETSI TS 123 401' + required: false + schema: + type: integer + format: int32 + x-exportParamName: Qci + x-optionalDataType: Int32 + Query.ErabMbrDl: + name: erab_mbr_dl + in: query + description: 'Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401' + required: false + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrDl + x-optionalDataType: Int32 + Query.ErabMbrUl: + name: erab_mbr_ul + in: query + description: 'Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401' + required: false + schema: + type: integer + format: int32 + x-exportParamName: ErabMbrUl + x-optionalDataType: Int32 + Query.ErabGbrDl: + name: erab_gbr_dl + in: query + description: 'Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401' + required: false + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrDl + x-optionalDataType: Int32 + Query.ErabGbrUl: + name: erab_gbr_ul + in: query + description: 'Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401' + required: false + schema: + type: integer + format: int32 + x-exportParamName: ErabGbrUl + x-optionalDataType: Int32 + Query.TempUeId: + name: temp_ue_id + in: query + description: 'Comma separated list of temporary identifiers allocated for the specific UE as defined in ETSI TS 136 413' + required: false + schema: + type: array + items: type: string - description: Shall be set to "MeasRepUeNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - rsrp: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - rsrpEx: - type: integer - description: "Extended Reference Signal Received Power, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - rsrqEx: - type: integer - description: "Extended Reference Signal Received Quality, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - sinr: - type: integer - description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ - , with value mapping defined in ETSI TS\_136\_133\_[i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - timeStamp: - $ref: '#/components/schemas/TimeStamp' - trigger: - $ref: '#/components/schemas/Trigger' - x-etsi-ref: 6.4.6 - MeasRepUeSubscription: - required: - - callbackReference - - filterCriteriaAssocTri - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaAssocTri: - $ref: '#/components/schemas/MeasRepUeSubscription_filterCriteriaAssocTri' - subscriptionType: - type: string - description: Shall be set to "MeasRepUeSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.6 - MeasTaNotification: - required: - - ecgi - - notificationType - - timingAdvance - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - $ref: '#/components/schemas/Ecgi' - notificationType: - type: string - description: Shall be set to "MeasTaNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - timeStamp: - $ref: '#/components/schemas/TimeStamp' - timingAdvance: - type: integer - description: "The timing advance as defined in ETSI TS 136 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 - x-etsi-ref: 6.4.7 - MeasTaSubscription: - required: - - callbackReference - - filterCriteriaAssoc - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaAssoc: - $ref: '#/components/schemas/CaReconfSubscription_filterCriteriaAssoc' - subscriptionType: - type: string - description: Shall be set to "MeasTaSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.7 - NRcgi: - required: - - nrcellId - - plmn - type: object - properties: - nrcellId: - $ref: '#/components/schemas/NrCellId' - plmn: - $ref: '#/components/schemas/Plmn' - x-etsi-ref: 6.5.7 - NrCellId: - type: string - description: "String representing the NR Cell Identity. Encoded as a bit string\ - \ (size (36)) as defined in ETSI TS 138 423 [i.17]." - NrMeasRepUeNotification: - required: - - notificationType - - triggerNr - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - eutraNeighCellMeasInfo: - minItems: 0 - required: - - ecgi - type: array - description: This parameter can be repeated to contain measurement information - of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo - is included. - items: - $ref: '#/components/schemas/NrMeasRepUeNotification_eutraNeighCellMeasInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - notificationType: - type: string - description: Shall be set to "NrMeasRepUeNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - nrNeighCellMeasInfo: - minItems: 0 - required: - - nrcgi - type: array - description: This parameter can be repeated to contain measurement information - of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo - is included. - items: - $ref: '#/components/schemas/NrMeasRepUeNotification_nrNeighCellMeasInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - servCellMeasInfo: - minItems: 0 - required: - - nrcgi - - sCell - type: array - description: This parameter can be repeated to contain information of all - the serving cells up to N. - items: - $ref: '#/components/schemas/NrMeasRepUeNotification_servCellMeasInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - timeStamp: - $ref: '#/components/schemas/TimeStamp' - triggerNr: - $ref: '#/components/schemas/TriggerNr' - x-etsi-ref: 6.4.11 - NrMeasRepUeSubscription: - required: - - callbackReference - - filterCriteriaNrMrs - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaNrMrs: - $ref: '#/components/schemas/NrMeasRepUeSubscription_filterCriteriaNrMrs' - subscriptionType: - type: string - description: Shall be set to "NrMeasRepUeSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.11 - Plmn: - required: - - mcc - - mnc - type: object - properties: - mcc: - type: string - description: "The Mobile Country Code part of PLMN Identity as defined in\ - \ ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mnc: - type: string - description: "The Mobile Network Code part of PLMN Identity as defined in\ - \ ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - example: - mnc: mnc - mcc: mcc - x-etsi-ref: 6.5.5 - PlmnInfo: - required: - - appInstanceId - - plmn - type: object - properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - plmn: - minItems: 1 - type: array - description: Public Land Mobile Network Identity. - items: - $ref: '#/components/schemas/Plmn' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Plmn - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - appInstanceId: appInstanceId - timeStamp: - seconds: 3 - nanoSeconds: 9 - plmn: - - mnc: mnc - mcc: mcc - - mnc: mnc - mcc: mcc - x-etsi-ref: 6.2.2 - ProblemDetails: - type: object - properties: - detail: - type: string - description: A human-readable explanation specific to this occurrence of - the problem - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - instance: - type: string - description: A URI reference that identifies the specific occurrence of - the problem - format: uri - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - status: - type: integer - description: The HTTP status code for this occurrence of the problem - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - title: - type: string - description: "A short, human-readable summary of the problem type" - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - type: - type: string - description: A URI reference according to IETF RFC 3986 that identifies - the problem type - format: uri - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - RabEstNotification: - required: - - ecgi - - erabId - - notificationType - type: object - properties: - associateId: - minItems: 0 - type: array - description: '0 to N identifiers to bind the event for a specific UE or - flow. ' - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - $ref: '#/components/schemas/Ecgi' - erabId: - type: integer - description: "The attribute that uniquely identifies a Radio Access bearer\ - \ for specific UE as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabQosParameters: - $ref: '#/components/schemas/RabEstNotification_erabQosParameters' - notificationType: - type: string - description: Shall be set to "RabEstNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - tempUeId: - $ref: '#/components/schemas/RabEstNotification_tempUeId' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.3 - RabEstSubscription: - required: - - callbackReference - - filterCriteriaQci - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaQci: - $ref: '#/components/schemas/RabEstSubscription_filterCriteriaQci' - subscriptionType: - type: string - description: Shall be set to "RabEstSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.3 - RabInfo: - required: - - appInstanceId - - requestId - type: object - properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - cellUserInfo: - minItems: 0 - required: - - ecgi - - ueInfo - type: array - description: The information on users per cell as defined below. - items: - $ref: '#/components/schemas/RabInfo_cellUserInfo' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - requestId: - type: string - description: Unique identifier allocated by the service consumer for the - RAB Information request. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - appInstanceId: appInstanceId - cellUserInfo: - - ueInfo: - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - - ueInfo: - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - timeStamp: - seconds: 3 - nanoSeconds: 9 - requestId: requestId - x-etsi-ref: 6.2.3 - RabModNotification: - required: - - ecgi - - erabId - - notificationType - type: object - properties: - associateId: - minItems: 0 - type: array - description: '0 to N identifiers to bind the event for a specific UE or - flow. ' - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - $ref: '#/components/schemas/Ecgi' - erabId: - type: integer - description: "The attribute that uniquely identifies a Radio Access bearer\ - \ for specific UE as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabQosParameters: - $ref: '#/components/schemas/RabModNotification_erabQosParameters' - notificationType: - type: string - description: Shall be set to "RabModNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.4 - RabModSubscription: - required: - - callbackReference - - filterCriteriaQci - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaQci: - $ref: '#/components/schemas/RabModSubscription_filterCriteriaQci' - subscriptionType: - type: string - description: Shall be set to "RabModSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.4 - RabRelNotification: - required: - - ecgi - - erabReleaseInfo - - notificationType - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to bind the event for a specific UE or flow - as defined below. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - $ref: '#/components/schemas/Ecgi' - erabReleaseInfo: - $ref: '#/components/schemas/RabRelNotification_erabReleaseInfo' - notificationType: - type: string - description: Shall be set to "RabRelNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.5 - RabRelSubscription: - required: - - callbackReference - - filterCriteriaQci - - subscriptionType - type: object - properties: - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: URI selected by the service consumer to receive notifications - on the subscribed RNIS information. This shall be included both in the - request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteriaQci: - $ref: '#/components/schemas/RabModSubscription_filterCriteriaQci' - subscriptionType: - type: string - description: Shall be set to "RabRelSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.5 - ResultsPerCsiRsIndex: - required: - - csiRsIndex - type: object - properties: - csiRsIndex: - type: integer - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - csiRsResults: - $ref: '#/components/schemas/MeasQuantityResultsNr' - ResultsPerCsiRsIndexList: - type: object - properties: - resultsPerCsiRsIndex: - minItems: 0 - required: - - csiRsIndex - type: array - items: - $ref: '#/components/schemas/ResultsPerCsiRsIndexList_resultsPerCsiRsIndex' - x-etsi-mec-cardinality: 0..P - x-etsi-mec-origin-type: Structure (inline) - x-etsi-ref: 6.5.10 - ResultsPerSsbIndex: - required: - - ssbIndex - type: object - properties: - ssbIndex: - type: integer - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - ssbResults: - $ref: '#/components/schemas/MeasQuantityResultsNr' - ResultsPerSsbIndexList: - type: object - properties: - resultsPerSsbIndex: - minItems: 0 - required: - - ssbIndex - type: array - items: - $ref: '#/components/schemas/ResultsPerSsbIndexList_resultsPerSsbIndex' - x-etsi-mec-cardinality: 0..P - x-etsi-mec-origin-type: Structure (inline) - x-etsi-ref: 6.5.9 - RsIndexResults: - required: - - resultsCsiRsIndexes - - resultsSsbIndexes - type: object - properties: - resultsCsiRsIndexes: - $ref: '#/components/schemas/ResultsPerCsiRsIndexList' - resultsSsbIndexes: - $ref: '#/components/schemas/ResultsPerSsbIndexList' - x-etsi-ref: 6.5.8 - S1BearerInfo: - required: - - s1UeInfo - type: object - properties: - s1UeInfo: - minItems: 1 - required: - - associateId - - ecgi - - s1BearerInfoDetailed - type: array - description: Information on a specific UE as defined below. - items: - $ref: '#/components/schemas/S1BearerInfo_s1UeInfo' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - timeStamp: - $ref: '#/components/schemas/TimeStamp' - example: - timeStamp: - seconds: 3 - nanoSeconds: 9 - s1UeInfo: - - associateId: - - type: 0 - value: value - - type: 0 - value: value - s1BearerInfoDetailed: - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - ecgi: - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - tempUeId: - mtmsi: mtmsi - mmec: mmec - - associateId: - - type: 0 - value: value - - type: 0 - value: value - s1BearerInfoDetailed: - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - ecgi: - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - tempUeId: - mtmsi: mtmsi - mmec: mmec - x-etsi-ref: 6.2.4 - S1BearerNotification: - required: - - notificationType - - s1Event - - s1UeInfo - type: object - properties: - notificationType: - type: string - description: Shall be set to "S1BearerNotification". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - s1Event: - type: integer - description: The subscribed event that triggered this notification in S1BearerSubscription. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum - s1UeInfo: - $ref: '#/components/schemas/S1BearerNotification_s1UeInfo' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 6.4.10 - S1BearerSubscription: - required: - - S1BearerSubscriptionCriteria - - callbackReference - - eventType - - subscriptionType - type: object - properties: - S1BearerSubscriptionCriteria: - $ref: '#/components/schemas/S1BearerSubscription_S1BearerSubscriptionCriteria' - _links: - $ref: '#/components/schemas/CaReconfSubscription__links' - callbackReference: - type: string - description: "URI selected by the service consumer, to receive notifications\ - \ on the subscribed RNIS information. This shall be included in the request\ - \ and response." - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - eventType: - minItems: 1 - type: array - description: "Description of the subscribed event. The event is included\ - \ both in the request and in the response. \\nFor the eventType, the following\ - \ values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.\ - \

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE." - items: - $ref: '#/components/schemas/Enum' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Enum - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - subscriptionType: - type: string - description: Shall be set to "S1BearerSubscription". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 6.3.9 - SubscriptionLinkList: - required: - - _links - type: object - properties: - _links: - $ref: '#/components/schemas/SubscriptionLinkList__links' - example: - _links: - self: - href: http://example.com/aeiou - subscription: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou - x-etsi-ref: 6.3.10 - TimeStamp: - required: - - nanoSeconds - - seconds - type: object - properties: - nanoSeconds: - type: integer - description: "The nanoseconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 - seconds: - type: integer - description: "The seconds part of the time. Time is defined as Unixtime\ - \ since January 1, 1970, 00:00:00 UTC." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 - example: - seconds: 3 - nanoSeconds: 9 - x-etsi-ref: 6.5.3 - Trigger: - type: integer - description: "As defined in Ref ETSI TS 136 331 [i.7]

0 = NOT_AVAILABLE

1\ - \ = PERIODICAL_REPORT_STRONGEST_CELLS

2 = PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON\ - \

3 = PERIODICAL_REPORT_CGI

4 = INTRA_PERIODICAL_REPORT_STRONGEST_CELLS\ - \

5 = INTRA_PERIODICAL_REPORT_CGI

10 = EVENT_A1

11 = EVENT_A2

12\ - \ = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = EVENT_B1\ - \

21 = EVENT_B2

20 = EVENT_B1-NR

21 = EVENT_B2-NR

30 = EVENT_C1\ - \

31 = EVENT_C2

40 = EVENT_W1

41 = EVENT_W2

42 = EVENT_W3

50\ - \ = EVENT_V1

51 = EVENT_V2

60 = EVENT_H1

61 = EVENT_H2" - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 20 - - 21 - - 30 - - 31 - - 40 - - 41 - - 42 - - 50 - - 51 - - 60 - - 61 - TriggerNr: - type: integer - description: "The enumeration Trigger represents specified triggers for a 5G\ - \ UE Measurement Report. Full details can be found in ETSI TS 138 331 [i.13]).\ - \

0 = NOT_AVAILABLE

1 = NR_PERIODICAL

2 = NR_CGI

10 = EVENT_A1\ - \

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15\ - \ = EVENT_A6

20 = INTER_RAT_PERIODICAL

21 = INTER_RAT_CGI

30 = EVENT_B1\ - \

31 = EVENT_B2" - enum: - - 0 - - 1 - - 2 - - 10 - - 11 - - 12 - - 13 - - 14 - - 15 - - 20 - - 21 - - 30 - - 31 - InlineSubscription: - discriminator: - propertyName: SubscriptionType - oneOf: - - $ref: '#/components/schemas/CellChangeSubscription' - - $ref: '#/components/schemas/RabEstSubscription' - - $ref: '#/components/schemas/RabModSubscription' - - $ref: '#/components/schemas/RabRelSubscription' - - $ref: '#/components/schemas/MeasRepUeSubscription' - - $ref: '#/components/schemas/NrMeasRepUeSubscription' - - $ref: '#/components/schemas/MeasTaSubscription' - - $ref: '#/components/schemas/CaReconfSubscription' - - $ref: '#/components/schemas/S1BearerSubscription' - InlineNotification: - discriminator: - propertyName: NotificationType - oneOf: - - $ref: '#/components/schemas/CellChangeNotification' - - $ref: '#/components/schemas/RabEstNotification' - - $ref: '#/components/schemas/RabModNotification' - - $ref: '#/components/schemas/RabRelNotification' - - $ref: '#/components/schemas/MeasRepUeNotification' - - $ref: '#/components/schemas/NrMeasRepUeNotification' - - $ref: '#/components/schemas/MeasTaNotification' - - $ref: '#/components/schemas/CaReconfNotification' - - $ref: '#/components/schemas/S1BearerNotification' - AppTerminationNotification: - required: - - _links - - maxGracefulTimeout - - notificationType - - operationAction - type: object - properties: - notificationType: - type: string - description: Shall be set to AppTerminationNotification. - operationAction: - $ref: '#/components/schemas/OperationActionType' - maxGracefulTimeout: - type: integer - description: Maximum timeout value in seconds for graceful termination or - graceful stop of an application instance. - format: uint32 - _links: - $ref: '#/components/schemas/AppTerminationNotification__links' - description: This type represents the information that the MEC platform notifies - the subscribed application instance about the corresponding application instance - termination/stop. - OperationActionType: - type: string - description: Operation that is being performed on the MEC application instance. - enum: - - STOPPING - - TERMINATING - CaReconfNotification_carrierAggregationMeasInfo: - type: object + x-exportParamName: TempUeId + Query.DlGbrPrbUsageCell: + name: dl_gbr_prb_usage_cell + in: query + description: 'PRB usage for downlink GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrPrbUsageCell + Query.UlGbrPrbUsageCell: + name: ul_gbr_prb_usage_cell + in: query + description: 'PRB usage for uplink GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrPrbUsageCell + Query.DlNonGbrPrbUsageCell: + name: dl_nongbr_prb_usage_cell + in: query + description: 'PRB usage for downlink non-GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrPrbUsageCell + Query.UlNonGbrPrbUsageCell: + name: ul_nongbr_prb_usage_cell + in: query + description: 'PRB usage for uplink non-GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrPrbUsageCell + Query.DlTotalPrbUsageCell: + name: dl_total_prb_usage_cell + in: query + description: 'PRB usage for total downlink traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlTotalPrbUsageCell + Query.UlTotalPrbUsageCell: + name: ul_total_prb_usage_cell + in: query + description: 'PRB usage for total uplink traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlTotalPrbUsageCell + Query.ReceivedDedicatedPreamblesCell: + name: received_dedicated_preambles_cell + in: query + description: 'Received dedicated preambles in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: ReceivedDedicatedPreamblesCell + Query.ReceivedRandomPreamblesLowRangeCell: + name: received_randomly_selected_preambles_low_range_cell + in: query + description: 'Received randomly selected preambles in the low range in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesLowRangeCell + Query.ReceivedRandomPreamblesHighRangeCell: + name: received_randomly_selected_preambles_high_range_cell + in: query + description: 'Received rendomly selected preambles in the high range in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: ReceivedRandomPreamblesHighRangeCell + Query.NumberOfActiveUeDlGbrCell: + name: number_of_active_ue_dl_gbr_cell + in: query + description: 'Number of active UEs with downlink GBR traffic as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlGbrCell + Query.NumberOfActiveUeUlGbrCell: + name: number_of_active_ue_ul_gbr_cell + in: query + description: 'Number of active UEs with uplink GBR traffic as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlGbrCell + Query.NumberOfActiveUeDlNonGbrCell: + name: number_of_active_ue_dl_nongbr_cell + in: query + description: 'Number of active UEs with downlink non-GBR traffic as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: NumberOfActiveUeDlNonGbrCell + Query.NumberOfActiveUeUlNonGbrCell: + name: number_of_active_ue_ul_nongbr_cell + in: query + description: 'Number of active UEs with uplink non-GBR traffic as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: NumberOfActiveUeUlNonGbrCell + Query.DlGbrPdrCell: + name: dl_gbr_pdr_cell + in: query + description: 'Packet discard rate for downlink GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrPdrCell + Query.UlGbrPdrCell: + name: ul_gbr_pdr_cell + in: query + description: 'Packet discard rate for uplink GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrPdrCell + Query.DlNonGbrPdrCell: + name: dl_nongbr_pdr_cell + in: query + description: 'Packet discard rate for downlink non-GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrPdrCell + Query.UlNonGbrPdrCell: + name: ul_nongbr_pdr_cell + in: query + description: 'Packet discard rate for uplink non-GBR traffic in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrPdrCell + Query.DlGbrDelayUe: + name: dl_gbr_delay_ue + in: query + description: 'Packet delay of downlink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrDelayUe + Query.UlGbrDelayUe: + name: ul_gbr_delay_ue + in: query + description: 'Packet delay of uplink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrDelayUe + Query.DlNonGbrDelayUe: + name: dl_nongbr_delay_ue + in: query + description: 'Packet delay of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrDelayUe + Query.UlNonGbrDelayUe: + name: ul_nongbr_delay_ue + in: query + description: 'Packet delay of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrDelayUe + Query.DlGbrPdrUe: + name: dl_gbr_pdr_ue + in: query + description: 'Packet discard rate of downlink GBR traffic of a UE in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrPdrUe + Query.UlGbrPdrUe: + name: ul_gbr_pdr_ue + in: query + description: 'Packet discard rate of uplink GBR traffic of a UE in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrPdrUe + Query.DlNonGbrPdrUe: + name: dl_nongbr_pdr_ue + in: query + description: 'Packet discard rate of downlink non-GBR traffic of a UE in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrPdrUe + Query.UlNonGbrPdrUe: + name: ul_nongbr_pdr_ue + in: query + description: 'Packet discard rate of uplink non-GBR traffic of a UE in percentage as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrPdrUe + Query.DlGbrThroughputUe: + name: dl_gbr_throughput_ue + in: query + description: 'Scheduled throughput of downlink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrThroughputUe + Query.UlGbrThroughputUe: + name: ul_gbr_throughput_ue + in: query + description: 'Scheduled throughput of uplink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrThroughputUe + Query.DlNonGbrThroughputUe: + name: dl_nongbr_throughput_ue + in: query + description: 'Scheduled throughput of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrThroughputUe + Query.UlNonGbrThroughputUe: + name: ul_nongbr_throughput_ue + in: query + description: 'Scheduled throughput of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrThroughputUe + Query.DlGbrDataVolumeUe: + name: dl_gbr_data_volume_ue + in: query + description: 'Data volume of downlink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlGbrDataVolumeUe + Query.UlGbrDataVolumeUe: + name: ul_gbr_data_volume_ue + in: query + description: 'Data volume of uplink GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlGbrDataVolumeUe + Query.DlNonGbrDataVolumeUe: + name: dl_nongbr_data_volume_ue + in: query + description: 'Data volume of downlink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: DlNonGbrDataVolumeUe + Query.UlNonGbrDataVolumeUe: + name: ul_nongbr_data_volume_ue + in: query + description: 'Data volume of uplink non-GBR traffic of a UE as defined in ETSI TS 136 314' + required: false + schema: + type: integer + x-exportParamName: UlNonGbrDataVolumeUe + Query.SubscriptionType: + name: subscription_type + in: query + description: 'Filter on a specific subscription type. Permitted values: cell_change, rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue, ca_reconf, s1_bearer.' + required: false + schema: + type: string + x-exportParamName: SubscriptionType + schemas: + AssociateId: properties: - cellIdNei: - $ref: '#/components/schemas/CellId' - cellIdSrv: - $ref: '#/components/schemas/CellId' - rsrpNei: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - rsrpSrv: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - rsrqNei: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - rsrqSrv: + type: + description: 'Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID.' + enum: + - 0 + - 1 + - 2 + - 3 + - 4 type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - CaReconfNotification_secondaryCellAdd: - type: object - properties: - ecgi: - $ref: '#/components/schemas/Ecgi' - CaReconfSubscription__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - description: Hyperlink related to the resource. This shall be only included - in the HTTP responses and in HTTP PUT requests. - CaReconfSubscription_filterCriteriaAssoc: - type: object - properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for a specific - UE or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - minItems: 0 - type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - CellChangeNotification_tempUeId: - required: - - mmec - - mtmsi - type: object - properties: - mmec: - type: string - description: "MMEC as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - mtmsi: - type: string - description: "M-TMSI as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: The temporary identifier allocated for the specific UE as defined - below. - example: - mtmsi: mtmsi - mmec: mmec - CellChangeSubscription_filterCriteriaAssocHo: - type: object - properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for a specific - UE or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - minItems: 0 - type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - hoStatus: - minItems: 0 - type: array - description: "In case hoStatus is not included in the subscription request,\ - \ the default value 3 = COMPLETED shall be used and included in the response:\ - \

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 =\ - \ REJECTED.

5 = CANCELLED." - items: - $ref: '#/components/schemas/Enum' - x-etsi-mec-cardinality: 0..N + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Enum - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - ExpiryNotification__links: - required: - - self - type: object - properties: - self: + value: + description: Value for the identifier. type: string - description: Self referring URI. This shall be included in the response - from the RNIS. The URI shall be unique within the RNI API as it acts as - an ID for the subscription. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - description: List of hyperlinks related to the resource. - L2Meas_cellInfo: - type: object - properties: - dl_gbr_pdr_cell: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_gbr_prb_usage_cell: - type: integer - description: "It indicates the PRB usage for downlink GBR traffic, as defined\ - \ in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_nongbr_pdr_cell: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_nongbr_prb_usage_cell: - type: integer - description: "It indicates (in percentage) the PRB usage for downlink non-GBR\ - \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ - \ [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_total_prb_usage_cell: - type: integer - description: "It indicates (in percentage) the PRB usage for total downlink\ - \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ - \ [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ecgi: - $ref: '#/components/schemas/Ecgi' - number_of_active_ue_dl_gbr_cell: - type: integer - description: "It indicates the number of active UEs with downlink GBR traffic,\ - \ as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - number_of_active_ue_dl_nongbr_cell: - type: integer - description: "It indicates the number of active UEs with downlink non-GBR\ - \ traffic, as defined in ETSI TS\_136\_314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - number_of_active_ue_ul_gbr_cell: - type: integer - description: "It indicates the number of active UEs with uplink GBR traffic,\ - \ as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - number_of_active_ue_ul_nongbr_cell: - type: integer - description: "It indicates the number of active UEs with uplink non-GBR\ - \ traffic, as defined in ETSI TS\_136\_314\_[i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - received_dedicated_preambles_cell: - type: integer - description: "It indicates (in percentage) the received dedicated preamples,\ - \ as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - received_randomly_selected_preambles_high_range_cell: - type: integer - description: "It indicates (in percentage) the received randomly selected\ - \ preambles in the high range, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - received_randomly_selected_preambles_low_range_cell: - type: integer - description: "It indicates (in percentage) the received randomly selected\ - \ preambles in the low range, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_gbr_pdr_cell: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_gbr_prb_usage_cell: - type: integer - description: "It indicates (in percentage) the PRB usage for uplink GBR\ - \ traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136 423\ - \ [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_nongbr_pdr_cell: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_nongbr_prb_usage_cell: - type: integer - description: "It indicates (in percentage) the PRB usage for uplink non-GBR\ - \ traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423\ - \ [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_total_prb_usage_cell: - type: integer - description: "It indicates (in percentage) the PRB usage for total uplink\ - \ traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136\_\ - 423 [i.12]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - example: - number_of_active_ue_dl_nongbr_cell: 7 - ul_total_prb_usage_cell: 7 - received_dedicated_preambles_cell: 2 - dl_total_prb_usage_cell: 5 - ul_gbr_prb_usage_cell: 1 - dl_gbr_pdr_cell: 0 - number_of_active_ue_ul_gbr_cell: 9 - ul_nongbr_pdr_cell: 1 - dl_nongbr_pdr_cell: 1 - number_of_active_ue_dl_gbr_cell: 2 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - ul_gbr_pdr_cell: 1 - ul_nongbr_prb_usage_cell: 6 - received_randomly_selected_preambles_low_range_cell: 7 - number_of_active_ue_ul_nongbr_cell: 3 - received_randomly_selected_preambles_high_range_cell: 4 - dl_nongbr_prb_usage_cell: 5 - dl_gbr_prb_usage_cell: 6 - L2Meas_cellUEInfo: - type: object - properties: - associateId: - $ref: '#/components/schemas/AssociateId' - dl_gbr_data_volume_ue: - type: integer - description: "It indicates the data volume of the downlink GBR traffic of\ - \ a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - dl_gbr_delay_ue: - type: integer - description: "It indicates the packet delay of the downlink GBR traffic\ - \ of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - dl_gbr_pdr_ue: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_gbr_throughput_ue: - type: integer - description: "It indicates the scheduled throughput of the downlink GBR\ - \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - dl_nongbr_data_volume_ue: - type: integer - description: "It indicates the data volume of the downlink non-GBR traffic\ - \ of a UE, as defined in ETSI TS\_136\_314\_[i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - dl_nongbr_delay_ue: - type: integer - description: "It indicates the packet delay of the downlink non-GBR traffic\ - \ of a UE, as defined in ETSI TS\_136\_314\_[i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - dl_nongbr_pdr_ue: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - dl_nongbr_throughput_ue: - type: integer - description: "It indicates the scheduled throughput of the downlink nonGBR\ - \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ecgi: - $ref: '#/components/schemas/Ecgi' - ul_gbr_data_volume_ue: - type: integer - description: "It indicates the data volume of the uplink GBR traffic of\ - \ a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ul_gbr_delay_ue: - type: integer - description: "It indicates the packet delay of the uplink GBR traffic of\ - \ a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ul_gbr_pdr_ue: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_gbr_throughput_ue: - type: integer - description: "It indicates the scheduled throughput of the uplink GBR traffic\ - \ of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ul_nongbr_data_volume_ue: - type: integer - description: "It indicates the data volume of the uplink non-GBR traffic\ - \ of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ul_nongbr_delay_ue: - type: integer - description: "It indicates the packet delay of the uplink non-GBR traffic\ - \ of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - ul_nongbr_pdr_ue: - type: integer - description: "It indicates the packet discard rate in percentage of the\ - \ uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer (0..100) - ul_nongbr_throughput_ue: - type: integer - description: "It indicates the scheduled throughput of the uplink non-GBR\ - \ traffic of a UE, as defined in ETSI TS 136 314 [i.11]." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Integer - example: - dl_gbr_delay_ue: 4 - ul_nongbr_data_volume_ue: 2 - dl_nongbr_delay_ue: 6 - ul_gbr_delay_ue: 3 - ul_gbr_throughput_ue: 1 - ul_nongbr_delay_ue: 6 - dl_nongbr_throughput_ue: 9 - ul_gbr_data_volume_ue: 6 - dl_nongbr_data_volume_ue: 9 - ecgi: null - dl_gbr_data_volume_ue: 1 - associateId: - type: 0 - value: value - dl_gbr_throughput_ue: 9 - dl_nongbr_pdr_ue: 8 - ul_nongbr_throughput_ue: 5 - ul_nongbr_pdr_ue: 6 - dl_gbr_pdr_ue: 5 - ul_gbr_pdr_ue: 6 - MeasRepUeNotification_carrierAggregationMeasInfo: - type: object - properties: - cellIdNei: - $ref: '#/components/schemas/CellId' - cellIdSrv: - $ref: '#/components/schemas/CellId' - rsrpNei: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrpNeiEx: - type: integer - description: "Extended Reference Signal Received Power, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrpSrv: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrpSrvEx: - type: integer - description: "Extended Reference Signal Received Power, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrqNei: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrqNeiEx: - type: integer - description: "Extended Reference Signal Received Quality, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrqSrv: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrqSrvEx: - type: integer - description: "Extended Reference Signal Received Quality, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - sinrNei: - type: integer - description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ - , with value mapping defined in ETSI TS\_136\_133\_[i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - sinrSrv: - type: integer - description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ - , with value mapping defined in ETSI TS\_136\_133\_[i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - MeasRepUeNotification_eutranNeighbourCellMeasInfo: - type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + CaReconfNotification: properties: + associateId: + description: 0 to N identifiers to associate the event for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + carrierAggregationMeasInfo: + description: This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. + items: + type: object + properties: + cellIdNei: + # description': E-UTRAN Cell Identity of the best neighbouring cell associated with the Carrier Aggregation serving cell. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + cellIdSrv: + # description': E-UTRAN Cell Identity of a Carrier Aggregation serving cell. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + rsrpNei: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrpSrv: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrqNei: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + rsrqSrv: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + minItems: 0 + required: + - cellIdSrv + - cellIdNei + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi $ref: '#/components/schemas/Ecgi' - rsrp: - type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrpEx: - type: integer - description: "Extended Reference Signal Received Power, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrq: - type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 136\ - \ 214 [i.5]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - rsrqEx: - type: integer - description: "Extended Reference Signal Received Quality, with value mapping\ - \ defined in ETSI TS 136 133 [i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - sinr: - type: integer - description: "Reference Signal \"Signal to Interference plus Noise Ratio\"\ - , with value mapping defined in ETSI TS\_136\_133\_[i.16]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - MeasRepUeNotification_nrBNCs_nrBNCellInfo: - type: object - properties: - nrBNCellGId: - $ref: '#/components/schemas/NrCellId' - nrBNCellPlmn: - minItems: 1 + notificationType: + description: Shall be set to "CaReConfNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + secondaryCellAdd: + description: '' + items: + type: object + properties: + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + minItems: 0 + required: + - ecgi type: array - description: Public land mobile network identities - items: - $ref: '#/components/schemas/Plmn' - x-etsi-mec-cardinality: 1..P - x-etsi-mec-origin-type: Plmn - MeasRepUeNotification_nrBNCs: + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + secondaryCellRemove: + description: '' + items: + type: object + properties: + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + minItems: 0 + required: + - ecgi + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) required: - - nrBNCellInfo + - notificationType + - ecgi + - _links type: object + x-etsi-ref: 6.4.8 + CaReconfSubscription: + title: CaReconfSubscription + description: > + This type represents a subscription to UE carrier aggregation reconfiguration notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - nrBNCellInfo: - minItems: 1 + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' required: - - nrBNCellGId - - nrBNCellPlmn - type: array - description: Best neighbours of the secondary serving cell(s) info - items: - $ref: '#/components/schemas/MeasRepUeNotification_nrBNCs_nrBNCellInfo' - x-etsi-mec-cardinality: 1..P - x-etsi-mec-origin-type: Structure (inlined) - nrBNCellRsrp: - type: integer - description: "Reference Signal Received Power measurement according to mapping\ - \ table in ETSI TS 138.133 [i.14]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - nrBNCellRsrq: - type: integer - description: "Reference Signal Received Quality measurement according to\ - \ mapping table in ETSI TS 138.133 [i.14]." - format: int32 + - self + type: object x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - nrBNCellRssi: - type: integer - description: "Reference signal SINR measurement according to mapping table\ - \ in ETSI TS 138.133 [i.14]." - format: int32 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - description: Measurement quantities concerning the best neighbours of the secondary - serving cells - MeasRepUeNotification_nrSCs_nrSCellInfo: + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssoc: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "CaReconfSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - filterCriteriaAssoc type: object + x-etsi-ref: 6.3.8 + CellChangeNotification: properties: - nrSCellGId: - $ref: '#/components/schemas/NrCellId' - nrSCellPlmn: - minItems: 1 + associateId: + description: 0 to N identifiers to associate the event for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 type: array - description: Public land mobile network identities. + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + hoStatus: + description: 'Indicate the status of the UE handover procedure. Values are defined as following: +

1 = IN_PREPARATION. +

2 = IN_EXECUTION. +

3 = COMPLETED. +

4 = REJECTED. +

5 = CANCELLED.' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + notificationType: + description: Shall be set to "CellChangeNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + srcEcgi: + # description': E-UTRAN Cell Global Identifier of the source cell. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + tempUeId: + description: The temporary identifier allocated for the specific UE as defined below. + properties: + mmec: + description: MMEC as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mtmsi: + description: M-TMSI as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mmec + - mtmsi + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + trgEcgi: + description: 'E-UTRAN Cell Global Identifier of the target cell. See note. + + NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED.' items: - $ref: '#/components/schemas/Plmn' - x-etsi-mec-cardinality: 1..P - x-etsi-mec-origin-type: Plmn - MeasRepUeNotification_nrSCs: + $ref: '#/components/schemas/Ecgi' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + _links: + description: Links to resources related to this notification. + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' required: - - nrSCellInfo + - notificationType + - srcEcgi + - trgEcgi + - hoStatus + - _links type: object + x-etsi-ref: 6.4.2 + CellChangeSubscription: + title: CellChangeSubscription + description: > + This type represents a subscription to cell change notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - nrSCellInfo: - minItems: 1 + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' required: - - nrSCellGId - - nrSCellPlmn - type: array - description: Secondary serving cell(s) info. - items: - $ref: '#/components/schemas/MeasRepUeNotification_nrSCs_nrSCellInfo' - x-etsi-mec-cardinality: 1..P - x-etsi-mec-origin-type: Structure (inlined) - nrSCellRsrp: - type: integer - description: "Reference Signal Received Power measurement according to mapping\ - \ table in ETSI TS 138.133 [i.14]." - format: int32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - nrSCellRsrq: - type: integer - description: "Reference Signal Received Quality measurement according to\ - \ mapping table in ETSI TS 138.133 [i.14]." - format: int32 + - self + type: object x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - nrSCellRssi: - type: integer - description: "Reference signal SINR measurement according to mapping table\ - \ in ETSI TS 138.133 [i.14]." - format: int32 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint8 - description: Measurement quantities concerning the secondary serving cells. - MeasRepUeNotification_newRadioMeasInfo: + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + filterCriteriaAssocHo: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + hoStatus: + description: 'In case hoStatus is not included in the subscription request, the default value 3 = COMPLETED shall be used and included in the response: +

1 = IN_PREPARATION. +

2 = IN_EXECUTION. +

3 = COMPLETED. +

4 = REJECTED. +

5 = CANCELLED.' + items: + $ref: '#/components/schemas/Enum' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "CellChangeSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - filterCriteriaAssocHo type: object + x-etsi-ref: 6.3.2 + CellId: + description: String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3]. + type: string + Ecgi: properties: - nrBNCs: - $ref: '#/components/schemas/MeasRepUeNotification_nrBNCs' - nrCarrierFreq: - type: integer - description: "ARFCN applicable for a downlink, uplink or bi-directional\ - \ (TDD) NR carrier frequency, as defined in ETSI TS\_138.101 [i.15]." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 - nrSCs: - $ref: '#/components/schemas/MeasRepUeNotification_nrSCs' - MeasRepUeNotification_nrNCellInfo: + cellId: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + required: + - plmn + - cellId type: object + x-etsi-ref: 6.5.6 + Enum: + type: integer + ExpiryNotification: properties: - nrNCellGId: - $ref: '#/components/schemas/NrCellId' - nrNCellPlmn: - minItems: 1 - type: array - description: Public land mobile network identities. - items: - $ref: '#/components/schemas/Plmn' - x-etsi-mec-cardinality: 1..P - x-etsi-mec-origin-type: Plmn - MeasRepUeNotification_newRadioMeasNeiInfo: + _links: + description: List of hyperlinks related to the resource. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + timeStamp: + # description': Shall be set to "ExpiryNotification" + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + notificationType: + description: Shall be set to "ExpiryNotification" + type: string + x-etsi-mec-cardinality': '1' + x-etsi-mec-origin-type': String + required: + - _links + - expiryDeadline + - notificationType type: object + x-etsi-ref: 6.4.9 + L2Meas: properties: - nrNCellInfo: - minItems: 1 + cellInfo: + description: The per cell measurement information as defined below. + items: + type: object + properties: + dl_gbr_pdr_cell: + description: It indicates the packet discard rate in percentage of the downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_gbr_prb_usage_cell: + description: It indicates the PRB usage for downlink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_pdr_cell: + description: It indicates the packet discard rate in percentage of the downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_prb_usage_cell: + description: "It indicates (in percentage) the PRB usage for downlink non-GBR traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423 [i.12]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_total_prb_usage_cell: + description: "It indicates (in percentage) the PRB usage for total downlink traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423 [i.12]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ecgi: + $ref: '#/components/schemas/Ecgi' + number_of_active_ue_dl_gbr_cell: + description: It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_dl_nongbr_cell: + description: "It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS\_136\_314 [i.11]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_ul_gbr_cell: + description: It indicates the number of active UEs with uplink GBR traffic, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + number_of_active_ue_ul_nongbr_cell: + description: "It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS\_136\_314\_[i.11]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + received_dedicated_preambles_cell: + description: It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + received_randomly_selected_preambles_high_range_cell: + description: It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + received_randomly_selected_preambles_low_range_cell: + description: It indicates (in percentage) the received randomly selected preambles in the low range, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_pdr_cell: + description: It indicates the packet discard rate in percentage of the uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_prb_usage_cell: + description: "It indicates (in percentage) the PRB usage for uplink GBR traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136 423 [i.12]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_pdr_cell: + description: It indicates the packet discard rate in percentage of the uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_prb_usage_cell: + description: "It indicates (in percentage) the PRB usage for uplink non-GBR traffic, as defined in ETSI TS\_136\_314 [i.11] and ETSI TS\_136 423 [i.12]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_total_prb_usage_cell: + description: "It indicates (in percentage) the PRB usage for total uplink traffic, as defined in ETSI TS\_136\_314\_[i.11] and ETSI TS\_136\_423 [i.12]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + minItems: 0 required: - - nrNCellGId - - nrNCellPlmn + - ecgi type: array - description: 5G NR neighbour cell info. - items: - $ref: '#/components/schemas/MeasRepUeNotification_nrNCellInfo' - x-etsi-mec-cardinality: 1..P + x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: Structure (inlined) - nrNCellRsrp: - type: integer - description: "Reference Signal Received Power measurement according to mapping\ - \ table in ETSI TS 138.133 [i.14]." + cellUEInfo: + description: The per cell per UE layer 2 measurements information as defined below. + items: + type: object + properties: + associateId: + $ref: '#/components/schemas/AssociateId' + dl_gbr_data_volume_ue: + description: It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_gbr_delay_ue: + description: It indicates the packet delay of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_gbr_pdr_ue: + description: It indicates the packet discard rate in percentage of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_gbr_throughput_ue: + description: It indicates the scheduled throughput of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_data_volume_ue: + description: "It indicates the data volume of the downlink non-GBR traffic of a UE, as defined in ETSI TS\_136\_314\_[i.11]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_delay_ue: + description: "It indicates the packet delay of the downlink non-GBR traffic of a UE, as defined in ETSI TS\_136\_314\_[i.11]." + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + dl_nongbr_pdr_ue: + description: It indicates the packet discard rate in percentage of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + dl_nongbr_throughput_ue: + description: It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ecgi: + $ref: '#/components/schemas/Ecgi' + ul_gbr_data_volume_ue: + description: It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_gbr_delay_ue: + description: It indicates the packet delay of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_gbr_pdr_ue: + description: It indicates the packet discard rate in percentage of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_gbr_throughput_ue: + description: It indicates the scheduled throughput of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_data_volume_ue: + description: It indicates the data volume of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_delay_ue: + description: It indicates the packet delay of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + ul_nongbr_pdr_ue: + description: It indicates the packet discard rate in percentage of the uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer (0..100) + ul_nongbr_throughput_ue: + description: It indicates the scheduled throughput of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Integer + minItems: 0 + required: + - ecgi + - associateId + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + $ref: '#/components/schemas/TimeStamp' + type: object + x-etsi-ref: 6.2.4a + LinkType: + properties: + href: + description: URI referring to a resource + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uri + required: + - href + type: object + x-etsi-ref: 6.5.2 + MeasQuantityResultsNr: + properties: + rsrp: + description: "Reference Signal Received Power as defined in ETSI TS\_138 331 [i.13]." format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 - nrNCellRsrq: - type: integer - description: "Reference Signal Received Quality measurement according to\ - \ mapping table in ETSI TS 138.133 [i.14]." + rsrq: + description: Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 - nrNCellRssi: - type: integer - description: "Reference signal SINR measurement according to mapping table\ - \ in ETSI TS 138.133 [i.14]." + sinr: + description: Reference Signal to Interference & Noise Ratio as defined in ETSI TS 138 331 [i.13]. format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 - rsIndexResults: - $ref: '#/components/schemas/RsIndexResults' - MeasRepUeSubscription_filterCriteriaAssocTri: type: object + x-etsi-ref: 6.5.11 + MeasRepUeNotification: properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for a specific - UE or flow. + description: 0 to N identifiers to associate the event for a specific UE or flow. items: $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: AssociateId + carrierAggregationMeasInfo: + description: This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. + items: + type: object + properties: + cellIdNei: + # description': E-UTRAN Cell Identity of the best neighbouring cell (NCell) associated with the SCell, as defined in ETSI TS 136 331 [i.7]. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + cellIdSrv: + # description': E-UTRAN Cell Identity of a Secondary serving Cell (SCell), as defined in ETSI TS 136 331 [i.7]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + rsrpNei: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpNeiEx: + description: Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpSrv: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpSrvEx: + description: Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqNei: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqNeiEx: + description: Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqSrv: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqSrvEx: + description: Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinrNei: + description: "Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinrSrv: + description: "Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + minItems: 0 + required: + - cellIdSrv + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) ecgi: + # description': E-UTRAN Cell Global Identifier of the Primary serving Cell (PCell), as defined in ETSI TS 136 331 [i.7]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + eutranNeighbourCellMeasInfo: + description: This parameter can be repeated to contain information of all the neighbouring cells up to N. + items: + type: object + properties: + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + rsrp: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrpEx: + description: Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrqEx: + description: Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + description: "Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS\_136\_133\_[i.16]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 minItems: 0 + required: + - ecgi type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - trigger: + x-etsi-mec-origin-type: Structure (inlined) + heightUe: + description: Indicates height of the UE in meters relative to the sea level as defined in ETSI TS 136.331 [i.7]. + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Int + newRadioMeasInfo: + description: 5G New Radio secondary serving cells measurement information. + items: + type: object + properties: + nrBNCs: + description: Measurement quantities concerning the best neighbours of the secondary serving cells + properties: + nrBNCellInfo: + description: Best neighbours of the secondary serving cell(s) info + items: + type: object + properties: + nrBNCellGId: + # description': Cell Global Identifier, as defined in ETSI TS 138 331 [i.13]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': NrCellId + $ref: '#/components/schemas/NrCellId' + nrBNCellPlmn: + description: Public land mobile network identities + items: + $ref: '#/components/schemas/Plmn' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Plmn + minItems: 1 + required: + - nrBNCellPlmn + - nrBNCellGId + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + nrBNCellRsrp: + description: Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrBNCellRsrq: + description: Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrBNCellRssi: + description: Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + required: + - nrBNCellInfo + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + nrCarrierFreq: + description: "ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR carrier frequency, as defined in ETSI TS\_138.101 [i.15]." + format: int32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + nrSCs: + description: Measurement quantities concerning the secondary serving cells. + properties: + nrSCellInfo: + description: Secondary serving cell(s) info. + items: + type: object + properties: + nrSCellGId: + # description': Cell Global Identifier, as defined in ETSI TS 138 331 [i.13]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': NrCellId + $ref: '#/components/schemas/NrCellId' + nrSCellPlmn: + description: Public land mobile network identities. + items: + $ref: '#/components/schemas/Plmn' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Plmn + minItems: 1 + required: + - nrSCellPlmn + - nrSCellGId + type: array + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Structure (inlined) + nrSCellRsrp: + description: Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrSCellRsrq: + description: Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrSCellRssi: + description: Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + required: + - nrSCellInfo + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) minItems: 0 + required: + - nrCarrierFreq + - nrSCs type: array - description: Corresponds to a specific E-UTRAN UE Measurement Report trigger. + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + newRadioMeasNeiInfo: + description: Measurement quantities concerning the 5G NR neighbours. items: - $ref: '#/components/schemas/Trigger' + type: object + properties: + nrNCellInfo: + description: 5G NR neighbour cell info. + items: + type: object + properties: + nrNCellGId: + # description': Cell Global Identifier, as defined in ETSI TS 138 331 [i.13]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': NrCellId + $ref: '#/components/schemas/NrCellId' + nrNCellPlmn: + description: Public land mobile network identities. + items: + $ref: '#/components/schemas/Plmn' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Plmn + minItems: 1 + required: + - nrNCellPlmn + - nrNCellGId + type: array + x-etsi-mec-cardinality: 1..P + x-etsi-mec-origin-type: Structure (inlined) + nrNCellRsrp: + description: Reference Signal Received Power measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrNCellRsrq: + description: Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + nrNCellRssi: + description: Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsIndexResults: + # description': Beam level measurements results of a NR cell. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': RsIndexResults + $ref: '#/components/schemas/RsIndexResults' + minItems: 0 + required: + - nrNCellInfo + type: array x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Trigger - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - NrMeasRepUeNotification_eutraNeighCellMeasInfo: - type: object - properties: - ecgi: - $ref: '#/components/schemas/Ecgi' + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + description: Shall be set to "MeasRepUeNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String rsrp: + description: "Reference Signal Received Power as defined in ETSI TS\_136 214 [i.5]." + format: int32 type: integer - description: "Reference Signal Received Power as defined in ETSI TS\_138\ - \ 331 [i.13]." + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + rsrpEx: + description: Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16]. format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 rsrq: + description: Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5]. + format: int32 type: integer - description: "Reference Signal Received Quality as defined in ETSI TS 138\ - \ 331 [i.13]." + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + rsrqEx: + description: Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 sinr: - type: integer - description: "Reference Signal plus Interference Noise Ratio as defined\ - \ in ETSI TS\_138\_331\_[i.13]." + description: "Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS\_136\_133\_[i.16]." format: int32 + type: integer x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: Uint8 - NrMeasRepUeNotification_nrNeighCellMeasInfo: + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + trigger: + # description': Corresponds to a specific E-UTRAN UE Measurement Report trigger. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Trigger + $ref: '#/components/schemas/Trigger' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - notificationType + - ecgi + - rsrp + - rsrq + - trigger + - _links type: object + x-etsi-ref: 6.4.6 + MeasRepUeSubscription: + title: MeasRepUeSubscription + description: > + This type represents a subscription to UE measurement report notifications from Radio Network Information Service for UEs served by E-UTRA Cells. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. properties: - measQuantityResultsCsiRsCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - measQuantityResultsSsbCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - nrcgi: - $ref: '#/components/schemas/NrCellId' - rsIndexResults: - $ref: '#/components/schemas/RsIndexResults' - NrMeasRepUeNotification_nCell: + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications, either in place of the callbackReference URI or if it is not reachable via the test notification. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssocTri: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + trigger: + description: Corresponds to a specific E-UTRAN UE Measurement Report trigger. + items: + $ref: '#/components/schemas/Trigger' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Trigger + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "MeasRepUeSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - filterCriteriaAssocTri type: object + x-etsi-ref: 6.3.6 + MeasTaNotification: properties: - measQuantityResultsCsiRsCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - measQuantityResultsSsbCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - rsIndexResults: - $ref: '#/components/schemas/RsIndexResults' - description: Measurement information relating to the best neighbour of this - serving cell. - NrMeasRepUeNotification_sCell: + associateId: + description: 0 to N identifiers to associate the event for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + notificationType: + description: Shall be set to "MeasTaNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + timingAdvance: + description: The timing advance as defined in ETSI TS 136 214 [i.5]. + format: int32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - notificationType + - ecgi + - timingAdvance + - _links type: object + x-etsi-ref: 6.4.7 + MeasTaSubscription: + title: MeasTaSubscription + description: > + This type represents a subscription to UE timing advance notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - measQuantityResultsCsiRsCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - measQuantityResultsSsbCell: - $ref: '#/components/schemas/MeasQuantityResultsNr' - rsIndexResults: - $ref: '#/components/schemas/RsIndexResults' - description: Measurement information relating to this serving cell. - NrMeasRepUeNotification_servCellMeasInfo: + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaAssoc: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "MeasTaSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - filterCriteriaAssoc type: object + x-etsi-ref: 6.3.7 + Nrcgi: properties: - nCell: - $ref: '#/components/schemas/NrMeasRepUeNotification_nCell' - nrcgi: - $ref: '#/components/schemas/NRcgi' - sCell: - $ref: '#/components/schemas/NrMeasRepUeNotification_sCell' - NrMeasRepUeSubscription_filterCriteriaNrMrs: + nrcellId: + # description': NR Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': NrCellId + $ref: '#/components/schemas/NrCellId' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + required: + - plmn + - nrcellId type: object + x-etsi-ref: 6.5.7 + NrCellId: + description: String representing the NR Cell Identity. Encoded as a bit string (size (36)) as defined in ETSI TS 138 423 [i.17]. + type: string + NrMeasRepUeNotification: properties: - appInstanceId: - type: string - description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for a specific - UE or flow. + description: 0 to N identifiers to associate the event for a specific UE or flow. items: $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: AssociateId - nrcgi: + eutraNeighCellMeasInfo: + description: This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if nrNeighCellMeasInfo is included. + items: + type: object + properties: + ecgi: + # description': Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + rsrp: + description: "Reference Signal Received Power as defined in ETSI TS\_138 331 [i.13]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + rsrq: + description: Reference Signal Received Quality as defined in ETSI TS 138 331 [i.13]. + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + sinr: + description: "Reference Signal plus Interference Noise Ratio as defined in ETSI TS\_138\_331\_[i.13]." + format: int32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint8 + minItems: 0 + required: + - ecgi + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + description: Shall be set to "NrMeasRepUeNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + nrNeighCellMeasInfo: + description: This parameter can be repeated to contain measurement information of all the neighbouring cells up to N. It shall not be included if eutraNeighCellMeasInfo is included. + items: + type: object + properties: + measQuantityResultsCsiRsCell: + # description': Measurement quantity results relating to the Channel State Information Reference Signal of the neighbouring cells. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + # description': Measurement quantity results relating to the Synchronization Signal Block of the neighbouring cells. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + nrcgi: + # description': Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': NrCellId + $ref: '#/components/schemas/Nrcgi' + rsIndexResults: + # description': Beam level measurement information. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': RsIndexResults + $ref: '#/components/schemas/RsIndexResults' minItems: 0 + required: + - nrcgi type: array - description: NR Cell Global Identier. - items: - $ref: '#/components/schemas/NRcgi' x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: NRcgi - triggerNr: + x-etsi-mec-origin-type: Structure (inlined) + servCellMeasInfo: + description: This parameter can be repeated to contain information of all the serving cells up to N. + items: + type: object + properties: + nCell: + description: Measurement information relating to the best neighbour of this serving cell. + properties: + measQuantityResultsCsiRsCell: + # description': Measurement quantity results relating to the Channel State Information Reference Signal. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + # description': Measurement quantity results relating to the Synchronization Signal Block. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + rsIndexResults: + # description': Beam level measurement information + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': RsIndexResults + $ref: '#/components/schemas/RsIndexResults' + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + nrcgi: + # description': NR Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Nrcgi + $ref: '#/components/schemas/Nrcgi' + sCell: + description: Measurement information relating to this serving cell. + properties: + measQuantityResultsCsiRsCell: + # description': Measurement quantity results relating to the Channel State Information Reference Signal. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + measQuantityResultsSsbCell: + # description': Measurement quantity results relating to the Synchronization Signal Block. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + rsIndexResults: + # description': Beam level measurement information + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': RsIndexResults + $ref: '#/components/schemas/RsIndexResults' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) minItems: 0 + required: + - nrcgi + - sCell type: array - description: Corresponds to a specific 5G UE Measurement Report trigger. - items: - $ref: '#/components/schemas/TriggerNr' x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: TriggerNr - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - RabEstNotification_erabQosParameters_qosInformation: - required: - - erabGbrDl - - erabGbrUl - - erabMbrDl - - erabMbrUl - type: object - properties: - erabGbrDl: - type: integer - description: "This attribute indicates the guaranteed downlink E-RAB Bit\ - \ Rate as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabGbrUl: - type: integer - description: "This attribute indicates the guaranteed uplink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabMbrDl: - type: integer - description: "This attribute indicates the maximum downlink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabMbrUl: - type: integer - description: "This attribute indicates the maximum uplink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - description: The QoS information for the E-RAB. - example: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - RabEstNotification_erabQosParameters: + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + triggerNr: + # description': Corresponds to a specific 5G UE Measurement Report trigger. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TriggerNr + $ref: '#/components/schemas/TriggerNr' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) required: - - qci + - notificationType + - triggerNr + - _links type: object + x-etsi-ref: 6.4.11 + NrMeasRepUeSubscription: + title: NrMeasRepUeSubscription + description: > + This type represents a subscription to 5G UE measurement report notifications from Radio Network Information Service for UEs served by NR Cells. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - qci: - type: integer - description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - qosInformation: - $ref: '#/components/schemas/RabEstNotification_erabQosParameters_qosInformation' - description: QoS parameters for the E-RAB as defined below. - example: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - RabEstNotification_tempUeId: + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaNrMrs: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + nrcgi: + description: NR Cell Global Identier. + items: + $ref: '#/components/schemas/Nrcgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Nrcgi + triggerNr: + description: Corresponds to a specific 5G UE Measurement Report trigger. + items: + $ref: '#/components/schemas/TriggerNr' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: TriggerNr + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "NrMeasRepUeSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String required: - - mmec - - mtmsi + - subscriptionType + - filterCriteriaNrMrs type: object + x-etsi-ref: 6.3.11 + Plmn: properties: - mmec: + mcc: + description: The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. type: string - description: "MMEC as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - mtmsi: + mnc: + description: The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3]. type: string - description: "M-TMSI as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - description: 'The temporary identifier allocated for the specific UE as defined - below. ' - RabEstSubscription_filterCriteriaQci: required: - - qci + - mcc + - mnc type: object + x-etsi-ref: 6.5.5 + PlmnInfo: properties: appInstanceId: - type: string description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 + type: string + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - ecgi: - minItems: 0 - type: array - description: E-UTRAN Cell Global Identifier. + plmn: + description: Public Land Mobile Network Identity. items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - qci: - type: integer - description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - RabInfo_erabInfo: + $ref: '#/components/schemas/Plmn' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Plmn + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - appInstanceId + - plmn type: object + x-etsi-ref: 6.2.2 + ProblemDetails: properties: - erabId: + detail: + description: A human-readable explanation specific to this occurrence of the problem + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + description: A URI reference that identifies the specific occurrence of the problem + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + description: The HTTP status code for this occurrence of the problem + format: int32 type: integer - description: "The attribute that uniquely identifies a Radio Access bearer\ - \ for specific UE as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabQosParameters: - $ref: '#/components/schemas/RabEstNotification_erabQosParameters' - example: - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - RabInfo_ueInfo: + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + description: A short, human-readable summary of the problem type + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + description: A URI reference according to IETF RFC 3986 that identifies the problem type + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + required: + - status + - detail type: object + RabEstNotification: properties: associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the event for a specific UE - or flow. + description: '0 to N identifiers to bind the event for a specific UE or flow. ' items: $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: AssociateId - erabInfo: - minItems: 1 - required: - - erabId - type: array - description: Information on E-RAB as defined below. - items: - $ref: '#/components/schemas/RabInfo_erabInfo' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - example: - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - RabInfo_cellUserInfo: - type: object - properties: ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi $ref: '#/components/schemas/Ecgi' - ueInfo: - minItems: 1 - required: - - erabInfo - type: array - description: Information on UEs in the specific cell as defined below. - items: - $ref: '#/components/schemas/RabInfo_ueInfo' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Structure (inlined) - example: - ueInfo: - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - associateId: - - type: 0 - value: value - - type: 0 - value: value - erabInfo: - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - - erabId: 6 - erabQosParameters: - qosInformation: - erabGbrDl: 5 - erabGbrUl: 5 - erabMbrUl: 7 - erabMbrDl: 2 - qci: 1 - ecgi: - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - RabModNotification_erabQosParameters_qosInformation: - required: - - erabGbrDl - - erabGbrUl - - erabMbrDl - - erabMbrUl - type: object - properties: - erabGbrDl: - type: integer - description: "This attribute indicates the guaranteed downlink E-RAB Bit\ - \ Rate as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabGbrUl: - type: integer - description: "This attribute indicates the guaranteed uplink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabMbrDl: - type: integer - description: "This attribute indicates the maximum downlink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - erabMbrUl: + erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. type: integer - description: "This attribute indicates the maximum uplink E-RAB Bit Rate\ - \ as defined in ETSI TS 123 401 [i.4] for this bearer." - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Integer - description: The QoS Information for the E-RAB as defined below. - RabModNotification_erabQosParameters: + erabQosParameters: + description: QoS parameters for the E-RAB as defined below. + properties: + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + qosInformation: + description: The QoS information for the E-RAB. + properties: + erabGbrDl: + description: This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabGbrUl: + description: This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrDl: + description: This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrUl: + description: This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - erabMbrDl + - erabMbrUl + - erabGbrDl + - erabGbrUl + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + required: + - qci + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + description: Shall be set to "RabEstNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + tempUeId: + description: 'The temporary identifier allocated for the specific UE as defined below. ' + properties: + mmec: + description: MMEC as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mtmsi: + description: M-TMSI as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mmec + - mtmsi + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' required: - - qci + - notificationType + - ecgi + - erabId + - _links type: object + x-etsi-ref: 6.4.3 + RabEstSubscription: + title: RabEstSubscription + description: > + This type represents a subscription to RAB establishment notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - qci: - type: integer - description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - qosInformation: - $ref: '#/components/schemas/RabModNotification_erabQosParameters_qosInformation' - description: The QoS parameters for the E-RAB as defined below. - RabModSubscription_filterCriteriaQci: + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + filterCriteriaQci: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - qci + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + subscriptionType: + description: Shall be set to "RabEstSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String required: - - erabId - - qci + - subscriptionType + - filterCriteriaQci type: object + x-etsi-ref: 6.3.3 + RabInfo: properties: appInstanceId: - type: string description: Unique identifier for the MEC application instance. - x-etsi-mec-cardinality: 0..1 + type: string + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - ecgi: + cellUserInfo: + description: The information on users per cell as defined below. + items: + type: object + properties: + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + ueInfo: + description: Information on UEs in the specific cell as defined below. + items: + type: object + properties: + associateId: + description: 0 to N identifiers to associate the event for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + erabInfo: + description: Information on E-RAB as defined below. + items: + type: object + properties: + erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabQosParameters: + description: QoS parameters for the E-RAB as defined below. + properties: + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + qosInformation: + description: The QoS information for the E-RAB. + properties: + erabGbrDl: + description: This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabGbrUl: + description: This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrDl: + description: This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrUl: + description: This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - erabMbrDl + - erabMbrUl + - erabGbrDl + - erabGbrUl + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + required: + - qci + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + minItems: 1 + required: + - erabId + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + minItems: 1 + required: + - erabInfo + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) minItems: 0 + required: + - ecgi + - ueInfo type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - erabId: - type: integer - description: "The attribute that uniquely identifies a Radio Access bearer\ - \ for specific UE as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - qci: - type: integer - description: "QoS Class Identifier as defined in ETSI TS 123 401 [i.4]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - description: "List of filtering criteria for the subscription. Any filtering\ - \ criteria from below, which is included in the request, shall also be included\ - \ in the response." - RabRelNotification_erabReleaseInfo: + x-etsi-mec-origin-type: Structure (inlined) + requestId: + description: Unique identifier allocated by the service consumer for the RAB Information request. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' required: - - erabId + - appInstanceId + - requestId type: object + x-etsi-ref: 6.2.3 + RabModNotification: properties: + associateId: + description: '0 to N identifiers to bind the event for a specific UE or flow. ' + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. type: integer - description: "The attribute that uniquely identifies a Radio Access bearer\ - \ for specific UE as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Integer - description: The release information for the E-RAB as defined below. - ResultsPerCsiRsIndexList_resultsPerCsiRsIndex: - type: object - properties: - csiRsIndex: - type: integer - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - csiRsResults: - $ref: '#/components/schemas/MeasQuantityResultsNr' - ResultsPerSsbIndexList_resultsPerSsbIndex: - type: object - properties: - ssbIndex: - type: integer - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint8 - ssbResults: - $ref: '#/components/schemas/MeasQuantityResultsNr' - S1BearerInfo_enbInfo: - required: - - ipAddress - - tunnelId - type: object - properties: - ipAddress: - type: string - description: eNB transport layer address of this S1 bearer. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - tunnelId: + erabQosParameters: + description: The QoS parameters for the E-RAB as defined below. + properties: + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + qosInformation: + description: The QoS Information for the E-RAB as defined below. + properties: + erabGbrDl: + description: This attribute indicates the guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabGbrUl: + description: This attribute indicates the guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrDl: + description: This attribute indicates the maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + erabMbrUl: + description: This attribute indicates the maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 [i.4] for this bearer. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - erabMbrDl + - erabMbrUl + - erabGbrDl + - erabGbrUl + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + required: + - qci + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + notificationType: + description: Shall be set to "RabModNotification". type: string - description: eNB GTP-U TEID of this S1 bearer. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - description: S1 bearer information on eNB side as defined below. - example: - tunnelId: tunnelId - ipAddress: ipAddress - S1BearerInfo_sGwInfo: + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) required: - - ipAddress - - tunnelId + - notificationType + - ecgi + - erabId + - _links type: object + x-etsi-ref: 6.4.4 + RabModSubscription: + title: RabModSubscription + description: > + This type represents a subscription to RAB modification notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. properties: - ipAddress: - type: string - description: SGW transport layer address of this S1 bearer. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - tunnelId: + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri type: string - description: SGW GTP-U TEID of this S1 bearer. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - description: S1 bearer information on GW side as defined below. - example: - tunnelId: tunnelId - ipAddress: ipAddress - S1BearerInfo_s1BearerInfoDetailed: - type: object - properties: - enbInfo: - $ref: '#/components/schemas/S1BearerInfo_enbInfo' - erabId: - type: integer - description: "The attribute that uniquely identifies a S1 bearer for a specific\ - \ UE, as defined in ETSI TS 136 413 [i.3]." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Integer - sGwInfo: - $ref: '#/components/schemas/S1BearerInfo_sGwInfo' - example: - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - S1BearerInfo_s1UeInfo: - type: object - properties: - associateId: - minItems: 1 - type: array - description: 1 to N identifiers to associate the information for a specific - UE or flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: AssociateId - ecgi: - minItems: 1 - type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Ecgi - s1BearerInfoDetailed: - minItems: 1 + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaQci: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer required: - - enbInfo - erabId - - sGwInfo - type: array - description: S1 bearer information as defined below. - items: - $ref: '#/components/schemas/S1BearerInfo_s1BearerInfoDetailed' - x-etsi-mec-cardinality: 1..N + - qci + type: object + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) - tempUeId: - $ref: '#/components/schemas/CellChangeNotification_tempUeId' - example: - associateId: - - type: 0 - value: value - - type: 0 - value: value - s1BearerInfoDetailed: - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - - erabId: 0 - enbInfo: - tunnelId: tunnelId - ipAddress: ipAddress - sGwInfo: - tunnelId: tunnelId - ipAddress: ipAddress - ecgi: - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - - plmn: - mnc: mnc - mcc: mcc - cellId: cellId - tempUeId: - mtmsi: mtmsi - mmec: mmec - S1BearerNotification_s1UeInfo: + subscriptionType: + description: Shall be set to "RabModSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String required: - - ecgi - - s1BearerInfo + - subscriptionType + - filterCriteriaQci type: object + x-etsi-ref: 6.3.4 + RabRelNotification: properties: associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for a specific - UE or flow. + description: 0 to N identifiers to bind the event for a specific UE or flow as defined below. items: $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array x-etsi-mec-cardinality: 0..N x-etsi-mec-origin-type: AssociateId ecgi: - minItems: 1 - type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 1..N - x-etsi-mec-origin-type: Ecgi - s1BearerInfo: - minItems: 1 + # description': E-UTRAN Cell Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + erabReleaseInfo: + description: The release information for the E-RAB as defined below. + properties: + erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer required: - - enbInfo - erabId - - sGwInfo - type: array - description: S1 bearer information as defined below. - items: - $ref: '#/components/schemas/S1BearerInfo_s1BearerInfoDetailed' - x-etsi-mec-cardinality: 1..N + type: object + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: Structure (inlined) - tempUeId: - $ref: '#/components/schemas/CellChangeNotification_tempUeId' - description: Information on specific UE that matches the criteria in S1BearerSubscription - as defined below. - S1BearerSubscription_S1BearerSubscriptionCriteria: - type: object - properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the events for a specific UE - or a flow. - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - ecgi: - minItems: 0 - type: array - description: E-UTRAN Cell Global Identifier. - items: - $ref: '#/components/schemas/Ecgi' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Ecgi - erabId: - minItems: 0 - type: array - description: "The attribute that uniquely identifies a S1 bearer for a specific\ - \ UE, as defined in ETSI TS 136 413 [i.3]." - items: - type: integer - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Integer - description: As defined below. - SubscriptionLinkList__links_subscription: + notificationType: + description: Shall be set to "RabRelNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - notificationType + - ecgi + - erabReleaseInfo + - _links type: object + x-etsi-ref: 6.4.5 + RabRelSubscription: + title: RabRelSubscription + description: > + This type represents a subscription to RAB release notifications from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. properties: - href: - type: string - description: The URI referring to the subscription. + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. format: uri - x-etsi-mec-cardinality: "1" + type: string + x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteriaQci: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + appInstanceId: + description: Unique identifier for the MEC application instance. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + erabId: + description: The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + qci: + description: QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - erabId + - qci + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) subscriptionType: + description: Shall be set to "RabRelSubscription". type: string - description: Type of the subscription. The string shall be set according - to the "subscriptionType" attribute of the associated subscription data - type event defined in clause 6.3. - x-etsi-mec-cardinality: "1" + x-etsi-mec-cardinality: '1' x-etsi-mec-origin-type: String - example: - subscriptionType: subscriptionType - href: http://example.com/aeiou - SubscriptionLinkList__links: required: - - self + - subscriptionType + - filterCriteriaQci + type: object + x-etsi-ref: 6.3.5 + ResultsPerCsiRsIndex: + description: '' + properties: + csiRsIndex: + description: '' + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + csiRsResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + required: + - csiRsIndex type: object + ResultsPerCsiRsIndexList: properties: - self: - $ref: '#/components/schemas/LinkType' - subscription: + resultsPerCsiRsIndex: + description: '' + items: + type: object + properties: + csiRsIndex: + description: '' + format: int32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + csiRsResults: + # description': '' + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' minItems: 0 required: - - href - - subscriptionType + - csiRsIndex + type: array + x-etsi-mec-cardinality: "0..N" + x-etsi-mec-origin-type: Structure (inline) + type: object + x-etsi-ref: 6.5.10 + ResultsPerSsbIndex: + description: '' + properties: + ssbIndex: + description: '' + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + ssbResults: + $ref: '#/components/schemas/MeasQuantityResultsNr' + required: + - ssbIndex + type: object + ResultsPerSsbIndexList: + properties: + resultsPerSsbIndex: + description: '' + items: + type: object + properties: + ssbIndex: + description: '' + format: int32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint8 + ssbResults: + # description': '' + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': MeasQuantityResultsNr + $ref: '#/components/schemas/MeasQuantityResultsNr' + minItems: 0 + required: + - ssbIndex type: array - description: A link to a subscription. - items: - $ref: '#/components/schemas/SubscriptionLinkList__links_subscription' x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) - description: List of hyperlinks related to the resource. - example: - self: - href: http://example.com/aeiou - subscription: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou - AppTerminationNotification__links: + x-etsi-mec-origin-type: Structure (inline) + type: object + x-etsi-ref: 6.5.9 + RsIndexResults: + properties: + resultsCsiRsIndexes: + # description': Beam level measurement results based on CSI-RS related measurements. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': ResultsPerCsiRsIndexList + $ref: '#/components/schemas/ResultsPerCsiRsIndexList' + resultsSsbIndexes: + # description': Beam level measurement results based on SS/PBCH related measurements. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': ResultsPerSsbIndexList + $ref: '#/components/schemas/ResultsPerSsbIndexList' required: - - subscription + - resultsSsbIndexes + - resultsCsiRsIndexes type: object + x-etsi-ref: 6.5.8 + S1BearerInfo: properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' - description: Object containing hyperlinks related to the resource. - responses: - "204": - description: No Content - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot be\ - \ mapped to a valid resource URI." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts when\ - \ using PUT" - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "414": - description: "URI Too Long : used to indicate that the server is refusing to\ - \ process the request because the request URI is longer than the server is\ - \ willing or able to process." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "415": - description: "Unsupported Media Type : used to indicate that the server or\ - \ the client does not support the content type of the entity body." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body is\ - \ syntactically correct but semantically incorrect, for example if the target\ - \ area for the request is considered too large. This error condition can also\ - \ occur if the capabilities required by the request are not supported." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - example: - application/problem+json: - type: https://meAppServer.example.com/rni/v2/probs/too-many targets - title: Too many targets - status: "422" - detail: The target area for the request is considered too large - instance: /meAppClient.example.com/77777/msgs/abc - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - parameters: - Path.subscrId: - name: subscriptionId - in: path - description: "Subscription Id, specifically the \"Self-referring URI\" returned\ - \ in the subscription request" - required: true - style: simple - explode: false - schema: - type: string - format: uri - x-exportParamName: SubscriptionId - Query.AppInsId: - name: app_ins_id - in: query - description: Application instance identifier - required: false - style: form - explode: true - schema: - type: string - x-exportParamName: AppInsId - x-optionalDataType: String - Query.AppInsIdArr: - name: app_ins_id - in: query - description: Comma separated list of Application instance identifiers - required: true - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: AppInsIdArr - Query.CellId: - name: cell_id - in: query - description: Comma separated list of E-UTRAN Cell Identities - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: CellId - Query.UeIpv4Address: - name: ue_ipv4_address - in: query - description: Comma separated list of IE IPv4 addresses as defined for the type - for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: - type: string - x-exportParamName: UeIpv4Address - Query.UeIpv6Address: - name: ue_ipv6_address - in: query - description: Comma separated list of IE IPv6 addresses as defined for the type - for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: + s1UeInfo: + description: Information on a specific UE as defined below. + items: + properties: + associateId: + description: 1 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + s1BearerInfoDetailed: + description: S1 bearer information as defined below. + items: + type: object + properties: + enbInfo: + description: S1 bearer information on eNB side as defined below. + properties: + ipAddress: + description: eNB transport layer address of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + tunnelId: + description: eNB GTP-U TEID of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - tunnelId + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + erabId: + description: The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + sGwInfo: + description: S1 bearer information on GW side as defined below. + properties: + ipAddress: + description: SGW transport layer address of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + tunnelId: + description: SGW GTP-U TEID of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - tunnelId + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + minItems: 1 + required: + - erabId + - enbInfo + - sGwInfo + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + tempUeId: + description: The temporary identifier allocated for the specific UE as defined below. + properties: + mmec: + description: MMEC as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mtmsi: + description: M-TMSI as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mmec + - mtmsi + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + type: object + minItems: 1 + required: + - associateId + - ecgi + - s1BearerInfoDetailed + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - s1UeInfo + type: object + x-etsi-ref: 6.2.4 + S1BearerNotification: + properties: + notificationType: + description: Shall be set to "S1BearerNotification". type: string - x-exportParamName: UeIpv6Address - Query.NatedIpAddress: - name: nated_ip_address - in: query - description: Comma separated list of IE NATed IP addresses as defined for the - type for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + s1Event: + description: The subscribed event that triggered this notification in S1BearerSubscription. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + s1UeInfo: + description: Information on specific UE that matches the criteria in S1BearerSubscription as defined below. + properties: + associateId: + description: 0 to N identifiers to associate the information for a specific UE or flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Ecgi + s1BearerInfo: + description: S1 bearer information as defined below. + items: + type: object + properties: + enbInfo: + description: S1 bearer information on eNB side as defined below. + properties: + ipAddress: + description: eNB transport layer address of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + tunnelId: + description: eNB GTP-U TEID of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - tunnelId + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + erabId: + description: The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + sGwInfo: + description: S1 bearer information on GW side as defined below. + properties: + ipAddress: + description: SGW transport layer address of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + tunnelId: + description: SGW GTP-U TEID of this S1 bearer. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - tunnelId + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + minItems: 1 + required: + - erabId + - enbInfo + - sGwInfo + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Structure (inlined) + tempUeId: + description: The temporary identifier allocated for the specific UE as defined below. + properties: + mmec: + description: MMEC as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mtmsi: + description: M-TMSI as defined in ETSI TS 136 413 [i.3]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mmec + - mtmsi + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + required: + - ecgi + - s1BearerInfo + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) + required: + - notificationType + - s1Event + - s1UeInfo + - _links + type: object + x-etsi-ref: 6.4.10 + S1BearerSubscription: + title: S1BearerSubscription + description: > + This type represents a subscription to S1-U bearer information notification from Radio Network Information Service. + + NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. + If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, + specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + properties: + S1BearerSubscriptionCriteria: + description: As defined below. + properties: + associateId: + description: 0 to N identifiers to associate the events for a specific UE or a flow. + items: + $ref: '#/components/schemas/AssociateId' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: AssociateId + ecgi: + description: E-UTRAN Cell Global Identifier. + items: + $ref: '#/components/schemas/Ecgi' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Ecgi + erabId: + description: The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. + items: + type: integer + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Integer + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + _links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self referring URI. The URI shall be unique within the RNI API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Structure (inlined) + callbackReference: + description: URI exposed by the client on which to receive notifications via HTTP. See note. + format: uri type: string - x-exportParamName: NatedIpAddress - Query.GtpTeid: - name: gtp_teid - in: query - description: Comma separated list of GTP TEID addresses as defined for the type - for AssociateId - required: false - style: form - explode: true - schema: - type: array - items: + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + websockNotifConfig: + description: Provides details to negotiate and signal the use of a Websocket connection between RNIS and the service consumer for notifications. See note. + $ref: '#/components/schemas/WebsockNotifConfig' + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + eventType: + description: 'Description of the subscribed event. The event is included both in the request and in the response. \nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE.' + items: + $ref: '#/components/schemas/Enum' + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: Enum + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + subscriptionType: + description: Shall be set to "S1BearerSubscription". type: string - x-exportParamName: GtpTeid - Query.ErabId: - name: erab_id - in: query - description: E-RAB identifier - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabId - x-optionalDataType: Int32 - Query.ErabIdArr: - name: erab_id - in: query - description: Comma separated list of E-RAB identifiers - required: false - style: form - explode: true - schema: - type: array - items: + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - eventType + - S1BearerSubscriptionCriteria + type: object + x-etsi-ref: 6.3.9 + SubscriptionLinkList: + properties: + _links: + description: List of hyperlinks related to the resource. + properties: + self: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + subscription: + description: A link to a subscription. + items: + type: object + properties: + href: + description: The URI referring to the subscription. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + subscriptionType: + description: "Type of the subscription. The string shall be set according to the \"subscriptionType\" attribute of the associated subscription data type event defined in clause\_6.3." + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + minItems: 0 + required: + - href + - subscriptionType + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Structure (inlined) + required: + - self + type: object + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Structure (inlined) + required: + - _links + type: object + x-etsi-ref: 6.3.10 + TimeStamp: + properties: + nanoSeconds: + description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + format: int32 type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + seconds: + description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. format: int32 - x-exportParamName: ErabIdArr - Query.Qci: - name: qci - in: query - description: QoS Class Identifier as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: Qci - x-optionalDataType: Int32 - Query.ErabMbrDl: - name: erab_mbr_dl - in: query - description: Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabMbrDl - x-optionalDataType: Int32 - Query.ErabMbrUl: - name: erab_mbr_ul - in: query - description: Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabMbrUl - x-optionalDataType: Int32 - Query.ErabGbrDl: - name: erab_gbr_dl - in: query - description: Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabGbrDl - x-optionalDataType: Int32 - Query.ErabGbrUl: - name: erab_gbr_ul - in: query - description: Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401 - required: false - style: form - explode: true - schema: - type: integer - format: int32 - x-exportParamName: ErabGbrUl - x-optionalDataType: Int32 - Query.TempUeId: - name: temp_ue_id - in: query - description: Comma separated list of temporary identifiers allocated for the - specific UE as defined in ETSI TS 136 413 - required: false - style: form - explode: true - schema: - type: array - items: + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + required: + - seconds + - nanoSeconds + type: object + x-etsi-ref: 6.5.3 + Trigger: + description: As defined in Ref ETSI TS 136 331 [i.7]

0 = NOT_AVAILABLE

1 = PERIODICAL_REPORT_STRONGEST_CELLS

2 = PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON

3 = PERIODICAL_REPORT_CGI

4 = INTRA_PERIODICAL_REPORT_STRONGEST_CELLS

5 = INTRA_PERIODICAL_REPORT_CGI

10 = EVENT_A1

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = EVENT_B1

21 = EVENT_B2

20 = EVENT_B1-NR

21 = EVENT_B2-NR

30 = EVENT_C1

31 = EVENT_C2

40 = EVENT_W1

41 = EVENT_W2

42 = EVENT_W3

50 = EVENT_V1

51 = EVENT_V2

60 = EVENT_H1

61 = EVENT_H2 + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 20 + - 21 + - 30 + - 31 + - 40 + - 41 + - 42 + - 50 + - 51 + - 60 + - 61 + type: integer + TriggerNr: + description: The enumeration Trigger represents specified triggers for a 5G UE Measurement Report. Full details can be found in ETSI TS 138 331 [i.13]).

0 = NOT_AVAILABLE

1 = NR_PERIODICAL

2 = NR_CGI

10 = EVENT_A1

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = INTER_RAT_PERIODICAL

21 = INTER_RAT_CGI

30 = EVENT_B1

31 = EVENT_B2 + enum: + - 0 + - 1 + - 2 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 20 + - 21 + - 30 + - 31 + type: integer + InlineSubscription: + oneOf: + - $ref: '#/components/schemas/CellChangeSubscription' + - $ref: '#/components/schemas/RabEstSubscription' + - $ref: '#/components/schemas/RabModSubscription' + - $ref: '#/components/schemas/RabRelSubscription' + - $ref: '#/components/schemas/MeasRepUeSubscription' + - $ref: '#/components/schemas/NrMeasRepUeSubscription' + - $ref: '#/components/schemas/MeasTaSubscription' + - $ref: '#/components/schemas/CaReconfSubscription' + - $ref: '#/components/schemas/S1BearerSubscription' + discriminator: + propertyName: subscriptionType + InlineNotification: + oneOf: + - $ref: '#/components/schemas/CellChangeNotification' + - $ref: '#/components/schemas/RabEstNotification' + - $ref: '#/components/schemas/RabModNotification' + - $ref: '#/components/schemas/RabRelNotification' + - $ref: '#/components/schemas/MeasRepUeNotification' + - $ref: '#/components/schemas/NrMeasRepUeNotification' + - $ref: '#/components/schemas/MeasTaNotification' + - $ref: '#/components/schemas/CaReconfNotification' + - $ref: '#/components/schemas/S1BearerNotification' + discriminator: + propertyName: notificationType + + AppTerminationNotification: + description: >- + This type represents the information that the MEC platform + notifies the subscribed application instance about the corresponding + application instance termination/stop. + type: object + required: + - notificationType + - operationAction + - maxGracefulTimeout + - _links + properties: + notificationType: + description: Shall be set to AppTerminationNotification. + type: string + operationAction: + $ref: '#/components/schemas/OperationActionType' + maxGracefulTimeout: + description: >- + Maximum timeout value in seconds for graceful termination or graceful + stop of an application instance. + type: integer + format: uint32 + _links: + description: >- + Object containing hyperlinks related to the resource. + type: object + required: + - subscription + properties: + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + OperationActionType: + description: Operation that is being performed on the MEC application instance. + type: string + enum: + - STOPPING + - TERMINATING + WebsockNotifConfig: + title: WebsockNotifConfig + description: > + This type represents configuration for the delivery of subscription notifications over Websockets per the pattern defined in defined in clause 6.12a of ETSI GS MEC 009 [6]. + type: object + properties: + websocketUri: + format: uri type: string - x-exportParamName: TempUeId - Query.DlGbrPrbUsageCell: - name: dl_gbr_prb_usage_cell - in: query - description: PRB usage for downlink GBR traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPrbUsageCell - Query.UlGbrPrbUsageCell: - name: ul_gbr_prb_usage_cell - in: query - description: PRB usage for uplink GBR traffic in percentage as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPrbUsageCell - Query.DlNonGbrPrbUsageCell: - name: dl_nongbr_prb_usage_cell - in: query - description: PRB usage for downlink non-GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPrbUsageCell - Query.UlNonGbrPrbUsageCell: - name: ul_nongbr_prb_usage_cell - in: query - description: PRB usage for uplink non-GBR traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPrbUsageCell - Query.DlTotalPrbUsageCell: - name: dl_total_prb_usage_cell - in: query - description: PRB usage for total downlink traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlTotalPrbUsageCell - Query.UlTotalPrbUsageCell: - name: ul_total_prb_usage_cell - in: query - description: PRB usage for total uplink traffic in percentage as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlTotalPrbUsageCell - Query.ReceivedDedicatedPreamblesCell: - name: received_dedicated_preambles_cell - in: query - description: Received dedicated preambles in percentage as defined in ETSI TS - 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedDedicatedPreamblesCell - Query.ReceivedRandomPreamblesLowRangeCell: - name: received_randomly_selected_preambles_low_range_cell - in: query - description: Received randomly selected preambles in the low range in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedRandomPreamblesLowRangeCell - Query.ReceivedRandomPreamblesHighRangeCell: - name: received_randomly_selected_preambles_high_range_cell - in: query - description: Received rendomly selected preambles in the high range in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: ReceivedRandomPreamblesHighRangeCell - Query.NumberOfActiveUeDlGbrCell: - name: number_of_active_ue_dl_gbr_cell - in: query - description: Number of active UEs with downlink GBR traffic as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeDlGbrCell - Query.NumberOfActiveUeUlGbrCell: - name: number_of_active_ue_ul_gbr_cell - in: query - description: Number of active UEs with uplink GBR traffic as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeUlGbrCell - Query.NumberOfActiveUeDlNonGbrCell: - name: number_of_active_ue_dl_nongbr_cell - in: query - description: Number of active UEs with downlink non-GBR traffic as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeDlNonGbrCell - Query.NumberOfActiveUeUlNonGbrCell: - name: number_of_active_ue_ul_nongbr_cell - in: query - description: Number of active UEs with uplink non-GBR traffic as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: NumberOfActiveUeUlNonGbrCell - Query.DlGbrPdrCell: - name: dl_gbr_pdr_cell - in: query - description: Packet discard rate for downlink GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPdrCell - Query.UlGbrPdrCell: - name: ul_gbr_pdr_cell - in: query - description: Packet discard rate for uplink GBR traffic in percentage as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPdrCell - Query.DlNonGbrPdrCell: - name: dl_nongbr_pdr_cell - in: query - description: Packet discard rate for downlink non-GBR traffic in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPdrCell - Query.UlNonGbrPdrCell: - name: ul_nongbr_pdr_cell - in: query - description: Packet discard rate for uplink non-GBR traffic in percentage as - defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPdrCell - Query.DlGbrDelayUe: - name: dl_gbr_delay_ue - in: query - description: Packet delay of downlink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrDelayUe - Query.UlGbrDelayUe: - name: ul_gbr_delay_ue - in: query - description: Packet delay of uplink GBR traffic of a UE as defined in ETSI TS - 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrDelayUe - Query.DlNonGbrDelayUe: - name: dl_nongbr_delay_ue - in: query - description: Packet delay of downlink non-GBR traffic of a UE as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrDelayUe - Query.UlNonGbrDelayUe: - name: ul_nongbr_delay_ue - in: query - description: Packet delay of uplink non-GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrDelayUe - Query.DlGbrPdrUe: - name: dl_gbr_pdr_ue - in: query - description: Packet discard rate of downlink GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrPdrUe - Query.UlGbrPdrUe: - name: ul_gbr_pdr_ue - in: query - description: Packet discard rate of uplink GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrPdrUe - Query.DlNonGbrPdrUe: - name: dl_nongbr_pdr_ue - in: query - description: Packet discard rate of downlink non-GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrPdrUe - Query.UlNonGbrPdrUe: - name: ul_nongbr_pdr_ue - in: query - description: Packet discard rate of uplink non-GBR traffic of a UE in percentage - as defined in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrPdrUe - Query.DlGbrThroughputUe: - name: dl_gbr_throughput_ue - in: query - description: Scheduled throughput of downlink GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrThroughputUe - Query.UlGbrThroughputUe: - name: ul_gbr_throughput_ue - in: query - description: Scheduled throughput of uplink GBR traffic of a UE as defined in - ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrThroughputUe - Query.DlNonGbrThroughputUe: - name: dl_nongbr_throughput_ue - in: query - description: Scheduled throughput of downlink non-GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrThroughputUe - Query.UlNonGbrThroughputUe: - name: ul_nongbr_throughput_ue - in: query - description: Scheduled throughput of uplink non-GBR traffic of a UE as defined - in ETSI TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrThroughputUe - Query.DlGbrDataVolumeUe: - name: dl_gbr_data_volume_ue - in: query - description: Data volume of downlink GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlGbrDataVolumeUe - Query.UlGbrDataVolumeUe: - name: ul_gbr_data_volume_ue - in: query - description: Data volume of uplink GBR traffic of a UE as defined in ETSI TS - 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlGbrDataVolumeUe - Query.DlNonGbrDataVolumeUe: - name: dl_nongbr_data_volume_ue - in: query - description: Data volume of downlink non-GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: DlNonGbrDataVolumeUe - Query.UlNonGbrDataVolumeUe: - name: ul_nongbr_data_volume_ue - in: query - description: Data volume of uplink non-GBR traffic of a UE as defined in ETSI - TS 136 314 - required: false - style: form - explode: true - schema: - type: integer - x-exportParamName: UlNonGbrDataVolumeUe - Query.SubscriptionType: - name: subscription_type - in: query - description: "Filter on a specific subscription type. Permitted values: cell_change,\ - \ rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue,\ - \ ca_reconf, s1_bearer." - required: false - style: form - explode: true - schema: - type: string - x-exportParamName: SubscriptionType + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + description: Set by RNIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + requestWebsocketUri: + type: boolean + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uri + description: Set to true by the service consumer to indicate that Websocket delivery is requested. + x-etsi-ref: 6.3.12 + + TestNotification: + description: > + This type represents a test notification from a Radio Network Information service to determine if the Websocket method is to be utilized for the RNIS to issue notifications for a subscription, as defined in clause 6.12a of ETSI GS MEC 009 [6]. + type: object + required: + - _links + - notificationType + properties: + notificationType: + description: Shall be set to "RabEstNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + _links: + description: Links to resources related to this notification. + required: + - subscription + properties: + subscription: + description: A link to the related subscription. + $ref: '#/components/schemas/LinkType' + type: object + x-etsi-mec-cardinality: 1 + x-etsi-mec-origin-type: Structure (inlined) + x-etsi-ref: 6.4.12 \ No newline at end of file diff --git a/go-packages/meep-rnis-client/api_rni.go b/go-packages/meep-rnis-client/api_rni.go index 49ea84879..08676a2fa 100644 --- a/go-packages/meep-rnis-client/api_rni.go +++ b/go-packages/meep-rnis-client/api_rni.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/api_unsupported.go b/go-packages/meep-rnis-client/api_unsupported.go index 96cef6740..5a1e9af3e 100644 --- a/go-packages/meep-rnis-client/api_unsupported.go +++ b/go-packages/meep-rnis-client/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/client.go b/go-packages/meep-rnis-client/client.go index dd1670fa6..106099b4a 100644 --- a/go-packages/meep-rnis-client/client.go +++ b/go-packages/meep-rnis-client/client.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/configuration.go b/go-packages/meep-rnis-client/configuration.go index f953352f3..8f09436b8 100644 --- a/go-packages/meep-rnis-client/configuration.go +++ b/go-packages/meep-rnis-client/configuration.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/docs/AppTerminationNotification.md b/go-packages/meep-rnis-client/docs/AppTerminationNotification.md index 77026d2ce..8156e455d 100644 --- a/go-packages/meep-rnis-client/docs/AppTerminationNotification.md +++ b/go-packages/meep-rnis-client/docs/AppTerminationNotification.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/AppTerminationNotificationLinks.md b/go-packages/meep-rnis-client/docs/AppTerminationNotificationLinks.md index dd651ee85..67d7f0d90 100644 --- a/go-packages/meep-rnis-client/docs/AppTerminationNotificationLinks.md +++ b/go-packages/meep-rnis-client/docs/AppTerminationNotificationLinks.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/AssociateId.md b/go-packages/meep-rnis-client/docs/AssociateId.md index 5186636ff..084152d09 100644 --- a/go-packages/meep-rnis-client/docs/AssociateId.md +++ b/go-packages/meep-rnis-client/docs/AssociateId.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfNotification.md b/go-packages/meep-rnis-client/docs/CaReconfNotification.md index 44839153b..59e6909c5 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfNotification.md +++ b/go-packages/meep-rnis-client/docs/CaReconfNotification.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **SecondaryCellAdd** | [**[]CaReconfNotificationSecondaryCellAdd**](CaReconfNotification_secondaryCellAdd.md) | | [optional] [default to null] **SecondaryCellRemove** | [**[]CaReconfNotificationSecondaryCellAdd**](CaReconfNotification_secondaryCellAdd.md) | | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfNotificationCarrierAggregationMeasInfo.md b/go-packages/meep-rnis-client/docs/CaReconfNotificationCarrierAggregationMeasInfo.md index 9544227d2..162fbf6b0 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfNotificationCarrierAggregationMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/CaReconfNotificationCarrierAggregationMeasInfo.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfNotificationLinks.md b/go-packages/meep-rnis-client/docs/CaReconfNotificationLinks.md new file mode 100644 index 000000000..46f88b2f0 --- /dev/null +++ b/go-packages/meep-rnis-client/docs/CaReconfNotificationLinks.md @@ -0,0 +1,9 @@ +# CaReconfNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-rnis-client/docs/CaReconfNotificationSecondaryCellAdd.md b/go-packages/meep-rnis-client/docs/CaReconfNotificationSecondaryCellAdd.md index 55d0a3999..94d8075bf 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfNotificationSecondaryCellAdd.md +++ b/go-packages/meep-rnis-client/docs/CaReconfNotificationSecondaryCellAdd.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfSubscription.md b/go-packages/meep-rnis-client/docs/CaReconfSubscription.md index cbbbecb50..2f9475fc7 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfSubscription.md +++ b/go-packages/meep-rnis-client/docs/CaReconfSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaAssoc** | [***CaReconfSubscriptionFilterCriteriaAssoc**](CaReconfSubscription_filterCriteriaAssoc.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"CaReconfSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfSubscriptionFilterCriteriaAssoc.md b/go-packages/meep-rnis-client/docs/CaReconfSubscriptionFilterCriteriaAssoc.md index d28b42060..708d0e8a6 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfSubscriptionFilterCriteriaAssoc.md +++ b/go-packages/meep-rnis-client/docs/CaReconfSubscriptionFilterCriteriaAssoc.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CaReconfSubscriptionLinks.md b/go-packages/meep-rnis-client/docs/CaReconfSubscriptionLinks.md index c4691d580..428063618 100644 --- a/go-packages/meep-rnis-client/docs/CaReconfSubscriptionLinks.md +++ b/go-packages/meep-rnis-client/docs/CaReconfSubscriptionLinks.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CellChangeNotification.md b/go-packages/meep-rnis-client/docs/CellChangeNotification.md index daae0fbf2..7156cce8d 100644 --- a/go-packages/meep-rnis-client/docs/CellChangeNotification.md +++ b/go-packages/meep-rnis-client/docs/CellChangeNotification.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **SrcEcgi** | [***Ecgi**](Ecgi.md) | | [default to null] **TempUeId** | [***CellChangeNotificationTempUeId**](CellChangeNotification_tempUeId.md) | | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**TrgEcgi** | [**[]Ecgi**](Ecgi.md) | E-UTRAN Cell Global Identifier of the target cell. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. | [default to null] +**TrgEcgi** | [**[]Ecgi**](Ecgi.md) | E-UTRAN Cell Global Identifier of the target cell. See note. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. | [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CellChangeNotificationTempUeId.md b/go-packages/meep-rnis-client/docs/CellChangeNotificationTempUeId.md index 35a795aee..309ab08ec 100644 --- a/go-packages/meep-rnis-client/docs/CellChangeNotificationTempUeId.md +++ b/go-packages/meep-rnis-client/docs/CellChangeNotificationTempUeId.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CellChangeSubscription.md b/go-packages/meep-rnis-client/docs/CellChangeSubscription.md index 84df01707..f85db8bc0 100644 --- a/go-packages/meep-rnis-client/docs/CellChangeSubscription.md +++ b/go-packages/meep-rnis-client/docs/CellChangeSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **FilterCriteriaAssocHo** | [***CellChangeSubscriptionFilterCriteriaAssocHo**](CellChangeSubscription_filterCriteriaAssocHo.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"CellChangeSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/CellChangeSubscriptionFilterCriteriaAssocHo.md b/go-packages/meep-rnis-client/docs/CellChangeSubscriptionFilterCriteriaAssocHo.md index b9fe9cd1a..702375d3f 100644 --- a/go-packages/meep-rnis-client/docs/CellChangeSubscriptionFilterCriteriaAssocHo.md +++ b/go-packages/meep-rnis-client/docs/CellChangeSubscriptionFilterCriteriaAssocHo.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/Ecgi.md b/go-packages/meep-rnis-client/docs/Ecgi.md index f6e422a35..09e1264cb 100644 --- a/go-packages/meep-rnis-client/docs/Ecgi.md +++ b/go-packages/meep-rnis-client/docs/Ecgi.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ExpiryNotification.md b/go-packages/meep-rnis-client/docs/ExpiryNotification.md index 769bf83b3..2ee3b6e02 100644 --- a/go-packages/meep-rnis-client/docs/ExpiryNotification.md +++ b/go-packages/meep-rnis-client/docs/ExpiryNotification.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **Links** | [***ExpiryNotificationLinks**](ExpiryNotification__links.md) | | [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"ExpiryNotification\" | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ExpiryNotificationLinks.md b/go-packages/meep-rnis-client/docs/ExpiryNotificationLinks.md index 079bb06b8..5b1a2c788 100644 --- a/go-packages/meep-rnis-client/docs/ExpiryNotificationLinks.md +++ b/go-packages/meep-rnis-client/docs/ExpiryNotificationLinks.md @@ -3,8 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | **string** | Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. | [default to null] +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/InlineNotification.md b/go-packages/meep-rnis-client/docs/InlineNotification.md index 168ccca2d..f268cd077 100644 --- a/go-packages/meep-rnis-client/docs/InlineNotification.md +++ b/go-packages/meep-rnis-client/docs/InlineNotification.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/InlineSubscription.md b/go-packages/meep-rnis-client/docs/InlineSubscription.md index 27ba36f48..4ec8fab4a 100644 --- a/go-packages/meep-rnis-client/docs/InlineSubscription.md +++ b/go-packages/meep-rnis-client/docs/InlineSubscription.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/L2Meas.md b/go-packages/meep-rnis-client/docs/L2Meas.md index 4f58a6383..8383d9cee 100644 --- a/go-packages/meep-rnis-client/docs/L2Meas.md +++ b/go-packages/meep-rnis-client/docs/L2Meas.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/L2MeasCellInfo.md b/go-packages/meep-rnis-client/docs/L2MeasCellInfo.md index 857df27c2..ce82371cf 100644 --- a/go-packages/meep-rnis-client/docs/L2MeasCellInfo.md +++ b/go-packages/meep-rnis-client/docs/L2MeasCellInfo.md @@ -24,4 +24,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/L2MeasCellUeInfo.md b/go-packages/meep-rnis-client/docs/L2MeasCellUeInfo.md index 5610ec8a0..ca0c81ce0 100644 --- a/go-packages/meep-rnis-client/docs/L2MeasCellUeInfo.md +++ b/go-packages/meep-rnis-client/docs/L2MeasCellUeInfo.md @@ -24,4 +24,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasQuantityResultsNr.md b/go-packages/meep-rnis-client/docs/MeasQuantityResultsNr.md index 1af7a3fd6..90b5753ad 100644 --- a/go-packages/meep-rnis-client/docs/MeasQuantityResultsNr.md +++ b/go-packages/meep-rnis-client/docs/MeasQuantityResultsNr.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotification.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotification.md index 8c7b7a326..185aacb89 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotification.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotification.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **Sinr** | **int32** | Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **Trigger** | [***Trigger**](Trigger.md) | | [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationCarrierAggregationMeasInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationCarrierAggregationMeasInfo.md index f0d175be2..ffad649c0 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationCarrierAggregationMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationCarrierAggregationMeasInfo.md @@ -18,4 +18,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationEutranNeighbourCellMeasInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationEutranNeighbourCellMeasInfo.md index e7d39bbf4..4ffc748ee 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationEutranNeighbourCellMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationEutranNeighbourCellMeasInfo.md @@ -12,4 +12,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasInfo.md index 5d0295efb..ae601d541 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasInfo.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasNeiInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasNeiInfo.md index 50ca532f5..accaaae11 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasNeiInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNewRadioMeasNeiInfo.md @@ -11,4 +11,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCs.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCs.md index 201751a82..c36f359b6 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCs.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCs.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCsNrBnCellInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCsNrBnCellInfo.md index ef3b694ff..22f067d71 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCsNrBnCellInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrBnCsNrBnCellInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrNCellInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrNCellInfo.md index dac8de1fa..2ec008780 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrNCellInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrNCellInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCs.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCs.md index f6f6095ed..f24685eef 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCs.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCs.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCsNrSCellInfo.md b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCsNrSCellInfo.md index 8b01c7437..f7e5d70c9 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCsNrSCellInfo.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeNotificationNrSCsNrSCellInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeSubscription.md b/go-packages/meep-rnis-client/docs/MeasRepUeSubscription.md index ad352773c..25171e980 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeSubscription.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaAssocTri** | [***MeasRepUeSubscriptionFilterCriteriaAssocTri**](MeasRepUeSubscription_filterCriteriaAssocTri.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"MeasRepUeSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasRepUeSubscriptionFilterCriteriaAssocTri.md b/go-packages/meep-rnis-client/docs/MeasRepUeSubscriptionFilterCriteriaAssocTri.md index 0802ac5f2..062890325 100644 --- a/go-packages/meep-rnis-client/docs/MeasRepUeSubscriptionFilterCriteriaAssocTri.md +++ b/go-packages/meep-rnis-client/docs/MeasRepUeSubscriptionFilterCriteriaAssocTri.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasTaNotification.md b/go-packages/meep-rnis-client/docs/MeasTaNotification.md index 690de846d..be60ed555 100644 --- a/go-packages/meep-rnis-client/docs/MeasTaNotification.md +++ b/go-packages/meep-rnis-client/docs/MeasTaNotification.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **NotificationType** | **string** | Shall be set to \"MeasTaNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **TimingAdvance** | **int32** | The timing advance as defined in ETSI TS 136 214 [i.5]. | [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/MeasTaSubscription.md b/go-packages/meep-rnis-client/docs/MeasTaSubscription.md index 330c60818..f8b7324c7 100644 --- a/go-packages/meep-rnis-client/docs/MeasTaSubscription.md +++ b/go-packages/meep-rnis-client/docs/MeasTaSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaAssoc** | [***CaReconfSubscriptionFilterCriteriaAssoc**](CaReconfSubscription_filterCriteriaAssoc.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"MeasTaSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NRcgi.md b/go-packages/meep-rnis-client/docs/NRcgi.md index 7639d937c..5ca829fe4 100644 --- a/go-packages/meep-rnis-client/docs/NRcgi.md +++ b/go-packages/meep-rnis-client/docs/NRcgi.md @@ -1,4 +1,4 @@ -# NRcgi +# Nrcgi ## Properties Name | Type | Description | Notes @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotification.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotification.md index 2f8916ea5..36c60f32d 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotification.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotification.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **ServCellMeasInfo** | [**[]NrMeasRepUeNotificationServCellMeasInfo**](NrMeasRepUeNotification_servCellMeasInfo.md) | This parameter can be repeated to contain information of all the serving cells up to N. | [optional] [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **TriggerNr** | [***TriggerNr**](TriggerNr.md) | | [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationEutraNeighCellMeasInfo.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationEutraNeighCellMeasInfo.md index 47f765d39..7f68151ea 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationEutraNeighCellMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationEutraNeighCellMeasInfo.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNCell.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNCell.md index b713c6f4f..44f0b2590 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNCell.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNCell.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNrNeighCellMeasInfo.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNrNeighCellMeasInfo.md index a19b6dbd3..42cbffcea 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNrNeighCellMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationNrNeighCellMeasInfo.md @@ -5,9 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MeasQuantityResultsCsiRsCell** | [***MeasQuantityResultsNr**](MeasQuantityResultsNr.md) | | [optional] [default to null] **MeasQuantityResultsSsbCell** | [***MeasQuantityResultsNr**](MeasQuantityResultsNr.md) | | [optional] [default to null] -**Nrcgi** | **string** | | [optional] [default to null] +**Nrcgi** | [***Nrcgi**](Nrcgi.md) | | [optional] [default to null] **RsIndexResults** | [***RsIndexResults**](RsIndexResults.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationSCell.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationSCell.md index 6abeb2d7c..d2ad4f5a6 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationSCell.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationSCell.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationServCellMeasInfo.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationServCellMeasInfo.md index 0c570a47f..de1a1234f 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationServCellMeasInfo.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeNotificationServCellMeasInfo.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **NCell** | [***NrMeasRepUeNotificationNCell**](NrMeasRepUeNotification_nCell.md) | | [optional] [default to null] -**Nrcgi** | [***NRcgi**](NRcgi.md) | | [optional] [default to null] +**Nrcgi** | [***Nrcgi**](Nrcgi.md) | | [optional] [default to null] **SCell** | [***NrMeasRepUeNotificationSCell**](NrMeasRepUeNotification_sCell.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscription.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscription.md index bfdeef436..f823747b1 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscription.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaNrMrs** | [***NrMeasRepUeSubscriptionFilterCriteriaNrMrs**](NrMeasRepUeSubscription_filterCriteriaNrMrs.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"NrMeasRepUeSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscriptionFilterCriteriaNrMrs.md b/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscriptionFilterCriteriaNrMrs.md index eda508360..b67b47127 100644 --- a/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscriptionFilterCriteriaNrMrs.md +++ b/go-packages/meep-rnis-client/docs/NrMeasRepUeSubscriptionFilterCriteriaNrMrs.md @@ -5,9 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AppInstanceId** | **string** | Unique identifier for the MEC application instance. | [optional] [default to null] **AssociateId** | [**[]AssociateId**](AssociateId.md) | 0 to N identifiers to associate the information for a specific UE or flow. | [optional] [default to null] -**Nrcgi** | [**[]NRcgi**](NRcgi.md) | NR Cell Global Identier. | [optional] [default to null] +**Nrcgi** | [**[]Nrcgi**](Nrcgi.md) | NR Cell Global Identier. | [optional] [default to null] **TriggerNr** | [**[]TriggerNr**](TriggerNr.md) | Corresponds to a specific 5G UE Measurement Report trigger. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/OneOfInlineNotification.md b/go-packages/meep-rnis-client/docs/OneOfInlineNotification.md index ebef032f7..442884e24 100644 --- a/go-packages/meep-rnis-client/docs/OneOfInlineNotification.md +++ b/go-packages/meep-rnis-client/docs/OneOfInlineNotification.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/OneOfInlineSubscription.md b/go-packages/meep-rnis-client/docs/OneOfInlineSubscription.md index 926da1d24..3aa8bdc00 100644 --- a/go-packages/meep-rnis-client/docs/OneOfInlineSubscription.md +++ b/go-packages/meep-rnis-client/docs/OneOfInlineSubscription.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/OperationActionType.md b/go-packages/meep-rnis-client/docs/OperationActionType.md index 01fbf04d3..4078c9e76 100644 --- a/go-packages/meep-rnis-client/docs/OperationActionType.md +++ b/go-packages/meep-rnis-client/docs/OperationActionType.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/Plmn.md b/go-packages/meep-rnis-client/docs/Plmn.md index 645a12c8a..4f407a8d7 100644 --- a/go-packages/meep-rnis-client/docs/Plmn.md +++ b/go-packages/meep-rnis-client/docs/Plmn.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/PlmnInfo.md b/go-packages/meep-rnis-client/docs/PlmnInfo.md index b392d8b1e..2955067fd 100644 --- a/go-packages/meep-rnis-client/docs/PlmnInfo.md +++ b/go-packages/meep-rnis-client/docs/PlmnInfo.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ProblemDetails.md b/go-packages/meep-rnis-client/docs/ProblemDetails.md index 6908770f0..c4eb432e6 100644 --- a/go-packages/meep-rnis-client/docs/ProblemDetails.md +++ b/go-packages/meep-rnis-client/docs/ProblemDetails.md @@ -3,12 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Detail** | **string** | A human-readable explanation specific to this occurrence of the problem | [optional] [default to null] +**Detail** | **string** | A human-readable explanation specific to this occurrence of the problem | [default to null] **Instance** | **string** | A URI reference that identifies the specific occurrence of the problem | [optional] [default to null] -**Status** | **int32** | The HTTP status code for this occurrence of the problem | [optional] [default to null] +**Status** | **int32** | The HTTP status code for this occurrence of the problem | [default to null] **Title** | **string** | A short, human-readable summary of the problem type | [optional] [default to null] **Type_** | **string** | A URI reference according to IETF RFC 3986 that identifies the problem type | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstNotification.md b/go-packages/meep-rnis-client/docs/RabEstNotification.md index 7e5be50bc..e70bc51f8 100644 --- a/go-packages/meep-rnis-client/docs/RabEstNotification.md +++ b/go-packages/meep-rnis-client/docs/RabEstNotification.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **ErabQosParameters** | [***RabEstNotificationErabQosParameters**](RabEstNotification_erabQosParameters.md) | | [optional] [default to null] **NotificationType** | **string** | Shall be set to \"RabEstNotification\". | [default to null] **TempUeId** | [***RabEstNotificationTempUeId**](RabEstNotification_tempUeId.md) | | [optional] [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParameters.md b/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParameters.md index 39f8da647..bc55cb81d 100644 --- a/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParameters.md +++ b/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParameters.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParametersQosInformation.md b/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParametersQosInformation.md index 8c451a8e0..254523c5e 100644 --- a/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParametersQosInformation.md +++ b/go-packages/meep-rnis-client/docs/RabEstNotificationErabQosParametersQosInformation.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstNotificationTempUeId.md b/go-packages/meep-rnis-client/docs/RabEstNotificationTempUeId.md index a387794ef..dbf6eeeaf 100644 --- a/go-packages/meep-rnis-client/docs/RabEstNotificationTempUeId.md +++ b/go-packages/meep-rnis-client/docs/RabEstNotificationTempUeId.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstSubscription.md b/go-packages/meep-rnis-client/docs/RabEstSubscription.md index c919dd77e..910c8573e 100644 --- a/go-packages/meep-rnis-client/docs/RabEstSubscription.md +++ b/go-packages/meep-rnis-client/docs/RabEstSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **FilterCriteriaQci** | [***RabEstSubscriptionFilterCriteriaQci**](RabEstSubscription_filterCriteriaQci.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"RabEstSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabEstSubscriptionFilterCriteriaQci.md b/go-packages/meep-rnis-client/docs/RabEstSubscriptionFilterCriteriaQci.md index 10bc449c4..d78612fc1 100644 --- a/go-packages/meep-rnis-client/docs/RabEstSubscriptionFilterCriteriaQci.md +++ b/go-packages/meep-rnis-client/docs/RabEstSubscriptionFilterCriteriaQci.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabInfo.md b/go-packages/meep-rnis-client/docs/RabInfo.md index e22e0d5ad..9bc0d7519 100644 --- a/go-packages/meep-rnis-client/docs/RabInfo.md +++ b/go-packages/meep-rnis-client/docs/RabInfo.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabInfoCellUserInfo.md b/go-packages/meep-rnis-client/docs/RabInfoCellUserInfo.md index 1a9d9a8da..e3574afba 100644 --- a/go-packages/meep-rnis-client/docs/RabInfoCellUserInfo.md +++ b/go-packages/meep-rnis-client/docs/RabInfoCellUserInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabInfoErabInfo.md b/go-packages/meep-rnis-client/docs/RabInfoErabInfo.md index f1f426f9c..492d764f0 100644 --- a/go-packages/meep-rnis-client/docs/RabInfoErabInfo.md +++ b/go-packages/meep-rnis-client/docs/RabInfoErabInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabInfoUeInfo.md b/go-packages/meep-rnis-client/docs/RabInfoUeInfo.md index a9503b3e9..8f853f833 100644 --- a/go-packages/meep-rnis-client/docs/RabInfoUeInfo.md +++ b/go-packages/meep-rnis-client/docs/RabInfoUeInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabModNotification.md b/go-packages/meep-rnis-client/docs/RabModNotification.md index bc850ea7a..65548b1c6 100644 --- a/go-packages/meep-rnis-client/docs/RabModNotification.md +++ b/go-packages/meep-rnis-client/docs/RabModNotification.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **ErabQosParameters** | [***RabModNotificationErabQosParameters**](RabModNotification_erabQosParameters.md) | | [optional] [default to null] **NotificationType** | **string** | Shall be set to \"RabModNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParameters.md b/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParameters.md index 4dfd6c091..32e83b07f 100644 --- a/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParameters.md +++ b/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParameters.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParametersQosInformation.md b/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParametersQosInformation.md index af605cf81..0d025ebd9 100644 --- a/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParametersQosInformation.md +++ b/go-packages/meep-rnis-client/docs/RabModNotificationErabQosParametersQosInformation.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabModSubscription.md b/go-packages/meep-rnis-client/docs/RabModSubscription.md index dd7d70d01..8db0c984c 100644 --- a/go-packages/meep-rnis-client/docs/RabModSubscription.md +++ b/go-packages/meep-rnis-client/docs/RabModSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaQci** | [***RabModSubscriptionFilterCriteriaQci**](RabModSubscription_filterCriteriaQci.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"RabModSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabModSubscriptionFilterCriteriaQci.md b/go-packages/meep-rnis-client/docs/RabModSubscriptionFilterCriteriaQci.md index 8a5a5a818..90f207457 100644 --- a/go-packages/meep-rnis-client/docs/RabModSubscriptionFilterCriteriaQci.md +++ b/go-packages/meep-rnis-client/docs/RabModSubscriptionFilterCriteriaQci.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabRelNotification.md b/go-packages/meep-rnis-client/docs/RabRelNotification.md index ceab6574a..296d4888f 100644 --- a/go-packages/meep-rnis-client/docs/RabRelNotification.md +++ b/go-packages/meep-rnis-client/docs/RabRelNotification.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ErabReleaseInfo** | [***RabRelNotificationErabReleaseInfo**](RabRelNotification_erabReleaseInfo.md) | | [default to null] **NotificationType** | **string** | Shall be set to \"RabRelNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RabRelSubscription.md b/go-packages/meep-rnis-client/docs/RabRelSubscription.md index 6f78ccfab..ce670009b 100644 --- a/go-packages/meep-rnis-client/docs/RabRelSubscription.md +++ b/go-packages/meep-rnis-client/docs/RabRelSubscription.md @@ -4,11 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. | [default to null] +**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **FilterCriteriaQci** | [***RabModSubscriptionFilterCriteriaQci**](RabModSubscription_filterCriteriaQci.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"RabRelSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndex.md b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndex.md index 4be0a55dd..cb22c8849 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndex.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndex.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexList.md b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexList.md index 028f3f820..34fac1480 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexList.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexList.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexListResultsPerCsiRsIndex.md b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexListResultsPerCsiRsIndex.md index 84451ca03..6b5b69bab 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexListResultsPerCsiRsIndex.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerCsiRsIndexListResultsPerCsiRsIndex.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndex.md b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndex.md index 119d0a007..bc77109a5 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndex.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndex.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexList.md b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexList.md index cd674c9c0..968b4d550 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexList.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexList.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexListResultsPerSsbIndex.md b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexListResultsPerSsbIndex.md index 43cb95234..75ac6f66b 100644 --- a/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexListResultsPerSsbIndex.md +++ b/go-packages/meep-rnis-client/docs/ResultsPerSsbIndexListResultsPerSsbIndex.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/RniApi.md b/go-packages/meep-rnis-client/docs/RniApi.md index f46bfd00d..94a6e4ca0 100644 --- a/go-packages/meep-rnis-client/docs/RniApi.md +++ b/go-packages/meep-rnis-client/docs/RniApi.md @@ -1,4 +1,4 @@ -# \RniApi +# {{classname}} All URIs are relative to *https://localhost/sandboxname/rni/v2* @@ -14,7 +14,6 @@ Method | HTTP request | Description [**SubscriptionsPOST**](RniApi.md#SubscriptionsPOST) | **Post** /subscriptions | Create a new subscription [**SubscriptionsPUT**](RniApi.md#SubscriptionsPUT) | **Put** /subscriptions/{subscriptionId} | Modify an existing subscription - # **Layer2MeasInfoGET** > L2Meas Layer2MeasInfoGET(ctx, optional) Retrieve information on layer 2 measurements @@ -26,11 +25,10 @@ Queries information about the layer 2 measurements. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***Layer2MeasInfoGETOpts** | optional parameters | nil if no parameters + **optional** | ***RniApiLayer2MeasInfoGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a Layer2MeasInfoGETOpts struct - +Optional parameters are passed through a pointer to a RniApiLayer2MeasInfoGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appInsId** | **optional.String**| Application instance identifier | @@ -155,11 +153,10 @@ Queries information about the Radio Access Bearers Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***RabInfoGETOpts** | optional parameters | nil if no parameters + **optional** | ***RniApiRabInfoGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a RabInfoGETOpts struct - +Optional parameters are passed through a pointer to a RniApiRabInfoGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appInsId** | **optional.String**| Application instance identifier | @@ -201,11 +198,10 @@ Queries information on subscriptions for notifications Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***SubscriptionLinkListSubscriptionsGETOpts** | optional parameters | nil if no parameters + **optional** | ***RniApiSubscriptionLinkListSubscriptionsGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a SubscriptionLinkListSubscriptionsGETOpts struct - +Optional parameters are passed through a pointer to a RniApiSubscriptionLinkListSubscriptionsGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **subscriptionType** | **optional.String**| Filter on a specific subscription type. Permitted values: cell_change, rab_est, rab_mod, rab_rel, meas_rep_ue, nr_meas_rep_ue, timing_advance_ue, ca_reconf, s1_bearer. | diff --git a/go-packages/meep-rnis-client/docs/RsIndexResults.md b/go-packages/meep-rnis-client/docs/RsIndexResults.md index d692b7bb5..512d0e43a 100644 --- a/go-packages/meep-rnis-client/docs/RsIndexResults.md +++ b/go-packages/meep-rnis-client/docs/RsIndexResults.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerInfo.md b/go-packages/meep-rnis-client/docs/S1BearerInfo.md index 069dc83b4..93fababb5 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerInfo.md +++ b/go-packages/meep-rnis-client/docs/S1BearerInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerInfoEnbInfo.md b/go-packages/meep-rnis-client/docs/S1BearerInfoEnbInfo.md index 071f2dc04..9827a11c1 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerInfoEnbInfo.md +++ b/go-packages/meep-rnis-client/docs/S1BearerInfoEnbInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerInfoS1BearerInfoDetailed.md b/go-packages/meep-rnis-client/docs/S1BearerInfoS1BearerInfoDetailed.md index 0044719c0..9cd1ddb42 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerInfoS1BearerInfoDetailed.md +++ b/go-packages/meep-rnis-client/docs/S1BearerInfoS1BearerInfoDetailed.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerInfoS1UeInfo.md b/go-packages/meep-rnis-client/docs/S1BearerInfoS1UeInfo.md index 5851f3310..ebbb60457 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerInfoS1UeInfo.md +++ b/go-packages/meep-rnis-client/docs/S1BearerInfoS1UeInfo.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerInfoSGwInfo.md b/go-packages/meep-rnis-client/docs/S1BearerInfoSGwInfo.md index c59935615..1b0d95f13 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerInfoSGwInfo.md +++ b/go-packages/meep-rnis-client/docs/S1BearerInfoSGwInfo.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerNotification.md b/go-packages/meep-rnis-client/docs/S1BearerNotification.md index af0b6d3bf..a41a487ef 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerNotification.md +++ b/go-packages/meep-rnis-client/docs/S1BearerNotification.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **S1Event** | **int32** | The subscribed event that triggered this notification in S1BearerSubscription. | [default to null] **S1UeInfo** | [***S1BearerNotificationS1UeInfo**](S1BearerNotification_s1UeInfo.md) | | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerNotificationS1UeInfo.md b/go-packages/meep-rnis-client/docs/S1BearerNotificationS1UeInfo.md index 57dcedbd1..ad796a0e4 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerNotificationS1UeInfo.md +++ b/go-packages/meep-rnis-client/docs/S1BearerNotificationS1UeInfo.md @@ -10,4 +10,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerSubscription.md b/go-packages/meep-rnis-client/docs/S1BearerSubscription.md index 02d88fc17..c98d54301 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerSubscription.md +++ b/go-packages/meep-rnis-client/docs/S1BearerSubscription.md @@ -5,11 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **S1BearerSubscriptionCriteria** | [***S1BearerSubscriptionS1BearerSubscriptionCriteria**](S1BearerSubscription_S1BearerSubscriptionCriteria.md) | | [default to null] **Links** | [***CaReconfSubscriptionLinks**](CaReconfSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. | [default to null] +**CallbackReference** | **string** | URI exposed by the client on which to receive notifications via HTTP. See note. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. | [optional] [default to null] **EventType** | **[]int32** | Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined: <p>0 = RESERVED. <p>1 = S1_BEARER_ESTABLISH. <p>2 = S1_BEARER_MODIFY. <p>3 = S1_BEARER_RELEASE. | [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] **SubscriptionType** | **string** | Shall be set to \"S1BearerSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/S1BearerSubscriptionS1BearerSubscriptionCriteria.md b/go-packages/meep-rnis-client/docs/S1BearerSubscriptionS1BearerSubscriptionCriteria.md index 5c3b238ed..2ca674247 100644 --- a/go-packages/meep-rnis-client/docs/S1BearerSubscriptionS1BearerSubscriptionCriteria.md +++ b/go-packages/meep-rnis-client/docs/S1BearerSubscriptionS1BearerSubscriptionCriteria.md @@ -9,4 +9,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/SubscriptionLinkList.md b/go-packages/meep-rnis-client/docs/SubscriptionLinkList.md index 08af3c67e..f1ca11b51 100644 --- a/go-packages/meep-rnis-client/docs/SubscriptionLinkList.md +++ b/go-packages/meep-rnis-client/docs/SubscriptionLinkList.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinks.md index a723486fa..78a729331 100644 --- a/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinks.md +++ b/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinks.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinksSubscription.md b/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinksSubscription.md index c22255bca..0203a9126 100644 --- a/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinksSubscription.md +++ b/go-packages/meep-rnis-client/docs/SubscriptionLinkListLinksSubscription.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/TestNotification.md b/go-packages/meep-rnis-client/docs/TestNotification.md new file mode 100644 index 000000000..ff204dd4f --- /dev/null +++ b/go-packages/meep-rnis-client/docs/TestNotification.md @@ -0,0 +1,10 @@ +# TestNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NotificationType** | **string** | Shall be set to \"RabEstNotification\". | [default to null] +**Links** | [***CaReconfNotificationLinks**](CaReconfNotification__links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-rnis-client/docs/TimeStamp.md b/go-packages/meep-rnis-client/docs/TimeStamp.md index 97a0db5ca..0646af8f6 100644 --- a/go-packages/meep-rnis-client/docs/TimeStamp.md +++ b/go-packages/meep-rnis-client/docs/TimeStamp.md @@ -8,4 +8,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/Trigger.md b/go-packages/meep-rnis-client/docs/Trigger.md index c439fe44d..f279540e5 100644 --- a/go-packages/meep-rnis-client/docs/Trigger.md +++ b/go-packages/meep-rnis-client/docs/Trigger.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/TriggerNr.md b/go-packages/meep-rnis-client/docs/TriggerNr.md index 44f239d85..10cf5e1da 100644 --- a/go-packages/meep-rnis-client/docs/TriggerNr.md +++ b/go-packages/meep-rnis-client/docs/TriggerNr.md @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-rnis-client/docs/UnsupportedApi.md b/go-packages/meep-rnis-client/docs/UnsupportedApi.md index 6067bf529..451a96ccb 100644 --- a/go-packages/meep-rnis-client/docs/UnsupportedApi.md +++ b/go-packages/meep-rnis-client/docs/UnsupportedApi.md @@ -1,4 +1,4 @@ -# \UnsupportedApi +# {{classname}} All URIs are relative to *https://localhost/sandboxname/rni/v2* @@ -6,7 +6,6 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**S1BearerInfoGET**](UnsupportedApi.md#S1BearerInfoGET) | **Get** /queries/s1_bearer_info | Retrieve S1-U bearer information related to specific UE(s) - # **S1BearerInfoGET** > S1BearerInfo S1BearerInfoGET(ctx, optional) Retrieve S1-U bearer information related to specific UE(s) @@ -18,11 +17,10 @@ Queries information about the S1 bearer(s) Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***S1BearerInfoGETOpts** | optional parameters | nil if no parameters + **optional** | ***UnsupportedApiS1BearerInfoGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a S1BearerInfoGETOpts struct - +Optional parameters are passed through a pointer to a UnsupportedApiS1BearerInfoGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tempUeId** | [**optional.Interface of []string**](string.md)| Comma separated list of temporary identifiers allocated for the specific UE as defined in ETSI TS 136 413 | diff --git a/go-packages/meep-rnis-client/docs/WebsockNotifConfig.md b/go-packages/meep-rnis-client/docs/WebsockNotifConfig.md new file mode 100644 index 000000000..473042b0d --- /dev/null +++ b/go-packages/meep-rnis-client/docs/WebsockNotifConfig.md @@ -0,0 +1,10 @@ +# WebsockNotifConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WebsocketUri** | **string** | Set by RNIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. | [optional] [default to null] +**RequestWebsocketUri** | **bool** | Set to true by the service consumer to indicate that Websocket delivery is requested. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-rnis-client/model_app_termination_notification.go b/go-packages/meep-rnis-client/model_app_termination_notification.go index ba571f2a4..c713f3c59 100644 --- a/go-packages/meep-rnis-client/model_app_termination_notification.go +++ b/go-packages/meep-rnis-client/model_app_termination_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_app_termination_notification__links.go b/go-packages/meep-rnis-client/model_app_termination_notification__links.go index d1ef4d1c7..e1f8b5ced 100644 --- a/go-packages/meep-rnis-client/model_app_termination_notification__links.go +++ b/go-packages/meep-rnis-client/model_app_termination_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_associate_id.go b/go-packages/meep-rnis-client/model_associate_id.go index 1409df338..66f394753 100644 --- a/go-packages/meep-rnis-client/model_associate_id.go +++ b/go-packages/meep-rnis-client/model_associate_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_ca_reconf_notification.go b/go-packages/meep-rnis-client/model_ca_reconf_notification.go index 1ecae386f..01527a008 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_notification.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -35,4 +35,5 @@ type CaReconfNotification struct { SecondaryCellAdd []CaReconfNotificationSecondaryCellAdd `json:"secondaryCellAdd,omitempty"` SecondaryCellRemove []CaReconfNotificationSecondaryCellAdd `json:"secondaryCellRemove,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_ca_reconf_notification__links.go b/go-packages/meep-rnis-client/model_ca_reconf_notification__links.go new file mode 100644 index 000000000..38ebf00e4 --- /dev/null +++ b/go-packages/meep-rnis-client/model_ca_reconf_notification__links.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// Links to resources related to this notification. +type CaReconfNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-packages/meep-rnis-client/model_ca_reconf_notification_carrier_aggregation_meas_info.go b/go-packages/meep-rnis-client/model_ca_reconf_notification_carrier_aggregation_meas_info.go index f0d666755..59937ed62 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_notification_carrier_aggregation_meas_info.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_notification_carrier_aggregation_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_ca_reconf_notification_secondary_cell_add.go b/go-packages/meep-rnis-client/model_ca_reconf_notification_secondary_cell_add.go index 46e511620..60ebdf9ad 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_notification_secondary_cell_add.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_notification_secondary_cell_add.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_ca_reconf_subscription.go b/go-packages/meep-rnis-client/model_ca_reconf_subscription.go index ce64371da..c0ebaddeb 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_subscription.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to UE carrier aggregation reconfiguration notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type CaReconfSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc"` // Shall be set to \"CaReconfSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_ca_reconf_subscription__links.go b/go-packages/meep-rnis-client/model_ca_reconf_subscription__links.go index b7f9f0d32..67aa027f1 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_subscription__links.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_subscription__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_ca_reconf_subscription_filter_criteria_assoc.go b/go-packages/meep-rnis-client/model_ca_reconf_subscription_filter_criteria_assoc.go index e5591daca..63b8e7acb 100644 --- a/go-packages/meep-rnis-client/model_ca_reconf_subscription_filter_criteria_assoc.go +++ b/go-packages/meep-rnis-client/model_ca_reconf_subscription_filter_criteria_assoc.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_cell_change_notification.go b/go-packages/meep-rnis-client/model_cell_change_notification.go index 228e3ac47..9e9974a96 100644 --- a/go-packages/meep-rnis-client/model_cell_change_notification.go +++ b/go-packages/meep-rnis-client/model_cell_change_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -30,10 +30,11 @@ type CellChangeNotification struct { // Indicate the status of the UE handover procedure. Values are defined as following:

1 = IN_PREPARATION.

2 = IN_EXECUTION.

3 = COMPLETED.

4 = REJECTED.

5 = CANCELLED. HoStatus int32 `json:"hoStatus"` // Shall be set to \"CellChangeNotification\". - NotificationType string `json:"notificationType"` - SrcEcgi *Ecgi `json:"srcEcgi"` - TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` - // E-UTRAN Cell Global Identifier of the target cell. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. + NotificationType string `json:"notificationType"` + SrcEcgi *Ecgi `json:"srcEcgi"` + TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // E-UTRAN Cell Global Identifier of the target cell. See note. NOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED. TrgEcgi []Ecgi `json:"trgEcgi"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_cell_change_notification_temp_ue_id.go b/go-packages/meep-rnis-client/model_cell_change_notification_temp_ue_id.go index 9e8dcf224..7072134ea 100644 --- a/go-packages/meep-rnis-client/model_cell_change_notification_temp_ue_id.go +++ b/go-packages/meep-rnis-client/model_cell_change_notification_temp_ue_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_cell_change_subscription.go b/go-packages/meep-rnis-client/model_cell_change_subscription.go index f4ee8b965..6410ac3c2 100644 --- a/go-packages/meep-rnis-client/model_cell_change_subscription.go +++ b/go-packages/meep-rnis-client/model_cell_change_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to cell change notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type CellChangeSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` FilterCriteriaAssocHo *CellChangeSubscriptionFilterCriteriaAssocHo `json:"filterCriteriaAssocHo"` // Shall be set to \"CellChangeSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_cell_change_subscription_filter_criteria_assoc_ho.go b/go-packages/meep-rnis-client/model_cell_change_subscription_filter_criteria_assoc_ho.go index 1cf014ae0..5af54326f 100644 --- a/go-packages/meep-rnis-client/model_cell_change_subscription_filter_criteria_assoc_ho.go +++ b/go-packages/meep-rnis-client/model_cell_change_subscription_filter_criteria_assoc_ho.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_ecgi.go b/go-packages/meep-rnis-client/model_ecgi.go index 74e83aa14..3c2cc23b1 100644 --- a/go-packages/meep-rnis-client/model_ecgi.go +++ b/go-packages/meep-rnis-client/model_ecgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,5 +26,5 @@ package client type Ecgi struct { CellId string `json:"cellId"` - Plmn *Plmn `json:"plmn"` + Plmn *Plmn `json:"plmn"` } diff --git a/go-packages/meep-rnis-client/model_expiry_notification.go b/go-packages/meep-rnis-client/model_expiry_notification.go index 72a3b588c..94db2bef7 100644 --- a/go-packages/meep-rnis-client/model_expiry_notification.go +++ b/go-packages/meep-rnis-client/model_expiry_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,7 +25,9 @@ package client type ExpiryNotification struct { - Links *ExpiryNotificationLinks `json:"_links"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *ExpiryNotificationLinks `json:"_links"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // Shall be set to \"ExpiryNotification\" + NotificationType string `json:"notificationType"` } diff --git a/go-packages/meep-rnis-client/model_expiry_notification__links.go b/go-packages/meep-rnis-client/model_expiry_notification__links.go index 71772b7a2..a1e72b3fe 100644 --- a/go-packages/meep-rnis-client/model_expiry_notification__links.go +++ b/go-packages/meep-rnis-client/model_expiry_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,6 +26,5 @@ package client // List of hyperlinks related to the resource. type ExpiryNotificationLinks struct { - // Self referring URI. This shall be included in the response from the RNIS. The URI shall be unique within the RNI API as it acts as an ID for the subscription. - Self string `json:"self"` + Subscription *LinkType `json:"subscription"` } diff --git a/go-packages/meep-rnis-client/model_inline_notification.go b/go-packages/meep-rnis-client/model_inline_notification.go index 1cd655272..2eb3dcab4 100644 --- a/go-packages/meep-rnis-client/model_inline_notification.go +++ b/go-packages/meep-rnis-client/model_inline_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_inline_subscription.go b/go-packages/meep-rnis-client/model_inline_subscription.go index 962bb19ae..06c6c69aa 100644 --- a/go-packages/meep-rnis-client/model_inline_subscription.go +++ b/go-packages/meep-rnis-client/model_inline_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,21 +25,4 @@ package client type InlineSubscription struct { - Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - CallbackReference string `json:"callbackReference"` - - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - - // Shall be set to \"S1BearerSubscription\". - SubscriptionType string `json:"subscriptionType"` - - FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc,omitempty"` - FilterCriteriaAssocHo *CellChangeSubscriptionFilterCriteriaAssocHo `json:"filterCriteriaAssocHo,omitEmpty"` - FilterCriteriaAssocTri *MeasRepUeSubscriptionFilterCriteriaAssocTri `json:"filterCriteriaAssocTri,omitempty"` - FilterCriteriaNrMrs *NrMeasRepUeSubscriptionFilterCriteriaNrMrs `json:"filterCriteriaNrMrs,omitempty"` - FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci,omitEmpty"` - S1BearerSubscriptionCriteria *S1BearerSubscriptionS1BearerSubscriptionCriteria `json:"S1BearerSubscriptionCriteria,omitempty"` - // Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined: 0 = RESERVED. 1 = S1_BEARER_ESTABLISH. 2 = S1_BEARER_MODIFY. 3 = S1_BEARER_RELEASE. - EventType []string `json:"eventType,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_l2_meas.go b/go-packages/meep-rnis-client/model_l2_meas.go index fb2e35c2f..2d41e5f0d 100644 --- a/go-packages/meep-rnis-client/model_l2_meas.go +++ b/go-packages/meep-rnis-client/model_l2_meas.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -29,5 +29,5 @@ type L2Meas struct { CellInfo []L2MeasCellInfo `json:"cellInfo,omitempty"` // The per cell per UE layer 2 measurements information as defined below. CellUEInfo []L2MeasCellUeInfo `json:"cellUEInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_l2_meas_cell_info.go b/go-packages/meep-rnis-client/model_l2_meas_cell_info.go index 3ad099b74..f9f82a051 100644 --- a/go-packages/meep-rnis-client/model_l2_meas_cell_info.go +++ b/go-packages/meep-rnis-client/model_l2_meas_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -35,7 +35,7 @@ type L2MeasCellInfo struct { DlNongbrPrbUsageCell int32 `json:"dl_nongbr_prb_usage_cell,omitempty"` // It indicates (in percentage) the PRB usage for total downlink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12]. DlTotalPrbUsageCell int32 `json:"dl_total_prb_usage_cell,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty"` // It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11]. NumberOfActiveUeDlGbrCell int32 `json:"number_of_active_ue_dl_gbr_cell,omitempty"` // It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11]. diff --git a/go-packages/meep-rnis-client/model_l2_meas_cell_ue_info.go b/go-packages/meep-rnis-client/model_l2_meas_cell_ue_info.go index 92ca35001..e2545e423 100644 --- a/go-packages/meep-rnis-client/model_l2_meas_cell_ue_info.go +++ b/go-packages/meep-rnis-client/model_l2_meas_cell_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -42,7 +42,7 @@ type L2MeasCellUeInfo struct { DlNongbrPdrUe int32 `json:"dl_nongbr_pdr_ue,omitempty"` // It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. DlNongbrThroughputUe int32 `json:"dl_nongbr_throughput_ue,omitempty"` - Ecgi *Ecgi `json:"ecgi,omitempty"` + Ecgi *Ecgi `json:"ecgi,omitempty"` // It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. UlGbrDataVolumeUe int32 `json:"ul_gbr_data_volume_ue,omitempty"` // It indicates the packet delay of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11]. diff --git a/go-packages/meep-rnis-client/model_link_type.go b/go-packages/meep-rnis-client/model_link_type.go index 32606e7b1..4e1eb9950 100644 --- a/go-packages/meep-rnis-client/model_link_type.go +++ b/go-packages/meep-rnis-client/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_quantity_results_nr.go b/go-packages/meep-rnis-client/model_meas_quantity_results_nr.go index b32d27db0..4f888ec3f 100644 --- a/go-packages/meep-rnis-client/model_meas_quantity_results_nr.go +++ b/go-packages/meep-rnis-client/model_meas_quantity_results_nr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification.go index 883d194c0..67b0246eb 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -29,7 +29,7 @@ type MeasRepUeNotification struct { AssociateId []AssociateId `json:"associateId,omitempty"` // This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M. CarrierAggregationMeasInfo []MeasRepUeNotificationCarrierAggregationMeasInfo `json:"carrierAggregationMeasInfo,omitempty"` - Ecgi *Ecgi `json:"ecgi"` + Ecgi *Ecgi `json:"ecgi"` // This parameter can be repeated to contain information of all the neighbouring cells up to N. EutranNeighbourCellMeasInfo []MeasRepUeNotificationEutranNeighbourCellMeasInfo `json:"eutranNeighbourCellMeasInfo,omitempty"` // Indicates height of the UE in meters relative to the sea level as defined in ETSI TS 136.331 [i.7]. @@ -49,7 +49,8 @@ type MeasRepUeNotification struct { // Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16]. RsrqEx int32 `json:"rsrqEx,omitempty"` // Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16]. - Sinr int32 `json:"sinr,omitempty"` + Sinr int32 `json:"sinr,omitempty"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` - Trigger *Trigger `json:"trigger"` + Trigger *Trigger `json:"trigger"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go index 94c6f4d36..a68ba9ef6 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_carrier_aggregation_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go index cd05d2153..3935dfde5 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_eutran_neighbour_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_info.go index 40ca2431b..3dfb5bed1 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,18 +15,18 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -package client +package clienter type MeasRepUeNotificationNewRadioMeasInfo struct { NrBNCs *MeasRepUeNotificationNrBnCs `json:"nrBNCs,omitempty"` // ARFCN applicable for a downlink, uplink or bi-directional (TDD) NR carrier frequency, as defined in ETSI TS 138.101 [i.15]. - NrCarrierFreq int32 `json:"nrCarrierFreq,omitempty"` - NrSCs *MeasRepUeNotificationNrSCs `json:"nrSCs,omitempty"` + NrCarrierFreq int32 `json:"nrCarrierFreq,omitempty"` + NrSCs *MeasRepUeNotificationNrSCs `json:"nrSCs,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_nei_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_nei_info.go index 88a3a976f..5ef8d3e2b 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_nei_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_new_radio_meas_nei_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -32,6 +32,6 @@ type MeasRepUeNotificationNewRadioMeasNeiInfo struct { // Reference Signal Received Quality measurement according to mapping table in ETSI TS 138.133 [i.14]. NrNCellRsrq int32 `json:"nrNCellRsrq,omitempty"` // Reference signal SINR measurement according to mapping table in ETSI TS 138.133 [i.14]. - NrNCellRssi int32 `json:"nrNCellRssi,omitempty"` + NrNCellRssi int32 `json:"nrNCellRssi,omitempty"` RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs.go index 3e1aa5a96..e68311559 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go index edc2764e0..9958f1149 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_bn_cs_nr_bn_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_n_cell_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_n_cell_info.go index 6140defcb..72fbf0000 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_n_cell_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_n_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs.go index f172d3243..40021f766 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go index 877763521..32df47e29 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_notification_nr_s_cs_nr_s_cell_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_subscription.go b/go-packages/meep-rnis-client/model_meas_rep_ue_subscription.go index 0bf836ba9..6666d6144 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_subscription.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to UE measurement report notifications from Radio Network Information Service for UEs served by E-UTRA Cells. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. type MeasRepUeSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Set to TRUE by the service consumer to request a test notification on the callbackReference URI to determine if it is reachable by RNIS for notifications. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssocTri *MeasRepUeSubscriptionFilterCriteriaAssocTri `json:"filterCriteriaAssocTri"` // Shall be set to \"MeasRepUeSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go b/go-packages/meep-rnis-client/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go index 0d1d57b33..89dc68a04 100644 --- a/go-packages/meep-rnis-client/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go +++ b/go-packages/meep-rnis-client/model_meas_rep_ue_subscription_filter_criteria_assoc_tri.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_meas_ta_notification.go b/go-packages/meep-rnis-client/model_meas_ta_notification.go index 5f2da0cd5..52d824251 100644 --- a/go-packages/meep-rnis-client/model_meas_ta_notification.go +++ b/go-packages/meep-rnis-client/model_meas_ta_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,10 +27,11 @@ package client type MeasTaNotification struct { // 0 to N identifiers to associate the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - Ecgi *Ecgi `json:"ecgi"` + Ecgi *Ecgi `json:"ecgi"` // Shall be set to \"MeasTaNotification\". - NotificationType string `json:"notificationType"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` // The timing advance as defined in ETSI TS 136 214 [i.5]. TimingAdvance int32 `json:"timingAdvance"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_meas_ta_subscription.go b/go-packages/meep-rnis-client/model_meas_ta_subscription.go index 4024a00aa..e91184d06 100644 --- a/go-packages/meep-rnis-client/model_meas_ta_subscription.go +++ b/go-packages/meep-rnis-client/model_meas_ta_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to UE timing advance notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type MeasTaSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc"` // Shall be set to \"MeasTaSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification.go index 582ea9702..fc40c3e66 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -35,6 +35,7 @@ type NrMeasRepUeNotification struct { NrNeighCellMeasInfo []NrMeasRepUeNotificationNrNeighCellMeasInfo `json:"nrNeighCellMeasInfo,omitempty"` // This parameter can be repeated to contain information of all the serving cells up to N. ServCellMeasInfo []NrMeasRepUeNotificationServCellMeasInfo `json:"servCellMeasInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` - TriggerNr *TriggerNr `json:"triggerNr"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + TriggerNr *TriggerNr `json:"triggerNr"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go index 733e5cb92..bb0aef91c 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_eutra_neigh_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_n_cell.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_n_cell.go index e104f717d..ac310340c 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_n_cell.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_n_cell.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client // Measurement information relating to the best neighbour of this serving cell. type NrMeasRepUeNotificationNCell struct { MeasQuantityResultsCsiRsCell *MeasQuantityResultsNr `json:"measQuantityResultsCsiRsCell,omitempty"` - MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` - RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` + MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` + RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go index f167932ae..e991d6114 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_nr_neigh_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client type NrMeasRepUeNotificationNrNeighCellMeasInfo struct { MeasQuantityResultsCsiRsCell *MeasQuantityResultsNr `json:"measQuantityResultsCsiRsCell,omitempty"` MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` - Nrcgi string `json:"nrcgi,omitempty"` + Nrcgi *Nrcgi `json:"nrcgi,omitempty"` RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_s_cell.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_s_cell.go index 6723adaee..d89f45652 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_s_cell.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_s_cell.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client // Measurement information relating to this serving cell. type NrMeasRepUeNotificationSCell struct { MeasQuantityResultsCsiRsCell *MeasQuantityResultsNr `json:"measQuantityResultsCsiRsCell,omitempty"` - MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` - RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` + MeasQuantityResultsSsbCell *MeasQuantityResultsNr `json:"measQuantityResultsSsbCell,omitempty"` + RsIndexResults *RsIndexResults `json:"rsIndexResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go index 374db0fc2..1d3326a10 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_notification_serv_cell_meas_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,6 +26,6 @@ package client type NrMeasRepUeNotificationServCellMeasInfo struct { NCell *NrMeasRepUeNotificationNCell `json:"nCell,omitempty"` - Nrcgi *NRcgi `json:"nrcgi,omitempty"` + Nrcgi *Nrcgi `json:"nrcgi,omitempty"` SCell *NrMeasRepUeNotificationSCell `json:"sCell,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription.go index 8be646942..ff9acf789 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to 5G UE measurement report notifications from Radio Network Information Service for UEs served by NR Cells. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type NrMeasRepUeSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaNrMrs *NrMeasRepUeSubscriptionFilterCriteriaNrMrs `json:"filterCriteriaNrMrs"` // Shall be set to \"NrMeasRepUeSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go index 9c44e24ce..588d9f970 100644 --- a/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go +++ b/go-packages/meep-rnis-client/model_nr_meas_rep_ue_subscription_filter_criteria_nr_mrs.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -31,7 +31,7 @@ type NrMeasRepUeSubscriptionFilterCriteriaNrMrs struct { // 0 to N identifiers to associate the information for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` // NR Cell Global Identier. - Nrcgi []NRcgi `json:"nrcgi,omitempty"` + Nrcgi []Nrcgi `json:"nrcgi,omitempty"` // Corresponds to a specific 5G UE Measurement Report trigger. TriggerNr []TriggerNr `json:"triggerNr,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_n_rcgi.go b/go-packages/meep-rnis-client/model_nrcgi.go similarity index 50% rename from go-packages/meep-rnis-client/model_n_rcgi.go rename to go-packages/meep-rnis-client/model_nrcgi.go index b91a55718..2f0db94fd 100644 --- a/go-packages/meep-rnis-client/model_n_rcgi.go +++ b/go-packages/meep-rnis-client/model_nrcgi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,16 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client -type NRcgi struct { +type Nrcgi struct { NrcellId string `json:"nrcellId"` - Plmn *Plmn `json:"plmn"` + Plmn *Plmn `json:"plmn"` } diff --git a/go-packages/meep-rnis-client/model_one_of_inline_notification.go b/go-packages/meep-rnis-client/model_one_of_inline_notification.go index 71195be83..fa0f5cc63 100644 --- a/go-packages/meep-rnis-client/model_one_of_inline_notification.go +++ b/go-packages/meep-rnis-client/model_one_of_inline_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,4 +25,13 @@ package client type OneOfInlineNotification struct { + CellChangeNotification + RabEstNotification + RabModNotification + RabRelNotification + MeasRepUeNotification + NrMeasRepUeNotification + MeasTaNotification + CaReconfNotification + S1BearerNotification } diff --git a/go-packages/meep-rnis-client/model_one_of_inline_subscription.go b/go-packages/meep-rnis-client/model_one_of_inline_subscription.go index 61aeb2273..2ecf99304 100644 --- a/go-packages/meep-rnis-client/model_one_of_inline_subscription.go +++ b/go-packages/meep-rnis-client/model_one_of_inline_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,4 +25,13 @@ package client type OneOfInlineSubscription struct { + CellChangeSubscription + RabEstSubscription + RabModSubscription + RabRelSubscription + MeasRepUeSubscription + NrMeasRepUeSubscription + MeasTaSubscription + CaReconfSubscription + S1BearerSubscription } diff --git a/go-packages/meep-rnis-client/model_operation_action_type.go b/go-packages/meep-rnis-client/model_operation_action_type.go index 6a142b780..0928dd39b 100644 --- a/go-packages/meep-rnis-client/model_operation_action_type.go +++ b/go-packages/meep-rnis-client/model_operation_action_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,19 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client - // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING_OperationActionType OperationActionType = "STOPPING" + STOPPING_OperationActionType OperationActionType = "STOPPING" TERMINATING_OperationActionType OperationActionType = "TERMINATING" ) diff --git a/go-packages/meep-rnis-client/model_plmn.go b/go-packages/meep-rnis-client/model_plmn.go index 3d1dd4f22..88a272663 100644 --- a/go-packages/meep-rnis-client/model_plmn.go +++ b/go-packages/meep-rnis-client/model_plmn.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_plmn_info.go b/go-packages/meep-rnis-client/model_plmn_info.go index 1cf308a19..5c2b1cb3f 100644 --- a/go-packages/meep-rnis-client/model_plmn_info.go +++ b/go-packages/meep-rnis-client/model_plmn_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -28,6 +28,6 @@ type PlmnInfo struct { // Unique identifier for the MEC application instance. AppInstanceId string `json:"appInstanceId"` // Public Land Mobile Network Identity. - Plmn []Plmn `json:"plmn"` + Plmn []Plmn `json:"plmn"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_problem_details.go b/go-packages/meep-rnis-client/model_problem_details.go index b935452d1..4c04ad589 100644 --- a/go-packages/meep-rnis-client/model_problem_details.go +++ b/go-packages/meep-rnis-client/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,11 +26,11 @@ package client type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type diff --git a/go-packages/meep-rnis-client/model_rab_est_notification.go b/go-packages/meep-rnis-client/model_rab_est_notification.go index 92c0ff2fb..bfb826237 100644 --- a/go-packages/meep-rnis-client/model_rab_est_notification.go +++ b/go-packages/meep-rnis-client/model_rab_est_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,14 +25,15 @@ package client type RabEstNotification struct { - // 0 to N identifiers to bind the event for a specific UE or flow. + // 0 to N identifiers to bind the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - Ecgi *Ecgi `json:"ecgi"` + Ecgi *Ecgi `json:"ecgi"` // The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. - ErabId int32 `json:"erabId"` + ErabId int32 `json:"erabId"` ErabQosParameters *RabEstNotificationErabQosParameters `json:"erabQosParameters,omitempty"` // Shall be set to \"RabEstNotification\". - NotificationType string `json:"notificationType"` - TempUeId *RabEstNotificationTempUeId `json:"tempUeId,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + NotificationType string `json:"notificationType"` + TempUeId *RabEstNotificationTempUeId `json:"tempUeId,omitempty"` + Links *CaReconfNotificationLinks `json:"_links"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters.go b/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters.go index 8b8d64a55..4986bbf86 100644 --- a/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters.go +++ b/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client // QoS parameters for the E-RAB as defined below. type RabEstNotificationErabQosParameters struct { // QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. - Qci int32 `json:"qci"` + Qci int32 `json:"qci"` QosInformation *RabEstNotificationErabQosParametersQosInformation `json:"qosInformation,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters_qos_information.go b/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters_qos_information.go index bcc26b71c..9df2bbf36 100644 --- a/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters_qos_information.go +++ b/go-packages/meep-rnis-client/model_rab_est_notification_erab_qos_parameters_qos_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_est_notification_temp_ue_id.go b/go-packages/meep-rnis-client/model_rab_est_notification_temp_ue_id.go index 60ed30387..d145c4bb7 100644 --- a/go-packages/meep-rnis-client/model_rab_est_notification_temp_ue_id.go +++ b/go-packages/meep-rnis-client/model_rab_est_notification_temp_ue_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,16 +15,16 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client -// The temporary identifier allocated for the specific UE as defined below. +// The temporary identifier allocated for the specific UE as defined below. type RabEstNotificationTempUeId struct { // MMEC as defined in ETSI TS 136 413 [i.3]. Mmec string `json:"mmec"` diff --git a/go-packages/meep-rnis-client/model_rab_est_subscription.go b/go-packages/meep-rnis-client/model_rab_est_subscription.go index f4c2a615a..d4f9f1d89 100644 --- a/go-packages/meep-rnis-client/model_rab_est_subscription.go +++ b/go-packages/meep-rnis-client/model_rab_est_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,21 +15,25 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to RAB establishment notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type RabEstSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - FilterCriteriaQci *RabEstSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + FilterCriteriaQci *RabEstSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` // Shall be set to \"RabEstSubscription\". SubscriptionType string `json:"subscriptionType"` } diff --git a/go-packages/meep-rnis-client/model_rab_est_subscription_filter_criteria_qci.go b/go-packages/meep-rnis-client/model_rab_est_subscription_filter_criteria_qci.go index 92c3d2cd1..5663af1ce 100644 --- a/go-packages/meep-rnis-client/model_rab_est_subscription_filter_criteria_qci.go +++ b/go-packages/meep-rnis-client/model_rab_est_subscription_filter_criteria_qci.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_info.go b/go-packages/meep-rnis-client/model_rab_info.go index d23baa781..43b498094 100644 --- a/go-packages/meep-rnis-client/model_rab_info.go +++ b/go-packages/meep-rnis-client/model_rab_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -30,6 +30,6 @@ type RabInfo struct { // The information on users per cell as defined below. CellUserInfo []RabInfoCellUserInfo `json:"cellUserInfo,omitempty"` // Unique identifier allocated by the service consumer for the RAB Information request. - RequestId string `json:"requestId"` + RequestId string `json:"requestId"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rab_info_cell_user_info.go b/go-packages/meep-rnis-client/model_rab_info_cell_user_info.go index 500023bbc..2cd778f92 100644 --- a/go-packages/meep-rnis-client/model_rab_info_cell_user_info.go +++ b/go-packages/meep-rnis-client/model_rab_info_cell_user_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_info_erab_info.go b/go-packages/meep-rnis-client/model_rab_info_erab_info.go index 788974e26..181cca0fd 100644 --- a/go-packages/meep-rnis-client/model_rab_info_erab_info.go +++ b/go-packages/meep-rnis-client/model_rab_info_erab_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,6 +26,6 @@ package client type RabInfoErabInfo struct { // The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. - ErabId int32 `json:"erabId,omitempty"` + ErabId int32 `json:"erabId,omitempty"` ErabQosParameters *RabEstNotificationErabQosParameters `json:"erabQosParameters,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rab_info_ue_info.go b/go-packages/meep-rnis-client/model_rab_info_ue_info.go index fe4309569..628acecb1 100644 --- a/go-packages/meep-rnis-client/model_rab_info_ue_info.go +++ b/go-packages/meep-rnis-client/model_rab_info_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_mod_notification.go b/go-packages/meep-rnis-client/model_rab_mod_notification.go index 1a9f87b3a..362662050 100644 --- a/go-packages/meep-rnis-client/model_rab_mod_notification.go +++ b/go-packages/meep-rnis-client/model_rab_mod_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,13 +25,14 @@ package client type RabModNotification struct { - // 0 to N identifiers to bind the event for a specific UE or flow. + // 0 to N identifiers to bind the event for a specific UE or flow. AssociateId []AssociateId `json:"associateId,omitempty"` - Ecgi *Ecgi `json:"ecgi"` + Ecgi *Ecgi `json:"ecgi"` // The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3]. - ErabId int32 `json:"erabId"` + ErabId int32 `json:"erabId"` ErabQosParameters *RabModNotificationErabQosParameters `json:"erabQosParameters,omitempty"` // Shall be set to \"RabModNotification\". - NotificationType string `json:"notificationType"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters.go b/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters.go index a981b422a..9c5c9d2c6 100644 --- a/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters.go +++ b/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client // The QoS parameters for the E-RAB as defined below. type RabModNotificationErabQosParameters struct { // QoS Class Identifier as defined in ETSI TS 123 401 [i.4]. - Qci int32 `json:"qci"` + Qci int32 `json:"qci"` QosInformation *RabModNotificationErabQosParametersQosInformation `json:"qosInformation,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters_qos_information.go b/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters_qos_information.go index 5bc204489..dd864b9c6 100644 --- a/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters_qos_information.go +++ b/go-packages/meep-rnis-client/model_rab_mod_notification_erab_qos_parameters_qos_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_mod_subscription.go b/go-packages/meep-rnis-client/model_rab_mod_subscription.go index d317cebe1..896ba4fcc 100644 --- a/go-packages/meep-rnis-client/model_rab_mod_subscription.go +++ b/go-packages/meep-rnis-client/model_rab_mod_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,20 +15,24 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to RAB modification notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type RabModSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` // Shall be set to \"RabModSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_rab_mod_subscription_filter_criteria_qci.go b/go-packages/meep-rnis-client/model_rab_mod_subscription_filter_criteria_qci.go index 535cd5d56..69a53022c 100644 --- a/go-packages/meep-rnis-client/model_rab_mod_subscription_filter_criteria_qci.go +++ b/go-packages/meep-rnis-client/model_rab_mod_subscription_filter_criteria_qci.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_rel_notification.go b/go-packages/meep-rnis-client/model_rab_rel_notification.go index 2bd1b7e6a..53fde98e0 100644 --- a/go-packages/meep-rnis-client/model_rab_rel_notification.go +++ b/go-packages/meep-rnis-client/model_rab_rel_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,10 +26,11 @@ package client type RabRelNotification struct { // 0 to N identifiers to bind the event for a specific UE or flow as defined below. - AssociateId []AssociateId `json:"associateId,omitempty"` - Ecgi *Ecgi `json:"ecgi"` + AssociateId []AssociateId `json:"associateId,omitempty"` + Ecgi *Ecgi `json:"ecgi"` ErabReleaseInfo *RabRelNotificationErabReleaseInfo `json:"erabReleaseInfo"` // Shall be set to \"RabRelNotification\". - NotificationType string `json:"notificationType"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_rab_rel_notification_erab_release_info.go b/go-packages/meep-rnis-client/model_rab_rel_notification_erab_release_info.go index 67d5820b9..2bd91afb4 100644 --- a/go-packages/meep-rnis-client/model_rab_rel_notification_erab_release_info.go +++ b/go-packages/meep-rnis-client/model_rab_rel_notification_erab_release_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_rab_rel_subscription.go b/go-packages/meep-rnis-client/model_rab_rel_subscription.go index 807f4f75f..4e5d7f9e9 100644 --- a/go-packages/meep-rnis-client/model_rab_rel_subscription.go +++ b/go-packages/meep-rnis-client/model_rab_rel_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,21 +15,25 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to RAB release notifications from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to select the method to be used for notifications and to return only that method in the response. type RabRelSubscription struct { Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` + // URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response. If not present, the service consumer is requesting the use of a Websocket for notifications. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci"` // Shall be set to \"RabRelSubscription\". SubscriptionType string `json:"subscriptionType"` } diff --git a/go-packages/meep-rnis-client/model_results_per_csi_rs_index.go b/go-packages/meep-rnis-client/model_results_per_csi_rs_index.go index fef6ecc57..7465a89a5 100644 --- a/go-packages/meep-rnis-client/model_results_per_csi_rs_index.go +++ b/go-packages/meep-rnis-client/model_results_per_csi_rs_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,6 @@ package client type ResultsPerCsiRsIndex struct { - CsiRsIndex int32 `json:"csiRsIndex"` + CsiRsIndex int32 `json:"csiRsIndex"` CsiRsResults *MeasQuantityResultsNr `json:"csiRsResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list.go b/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list.go index 16958d443..f0826b88e 100644 --- a/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list.go +++ b/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go b/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go index e74f01512..610d43265 100644 --- a/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go +++ b/go-packages/meep-rnis-client/model_results_per_csi_rs_index_list_results_per_csi_rs_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,6 @@ package client type ResultsPerCsiRsIndexListResultsPerCsiRsIndex struct { - CsiRsIndex int32 `json:"csiRsIndex,omitempty"` + CsiRsIndex int32 `json:"csiRsIndex,omitempty"` CsiRsResults *MeasQuantityResultsNr `json:"csiRsResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_results_per_ssb_index.go b/go-packages/meep-rnis-client/model_results_per_ssb_index.go index 501082609..78e73d98f 100644 --- a/go-packages/meep-rnis-client/model_results_per_ssb_index.go +++ b/go-packages/meep-rnis-client/model_results_per_ssb_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,6 @@ package client type ResultsPerSsbIndex struct { - SsbIndex int32 `json:"ssbIndex"` + SsbIndex int32 `json:"ssbIndex"` SsbResults *MeasQuantityResultsNr `json:"ssbResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_results_per_ssb_index_list.go b/go-packages/meep-rnis-client/model_results_per_ssb_index_list.go index fcac2342b..9821f7db8 100644 --- a/go-packages/meep-rnis-client/model_results_per_ssb_index_list.go +++ b/go-packages/meep-rnis-client/model_results_per_ssb_index_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_results_per_ssb_index_list_results_per_ssb_index.go b/go-packages/meep-rnis-client/model_results_per_ssb_index_list_results_per_ssb_index.go index 54694b706..88e8e5534 100644 --- a/go-packages/meep-rnis-client/model_results_per_ssb_index_list_results_per_ssb_index.go +++ b/go-packages/meep-rnis-client/model_results_per_ssb_index_list_results_per_ssb_index.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,6 @@ package client type ResultsPerSsbIndexListResultsPerSsbIndex struct { - SsbIndex int32 `json:"ssbIndex,omitempty"` + SsbIndex int32 `json:"ssbIndex,omitempty"` SsbResults *MeasQuantityResultsNr `json:"ssbResults,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_rs_index_results.go b/go-packages/meep-rnis-client/model_rs_index_results.go index ab6fe5f9a..8c5771dbf 100644 --- a/go-packages/meep-rnis-client/model_rs_index_results.go +++ b/go-packages/meep-rnis-client/model_rs_index_results.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -26,5 +26,5 @@ package client type RsIndexResults struct { ResultsCsiRsIndexes *ResultsPerCsiRsIndexList `json:"resultsCsiRsIndexes"` - ResultsSsbIndexes *ResultsPerSsbIndexList `json:"resultsSsbIndexes"` + ResultsSsbIndexes *ResultsPerSsbIndexList `json:"resultsSsbIndexes"` } diff --git a/go-packages/meep-rnis-client/model_s1_bearer_info.go b/go-packages/meep-rnis-client/model_s1_bearer_info.go index 479f2904a..fc23c2174 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_info.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_s1_bearer_info_enb_info.go b/go-packages/meep-rnis-client/model_s1_bearer_info_enb_info.go index 74069a2ea..db3b521cb 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_info_enb_info.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_info_enb_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_s1_bearer_info_s1_bearer_info_detailed.go b/go-packages/meep-rnis-client/model_s1_bearer_info_s1_bearer_info_detailed.go index c8c57ff7e..b9226ec78 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_info_s1_bearer_info_detailed.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_info_s1_bearer_info_detailed.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -27,6 +27,6 @@ package client type S1BearerInfoS1BearerInfoDetailed struct { EnbInfo *S1BearerInfoEnbInfo `json:"enbInfo,omitempty"` // The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3]. - ErabId int32 `json:"erabId,omitempty"` + ErabId int32 `json:"erabId,omitempty"` SGwInfo *S1BearerInfoSGwInfo `json:"sGwInfo,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_s1_bearer_info_s1_ue_info.go b/go-packages/meep-rnis-client/model_s1_bearer_info_s1_ue_info.go index 1c1c7631f..a6e3fea25 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_info_s1_ue_info.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_info_s1_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -31,5 +31,5 @@ type S1BearerInfoS1UeInfo struct { Ecgi []Ecgi `json:"ecgi,omitempty"` // S1 bearer information as defined below. S1BearerInfoDetailed []S1BearerInfoS1BearerInfoDetailed `json:"s1BearerInfoDetailed,omitempty"` - TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` + TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_s1_bearer_info_s_gw_info.go b/go-packages/meep-rnis-client/model_s1_bearer_info_s_gw_info.go index f2c73c740..62306a6dc 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_info_s_gw_info.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_info_s_gw_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_s1_bearer_notification.go b/go-packages/meep-rnis-client/model_s1_bearer_notification.go index aa9f23602..01ff764e6 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_notification.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -28,7 +28,8 @@ type S1BearerNotification struct { // Shall be set to \"S1BearerNotification\". NotificationType string `json:"notificationType"` // The subscribed event that triggered this notification in S1BearerSubscription. - S1Event int32 `json:"s1Event"` - S1UeInfo *S1BearerNotificationS1UeInfo `json:"s1UeInfo"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + S1Event int32 `json:"s1Event"` + S1UeInfo *S1BearerNotificationS1UeInfo `json:"s1UeInfo"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *CaReconfNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-rnis-client/model_s1_bearer_notification_s1_ue_info.go b/go-packages/meep-rnis-client/model_s1_bearer_notification_s1_ue_info.go index 91573a174..87813ea37 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_notification_s1_ue_info.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_notification_s1_ue_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -32,5 +32,5 @@ type S1BearerNotificationS1UeInfo struct { Ecgi []Ecgi `json:"ecgi"` // S1 bearer information as defined below. S1BearerInfo []S1BearerInfoS1BearerInfoDetailed `json:"s1BearerInfo"` - TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` + TempUeId *CellChangeNotificationTempUeId `json:"tempUeId,omitempty"` } diff --git a/go-packages/meep-rnis-client/model_s1_bearer_subscription.go b/go-packages/meep-rnis-client/model_s1_bearer_subscription.go index 29cc3c8e0..5e0439e90 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_subscription.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,22 +15,26 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client +// This type represents a subscription to S1-U bearer information notification from Radio Network Information Service. NOTE: At least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to RNIS to choose an alternative and return only that alternative in the response, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. type S1BearerSubscription struct { S1BearerSubscriptionCriteria *S1BearerSubscriptionS1BearerSubscriptionCriteria `json:"S1BearerSubscriptionCriteria"` - Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - CallbackReference string `json:"callbackReference"` + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` + // URI exposed by the client on which to receive notifications via HTTP. See note. + CallbackReference string `json:"callbackReference,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009 [6], as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` // Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined:

0 = RESERVED.

1 = S1_BEARER_ESTABLISH.

2 = S1_BEARER_MODIFY.

3 = S1_BEARER_RELEASE. - EventType []int32 `json:"eventType"` + EventType []int32 `json:"eventType"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` // Shall be set to \"S1BearerSubscription\". SubscriptionType string `json:"subscriptionType"` diff --git a/go-packages/meep-rnis-client/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go b/go-packages/meep-rnis-client/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go index 7c7b0a1da..6bb28d2b3 100644 --- a/go-packages/meep-rnis-client/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go +++ b/go-packages/meep-rnis-client/model_s1_bearer_subscription_s1_bearer_subscription_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_subscription_link_list.go b/go-packages/meep-rnis-client/model_subscription_link_list.go index 6e862b931..5200542bf 100644 --- a/go-packages/meep-rnis-client/model_subscription_link_list.go +++ b/go-packages/meep-rnis-client/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_subscription_link_list__links.go b/go-packages/meep-rnis-client/model_subscription_link_list__links.go index 3b78e982f..39426bee9 100644 --- a/go-packages/meep-rnis-client/model_subscription_link_list__links.go +++ b/go-packages/meep-rnis-client/model_subscription_link_list__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_subscription_link_list__links_subscription.go b/go-packages/meep-rnis-client/model_subscription_link_list__links_subscription.go index 43bc87fb6..f20253d3f 100644 --- a/go-packages/meep-rnis-client/model_subscription_link_list__links_subscription.go +++ b/go-packages/meep-rnis-client/model_subscription_link_list__links_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_test_notification.go b/go-packages/meep-rnis-client/model_test_notification.go new file mode 100644 index 000000000..5b3e55b66 --- /dev/null +++ b/go-packages/meep-rnis-client/model_test_notification.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// This type represents a test notification from a Radio Network Information service to determine if the Websocket method is to be utilized for the RNIS to issue notifications for a subscription, as defined in clause 6.12a of ETSI GS MEC 009 [6]. +type TestNotification struct { + // Shall be set to \"RabEstNotification\". + NotificationType string `json:"notificationType"` + Links *CaReconfNotificationLinks `json:"_links"` +} diff --git a/go-packages/meep-rnis-client/model_time_stamp.go b/go-packages/meep-rnis-client/model_time_stamp.go index 1feff931f..3989a759a 100644 --- a/go-packages/meep-rnis-client/model_time_stamp.go +++ b/go-packages/meep-rnis-client/model_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-rnis-client/model_trigger.go b/go-packages/meep-rnis-client/model_trigger.go index 517b3bd06..dd9a46061 100644 --- a/go-packages/meep-rnis-client/model_trigger.go +++ b/go-packages/meep-rnis-client/model_trigger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,42 +15,43 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client + // Trigger : As defined in Ref ETSI TS 136 331 [i.7]

0 = NOT_AVAILABLE

1 = PERIODICAL_REPORT_STRONGEST_CELLS

2 = PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON

3 = PERIODICAL_REPORT_CGI

4 = INTRA_PERIODICAL_REPORT_STRONGEST_CELLS

5 = INTRA_PERIODICAL_REPORT_CGI

10 = EVENT_A1

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = EVENT_B1

21 = EVENT_B2

20 = EVENT_B1-NR

21 = EVENT_B2-NR

30 = EVENT_C1

31 = EVENT_C2

40 = EVENT_W1

41 = EVENT_W2

42 = EVENT_W3

50 = EVENT_V1

51 = EVENT_V2

60 = EVENT_H1

61 = EVENT_H2 type Trigger int32 // List of Trigger const ( - TRIGGER_NOT_AVAILABLE Trigger = 0 - TRIGGER_PERIODICAL_REPORT_STRONGEST_CELLS Trigger = 1 - TRIGGER_PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON Trigger = 2 - TRIGGER_PERIODICAL_REPORT_CGI Trigger = 3 - TRIGGER_INTRA_PERIODICAL_REPORT_STRONGEST_CELLS Trigger = 4 - TRIGGER_INTRA_PERIODICAL_REPORT_CGI Trigger = 5 - TRIGGER_EVENT_A1 Trigger = 10 - TRIGGER_EVENT_A2 Trigger = 11 - TRIGGER_EVENT_A3 Trigger = 12 - TRIGGER_EVENT_A4 Trigger = 13 - TRIGGER_EVENT_A5 Trigger = 14 - TRIGGER_EVENT_A6 Trigger = 15 - TRIGGER_EVENT_B1 Trigger = 20 - TRIGGER_EVENT_B2 Trigger = 21 - TRIGGER_EVENT_B1_NR Trigger = 20 - TRIGGER_EVENT_B2_NR Trigger = 21 - TRIGGER_EVENT_C1 Trigger = 30 - TRIGGER_EVENT_C2 Trigger = 31 - TRIGGER_EVENT_W1 Trigger = 40 - TRIGGER_EVENT_W2 Trigger = 41 - TRIGGER_EVENT_W3 Trigger = 42 - TRIGGER_EVENT_V1 Trigger = 50 - TRIGGER_EVENT_V2 Trigger = 51 - TRIGGER_EVENT_H1 Trigger = 60 - TRIGGER_EVENT_H2 Trigger = 61 + TRIGGER_NOT_AVAILABLE Trigger = 0 + TRIGGER_PERIODICAL_REPORT_STRONGEST_CELLS Trigger = 1 + TRIGGER_PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON Trigger = 2 + TRIGGER_PERIODICAL_REPORT_CGI Trigger = 3 + TRIGGER_INTRA_PERIODICAL_REPORT_STRONGEST_CELLS Trigger = 4 + TRIGGER_INTRA_PERIODICAL_REPORT_CGI Trigger = 5 + TRIGGER_EVENT_A1 Trigger = 10 + TRIGGER_EVENT_A2 Trigger = 11 + TRIGGER_EVENT_A3 Trigger = 12 + TRIGGER_EVENT_A4 Trigger = 13 + TRIGGER_EVENT_A5 Trigger = 14 + TRIGGER_EVENT_A6 Trigger = 15 + TRIGGER_EVENT_B1 Trigger = 20 + TRIGGER_EVENT_B2 Trigger = 21 + TRIGGER_EVENT_B1_NR Trigger = 20 + TRIGGER_EVENT_B2_NR Trigger = 21 + TRIGGER_EVENT_C1 Trigger = 30 + TRIGGER_EVENT_C2 Trigger = 31 + TRIGGER_EVENT_W1 Trigger = 40 + TRIGGER_EVENT_W2 Trigger = 41 + TRIGGER_EVENT_W3 Trigger = 42 + TRIGGER_EVENT_V1 Trigger = 50 + TRIGGER_EVENT_V2 Trigger = 51 + TRIGGER_EVENT_H1 Trigger = 60 + TRIGGER_EVENT_H2 Trigger = 61 ) diff --git a/go-packages/meep-rnis-client/model_trigger_nr.go b/go-packages/meep-rnis-client/model_trigger_nr.go index b431cafef..4f2f2933d 100644 --- a/go-packages/meep-rnis-client/model_trigger_nr.go +++ b/go-packages/meep-rnis-client/model_trigger_nr.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,30 +15,31 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package client + // TriggerNr : The enumeration Trigger represents specified triggers for a 5G UE Measurement Report. Full details can be found in ETSI TS 138 331 [i.13]).

0 = NOT_AVAILABLE

1 = NR_PERIODICAL

2 = NR_CGI

10 = EVENT_A1

11 = EVENT_A2

12 = EVENT_A3

13 = EVENT_A4

14 = EVENT_A5

15 = EVENT_A6

20 = INTER_RAT_PERIODICAL

21 = INTER_RAT_CGI

30 = EVENT_B1

31 = EVENT_B2 type TriggerNr int32 // List of TriggerNr const ( - TRIGGER_NR_NOT_AVAILABLE TriggerNr = 0 - TRIGGER_NR_NR_PERIODICAL TriggerNr = 1 - TRIGGER_NR_NR_CGI TriggerNr = 2 - TRIGGER_NR_EVENT_A1 TriggerNr = 10 - TRIGGER_NR_EVENT_A2 TriggerNr = 11 - TRIGGER_NR_EVENT_A3 TriggerNr = 12 - TRIGGER_NR_EVENT_A4 TriggerNr = 13 - TRIGGER_NR_EVENT_A5 TriggerNr = 14 - TRIGGER_NR_EVENT_A6 TriggerNr = 15 - TRIGGER_NR_INTER_RAT_PERIODICAL TriggerNr = 20 - TRIGGER_NR_INTER_RAT_CGI TriggerNr = 21 - TRIGGER_NR_EVENT_B1 TriggerNr = 30 - TRIGGER_NR_EVENT_B2 TriggerNr = 31 + TRIGGER_NR_NOT_AVAILABLE TriggerNr = 0 + TRIGGER_NR_NR_PERIODICAL TriggerNr = 1 + TRIGGER_NR_NR_CGI TriggerNr = 2 + TRIGGER_NR_EVENT_A1 TriggerNr = 10 + TRIGGER_NR_EVENT_A2 TriggerNr = 11 + TRIGGER_NR_EVENT_A3 TriggerNr = 12 + TRIGGER_NR_EVENT_A4 TriggerNr = 13 + TRIGGER_NR_EVENT_A5 TriggerNr = 14 + TRIGGER_NR_EVENT_A6 TriggerNr = 15 + TRIGGER_NR_INTER_RAT_PERIODICAL TriggerNr = 20 + TRIGGER_NR_INTER_RAT_CGI TriggerNr = 21 + TRIGGER_NR_EVENT_B1 TriggerNr = 30 + TRIGGER_NR_EVENT_B2 TriggerNr = 31 ) diff --git a/go-packages/meep-rnis-client/model_websock_notif_config.go b/go-packages/meep-rnis-client/model_websock_notif_config.go new file mode 100644 index 000000000..7dd02fcc4 --- /dev/null +++ b/go-packages/meep-rnis-client/model_websock_notif_config.go @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2022 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Radio Network Information Service REST API + * + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package client + +// This type represents configuration for the delivery of subscription notifications over Websockets per the pattern defined in defined in clause 6.12a of ETSI GS MEC 009 [6]. +type WebsockNotifConfig struct { + // Set by RNIS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` + // Set to true by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` +} diff --git a/go-packages/meep-rnis-client/response.go b/go-packages/meep-rnis-client/response.go index 0d64f9962..92daa87e7 100644 --- a/go-packages/meep-rnis-client/response.go +++ b/go-packages/meep-rnis-client/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From c51b990bf67a850813e33f1eb40ba04967357812 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 9 Jun 2022 13:37:57 +0500 Subject: [PATCH 143/183] use json decoder for decoding predicted qos request for less latency --- go-apps/meep-vis/server/vis.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 018bd02b8..9f30312e4 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -21,7 +21,6 @@ import ( "encoding/json" "errors" "fmt" - "io/ioutil" "net/http" "net/url" "os" @@ -572,8 +571,8 @@ func updateStoreName(storeName string) { func predictedQosPost(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") var requestData PredictedQos - bodyBytes, _ := ioutil.ReadAll(r.Body) - err := json.Unmarshal(bodyBytes, &requestData) + decoder := json.NewDecoder(r.Body) + err := decoder.Decode(&requestData) if err != nil { log.Error(err.Error()) errHandlerProblemDetails(w, "The request body is either empty or it's an invalid JSON.", http.StatusBadRequest) -- GitLab From 70c67e622e35736e08dae58c58106745259bfcb7 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 9 Jun 2022 13:54:25 +0500 Subject: [PATCH 144/183] return general error for bad or empty JSON request for predicted qos --- go-apps/meep-vis/server/vis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-vis/server/vis.go b/go-apps/meep-vis/server/vis.go index 9f30312e4..e8c5ff5a2 100644 --- a/go-apps/meep-vis/server/vis.go +++ b/go-apps/meep-vis/server/vis.go @@ -575,7 +575,7 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) { err := decoder.Decode(&requestData) if err != nil { log.Error(err.Error()) - errHandlerProblemDetails(w, "The request body is either empty or it's an invalid JSON.", http.StatusBadRequest) + errHandlerProblemDetails(w, err.Error(), http.StatusBadRequest) return } -- GitLab From 8b82e13a750917c53c7d719d4e542d8f3fa35078 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 9 Jun 2022 15:11:51 +0500 Subject: [PATCH 145/183] update MEC011 app-support --- .../api/app-support/swagger.yaml | 2558 +++++++++++------ .../server/app-support/app-support.go | 8 +- .../server/app-support/convert.go | 2 +- .../server/app-support/model_current_time.go | 2 +- .../model_destination_interface.go | 2 +- ...el_destination_interface_interface_type.go | 32 + .../server/app-support/model_dns_rule.go | 4 +- .../model_dns_rule_ip_address_type.go | 31 + .../app-support/model_dns_rule_state.go | 31 + ...ec_app_supt_api_subscription_link_list.go} | 4 +- ..._supt_api_subscription_link_list_links.go} | 4 +- ...pi_subscription_link_list_subscription.go} | 2 +- .../app-support/model_time_source_status.go | 31 + .../model_timing_caps_ntp_servers.go | 4 +- ..._caps_ntp_servers_authentication_option.go | 33 + ...g_caps_ntp_servers_ntp_server_addr_type.go | 32 + .../server/app-support/model_traffic_rule.go | 6 +- .../app-support/model_traffic_rule_action.go | 36 + .../model_traffic_rule_filter_type.go | 32 + .../app-support/model_traffic_rule_state.go | 32 + .../server/app-support/model_tunnel_info.go | 2 +- .../model_tunnel_info_tunnel_type.go | 32 + 22 files changed, 1976 insertions(+), 944 deletions(-) create mode 100644 go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go rename go-apps/meep-app-enablement/server/app-support/{model_subscription_link_list.go => model_mec_app_supt_api_subscription_link_list.go} (93%) rename go-apps/meep-app-enablement/server/app-support/{model_subscription_link_list__links.go => model_mec_app_supt_api_subscription_link_list_links.go} (91%) rename go-apps/meep-app-enablement/server/app-support/{model_subscription_link_list__links_subscriptions.go => model_mec_app_supt_api_subscription_link_list_subscription.go} (96%) create mode 100644 go-apps/meep-app-enablement/server/app-support/model_time_source_status.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go create mode 100644 go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index be03c10e6..7aae45448 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -1,1205 +1,1915 @@ openapi: 3.0.2 servers: - - url: 'https://localhost/sandboxname/mec_app_support/v1' + - url: "https://localhost/sandboxname/mec_app_support/v1" info: title: AdvantEDGE MEC Application Support API version: 2.2.1 - description: "MEC Application Support Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support) -

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network -

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below)." + description: + "MEC Application Support Service is AdvantEDGE's implementation of + [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support) +

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network +

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below)." license: name: Apache 2.0 - url: 'https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE' + url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE" contact: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com externalDocs: - description: 'ETSI GS MEC011 Application Enablement API, V2.2.1' + description: "ETSI GS MEC011 Application Enablement API, V2.2.1" url: >- https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf +security: + - {} tags: - - name: mec_app_support - name: unsupported + - name: mec_app_support + - name: callbacks paths: - '/applications/{appInstanceId}/traffic_rules': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' + /applications/{appInstanceId}/traffic_rules: get: - description: >- + tags: + - unsupported + description: This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRules_GET - tags: - - unsupported + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsTrafficRules200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '/applications/{appInstanceId}/traffic_rules/{trafficRuleId}': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' - - $ref: '#/components/parameters/Path.TrafficRuleId' + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + type: array + example: + - trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + - dstInterface1: null + interfaceType: IP + dstIpAddress: 20.1.1.2 + state: ACTIVE + items: + $ref: "#/components/schemas/TrafficRule" + x-content-type: application/json + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/traffic_rules/{trafficRuleId}: get: - description: >- + tags: + - unsupported + description: This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRule_GET - tags: - - unsupported + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: trafficRuleId + in: path + description: Represents a traffic rule. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsTrafficRule200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/TrafficRule" + example: + TrafficRule: + value: + trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + state: ACTIVE + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema put: - description: >- + tags: + - unsupported + description: This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRule_PUT - tags: - - unsupported - responses: - '200': - $ref: '#/components/responses/ApplicationsTrafficRule200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '412': - $ref: '#/components/responses/412' + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: trafficRuleId + in: path + description: Represents a traffic rule. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsTrafficRule' - '/applications/{appInstanceId}/dns_rules': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' + description: One or more updated attributes that are allowed to be changed + content: + application/json: + schema: + $ref: "#/components/schemas/TrafficRule" + required: true + responses: + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/TrafficRule" + example: + TrafficRule: + value: + trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + state: ACTIVE + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "412": + description: + Precondition Failed. It is used when a condition has failed + during conditional requests, e.g. when using ETags to avoid write conflicts. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/dns_rules: get: - description: >- + tags: + - unsupported + description: This method retrieves information about all the DNS rules associated with a MEC application instance. operationId: ApplicationsDnsRules_GET - tags: - - unsupported + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsDnsRules200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '/applications/{appInstanceId}/dns_rules/{dnsRuleId}': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' - - $ref: '#/components/parameters/Path.DnsRuleId' + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + type: array + example: + - dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE + items: + $ref: "#/components/schemas/DnsRule" + x-content-type: application/json + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/dns_rules/{dnsRuleId}: get: - description: >- - This method retrieves information about a DNS rule associated with a - MEC application instance. - operationId: ApplicationsDnsRule_GET tags: - unsupported + description: + This method retrieves information about a DNS rule associated with + a MEC application instance. + operationId: ApplicationsDnsRule_GET + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: dnsRuleId + in: path + description: Represents a DNS rule. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsDnsRule200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/DnsRule" + example: + DnsRule: + value: + dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema put: - description: 'This method activates, de-activates or updates a traffic rule.' - operationId: ApplicationsDnsRule_PUT tags: - unsupported - responses: - '200': - $ref: '#/components/responses/ApplicationsDnsRule200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '412': - $ref: '#/components/responses/412' + description: This method activates, de-activates or updates a traffic rule. + operationId: ApplicationsDnsRule_PUT + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: dnsRuleId + in: path + description: Represents a DNS rule. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsDnsRule' - '/applications/{appInstanceId}/subscriptions': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' + description: The updated state is included in the entity body of the request. + content: + application/json: + schema: + $ref: "#/components/schemas/DnsRule" + required: true + responses: + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/DnsRule" + example: + DnsRule: + value: + dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "412": + description: + Precondition Failed. It is used when a condition has failed + during conditional requests, e.g. when using ETags to avoid write conflicts. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/subscriptions: get: - description: >- - The GET method may be used to request information about all - subscriptions for this requestor. Upon success, the response contains - entity body with all the subscriptions for the requestor. - operationId: ApplicationsSubscriptions_GET tags: - mec_app_support + description: + The GET method may be used to request information about all subscriptions + for this requestor. Upon success, the response contains entity body with all + the subscriptions for the requestor. + operationId: ApplicationsSubscriptions_GET + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsSubscriptions200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + "200": + description: + Upon success, a response body containing the list of links + to the requested subscriptions is returned. + content: + application/json: + schema: + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList" + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema post: - description: >- - The POST method may be used to create a new subscription. One example - use case is to create a new subscription to the MEC service - availability notifications. Upon success, the response contains entity - body describing the created subscription. - operationId: ApplicationsSubscriptions_POST tags: - mec_app_support - responses: - '201': - $ref: '#/components/responses/ApplicationsSubscriptions201' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + description: + The POST method may be used to create a new subscription. One example + use case is to create a new subscription to the MEC service availability notifications. + Upon success, the response contains entity body describing the created subscription. + operationId: ApplicationsSubscriptions_POST + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsSubscriptions' + description: + Entity body in the request contains a subscription to the MEC + application termination notifications that is to be created. + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationNotificationSubscription" + required: true + responses: + "201": + description: + Entity body in the request contains a subscription to the MEC + service availability notifications that is to be created. + headers: + location: + description: The resource URI of the created resource + style: simple + schema: + type: string + format: uri + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationNotificationSubscription" + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema callbacks: - appTerminationNotification: - $ref: '#/components/callbacks/AppTerminationNotification' - '/applications/{appInstanceId}/subscriptions/{subscriptionId}': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' - - $ref: '#/components/parameters/Path.SubscriptionId' + AppTerminationNotification: + "{$request.body#/callbackUri}": + post: + tags: + - callbacks + description: + Represents the information that the MEP notifies the subscribed + application instance about the corresponding application instance + termination/stop' + operationId: AppTerminationNotification_POST + requestBody: + $ref: "#/components/requestBodies/AppTerminationNotification" + responses: + "200": + description: + Expected responses from callback consumer, if it accepts + the callback + /applications/{appInstanceId}/subscriptions/{subscriptionId}: get: - description: >- - The GET method requests information about a subscription for this - requestor. Upon success, the response contains entity body with the - subscription for the requestor. - operationId: ApplicationsSubscription_GET tags: - mec_app_support + description: + The GET method requests information about a subscription for this + requestor. Upon success, the response contains entity body with the subscription + for the requestor. + operationId: ApplicationsSubscription_GET + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: subscriptionId + in: path + description: Represents a subscription to the notifications from the MEC platform. + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - $ref: '#/components/responses/ApplicationsSubscription200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + "200": + description: + Upon success, a response body containing the requested subscription + is returned. + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationNotificationSubscription" + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema delete: - description: >- - This method deletes a mecAppSuptApiSubscription. This method is typically used - in "Unsubscribing from service availability event notifications" - procedure. - operationId: ApplicationsSubscription_DELETE tags: - mec_app_support + description: + This method deletes a mecAppSuptApiSubscription. This method is + typically used in "Unsubscribing from service availability event notifications" + procedure. + operationId: ApplicationsSubscription_DELETE + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: subscriptionId + in: path + description: Represents a subscription to the notifications from the MEC platform. + required: true + style: simple + explode: false + schema: + type: string responses: - '204': + "204": description: No Content - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '/applications/{appInstanceId}/confirm_termination': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' + content: {} + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/confirm_termination: post: - description: >- - This method is used to confirm the application level termination - of an application instance. - operationId: ApplicationsConfirmTermination_POST tags: - mec_app_support + description: + This method is used to confirm the application level termination of + an application instance. + operationId: ApplicationsConfirmTermination_POST + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationConfirmation" + required: false responses: - '204': + "204": description: No Content - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '409': - $ref: '#/components/responses/409' - '429': - $ref: '#/components/responses/429' - requestBody: - $ref: '#/components/requestBodies/ApplicationsConfirmTermination' - '/applications/{appInstanceId}/confirm_ready': - parameters: - - $ref: '#/components/parameters/Path.AppInstanceId' + content: {} + "401": + description: + Unauthorized. It is used when the client did not submit the + appropriate credentials. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "409": + description: + Conflict. The operation cannot be executed currently, due to + a conflict with the state of the resource. Typically, this is because + the application instance resource is in NOT_INSTANTIATED state. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "429": + description: Too Many Requests. It is used when a rate limiter has triggered. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /applications/{appInstanceId}/confirm_ready: post: - description: >- - This method may be used by the MEC application instance to notify the MEC platform that it is up and running. - operationId: ApplicationsConfirmReady_POST tags: - mec_app_support + description: + "This method may be used by the MEC application instance to notify + the MEC platform that it is up and running. " + operationId: ApplicationsConfirmReady_POST + parameters: + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AppReadyConfirmation" responses: - '204': + "204": description: No Content - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '409': - $ref: '#/components/responses/409' - '429': - $ref: '#/components/responses/429' - requestBody: - $ref: '#/components/requestBodies/ApplicationsConfirmReady' - '/timing/timing_caps': + content: {} + "401": + description: + Unauthorized. It is used when the client did not submit the + appropriate credentials. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "409": + description: + Conflict. The operation cannot be executed currently, due to + a conflict with the state of the resource. Typically, this is because + the application instance resource is in NOT_INSTANTIATED state. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "429": + description: Too Many Requests. It is used when a rate limiter has triggered. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /timing/timing_caps: get: - description: >- + tags: + - mec_app_support + description: This method retrieves the information of the platform's timing capabilities which corresponds to the timing capabilities query operationId: TimingCaps_GET - tags: - - mec_app_support + parameters: [] responses: - '200': - $ref: '#/components/responses/TimingCaps200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '/timing/current_time': + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/TimingCaps" + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + /timing/current_time: get: - description: >- - This method retrieves the information of the platform's current time - which corresponds to the get platform time procedure - operationId: TimingCurrentTime_GET tags: - mec_app_support + description: + This method retrieves the information of the platform's current + time which corresponds to the get platform time procedure + operationId: TimingCurrentTime_GET + parameters: [] responses: - '200': - $ref: '#/components/responses/TimingCurrentTime200' - '400': - $ref: '#/components/responses/400' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + "200": + description: + It is used to indicate nonspecific success. The response body + contains a representation of the resource. + content: + application/json: + schema: + $ref: "#/components/schemas/CurrentTime" + "400": + description: + Bad Request. It is used to indicate that incorrect parameters + were passed to the request. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema + "403": + description: + Forbidden. The operation is not allowed given the current status + of the resource. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + "404": + description: + Not Found. It is used when a client provided a URI that cannot + be mapped to a valid resource URI. + content: + application/problem+json: + schema: + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema components: schemas: AppReadyConfirmation: - description: >- - This type represents the information that the MEC application instance indicates to the MEC platform that it is up and running. - type: object + title: AppReadyConfirmation required: - indication + type: object properties: indication: - description: Indication about the MEC application instance. type: string enum: - READY + description: Indication about the MEC application instance. + description: + This type represents the information that the MEC application instance + indicates to the MEC platform that it is up and running. AppTerminationConfirmation: - description: >- - This type represents the information that the MEC application instance provides to the MEC platform when informing it that the application has completed its application level related terminate/stop actions, e.g. retention of application state in the case of stop. - type: object + title: AppTerminationConfirmation required: - operationAction + type: object properties: operationAction: - $ref: '#/components/schemas/OperationActionType' - AppTerminationNotification: - description: >- - This type represents the information that the MEC platform - notifies the subscribed application instance about the corresponding - application instance termination/stop. + $ref: "#/components/schemas/OperationActionType" + description: + This type represents the information that the MEC application instance + provides to the MEC platform when informing it that the application has completed + its application level related terminate/stop actions, e.g. retention of application + state in the case of stop. + AppTerminationNotification.Links: + title: AppTerminationNotification.Links + required: + - subscription type: object + properties: + subscription: + $ref: "#/components/schemas/LinkType" + confirmTermination: + $ref: "#/components/schemas/LinkType" + description: Object containing hyperlinks related to the resource. + AppTerminationNotification: + title: AppTerminationNotification required: + - _links + - maxGracefulTimeout - notificationType - operationAction - - maxGracefulTimeout - - _links + type: object properties: notificationType: - description: Shall be set to AppTerminationNotification. type: string + description: Shall be set to AppTerminationNotification. + example: '["AppTerminationNotification"]' operationAction: - $ref: '#/components/schemas/OperationActionType' + $ref: "#/components/schemas/OperationActionType" maxGracefulTimeout: - description: >- - Maximum timeout value in seconds for graceful termination or graceful - stop of an application instance. type: integer - format: uint32 + description: + Maximum timeout value in seconds for graceful termination or + graceful stop of an application instance. _links: - description: >- - Object containing hyperlinks related to the resource. - type: object - required: - - subscription - properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' + $ref: "#/components/schemas/AppTerminationNotification.Links" + description: + This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. AppTerminationNotificationSubscription: - description: >- - This type represents the information that the MEC platform - notifies the subscribed application instance about the corresponding - application instance termination/stop. - type: object + title: AppTerminationNotificationSubscription required: - - subscriptionType - - callbackReference - _links - appInstanceId + - callbackReference + - subscriptionType + type: object properties: subscriptionType: - description: Shall be set to AppTerminationNotificationSubscription. type: string + description: Shall be set to AppTerminationNotificationSubscription. + example: '["AppTerminationNotificationSubscription"]' callbackReference: - description: >- - URI selected by the MEC application instance to receive - notifications on the subscribed MEC application instance - management information. This shall be included in both the request and - the response. type: string - format: uri + description: + URI selected by the MEC application instance to receive notifications + on the subscribed MEC application instance management information. This + shall be included in both the request and the response. _links: - description: Self-referring URI. - type: object - required: - - self - properties: - self: - $ref: '#/components/schemas/LinkType' - readOnly: true + $ref: "#/components/schemas/Self" appInstanceId: - description: It is used as the filtering criterion for the subscribed events. type: string + description: It is used as the filtering criterion for the subscribed events. + example: '["ID1"]' + description: + This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. + example: + appInstanceId: '["ID1"]' + subscriptionType: '["AppTerminationNotificationSubscription"]' + _links: + self: + href: '["/mecAppSuptApi/example"]' + callbackReference: callbackReference CurrentTime: - description: >- - This type represents the information provided by the MEC - platform in response to the Get Platform Time Request message. - type: object + title: CurrentTime required: - nanoSeconds - seconds - timeSourceStatus + type: object properties: seconds: type: integer - format: uint32 - description: >- - The seconds part of the time. Time is defined as Unix-time since - January 1, 1970, 00:00:00 UTC + description: + The seconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC nanoSeconds: type: integer - format: uint32 - description: >- - The nanoseconds part of the time. Time is defined as Unix-time since - January 1, 1970, 00:00:00 UTC + description: + The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC timeSourceStatus: - type: string - enum: - - TRACEABLE - - NONTRACEABLE - description: >- - Platform Time Source status. 1 = TRACEABLE - time source is locked - to the UTC time source. 2 = NONTRACEABLE - time source is not locked - to the UTC time source + $ref: "#/components/schemas/TimeSourceStatus" + description: + This type represents the information provided by the MEC platform + in response to the Get Platform Time Request message. + example: + seconds: 0 + nanoSeconds: 6 + timeSourceStatus: '["TRACEABLE"]' + DestinationInterface.InterfaceType: + title: DestinationInterface.InterfaceType + type: string + description: Type of the interface + example: '["TUNNEL"]' + enum: + - TUNNEL + - MAC + - IP DestinationInterface: - description: This type represents the destination interface. If the action is FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED, two values shall be provided. If the action is DROP, no value shall be provided. - type: object + title: DestinationInterface required: - interfaceType + type: object properties: interfaceType: - description: Type of the interface - type: string - enum: - - TUNNEL - - MAC - - IP + $ref: "#/components/schemas/DestinationInterface.InterfaceType" tunnelInfo: - $ref: '#/components/schemas/TunnelInfo' + $ref: "#/components/schemas/TunnelInfo" srcMacAddress: - description: Source address identifies the MAC address of the interface type: string + description: Source address identifies the MAC address of the interface + example: '["02-00-00-00-00-00"]' dstMacAddress: - description: Destination address identifies the MAC address of the interface type: string + description: Source address identifies the MAC address of the interface + example: '["02-00-00-00-00-00"]' dstIpAddress: - description: IP address of the remote destination type: string + description: IP address of the remote destination + example: '["192.0.2.0"]' + description: + This type represents the destination interface. If the action is + FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall + be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED, + two values shall be provided. If the action is DROP, no value shall be provided. + example: + interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' + tunnelInfo: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + DnsRule.IpAddressType: + title: DnsRule.IpAddressType + type: string + description: IP address type + example: '["IP_V6"]' + enum: + - IP_V6 + - IP_V4 + DnsRule.State: + title: DnsRule.State + type: string + description: DNS rule state. This attribute may be updated using HTTP PUT method + example: '["ACTIVE"]' + enum: + - ACTIVE + - INACTIVE DnsRule: - description: This type represents the general information of a DNS rule. - type: object + title: DnsRule required: - dnsRuleId - domainName - - ipAddressType - ipAddress + - ipAddressType - state + type: object properties: dnsRuleId: - description: Identifies the DNS Rule type: string + description: Identifies the DNS Rule + example: '["dnsRule1"]' domainName: - description: FQDN resolved by the DNS rule type: string + description: FQDN resolved by the DNS rule + example: '["www.example.com"]' ipAddressType: - description: IP address type - type: string - enum: - - IP_V6 - - IP_V4 + $ref: "#/components/schemas/DnsRule.IpAddressType" ipAddress: - description: IP address associated with the FQDN resolved by the DNS rule type: string + description: IP address associated with the FQDN resolved by the DNS rule + example: '["192.0.2.0"]' ttl: - description: Time to live value type: integer - format: uint32 + description: Time to live value state: - description: DNS rule state. This attribute may be updated using HTTP PUT method - type: string - enum: - - ACTIVE - - INACTIVE - example: 'ACTIVE' + $ref: "#/components/schemas/DnsRule.State" + description: This type represents the general information of a DNS rule. + example: + domainName: '["www.example.com"]' + ipAddress: '["192.0.2.0"]' + dnsRuleId: '["dnsRule1"]' + state: '["ACTIVE"]' + ttl: 0 + ipAddressType: '["IP_V6"]' LinkType: - description: This type represents a type of link and may be referenced from data structures + title: LinkType type: object properties: - href: - description: URI referring to a resource + href: type: string - format: uri - SubscriptionLinkList: - description: >- - This type represents a list of links related to currently existing - subscriptions for a MEC application instance. This information - is returned when sending a request to receive current subscriptions. + description: URI referring to a resource + example: '["/mecAppSuptApi/example"]' + description: + This type represents a type of link and may be referenced from + data structures + example: + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList.Links: + title: MecAppSuptApiSubscriptionLinkList.Links + required: + - self type: object + properties: + self: + $ref: "#/components/schemas/LinkType" + subscriptions: + type: array + description: The MEC application instance's subscriptions + items: + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList.Subscription" + description: Self-referring URI. + example: + subscriptions: + - rel: rel + href: '["/mecAppSuptApi/example"]' + - rel: rel + href: '["/mecAppSuptApi/example"]' + self: + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList.Subscription: + title: MecAppSuptApiSubscriptionLinkList.Subscription + required: + - href + - rel + type: object + properties: + href: + type: string + description: URI referring to a resource + example: '["/mecAppSuptApi/example"]' + rel: + type: string + description: The values shall be set to AppTerminationNotificationSubscription. + description: A link to a subscription. + example: + rel: rel + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList: + title: MecAppSuptApiSubscriptionLinkList required: - _links + type: object properties: _links: - description: Self-referring URI. - type: object - required: - - self - properties: - self: - $ref: '#/components/schemas/LinkType' - subscriptions: - description: The MEC application instance's subscriptions - type: array - items: - description: A link to a subscription. - type: object - required: - - href - - subscriptionType - properties: - href: - description: URI referring to a resource - type: string - format: uri - subscriptionType: - description: >- - Type of the subscription. The values are as defined in - the "subscriptionType" attribute for each different Mp1 - event subscription data type. - type: string + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList.Links" + description: + This type represents a list of links related to currently existing + subscriptions for a MEC application instance. This information is returned + when sending a request to receive current subscriptions. + example: + _links: + subscriptions: + - rel: rel + href: '["/mecAppSuptApi/example"]' + - rel: rel + href: '["/mecAppSuptApi/example"]' + self: + href: '["/mecAppSuptApi/example"]' OperationActionType: - description: Operation that is being performed on the MEC application instance. + title: OperationActionType type: string + description: Operation that is being performed on the MEC application instance. + example: '["TERMINATING"]' enum: - STOPPING - TERMINATING ProblemDetails: + title: ProblemDetails type: object properties: type: type: string - format: uri - description: >- - A URI reference according to IETF RFC 3986 that identifies the problem - type + description: + A URI reference according to IETF RFC 3986 that identifies + the problem type title: type: string - description: 'A short, human-readable summary of the problem type' + description: A short, human-readable summary of the problem type status: type: integer - format: uint32 description: The HTTP status code for this occurrence of the problem detail: type: string - description: A human-readable explanation specific to this occurrence of the problem + description: + A human-readable explanation specific to this occurrence of + the problem instance: type: string - format: uri - description: A URI reference that identifies the specific occurrence of the problem + description: + A URI reference that identifies the specific occurrence of + the problem + Self: + title: Self + required: + - self + type: object + properties: + self: + $ref: "#/components/schemas/LinkType" + description: Self-referring URI. + example: + self: + href: '["/mecAppSuptApi/example"]' + TimingCaps.NtpServers.AuthenticationOption: + title: TimingCaps.NtpServers.AuthenticationOption + type: string + description: NTP authentication option + example: '["NONE"]' + enum: + - NONE + - SYMMETRIC_KEY + - AUTO_KEY + TimingCaps.NtpServers.NtpServerAddrType: + title: TimingCaps.NtpServers.NtpServerAddrType + type: string + description: Address type of NTP server + example: '["IP_ADDRESS"]' + enum: + - IP_ADDRESS + - DNS_NAME + TimingCaps.NtpServers: + title: TimingCaps.NtpServers + required: + - authenticationKeyNum + - authenticationOption + - localPriority + - maxPollingInterval + - minPollingInterval + - ntpServerAddr + - ntpServerAddrType + type: object + properties: + ntpServerAddrType: + $ref: "#/components/schemas/TimingCaps.NtpServers.NtpServerAddrType" + ntpServerAddr: + type: string + description: NTP server address + example: '["192.0.2.0"]' + minPollingInterval: + type: integer + description: + Minimum poll interval for NTP messages, in seconds as a power + of two. Range 3 to 17 + maxPollingInterval: + type: integer + description: + Maximum poll interval for NTP messages, in seconds as a power + of two. Range 3 to 17 + localPriority: + type: integer + description: NTP server local priority + authenticationOption: + $ref: "#/components/schemas/TimingCaps.NtpServers.AuthenticationOption" + authenticationKeyNum: + type: integer + description: Authentication key number + description: NTP server detail. + example: + ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + TimingCaps_PtpMasters: + title: TimingCaps_PtpMasters + required: + - delayReqMaxRate + - ptpMasterIpAddress + - ptpMasterLocalPriority + type: object + properties: + ptpMasterIpAddress: + type: string + description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address + example: '["192.0.2.0"]' + ptpMasterLocalPriority: + type: integer + description: + PTP Server (referred to as "master" in IEEE 1588-2019 ) local + priority + delayReqMaxRate: + type: integer + description: + Acceptable maximum rate of the Delay_Req messages in packets + per second + description: NTP server detail. + example: + ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 + TimingCaps.TimeStamp: + title: TimingCaps.TimeStamp + required: + - nanoSeconds + - seconds + type: object + properties: + seconds: + type: integer + description: + The seconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC + nanoSeconds: + type: integer + description: + The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC + description: time + example: + seconds: 0 + nanoSeconds: 6 TimingCaps: - description: >- - This type represents the information provided by the MEC - platform in response to the Timing capabilities Query message. + title: TimingCaps type: object properties: timeStamp: - description: time - type: object - required: - - nanoSeconds - - seconds - properties: - seconds: - type: integer - format: uint32 - description: >- - The seconds part of the time. Time is defined as Unix-time since - January 1, 1970, 00:00:00 UTC - nanoSeconds: - type: integer - format: uint32 - description: >- - The nanoseconds part of the time. Time is defined as Unix-time since - January 1, 1970, 00:00:00 UTC + $ref: "#/components/schemas/TimingCaps.TimeStamp" ntpServers: - description: Available NTP servers type: array + description: Available NTP servers items: - description: NTP server detail. - type: object - required: - - ntpServerAddrType - - ntpServerAddr - - minPollingInterval - - maxPollingInterval - - localPriority - - authenticationOption - - authenticationKeyNum - properties: - ntpServerAddrType: - description: Address type of NTP server - type: string - enum: - - IP_ADDRESS - - DNS_NAME - ntpServerAddr: - description: NTP server address - type: string - minPollingInterval: - description: >- - Minimum poll interval for NTP messages, in seconds as a power of two. - Range 3 to 17 - type: integer - format: uint32 - maxPollingInterval: - description: >- - Maximum poll interval for NTP messages, in seconds as a power of two. - Range 3 to 17 - type: integer - format: uint32 - localPriority: - description: NTP server local priority - type: integer - format: uint32 - authenticationOption: - description: NTP authentication option - type: string - enum: - - NONE - - SYMMETRIC_KEY - - AUTO_KEY - authenticationKeyNum: - description: Authentication key number - type: integer - format: uint32 + $ref: "#/components/schemas/TimingCaps.NtpServers" ptpMasters: - description: Number of available PTP Servers (referred to as "masters" in IEEE 1588-2019) type: array + description: + Number of available PTP Servers (referred to as "masters" in + IEEE 1588-2019) items: - description: NTP server detail. - type: object - required: - - ptpMasterIpAddress - - ptpMasterLocalPriority - - delayReqMaxRate - properties: - ptpMasterIpAddress: - description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address - type: string - ptpMasterLocalPriority: - description: PTP Server (referred to as "master" in IEEE 1588-2019 ) local priority - type: integer - format: uint32 - delayReqMaxRate: - description: Acceptable maximum rate of the Delay_Req messages in packets per second - type: integer - format: uint32 + $ref: "#/components/schemas/TimingCaps_PtpMasters" + description: + This type represents the information provided by the MEC platform + in response to the Timing capabilities Query message. + example: + timeStamp: + seconds: 0 + nanoSeconds: 6 + ntpServers: + - ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + - ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + ptpMasters: + - ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 + - ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 TrafficFilter: - description: This type represents the traffic filter. + title: TrafficFilter type: object properties: srcAddress: - description: >- - An IP address or a range of IP address. For IPv4, the IP address - could be an IP address plus mask, or an individual IP address, or a - range of IP addresses. For IPv6, the IP address could be an IP - prefix, or a range of IP prefixes. type: array + description: + An IP address or a range of IP address. For IPv4, the IP address + could be an IP address plus mask, or an individual IP address, or a range + of IP addresses. For IPv6, the IP address could be an IP prefix, or a + range of IP prefixes. items: - description: Identify the traffic ip address. type: string dstAddress: - description: >- - An IP address or a range of IP address. For IPv4, the IP address - could be an IP address plus mask, or an individual IP address, or a - range of IP addresses. For IPv6, the IP address could be an IP - prefix, or a range of IP prefixes. type: array + description: + An IP address or a range of IP address. For IPv4, the IP address + could be an IP address plus mask, or an individual IP address, or a range + of IP addresses. For IPv6, the IP address could be an IP prefix, or a + range of IP prefixes. items: - description: Identify the traffic ip address. type: string srcPort: - description: A port or a range of ports type: array + description: A port or a range of ports items: - description: A port type: string dstPort: - description: A port or a range of ports type: array + description: A port or a range of ports items: - description: A port type: string protocol: - description: Specify the protocol of the traffic filter type: array + description: Specify the protocol of the traffic filter items: - description: Protocol of the traffic filter type: string token: - description: Used for token based traffic rule type: array + description: Used for token based traffic rule items: - description: Used for token based traffic rule type: string srcTunnelAddress: - description: Used for GTP tunnel based traffic rule type: array + description: Used for GTP tunnel based traffic rule items: - description: Used for GTP tunnel based traffic rule type: string tgtTunnelAddress: - description: Used for GTP tunnel based traffic rule type: array + description: Used for GTP tunnel based traffic rule items: - description: Used for GTP tunnel based traffic rule type: string srcTunnelPort: - description: Used for GTP tunnel based traffic rule type: array + description: Used for GTP tunnel based traffic rule items: - description: Used for GTP tunnel based traffic rule type: string dstTunnelPort: - description: Used for GTP tunnel based traffic rule type: array + description: Used for GTP tunnel based traffic rule items: - description: Used for GTP tunnel based traffic rule type: string qCI: - description: >- - Used to match all packets that have the same Quality Class Indicator - (QCI). type: integer - format: uint32 + description: + Used to match all packets that have the same Quality Class + Indicator (QCI). dSCP: - description: >- + type: integer + description: Used to match all IPv4 packets that have the same Differentiated Services Code Point (DSCP) - type: integer - format: uint32 tC: - description: Used to match all IPv6 packets that have the same Traffic Class. type: integer - format: uint32 + description: Used to match all IPv6 packets that have the same Traffic Class. + description: This type represents the traffic filter. + example: + srcTunnelPort: + - srcTunnelPort + - srcTunnelPort + dstAddress: + - dstAddress + - dstAddress + srcAddress: + - srcAddress + - srcAddress + srcPort: + - srcPort + - srcPort + token: + - token + - token + tC: 5 + protocol: + - protocol + - protocol + dstTunnelPort: + - dstTunnelPort + - dstTunnelPort + dSCP: 1 + dstPort: + - dstPort + - dstPort + qCI: 6 + srcTunnelAddress: + - srcTunnelAddress + - srcTunnelAddress + tgtTunnelAddress: + - tgtTunnelAddress + - tgtTunnelAddress + TrafficRule.Action: + title: TrafficRule.Action + type: string + description: + The action of the MEC host data plane when a packet matches the + trafficFilter + example: '["DROP"]' + enum: + - DROP + - FORWARD_DECAPSULATED + - FORWARD_ENCAPSULATED + - PASSTHROUGH + - DUPLICATE_DECAPSULATED + - DUPLICATE_ENCAPSULATED + TrafficRule.FilterType: + title: TrafficRule.FilterType + type: string + description: + Definition of filter per FLOW or PACKET. If flow the filter match + UE->EPC packet and the reverse packet is handled in the same context + example: '["FLOW"]' + enum: + - FLOW + - PACKET + TrafficRule.State: + title: TrafficRule.State + type: string + description: + Contains the traffic rule state. This attribute may be updated + using HTTP PUT method + example: '["ACTIVE"]' + enum: + - ACTIVE + - INACTIVE TrafficRule: - description: This type represents the general information of a traffic rule. - type: object + title: TrafficRule required: - - trafficRuleId + - action - filterType - priority - - trafficFilter - - action - state + - trafficFilter + - trafficRuleId + type: object properties: trafficRuleId: - description: Identify the traffic rule. type: string + description: Identify the traffic rule. + example: '["TrafficRule1"]' filterType: - description: >- - Definition of filter per FLOW or PACKET. If flow the filter match - UE->EPC packet and the reverse packet is handled in the same context - type: string - enum: - - FLOW - - PACKET + $ref: "#/components/schemas/TrafficRule.FilterType" priority: - description: >- - Priority of this traffic rule within the range 0 to 255. If traffic rules conflict, - the one with higher priority take precedence. Value indicates the priority in descending - order, i.e. with 0 as the highest priority and 255 as the lowest priority. type: integer - format: uint32 + description: + Priority of this traffic rule within the range 0 to 255. If + traffic rules conflict, the one with higher priority take precedence. + Value indicates the priority in descending order, i.e. with 0 as the highest + priority and 255 as the lowest priority. trafficFilter: type: array items: - $ref: '#/components/schemas/TrafficFilter' + $ref: "#/components/schemas/TrafficFilter" action: - description: >- - The action of the MEC host data plane when a packet matches the trafficFilter - type: string - enum: - - DROP - - FORWARD_DECAPSULATED - - FORWARD_ENCAPSULATED - - PASSTHROUGH - - DUPLICATE_DECAPSULATED - - DUPLICATE_ENCAPSULATED + $ref: "#/components/schemas/TrafficRule.Action" dstInterface: + maxItems: 2 type: array items: - $ref: '#/components/schemas/DestinationInterface' - maxItems: 2 + $ref: "#/components/schemas/DestinationInterface" state: - description: Contains the traffic rule state. This attribute may be updated using HTTP PUT method - type: string - enum: - - ACTIVE - - INACTIVE - TunnelInfo: + $ref: "#/components/schemas/TrafficRule.State" + description: This type represents the general information of a traffic rule. + example: + action: '["DROP"]' + trafficRuleId: '["TrafficRule1"]' + dstInterface: + - interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' + tunnelInfo: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + - interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' + tunnelInfo: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + state: '["ACTIVE"]' + filterType: '["FLOW"]' + priority: 0 + trafficFilter: + - srcTunnelPort: + - srcTunnelPort + - srcTunnelPort + dstAddress: + - dstAddress + - dstAddress + srcAddress: + - srcAddress + - srcAddress + srcPort: + - srcPort + - srcPort + token: + - token + - token + tC: 5 + protocol: + - protocol + - protocol + dstTunnelPort: + - dstTunnelPort + - dstTunnelPort + dSCP: 1 + dstPort: + - dstPort + - dstPort + qCI: 6 + srcTunnelAddress: + - srcTunnelAddress + - srcTunnelAddress + tgtTunnelAddress: + - tgtTunnelAddress + - tgtTunnelAddress + - srcTunnelPort: + - srcTunnelPort + - srcTunnelPort + dstAddress: + - dstAddress + - dstAddress + srcAddress: + - srcAddress + - srcAddress + srcPort: + - srcPort + - srcPort + token: + - token + - token + tC: 5 + protocol: + - protocol + - protocol + dstTunnelPort: + - dstTunnelPort + - dstTunnelPort + dSCP: 1 + dstPort: + - dstPort + - dstPort + qCI: 6 + srcTunnelAddress: + - srcTunnelAddress + - srcTunnelAddress + tgtTunnelAddress: + - tgtTunnelAddress + - tgtTunnelAddress + TunnelInfo.TunnelType: + title: TunnelInfo.TunnelType + type: string description: This type represents the tunnel information. - type: object + example: '["GTP_U"]' + enum: + - GTP_U + - GRE + TunnelInfo: + title: TunnelInfo required: - tunnelType + type: object properties: tunnelType: - description: This type represents the tunnel information. - type: string - enum: - - GTP_U - - GRE + $ref: "#/components/schemas/TunnelInfo.TunnelType" tunnelDstAddress: - description: Destination address of the tunnel type: string + description: Destination address of the tunnel + example: '["?"]' tunnelSrcAddress: - description: Source address of the tunnel type: string - parameters: - Path.AppInstanceId: - name: appInstanceId - description: >- - Represents a MEC application instance. Note that the - appInstanceId is allocated by the MEC platform manager. - in: path - required: true - schema: - type: string - Path.DnsRuleId: - name: dnsRuleId - description: Represents a DNS rule. - in: path - required: true - schema: - type: string - Path.SubscriptionId: - name: subscriptionId - description: >- - Represents a subscription to the notifications from the MEC - platform. - in: path - required: true - schema: - type: string - Path.TrafficRuleId: - name: trafficRuleId - description: Represents a traffic rule. - in: path - required: true - schema: - type: string - responses: - ApplicationsDnsRules200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/DnsRule' - examples: - DnsRules: - $ref: '#/components/examples/DnsRules' - links: - getIndividualMeDNSRule: - $ref: '#/components/links/GetIndividualMeDNSRule' - putIndividualMeDNSRule: - $ref: '#/components/links/PutIndividualMeDNSRule' - ApplicationsDnsRule200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/DnsRule' - examples: - DnsRule: - $ref: '#/components/examples/DnsRule' - ApplicationsSubscriptions200: - description: >- - Upon success, a response body containing the list of links to the - requested subscriptions is returned. - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionLinkList' - links: - getIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscriptionLinkList' - delIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscriptionLinkList' - ApplicationsSubscriptions201: - description: >- - Entity body in the request contains a subscription to the - MEC service availability notifications that is to be created. - headers: - location: - description: The resource URI of the created resource - schema: - type: string - format: uri - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - links: - getIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscription' - delIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscription' - ApplicationsSubscription200: - description: >- - Upon success, a response body containing the requested subscription - is returned. - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - ApplicationsTrafficRules200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/TrafficRule' - examples: - TrafficRules: - $ref: '#/components/examples/TrafficRules' - links: - getIndividualMeTrafficRule: - $ref: '#/components/links/GetIndividualMeTrafficRule' - putIndividualMeTrafficRule: - $ref: '#/components/links/PutIndividualMeTrafficRule' - ApplicationsTrafficRule200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficRule' - examples: - TrafficRule: - $ref: '#/components/examples/TrafficRule' - TimingCurrentTime200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/CurrentTime' - TimingCaps200: - description: >- - It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/TimingCaps' - 400: - description: >- - Bad Request. - It is used to indicate that incorrect parameters were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 401: - description: >- - Unauthorized. - It is used when the client did not submit the appropriate credentials. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 403: - description: >- - Forbidden. - The operation is not allowed given the current status of the resource. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 404: - description: >- - Not Found. - It is used when a client provided a URI that cannot be mapped - to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 409: - description: >- - Conflict. - The operation cannot be executed currently, due to a conflict with - the state of the resource. Typically, this is because the application - instance resource is in NOT_INSTANTIATED state. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 412: - description: >- - Precondition Failed. - It is used when a condition has failed during conditional requests, - e.g. when using ETags to avoid write conflicts. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 429: - description: >- - Too Many Requests. - It is used when a rate limiter has triggered. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + description: Source address of the tunnel + example: '["?"]' + description: This type represents the tunnel information. + example: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + TimeSourceStatus: + title: TimeSourceStatus + type: string + description: + Platform Time Source status. 1 = TRACEABLE - time source is locked + to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the + UTC time source + example: '["TRACEABLE"]' + enum: + - TRACEABLE + - NONTRACEABLE requestBodies: - ApplicationsConfirmReady: - content: - application/json: - schema: - $ref: '#/components/schemas/AppReadyConfirmation' - example: - indication: 'READY' - required: true - ApplicationsConfirmTermination: - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationConfirmation' - example: - operationAction: 'TERMINATING' - required: true - ApplicationsDnsRule: - content: - application/json: - schema: - $ref: '#/components/schemas/DnsRule' - description: The updated state is included in the entity body of the request. - required: true - ApplicationsSubscriptions: - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - example: - subscriptionType: 'AppTerminationNotificationSubscription' - callbackReference: 'https://my.callback.com/sandboxname/mep1/rni/v2/' - appInstanceId: 'myAppInstanceId' - description: >- - Entity body in the request contains a subscription to the MEC - application termination notifications that is to be created. - required: true - ApplicationsTrafficRule: - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficRule' - description: One or more updated attributes that are allowed to be changed - required: true AppTerminationNotification: content: application/json: schema: - $ref: '#/components/schemas/AppTerminationNotification' + $ref: "#/components/schemas/AppTerminationNotification" required: true - callbacks: - AppTerminationNotification: - '{$request.body#/callbackReference}': - post: - description: >- - Represents the information that the MEP notifies the - subscribed application instance about the corresponding - application instance termination/stop - operationId: As_AppTerminationNotification_POST - tags: - - callbacks - requestBody: - $ref: '#/components/requestBodies/AppTerminationNotification' - responses: - '200': - description: Expected responses from callback consumer, if it accepts the callback - links: - GetIndividualMeDNSRule: - operationId: As_ApplicationsDnsRule_GET - description: The `dnsRuleId` value returned in the response can be used as the `dnsRuleId` parameter in `GET /applications/{appInstanceId}/dns_rules/{dnsRuleId}` - parameters: - dnsRuleId: '$response.body#/dnsRuleId' - PutIndividualMeDNSRule: - operationId: As_ApplicationsDnsRule_PUT - description: The `dnsRuleId` value returned in the response can be used as the `dnsRuleId` parameter in `PUT /applications/{appInstanceId}/dns_rules/{dnsRuleId}` - parameters: - dnsRuleId: '$response.body#/dnsRuleId' - GetIndividualMeTrafficRule: - operationId: As_ApplicationsTrafficRule_GET - description: The `trafficRuleId` value returned in the response can be used as the `trafficRuleId` parameter in `GET /applications/{appInstanceId}/traffic_rules/{trafficRuleId}` - parameters: - trafficRuleId: '$response.body#/trafficRuleId' - PutIndividualMeTrafficRule: - operationId: As_ApplicationsTrafficRule_PUT - description: The `trafficRuleId` value returned in the response can be used as the `trafficRuleId` parameter in `PUT /applications/{appInstanceId}/traffic_rules/{trafficRuleId}` - parameters: - trafficRuleId: '$response.body#/trafficRuleId' - GetIndividualmecAppSuptApiSubscription: - operationId: As_ApplicationsSubscription_GET - description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}` - parameters: - description: regex = \/mec_app_support\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute - subscriptionId: 'TBC' - DelIndividualmecAppSuptApiSubscription: - operationId: As_ApplicationsSubscription_DELETE - description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}` - parameters: - description: regex = \/mec_app_support\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute - subscriptionId: 'TBC' - GetIndividualmecAppSuptApiSubscriptionLinkList: - operationId: As_ApplicationsSubscription_GET - description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}` - parameters: - description: regex = \/mec_app_support\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute - subscriptionId: 'TBC' - DelIndividualmecAppSuptApiSubscriptionLinkList: - operationId: As_ApplicationsSubscription_DELETE - description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}` - parameters: - description: regex = \/mec_app_support\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute - subscriptionId: 'TBC' - examples: - DnsRule: - value: - dnsRuleId: 'DnsRule1' - domainName: 'www.example.com' - ipAddressType: 'IP_V4' - ipAddress: '146.241.7.3' - ttl: 300 - state: 'ACTIVE' - DnsRules: - value: - - dnsRuleId: 'DnsRule1' - domainName: 'www.example.com' - ipAddressType: 'IP_V4' - ipAddress: '146.241.7.3' - ttl: 300 - state: 'ACTIVE' - - dnsRuleId: 'DnsRule2' - domainName: 'www.example.com' - ipAddressType: 'IP_V4' - ipAddress: '146.241.7.4' - ttl: 300 - state: 'INACTIVE' - TrafficRule: - value: - trafficRuleId: 'TrafficRule123' - serName: 'ExampleService' - filterType: 'FLOW' - priority: 1 - trafficFilter: - - srcAddress: - - '192.168.2.0/24' - - '192.168.3.0/24' - dstAddress: - - '192.127.4.100/32' - dstPort: - - '80' - action: 'FORWARD_DECAPSULATED' - dstInterface: - - dstInterface0: - interfaceType: 'IP' - dstIpAddress: '20.1.1.1' - state: 'ACTIVE' - TrafficRules: - value: - - trafficRuleId: 'TrafficRule123' - serName: 'ExampleService' - filterType: 'FLOW' - priority: 1 - trafficFilter: - - srcAddress: - - '192.168.2.0/24' - - '192.168.3.0/24' - dstAddress: - - '192.127.4.100/32' - dstPort: - - '80' - action: 'FORWARD_DECAPSULATED' - dstInterface: - - dstInterface0: - interfaceType: 'IP' - dstIpAddress: '20.1.1.1' - state: 'ACTIVE' - - - diff --git a/go-apps/meep-app-enablement/server/app-support/app-support.go b/go-apps/meep-app-enablement/server/app-support/app-support.go index 13aebec29..762c40e4d 100644 --- a/go-apps/meep-app-enablement/server/app-support/app-support.go +++ b/go-apps/meep-app-enablement/server/app-support/app-support.go @@ -555,8 +555,8 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { } // Create subscription link list - subscriptionLinkList := &SubscriptionLinkList{ - Links: &SubscriptionLinkListLinks{ + subscriptionLinkList := &MecAppSuptApiSubscriptionLinkList{ + Links: &MecAppSuptApiSubscriptionLinkListLinks{ Self: &LinkType{ Href: hostUrl.String() + basePath + "applications/" + appId + "/subscriptions", }, @@ -565,7 +565,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { for _, sub := range subList { // Create subscription reference & append it to link list - subscription := SubscriptionLinkListLinksSubscriptions{ + subscription := MecAppSuptApiSubscriptionLinkListLinksSubscriptions{ // In v2.1.1 it should be SubscriptionType, but spec is expecting "rel" as per v1.1.1 SubscriptionType: APP_TERMINATION_NOTIF_SUB_TYPE, Href: sub.Cfg.Self, @@ -575,7 +575,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { // Send response w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, convertSubscriptionLinkListToJson(subscriptionLinkList)) + fmt.Fprintf(w, convertMecAppSuptApiSubscriptionLinkListToJson(subscriptionLinkList)) } func timingCapsGET(w http.ResponseWriter, r *http.Request) { diff --git a/go-apps/meep-app-enablement/server/app-support/convert.go b/go-apps/meep-app-enablement/server/app-support/convert.go index ffd18f0f2..ec0f536c9 100644 --- a/go-apps/meep-app-enablement/server/app-support/convert.go +++ b/go-apps/meep-app-enablement/server/app-support/convert.go @@ -49,7 +49,7 @@ func convertProblemDetailsToJson(obj *ProblemDetails) string { return string(jsonInfo) } -func convertSubscriptionLinkListToJson(obj *SubscriptionLinkList) string { +func convertMecAppSuptApiSubscriptionLinkListToJson(obj *MecAppSuptApiSubscriptionLinkList) string { jsonInfo, err := json.Marshal(*obj) if err != nil { log.Error(err.Error()) diff --git a/go-apps/meep-app-enablement/server/app-support/model_current_time.go b/go-apps/meep-app-enablement/server/app-support/model_current_time.go index c09c81913..68fb912a9 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_current_time.go +++ b/go-apps/meep-app-enablement/server/app-support/model_current_time.go @@ -30,5 +30,5 @@ type CurrentTime struct { // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC NanoSeconds int32 `json:"nanoSeconds"` // Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source - TimeSourceStatus string `json:"timeSourceStatus"` + TimeSourceStatus *TimeSourceStatus `json:"timeSourceStatus"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go index f42f978e9..d7d5e0961 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go +++ b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go @@ -26,7 +26,7 @@ package server // This type represents the destination interface. If the action is FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED, two values shall be provided. If the action is DROP, no value shall be provided. type DestinationInterface struct { // Type of the interface - InterfaceType string `json:"interfaceType"` + InterfaceType *DestinationInterfaceInterfaceType `json:"interfaceType"` TunnelInfo *TunnelInfo `json:"tunnelInfo,omitempty"` // Source address identifies the MAC address of the interface diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go new file mode 100644 index 000000000..503371b6f --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // DestinationInterfaceInterfaceType : Type of the interface +type DestinationInterface.InterfaceType string +// List of DestinationInterface.InterfaceType +const ( + TUNNEL DestinationInterfaceInterfaceType = "TUNNEL" + MAC DestinationInterfaceInterfaceType = "MAC" + IP DestinationInterfaceInterfaceType = "IP" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go index e6e00f129..be6264398 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go @@ -30,11 +30,11 @@ type DnsRule struct { // FQDN resolved by the DNS rule DomainName string `json:"domainName"` // IP address type - IpAddressType string `json:"ipAddressType"` + IpAddressType *DnsRuleIpAddressType `json:"ipAddressType"` // IP address associated with the FQDN resolved by the DNS rule IpAddress string `json:"ipAddress"` // Time to live value Ttl int32 `json:"ttl,omitempty"` // DNS rule state. This attribute may be updated using HTTP PUT method - State string `json:"state"` + State *DnsRuleState `json:"state"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go new file mode 100644 index 000000000..ec147e4c4 --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // DnsRuleIpAddressType : IP address type +type DnsRule.IpAddressType string +// List of DnsRule.IpAddressType +const ( + V6 DnsRuleIpAddressType = "IP_V6" + V4 DnsRuleIpAddressType = "IP_V4" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go new file mode 100644 index 000000000..f7377390f --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // DnsRuleState : DNS rule state. This attribute may be updated using HTTP PUT method +type DnsRule.State string +// List of DnsRule.State +const ( + ACTIVE DnsRuleState = "ACTIVE" + INACTIVE DnsRuleState = "INACTIVE" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go similarity index 93% rename from go-apps/meep-app-enablement/server/app-support/model_subscription_link_list.go rename to go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go index 3798fd8df..4c304f145 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go @@ -24,6 +24,6 @@ package server // This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions. -type SubscriptionLinkList struct { - Links *SubscriptionLinkListLinks `json:"_links"` +type MecAppSuptApiSubscriptionLinkList struct { + Links *MecAppSuptApiSubscriptionLinkListLinks `json:"_links"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go similarity index 91% rename from go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links.go rename to go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go index afef2e661..447626a23 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go @@ -24,8 +24,8 @@ package server // Self-referring URI. -type SubscriptionLinkListLinks struct { +type MecAppSuptApiSubscriptionLinkListLinks struct { Self *LinkType `json:"self"` // The MEC application instance's subscriptions - Subscriptions []SubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"` + Subscriptions []MecAppSuptApiSubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links_subscriptions.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go similarity index 96% rename from go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links_subscriptions.go rename to go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go index 889ccb0fd..ff5b359e7 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_subscription_link_list__links_subscriptions.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go @@ -24,7 +24,7 @@ package server // A link to a subscription. -type SubscriptionLinkListLinksSubscriptions struct { +type MecAppSuptApiSubscriptionLinkListLinksSubscriptions struct { // URI referring to a resource Href string `json:"href"` // Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different Mp1 event subscription data type. diff --git a/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go b/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go new file mode 100644 index 000000000..cfea504fb --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TimeSourceStatus : Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source +type TimeSourceStatus string +// List of TimeSourceStatus +const ( + TRACEABLE TimeSourceStatus = "TRACEABLE" + NONTRACEABLE TimeSourceStatus = "NONTRACEABLE" +) diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go index f79bbdd49..d4a43883e 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go @@ -26,7 +26,7 @@ package server // NTP server detail. type TimingCapsNtpServers struct { // Address type of NTP server - NtpServerAddrType string `json:"ntpServerAddrType"` + NtpServerAddrType *TimingCapsNtpServersNtpServerAddrType `json:"ntpServerAddrType"` // NTP server address NtpServerAddr string `json:"ntpServerAddr"` // Minimum poll interval for NTP messages, in seconds as a power of two. Range 3...17 @@ -36,7 +36,7 @@ type TimingCapsNtpServers struct { // NTP server local priority LocalPriority int32 `json:"localPriority"` // NTP authentication option - AuthenticationOption string `json:"authenticationOption"` + AuthenticationOption *TimingCapsNtpServersAuthenticationOption `json:"authenticationOption"` // Authentication key number AuthenticationKeyNum int32 `json:"authenticationKeyNum"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go new file mode 100644 index 000000000..e87a06236 --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TimingCapsNtpServersAuthenticationOption : NTP authentication option +type TimingCaps.NtpServers.AuthenticationOption string + +// List of TimingCaps.NtpServers.AuthenticationOption +const ( + NONE TimingCapsNtpServersAuthenticationOption = "NONE" + SYMMETRIC_KEY TimingCapsNtpServersAuthenticationOption = "SYMMETRIC_KEY" + AUTO_KEY TimingCapsNtpServersAuthenticationOption = "AUTO_KEY" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go new file mode 100644 index 000000000..46642566f --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TimingCapsNtpServersNtpServerAddrType : Address type of NTP server +type TimingCaps.NtpServers.NtpServerAddrType string + +// List of TimingCaps.NtpServers.NtpServerAddrType +const ( + IP_ADDRESS TimingCapsNtpServersNtpServerAddrType = "IP_ADDRESS" + DNS_NAME TimingCapsNtpServersNtpServerAddrType = "DNS_NAME" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go index 57d3460cc..3e43b8e0c 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go @@ -28,15 +28,15 @@ type TrafficRule struct { // Identify the traffic rule. TrafficRuleId string `json:"trafficRuleId"` // Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context - FilterType string `json:"filterType"` + FilterType *TrafficRuleFilterType `json:"filterType"` // Priority of this traffic rule. If traffic rule conflicts, the one with higher priority take precedence Priority int32 `json:"priority"` TrafficFilter []TrafficFilter `json:"trafficFilter"` // The action of the MEC host data plane when a packet matches the trafficFilter - Action string `json:"action"` + Action *TrafficRuleAction `json:"action"` DstInterface *DestinationInterface `json:"dstInterface,omitempty"` // Contains the traffic rule state. This attribute may be updated using HTTP PUT method - State string `json:"state"` + State *TrafficRuleState `json:"state"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go new file mode 100644 index 000000000..474fd6b01 --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TrafficRuleAction : The action of the MEC host data plane when a packet matches the trafficFilter +type TrafficRule.Action string + +// List of TrafficRule.Action +const ( + DROP TrafficRuleAction = "DROP" + FORWARD_DECAPSULATED TrafficRuleAction = "FORWARD_DECAPSULATED" + FORWARD_ENCAPSULATED TrafficRuleAction = "FORWARD_ENCAPSULATED" + PASSTHROUGH TrafficRuleAction = "PASSTHROUGH" + DUPLICATE_DECAPSULATED TrafficRuleAction = "DUPLICATE_DECAPSULATED" + DUPLICATE_ENCAPSULATED TrafficRuleAction = "DUPLICATE_ENCAPSULATED" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go new file mode 100644 index 000000000..b59e4ae20 --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TrafficRuleFilterType : Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context +type TrafficRule.FilterType string + +// List of TrafficRule.FilterType +const ( + FLOW TrafficRuleFilterType = "FLOW" + PACKET TrafficRuleFilterType = "PACKET" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go new file mode 100644 index 000000000..21c517dee --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TrafficRuleState : Contains the traffic rule state. This attribute may be updated using HTTP PUT method +type TrafficRule.State string + +// List of TrafficRule.State +const ( + ACTIVE TrafficRuleState = "ACTIVE" + INACTIVE TrafficRuleState = "INACTIVE" +) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go index bf7c8b94a..d9e99d660 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go +++ b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go @@ -26,7 +26,7 @@ package server // This type represents the tunnel information. type TunnelInfo struct { // This type represents the tunnel information. - TunnelType string `json:"tunnelType"` + TunnelType *TunnelInfoTunnelType `json:"tunnelType"` // Destination address of the tunnel TunnelDstAddress string `json:"tunnelDstAddress,omitempty"` // Source address of the tunnel diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go new file mode 100644 index 000000000..a9342b5e1 --- /dev/null +++ b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Application Support API + * + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + package server + // TunnelInfoTunnelType : This type represents the tunnel information. +type TunnelInfo.TunnelType string + +// List of TunnelInfo.TunnelType +const ( + GTP_U TunnelInfoTunnelType = "GTP_U" + GRE TunnelInfoTunnelType = "GRE" +) \ No newline at end of file -- GitLab From dd0af146fdd2b51aa3d544502adedeb4b5b11d69 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 9 Jun 2022 15:48:56 +0500 Subject: [PATCH 146/183] update ProblemDetails and docs for MEC011 app-support --- docs/api-app-support/.openapi-generator/FILES | 18 ++++- docs/api-app-support/Apis/MecAppSupportApi.md | 24 +++--- docs/api-app-support/Apis/UnsupportedApi.md | 12 +-- docs/api-app-support/README.md | 18 ++++- .../api/app-support/swagger.yaml | 3 + .../server/app-support/app-support.go | 75 +++++++++++-------- .../server/app-support/convert.go | 9 +++ .../app-support/model_problem_details.go | 4 +- 8 files changed, 103 insertions(+), 60 deletions(-) diff --git a/docs/api-app-support/.openapi-generator/FILES b/docs/api-app-support/.openapi-generator/FILES index bad542326..bd7294d0c 100644 --- a/docs/api-app-support/.openapi-generator/FILES +++ b/docs/api-app-support/.openapi-generator/FILES @@ -6,21 +6,31 @@ Models/AppTerminationConfirmation.md Models/AppTerminationNotification.md Models/AppTerminationNotificationLinks.md Models/AppTerminationNotificationSubscription.md -Models/AppTerminationNotificationSubscriptionLinks.md Models/CurrentTime.md Models/DestinationInterface.md +Models/DestinationInterfaceInterfaceType.md Models/DnsRule.md +Models/DnsRuleIpAddressType.md +Models/DnsRuleState.md Models/LinkType.md +Models/MecAppSuptApiSubscriptionLinkList.md +Models/MecAppSuptApiSubscriptionLinkListLinks.md +Models/MecAppSuptApiSubscriptionLinkListSubscription.md Models/OperationActionType.md Models/ProblemDetails.md -Models/SubscriptionLinkList.md -Models/SubscriptionLinkListLinks.md -Models/SubscriptionLinkListLinksSubscriptions.md +Models/Self.md +Models/TimeSourceStatus.md Models/TimingCaps.md Models/TimingCapsNtpServers.md +Models/TimingCapsNtpServersAuthenticationOption.md +Models/TimingCapsNtpServersNtpServerAddrType.md Models/TimingCapsPtpMasters.md Models/TimingCapsTimeStamp.md Models/TrafficFilter.md Models/TrafficRule.md +Models/TrafficRuleAction.md +Models/TrafficRuleFilterType.md +Models/TrafficRuleState.md Models/TunnelInfo.md +Models/TunnelInfoTunnelType.md README.md diff --git a/docs/api-app-support/Apis/MecAppSupportApi.md b/docs/api-app-support/Apis/MecAppSupportApi.md index 06d8d0093..0fb926b8a 100644 --- a/docs/api-app-support/Apis/MecAppSupportApi.md +++ b/docs/api-app-support/Apis/MecAppSupportApi.md @@ -27,7 +27,7 @@ Method | HTTP request | Description Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appInstanceId** | **String**| Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager. | [default to null] - **AppReadyConfirmation** | [**AppReadyConfirmation**](../Models/AppReadyConfirmation.md)| | + **AppReadyConfirmation** | [**AppReadyConfirmation**](../Models/AppReadyConfirmation.md)| | [optional] ### Return type @@ -40,7 +40,7 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json -- **Accept**: application/problem+json +- **Accept**: application/problem+json, text/plain # **applicationsConfirmTerminationPOST** @@ -55,7 +55,7 @@ No authorization required Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **appInstanceId** | **String**| Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager. | [default to null] - **AppTerminationConfirmation** | [**AppTerminationConfirmation**](../Models/AppTerminationConfirmation.md)| | + **AppTerminationConfirmation** | [**AppTerminationConfirmation**](../Models/AppTerminationConfirmation.md)| | [optional] ### Return type @@ -68,7 +68,7 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json -- **Accept**: application/problem+json +- **Accept**: application/problem+json, text/plain # **applicationsSubscriptionDELETE** @@ -96,7 +96,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/problem+json +- **Accept**: application/problem+json, text/plain, # **applicationsSubscriptionGET** @@ -124,11 +124,11 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsSubscriptionsGET** -> SubscriptionLinkList applicationsSubscriptionsGET(appInstanceId) +> MecAppSuptApiSubscriptionLinkList applicationsSubscriptionsGET(appInstanceId) @@ -142,7 +142,7 @@ Name | Type | Description | Notes ### Return type -[**SubscriptionLinkList**](../Models/SubscriptionLinkList.md) +[**MecAppSuptApiSubscriptionLinkList**](../Models/MecAppSuptApiSubscriptionLinkList.md) ### Authorization @@ -151,7 +151,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsSubscriptionsPOST** @@ -179,7 +179,7 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **timingCapsGET** @@ -203,7 +203,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **timingCurrentTimeGET** @@ -227,5 +227,5 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain diff --git a/docs/api-app-support/Apis/UnsupportedApi.md b/docs/api-app-support/Apis/UnsupportedApi.md index ea134e2c7..3e59d26dc 100644 --- a/docs/api-app-support/Apis/UnsupportedApi.md +++ b/docs/api-app-support/Apis/UnsupportedApi.md @@ -38,7 +38,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsDnsRulePUT** @@ -67,7 +67,7 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsDnsRulesGET** @@ -94,7 +94,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsTrafficRuleGET** @@ -122,7 +122,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsTrafficRulePUT** @@ -151,7 +151,7 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain # **applicationsTrafficRulesGET** @@ -178,5 +178,5 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: application/json, application/problem+json +- **Accept**: application/json, application/problem+json, text/plain diff --git a/docs/api-app-support/README.md b/docs/api-app-support/README.md index da5d891e5..2d90574b3 100644 --- a/docs/api-app-support/README.md +++ b/docs/api-app-support/README.md @@ -31,23 +31,33 @@ Class | Method | HTTP request | Description - [AppTerminationNotification](./Models/AppTerminationNotification.md) - [AppTerminationNotificationLinks](./Models/AppTerminationNotificationLinks.md) - [AppTerminationNotificationSubscription](./Models/AppTerminationNotificationSubscription.md) - - [AppTerminationNotificationSubscriptionLinks](./Models/AppTerminationNotificationSubscriptionLinks.md) - [CurrentTime](./Models/CurrentTime.md) - [DestinationInterface](./Models/DestinationInterface.md) + - [DestinationInterfaceInterfaceType](./Models/DestinationInterfaceInterfaceType.md) - [DnsRule](./Models/DnsRule.md) + - [DnsRuleIpAddressType](./Models/DnsRuleIpAddressType.md) + - [DnsRuleState](./Models/DnsRuleState.md) - [LinkType](./Models/LinkType.md) + - [MecAppSuptApiSubscriptionLinkList](./Models/MecAppSuptApiSubscriptionLinkList.md) + - [MecAppSuptApiSubscriptionLinkListLinks](./Models/MecAppSuptApiSubscriptionLinkListLinks.md) + - [MecAppSuptApiSubscriptionLinkListSubscription](./Models/MecAppSuptApiSubscriptionLinkListSubscription.md) - [OperationActionType](./Models/OperationActionType.md) - [ProblemDetails](./Models/ProblemDetails.md) - - [SubscriptionLinkList](./Models/SubscriptionLinkList.md) - - [SubscriptionLinkListLinks](./Models/SubscriptionLinkListLinks.md) - - [SubscriptionLinkListLinksSubscriptions](./Models/SubscriptionLinkListLinksSubscriptions.md) + - [Self](./Models/Self.md) + - [TimeSourceStatus](./Models/TimeSourceStatus.md) - [TimingCaps](./Models/TimingCaps.md) - [TimingCapsNtpServers](./Models/TimingCapsNtpServers.md) + - [TimingCapsNtpServersAuthenticationOption](./Models/TimingCapsNtpServersAuthenticationOption.md) + - [TimingCapsNtpServersNtpServerAddrType](./Models/TimingCapsNtpServersNtpServerAddrType.md) - [TimingCapsPtpMasters](./Models/TimingCapsPtpMasters.md) - [TimingCapsTimeStamp](./Models/TimingCapsTimeStamp.md) - [TrafficFilter](./Models/TrafficFilter.md) - [TrafficRule](./Models/TrafficRule.md) + - [TrafficRuleAction](./Models/TrafficRuleAction.md) + - [TrafficRuleFilterType](./Models/TrafficRuleFilterType.md) + - [TrafficRuleState](./Models/TrafficRuleState.md) - [TunnelInfo](./Models/TunnelInfo.md) + - [TunnelInfoTunnelType](./Models/TunnelInfoTunnelType.md) diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index 7aae45448..ab4aec485 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -1402,6 +1402,9 @@ components: - TERMINATING ProblemDetails: title: ProblemDetails + required: + - status + - detail type: object properties: type: diff --git a/go-apps/meep-app-enablement/server/app-support/app-support.go b/go-apps/meep-app-enablement/server/app-support/app-support.go index 762c40e4d..28164ace3 100644 --- a/go-apps/meep-app-enablement/server/app-support/app-support.go +++ b/go-apps/meep-app-enablement/server/app-support/app-support.go @@ -215,7 +215,7 @@ func applicationsConfirmReadyPOST(w http.ResponseWriter, r *http.Request) { // Make sure App instance exists appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -225,21 +225,21 @@ func applicationsConfirmReadyPOST(w http.ResponseWriter, r *http.Request) { err = decoder.Decode(&confirmation) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate App Ready params if confirmation.Indication == "" { log.Error("Mandatory Indication not present") - http.Error(w, "Mandatory Indication not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Indication not present", http.StatusBadRequest) return } switch confirmation.Indication { case "READY": default: log.Error("Mandatory OperationAction value not valid") - http.Error(w, "Mandatory OperationAction value not valid", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory OperationAction value not valid", http.StatusBadRequest) return } @@ -250,7 +250,7 @@ func applicationsConfirmReadyPOST(w http.ResponseWriter, r *http.Request) { err = setAppInfo(appInfo) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -270,7 +270,7 @@ func applicationsConfirmTerminationPOST(w http.ResponseWriter, r *http.Request) // Get App instance appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -282,7 +282,7 @@ func applicationsConfirmTerminationPOST(w http.ResponseWriter, r *http.Request) w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -291,7 +291,7 @@ func applicationsConfirmTerminationPOST(w http.ResponseWriter, r *http.Request) gracefulTerminateChannel, found := gracefulTerminateMap[appId] if !found { log.Error("Unexpected App Confirmation Termination Notification") - http.Error(w, "Unexpected App Confirmation Termination Notification", http.StatusBadRequest) + errHandlerProblemDetails(w, "Unexpected App Confirmation Termination Notification", http.StatusBadRequest) return } @@ -301,21 +301,21 @@ func applicationsConfirmTerminationPOST(w http.ResponseWriter, r *http.Request) err = decoder.Decode(&confirmation) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate Termination Confirmation params if confirmation.OperationAction == nil { log.Error("Mandatory OperationAction not present") - http.Error(w, "Mandatory OperationAction not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory OperationAction not present", http.StatusBadRequest) return } switch *confirmation.OperationAction { case STOPPING, TERMINATING: default: log.Error("Mandatory OperationAction value not valid") - http.Error(w, "Mandatory OperationAction value not valid", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory OperationAction value not valid", http.StatusBadRequest) return } @@ -337,7 +337,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -349,7 +349,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -360,29 +360,29 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { err = decoder.Decode(&appTermNotifSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Verify mandatory properties if appTermNotifSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if appTermNotifSub.SubscriptionType != APP_TERMINATION_NOTIF_SUB_TYPE { log.Error("SubscriptionType shall be AppTerminationNotificationSubscription") - http.Error(w, "SubscriptionType shall be AppTerminationNotificationSubscription", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionType shall be AppTerminationNotificationSubscription", http.StatusBadRequest) return } if appTermNotifSub.AppInstanceId == "" { log.Error("Mandatory AppInstanceId parameter not present") - http.Error(w, "Mandatory AppInstanceId parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory AppInstanceId parameter not present", http.StatusBadRequest) return } if appTermNotifSub.AppInstanceId != appId { log.Error("AppInstanceId in endpoint and in body not matching") - http.Error(w, "AppInstanceId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "AppInstanceId in endpoint and in body not matching", http.StatusBadRequest) return } @@ -402,7 +402,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { _, err = subMgr.CreateSubscription(subCfg, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -424,7 +424,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -436,7 +436,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -445,7 +445,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -453,7 +453,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { if sub.Cfg.AppId != appId || sub.Cfg.Type != APP_TERMINATION_NOTIF_SUB_TYPE { err = errors.New("Subscription not found") log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -474,7 +474,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -486,7 +486,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -495,7 +495,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -503,7 +503,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { if sub.Cfg.AppId != appId || sub.Cfg.Type != APP_TERMINATION_NOTIF_SUB_TYPE { err = errors.New("Subscription not found") log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -511,7 +511,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { err = subMgr.DeleteSubscription(sub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -530,7 +530,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -542,7 +542,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -594,7 +594,7 @@ func timingCapsGET(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(timingCaps) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -616,7 +616,7 @@ func timingCurrentTimeGET(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(currentTime) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1011,3 +1011,14 @@ func sendAppRemoveCnf(id string) { return } } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/convert.go b/go-apps/meep-app-enablement/server/app-support/convert.go index ec0f536c9..ca9683226 100644 --- a/go-apps/meep-app-enablement/server/app-support/convert.go +++ b/go-apps/meep-app-enablement/server/app-support/convert.go @@ -57,3 +57,12 @@ func convertMecAppSuptApiSubscriptionLinkListToJson(obj *MecAppSuptApiSubscripti } return string(jsonInfo) } + +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_problem_details.go b/go-apps/meep-app-enablement/server/app-support/model_problem_details.go index ec66035d0..1cb24a9e2 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_problem_details.go +++ b/go-apps/meep-app-enablement/server/app-support/model_problem_details.go @@ -29,9 +29,9 @@ type ProblemDetails struct { // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` } -- GitLab From 56e18cce9f970e3f1efe02aea9043abd586787ce Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Thu, 9 Jun 2022 17:02:15 +0500 Subject: [PATCH 147/183] update MEC011 app-support with minor changes --- docs/api-app-support/Models/DnsRuleIpAddressType.md | 7 +++++++ docs/api-app-support/Models/DnsRuleState.md | 7 +++++++ .../Models/MecAppSuptApiSubscriptionLinkList.md | 9 +++++++++ .../Models/MecAppSuptApiSubscriptionLinkListLinks.md | 10 ++++++++++ .../MecAppSuptApiSubscriptionLinkListSubscription.md | 10 ++++++++++ .../Models/{SubscriptionLinkListLinks.md => Self.md} | 4 +--- .../Models/SubscriptionLinkListLinksSubscriptions.md | 10 ---------- docs/api-app-support/Models/TimeSourceStatus.md | 7 +++++++ .../Models/TimingCapsNtpServersAuthenticationOption.md | 7 +++++++ ...ist.md => TimingCapsNtpServersNtpServerAddrType.md} | 3 +-- docs/api-app-support/Models/TrafficRuleAction.md | 8 ++++++++ docs/api-app-support/Models/TrafficRuleFilterType.md | 8 ++++++++ docs/api-app-support/Models/TrafficRuleState.md | 8 ++++++++ docs/api-app-support/Models/TunnelInfoTunnelType.md | 8 ++++++++ .../meep-app-enablement/api/app-support/swagger.yaml | 6 +++--- 15 files changed, 94 insertions(+), 18 deletions(-) create mode 100644 docs/api-app-support/Models/DnsRuleIpAddressType.md create mode 100644 docs/api-app-support/Models/DnsRuleState.md create mode 100644 docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkList.md create mode 100644 docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListLinks.md create mode 100644 docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListSubscription.md rename docs/api-app-support/Models/{SubscriptionLinkListLinks.md => Self.md} (64%) delete mode 100644 docs/api-app-support/Models/SubscriptionLinkListLinksSubscriptions.md create mode 100644 docs/api-app-support/Models/TimeSourceStatus.md create mode 100644 docs/api-app-support/Models/TimingCapsNtpServersAuthenticationOption.md rename docs/api-app-support/Models/{SubscriptionLinkList.md => TimingCapsNtpServersNtpServerAddrType.md} (68%) create mode 100644 docs/api-app-support/Models/TrafficRuleAction.md create mode 100644 docs/api-app-support/Models/TrafficRuleFilterType.md create mode 100644 docs/api-app-support/Models/TrafficRuleState.md create mode 100644 docs/api-app-support/Models/TunnelInfoTunnelType.md diff --git a/docs/api-app-support/Models/DnsRuleIpAddressType.md b/docs/api-app-support/Models/DnsRuleIpAddressType.md new file mode 100644 index 000000000..dbe1e9144 --- /dev/null +++ b/docs/api-app-support/Models/DnsRuleIpAddressType.md @@ -0,0 +1,7 @@ +# DnsRuleIpAddressType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) \ No newline at end of file diff --git a/docs/api-app-support/Models/DnsRuleState.md b/docs/api-app-support/Models/DnsRuleState.md new file mode 100644 index 000000000..e94c35867 --- /dev/null +++ b/docs/api-app-support/Models/DnsRuleState.md @@ -0,0 +1,7 @@ +# DnsRuleState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkList.md b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkList.md new file mode 100644 index 000000000..65d31b450 --- /dev/null +++ b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkList.md @@ -0,0 +1,9 @@ +# MecAppSuptApiSubscriptionLinkList +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**\_links** | [**MecAppSuptApiSubscriptionLinkList.Links**](MecAppSuptApiSubscriptionLinkList.Links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListLinks.md b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListLinks.md new file mode 100644 index 000000000..71e2022ca --- /dev/null +++ b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListLinks.md @@ -0,0 +1,10 @@ +# MecAppSuptApiSubscriptionLinkListLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**LinkType**](LinkType.md) | | [default to null] +**subscriptions** | [**List**](MecAppSuptApiSubscriptionLinkList.Subscription.md) | The MEC application instance's subscriptions | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListSubscription.md b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListSubscription.md new file mode 100644 index 000000000..f6cd4a0d7 --- /dev/null +++ b/docs/api-app-support/Models/MecAppSuptApiSubscriptionLinkListSubscription.md @@ -0,0 +1,10 @@ +# MecAppSuptApiSubscriptionLinkListSubscription +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**href** | [**String**](string.md) | URI referring to a resource | [default to null] +**rel** | [**String**](string.md) | The values shall be set to AppTerminationNotificationSubscription. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/SubscriptionLinkListLinks.md b/docs/api-app-support/Models/Self.md similarity index 64% rename from docs/api-app-support/Models/SubscriptionLinkListLinks.md rename to docs/api-app-support/Models/Self.md index 53161575a..727da1330 100644 --- a/docs/api-app-support/Models/SubscriptionLinkListLinks.md +++ b/docs/api-app-support/Models/Self.md @@ -1,10 +1,8 @@ -# SubscriptionLinkListLinks +# Self ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **self** | [**LinkType**](LinkType.md) | | [default to null] -**subscriptions** | [**List**](SubscriptionLinkList__links_subscriptions.md) | The MEC application instance's subscriptions | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/api-app-support/Models/SubscriptionLinkListLinksSubscriptions.md b/docs/api-app-support/Models/SubscriptionLinkListLinksSubscriptions.md deleted file mode 100644 index f59a68ef2..000000000 --- a/docs/api-app-support/Models/SubscriptionLinkListLinksSubscriptions.md +++ /dev/null @@ -1,10 +0,0 @@ -# SubscriptionLinkListLinksSubscriptions -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**href** | [**URI**](URI.md) | URI referring to a resource | [default to null] -**subscriptionType** | [**String**](string.md) | Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different Mp1 event subscription data type. | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/api-app-support/Models/TimeSourceStatus.md b/docs/api-app-support/Models/TimeSourceStatus.md new file mode 100644 index 000000000..4c544188e --- /dev/null +++ b/docs/api-app-support/Models/TimeSourceStatus.md @@ -0,0 +1,7 @@ +# TimeSourceStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-app-support/Models/TimingCapsNtpServersAuthenticationOption.md b/docs/api-app-support/Models/TimingCapsNtpServersAuthenticationOption.md new file mode 100644 index 000000000..c63df78fe --- /dev/null +++ b/docs/api-app-support/Models/TimingCapsNtpServersAuthenticationOption.md @@ -0,0 +1,7 @@ +# TimingCapsNtpServersAuthenticationOption +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-app-support/Models/SubscriptionLinkList.md b/docs/api-app-support/Models/TimingCapsNtpServersNtpServerAddrType.md similarity index 68% rename from docs/api-app-support/Models/SubscriptionLinkList.md rename to docs/api-app-support/Models/TimingCapsNtpServersNtpServerAddrType.md index 919e6c609..4cb46023e 100644 --- a/docs/api-app-support/Models/SubscriptionLinkList.md +++ b/docs/api-app-support/Models/TimingCapsNtpServersNtpServerAddrType.md @@ -1,9 +1,8 @@ -# SubscriptionLinkList +# TimingCapsNtpServersNtpServerAddrType ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**\_links** | [**SubscriptionLinkList__links**](SubscriptionLinkList__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-app-support/Models/TrafficRuleAction.md b/docs/api-app-support/Models/TrafficRuleAction.md new file mode 100644 index 000000000..afd6a0023 --- /dev/null +++ b/docs/api-app-support/Models/TrafficRuleAction.md @@ -0,0 +1,8 @@ +# TrafficRuleAction +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/TrafficRuleFilterType.md b/docs/api-app-support/Models/TrafficRuleFilterType.md new file mode 100644 index 000000000..cc4aca378 --- /dev/null +++ b/docs/api-app-support/Models/TrafficRuleFilterType.md @@ -0,0 +1,8 @@ +# TrafficRuleFilterType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/TrafficRuleState.md b/docs/api-app-support/Models/TrafficRuleState.md new file mode 100644 index 000000000..04b3943de --- /dev/null +++ b/docs/api-app-support/Models/TrafficRuleState.md @@ -0,0 +1,8 @@ +# TrafficRuleState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-app-support/Models/TunnelInfoTunnelType.md b/docs/api-app-support/Models/TunnelInfoTunnelType.md new file mode 100644 index 000000000..0385bf013 --- /dev/null +++ b/docs/api-app-support/Models/TunnelInfoTunnelType.md @@ -0,0 +1,8 @@ +# TunnelInfoTunnelType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index ab4aec485..db6b2cc4a 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -1357,19 +1357,19 @@ components: title: MecAppSuptApiSubscriptionLinkList.Subscription required: - href - - rel + - subscriptionType type: object properties: href: type: string description: URI referring to a resource example: '["/mecAppSuptApi/example"]' - rel: + subscriptionType: type: string description: The values shall be set to AppTerminationNotificationSubscription. description: A link to a subscription. example: - rel: rel + subscriptionType: subscriptionType href: '["/mecAppSuptApi/example"]' MecAppSuptApiSubscriptionLinkList: title: MecAppSuptApiSubscriptionLinkList -- GitLab From 1355b23e944c0e5bf37b680bd6688acf37047812 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 9 Jun 2022 17:05:06 +0500 Subject: [PATCH 148/183] remove redundant data types from rnis.go --- go-apps/meep-rnis/server/rnis_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis_test.go b/go-apps/meep-rnis/server/rnis_test.go index 6bb0c7b8a..e03b3b37e 100644 --- a/go-apps/meep-rnis/server/rnis_test.go +++ b/go-apps/meep-rnis/server/rnis_test.go @@ -2429,10 +2429,10 @@ func TestRabInfoGet(t *testing.T) { expectedCellId := "2345678" expectedEcgi := Ecgi{Plmn: &expectedPlmn, CellId: expectedCellId} expectedErabQosParameters := RabEstNotificationErabQosParameters{Qci: qci} - expectedErabInfo := []RabInfoErabInfo{RabInfoErabInfo{ErabId: 1, ErabQosParameters: &expectedErabQosParameters}} + expectedErabInfo := []RabInfoErabInfo{{ErabId: 1, ErabQosParameters: &expectedErabQosParameters}} movingUeAddr := "ue1" //based on the scenario change - expectedAssocId := []AssociateId{AssociateId{1, movingUeAddr}} - expectedUeInfo := []RabInfoUeInfo{RabInfoUeInfo{AssociateId: expectedAssocId, ErabInfo: expectedErabInfo}} + expectedAssocId := []AssociateId{{1, movingUeAddr}} + expectedUeInfo := []RabInfoUeInfo{{AssociateId: expectedAssocId, ErabInfo: expectedErabInfo}} expectedCellUserInfo := RabInfoCellUserInfo{Ecgi: &expectedEcgi, UeInfo: expectedUeInfo} j, err := json.Marshal(expectedCellUserInfo) -- GitLab From 47a3c1e078c888ad2272de45da66a90c93b81e26 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 9 Jun 2022 17:05:06 +0500 Subject: [PATCH 149/183] remove redundant data types from rnis_test.go --- go-apps/meep-rnis/server/rnis_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis_test.go b/go-apps/meep-rnis/server/rnis_test.go index 6bb0c7b8a..e03b3b37e 100644 --- a/go-apps/meep-rnis/server/rnis_test.go +++ b/go-apps/meep-rnis/server/rnis_test.go @@ -2429,10 +2429,10 @@ func TestRabInfoGet(t *testing.T) { expectedCellId := "2345678" expectedEcgi := Ecgi{Plmn: &expectedPlmn, CellId: expectedCellId} expectedErabQosParameters := RabEstNotificationErabQosParameters{Qci: qci} - expectedErabInfo := []RabInfoErabInfo{RabInfoErabInfo{ErabId: 1, ErabQosParameters: &expectedErabQosParameters}} + expectedErabInfo := []RabInfoErabInfo{{ErabId: 1, ErabQosParameters: &expectedErabQosParameters}} movingUeAddr := "ue1" //based on the scenario change - expectedAssocId := []AssociateId{AssociateId{1, movingUeAddr}} - expectedUeInfo := []RabInfoUeInfo{RabInfoUeInfo{AssociateId: expectedAssocId, ErabInfo: expectedErabInfo}} + expectedAssocId := []AssociateId{{1, movingUeAddr}} + expectedUeInfo := []RabInfoUeInfo{{AssociateId: expectedAssocId, ErabInfo: expectedErabInfo}} expectedCellUserInfo := RabInfoCellUserInfo{Ecgi: &expectedEcgi, UeInfo: expectedUeInfo} j, err := json.Marshal(expectedCellUserInfo) -- GitLab From 80041e3c81e4d8806b7cc255b9d1bbcffeb8ca57 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Thu, 9 Jun 2022 17:16:45 +0500 Subject: [PATCH 150/183] resolve minor warnings in rnis.go --- go-apps/meep-rnis/server/rnis.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 9d6339b5a..2462ac03c 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -1618,7 +1618,7 @@ func checkCcNotificationRegisteredSubscriptions(appId string, assocId *Associate if subscription.CallbackReference != "" { sendCcNotification(subscription.CallbackReference, notif) log.Info("Cell_change Notification" + "(" + subsIdStr + ")") - } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + } else if subscription.WebsockNotifConfig.RequestWebsocketUri { log.Error("WebSocket functionality is not implemented currently") return } @@ -1701,7 +1701,7 @@ func checkReNotificationRegisteredSubscriptions(appId string, assocId *Associate if subscription.CallbackReference != "" { sendReNotification(subscription.CallbackReference, notif) log.Info("Rab_establishment Notification" + "(" + subsIdStr + ")") - } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + } else if subscription.WebsockNotifConfig.RequestWebsocketUri { log.Error("WebSocket functionality is not implemented currently") return } @@ -1785,7 +1785,7 @@ func checkRrNotificationRegisteredSubscriptions(appId string, assocId *Associate if subscription.CallbackReference != "" { sendRrNotification(subscription.CallbackReference, notif) log.Info("Rab_release Notification" + "(" + subsIdStr + ")") - } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + } else if subscription.WebsockNotifConfig.RequestWebsocketUri { log.Error("WebSocket functionality is not implemented currently") return } @@ -1920,7 +1920,7 @@ func checkMrNotificationRegisteredSubscriptions(key string, jsonInfo string, ext log.Info("Sending RNIS notification ", subscription.CallbackReference) go sendMrNotification(subscription.CallbackReference, notif) log.Info("Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") - } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + } else if subscription.WebsockNotifConfig.RequestWebsocketUri { log.Error("WebSocket functionality is not implemented currently") err = errors.New("WebSocket functionality is not implemented currently") return err @@ -2083,7 +2083,7 @@ func checkNrMrNotificationRegisteredSubscriptions(key string, jsonInfo string, e log.Info("Sending RNIS notification ", subscription.CallbackReference) go sendNrMrNotification(subscription.CallbackReference, notif) log.Info("Nr_Meas_Rep_Ue Notification" + "(" + subsIdStr + ")") - } else if subscription.WebsockNotifConfig.RequestWebsocketUri != false { + } else if subscription.WebsockNotifConfig.RequestWebsocketUri { log.Error("WebSocket functionality is not implemented currently") err = errors.New("WebSocket functionality is not implemented currently") return err @@ -2298,7 +2298,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } @@ -2553,7 +2553,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusCreated) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } @@ -2727,7 +2727,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } else { w.WriteHeader(http.StatusNotFound) } @@ -3056,7 +3056,7 @@ func plmnInfoGet(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } else { w.WriteHeader(http.StatusNotFound) } @@ -3156,7 +3156,7 @@ func layer2MeasInfoGet(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } func populateL2MeasPOA(key string, jsonInfo string, l2MeasData interface{}) error { @@ -3548,7 +3548,7 @@ func rabInfoGet(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } @@ -3794,7 +3794,7 @@ func subscriptionLinkListSubscriptionsGet(w http.ResponseWriter, r *http.Request return } w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, string(jsonResponse)) + fmt.Fprint(w, string(jsonResponse)) } func cleanUp() { -- GitLab From 7bd3bf76877be54eba3997aacc137509a0d2220f Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 17:53:17 +0500 Subject: [PATCH 151/183] update service-mgmt OAS file as per Mec011 v2.2.1 --- .../api/service-mgmt/swagger.yaml | 59 ++++++++++++++++--- 1 file changed, 52 insertions(+), 7 deletions(-) diff --git a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml index 09e94a0aa..fb05d9502 100644 --- a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml +++ b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml @@ -3,9 +3,9 @@ servers: - url: 'https://localhost/sandboxname/mec_service_mgmt/v1' info: title: AdvantEDGE MEC Service Management API - version: 2.1.1 + version: 2.2.1 description: "MEC Service Management Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf) + [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network @@ -17,8 +17,8 @@ info: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com externalDocs: - description: 'ETSI GS MEC011 Application Enablement API, V2.1.1' - url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf' + description: 'ETSI GS MEC011 Application Enablement API, V2.2.1' + url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf' tags: - name: mec_service_mgmt paths: @@ -568,6 +568,7 @@ components: enum: - ACTIVE - INACTIVE + - SUSPENDED ServiceStates: description: >- States of the services about which to report events. If the event is @@ -656,6 +657,7 @@ components: - state - transportInfo - serializer + - _links properties: serInstanceId: $ref: '#/components/schemas/SerInstanceId' @@ -685,6 +687,21 @@ components: Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. type: boolean + livenessInterval: + type: integer + description: Interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3). + If the service-producing application supports sending "heartbeat" messages, it shall include this attribute in the registration request. In this case, the application shall either set the value of this attribute to zero or shall use this attribute to propose a non-zero positive value for the liveness interval. + If the application has provided this attribute in the request and the MEC platform requires "heartbeat" messages, the MEC platform shall return this attribute value in the HTTP responses. The MEC platform may use the value proposed in the request or may choose a different value. + If the MEC platform does not require "heartbeat" messages for this service instance it shall omit the attribute in responses. + _links: + type: object + required: + - self + properties: + self: + $ref: '#/components/schemas/LinkType' + liveness: + $ref: '#/components/schemas/LinkType' example: serInstanceId: 'rnisInstance1' serName: 'myRnis' @@ -707,6 +724,36 @@ components: - 'https://my.callback.com/sandboxname/rni/v2/' serializer: 'JSON' scopeOfLocality: 'MEC_SYSTEM' + ServiceLivenessInfo: + type: object + required: + - state + - timeStamp + - interval + properties: + state: + $ref: '#/components/schemas/ServiceState' + timeStamp: + type: object + description: The time when the last "heartbeat" message was received by MEC platform + required: + - seconds + - nanoSeconds + properties: + seconds: + type: integer + nanoSeconds: + type: integer + interval: + type: integer + description: The interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3) that MEC platform has determined. + ServiceLivenessUpdate: + type: object + required: + - state + properties: + state: + $ref: '#/components/schemas/ServiceState' Subscription: description: A link to the related subscription type: object @@ -1184,6 +1231,4 @@ components: uris: - 'https://my.callback.com/sandboxname/rni/v2/' serializer: 'JSON' - scopeOfLocality: 'MEC_SYSTEM' - - + scopeOfLocality: 'MEC_SYSTEM' \ No newline at end of file -- GitLab From f4735b7127018fa4f426cd4db651e745a3df1f45 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 17:55:41 +0500 Subject: [PATCH 152/183] update server side models in service-mgmt --- .../server/service-mgmt/model_service_info.go | 10 ++++-- .../service-mgmt/model_service_info_links.go | 30 +++++++++++++++++ .../model_service_liveness_info.go | 32 +++++++++++++++++++ .../model_service_liveness_info_time_stamp.go | 31 ++++++++++++++++++ .../model_service_liveness_update.go | 28 ++++++++++++++++ .../service-mgmt/model_service_state.go | 5 +-- 6 files changed, 131 insertions(+), 5 deletions(-) create mode 100644 go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go create mode 100644 go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go create mode 100644 go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go create mode 100644 go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go index 1b7b319d7..bcb367204 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go @@ -35,15 +35,19 @@ type ServiceInfo struct { State *ServiceState `json:"state"` - TransportInfo *TransportInfo `json:"transportInfo"` + TransportInfo *TransportInfo `json:"transportInfo,omitempty"` Serializer *SerializerType `json:"serializer"` ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. // manually removed the omitempty - ConsumedLocalOnly bool `json:"consumedLocalOnly"` + ConsumedLocalOnly bool `json:"consumedLocalOnly,omitempty"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. // manually removed the omitempty - IsLocal bool `json:"isLocal"` + IsLocal bool `json:"isLocal,omitempty"` + + LivenessInterval int32 `json:"livenessInterval,omitempty"` + + Links *ServiceInfoLinks `json:"_links"` } diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go new file mode 100644 index 000000000..102e325f8 --- /dev/null +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type ServiceInfoLinks struct { + Self *LinkType `json:"self"` + + Liveness *LinkType `json:"liveness,omitempty"` +} diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go new file mode 100644 index 000000000..075a2b2a5 --- /dev/null +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type ServiceLivenessInfo struct { + State *ServiceState `json:"state"` + + TimeStamp *ServiceLivenessInfoTimeStamp `json:"timeStamp"` + // The interval (in seconds) between two consecutive \"heartbeat\" messages (see clause 8.2.10.3.3) that MEC platform has determined. + Interval int32 `json:"interval"` +} diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go new file mode 100644 index 000000000..3dce0da49 --- /dev/null +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// The time when the last \"heartbeat\" message was received by MEC platform +type ServiceLivenessInfoTimeStamp struct { + Seconds int32 `json:"seconds"` + + NanoSeconds int32 `json:"nanoSeconds"` +} diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go new file mode 100644 index 000000000..385ed9904 --- /dev/null +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type ServiceLivenessUpdate struct { + State *ServiceState `json:"state"` +} diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go index 2618e5bd3..fca87afac 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go @@ -28,6 +28,7 @@ type ServiceState string // List of ServiceState const ( - ACTIVE ServiceState = "ACTIVE" - INACTIVE ServiceState = "INACTIVE" + ACTIVE ServiceState = "ACTIVE" + INACTIVE ServiceState = "INACTIVE" + SUSPENDED ServiceState = "SUSPENDED" ) -- GitLab From e75684ece2514182c7e2fbdb42a6c477d7d2a4d9 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 17:57:27 +0500 Subject: [PATCH 153/183] update client-side OAS file as per Mec011 v2.2.1 --- .../meep-service-mgmt-client/api/swagger.yaml | 2159 ++++++----------- 1 file changed, 780 insertions(+), 1379 deletions(-) diff --git a/go-packages/meep-service-mgmt-client/api/swagger.yaml b/go-packages/meep-service-mgmt-client/api/swagger.yaml index f973e5810..d24e663f7 100644 --- a/go-packages/meep-service-mgmt-client/api/swagger.yaml +++ b/go-packages/meep-service-mgmt-client/api/swagger.yaml @@ -2,7 +2,7 @@ openapi: 3.0.2 info: title: AdvantEDGE MEC Service Management API description: "MEC Service Management Service is AdvantEDGE's implementation of [ETSI\ - \ MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)\ + \ MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)\ \

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ \

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)\ \

**Type & Usage**
Edge Service used by edge applications that want to get\ @@ -14,1095 +14,603 @@ info: license: name: Apache 2.0 url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.1.1 + version: 2.2.1 externalDocs: description: "ETSI GS MEC011 Application Enablement API, V2.1.1" - url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf servers: - url: https://localhost/sandboxname/mec_service_mgmt/v1 tags: -- name: mec_service_mgmt + - name: mec_service_mgmt paths: - /services: + '/services': get: - tags: - - mec_service_mgmt - description: This method retrieves information about a list of mecService resources. + description: >- + This method retrieves information about a list of mecService resources. This method is typically used in "service availability query" procedure operationId: Services_GET + tags: + - mec_service_mgmt parameters: - - name: ser_instance_id - in: query - description: A MEC application instance may use multiple ser_instance_ids - as an input parameter to query the availability of a list of MEC service - instances. Either "ser_instance_id" or "ser_name" or "ser_category_id" or - none of them shall be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - - name: ser_name - in: query - description: A MEC application instance may use multiple ser_names as an input - parameter to query the availability of a list of MEC service instances. - Either "ser_instance_id" or "ser_name" or "ser_category_id" or none of them - shall be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - - name: ser_category_id - in: query - description: A MEC application instance may use ser_category_id as an input - parameter to query the availability of a list of MEC service instances in - a serCategory. Either "ser_instance_id" or "ser_name" or "ser_category_id" - or none of them shall be present. - required: false - style: form - explode: true - schema: - type: string - - name: consumed_local_only - in: query - description: Indicate whether the service can only be consumed by the MEC applications - located in the same locality (as defined by scopeOfLocality) as this service - instance. - required: false - style: form - explode: true - schema: - type: boolean - - name: is_local - in: query - description: Indicate whether the service is located in the same locality - (as defined by scopeOfLocality) as the consuming MEC application. - required: false - style: form - explode: true - schema: - type: boolean - - name: scope_of_locality - in: query - description: A MEC application instance may use scope_of_locality as an input parameter - to query the availability of a list of MEC service instances with a certain - scope of locality. - required: false - style: form - explode: true - schema: - type: string + - $ref: '#/components/parameters/Query.SerInstanceId' + - $ref: '#/components/parameters/Query.SerName' + - $ref: '#/components/parameters/Query.SerCategoryId' + - $ref: '#/components/parameters/Query.ConsumedLocalOnly' + - $ref: '#/components/parameters/Query.IsLocal' + - $ref: '#/components/parameters/Query.LocalityType' responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/ServiceInfo' - x-content-type: application/json - links: - getIndividualmecService: - $ref: '#/components/links/GetIndividualmecService' - putIndividualmecService: - $ref: '#/components/links/PutIndividualmecService' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "414": - description: It is used to indicate that the server is refusing to process - the request because the request URI is longer than the server is willing - or able to process. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /services/{serviceId}: + '200': + $ref: '#/components/responses/Services200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '414': + $ref: '#/components/responses/414' + '/services/{serviceId}': + parameters: + - $ref: '#/components/parameters/Path.ServiceId' get: - tags: - - mec_service_mgmt - description: This method retrieves information about a mecService resource. - This method is typically used in "service availability query" procedure + description: >- + This method retrieves information about a mecService resource. This + method is typically used in "service availability query" procedure operationId: ServicesServiceId_GET - parameters: - - name: serviceId - in: path - description: Represents a MEC service instance. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceInfo' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /applications/{appInstanceId}/services: + '200': + $ref: '#/components/responses/ServicesServiceId200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '/applications/{appInstanceId}/services': + parameters: + - $ref: '#/components/parameters/Path.AppInstanceId' get: - tags: - - mec_service_mgmt - description: This method retrieves information about a list of mecService resources. + description: >- + This method retrieves information about a list of mecService resources. This method is typically used in "service availability query" procedure operationId: AppServices_GET + tags: + - mec_service_mgmt parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: ser_instance_id - in: query - description: A MEC application instance may use multiple ser_instance_ids - as an input parameter to query the availability of a list of MEC service - instances. Either "ser_instance_id" or "ser_name" or "ser_category_id" or - none of them shall be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - - name: ser_name - in: query - description: A MEC application instance may use multiple ser_names as an input - parameter to query the availability of a list of MEC service instances. - Either "ser_instance_id" or "ser_name" or "ser_category_id" or none of them - shall be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - - name: ser_category_id - in: query - description: A MEC application instance may use ser_category_id as an input - parameter to query the availability of a list of MEC service instances in - a serCategory. Either "ser_instance_id" or "ser_name" or "ser_category_id" - or none of them shall be present. - required: false - style: form - explode: true - schema: - type: string - - name: consumed_local_only - in: query - description: Indicate whether the service can only be consumed by the MEC applications - located in the same locality (as defined by scopeOfLocality) as this service - instance. - required: false - style: form - explode: true - schema: - type: boolean - - name: is_local - in: query - description: Indicate whether the service is located in the same locality - (as defined by scopeOfLocality) as the consuming MEC application. - required: false - style: form - explode: true - schema: - type: boolean - - name: scope_of_locality - in: query - description: A MEC application instance may use scope_of_locality as an input parameter - to query the availability of a list of MEC service instances with a certain - scope of locality. - required: false - style: form - explode: true - schema: - type: string + - $ref: '#/components/parameters/Query.SerInstanceId' + - $ref: '#/components/parameters/Query.SerName' + - $ref: '#/components/parameters/Query.SerCategoryId' + - $ref: '#/components/parameters/Query.ConsumedLocalOnly' + - $ref: '#/components/parameters/Query.IsLocal' + - $ref: '#/components/parameters/Query.LocalityType' responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/ServiceInfo' - x-content-type: application/json - links: - getIndividualmecService: - $ref: '#/components/links/GetIndividualmecService' - putIndividualmecService: - $ref: '#/components/links/PutIndividualmecService' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "414": - description: It is used to indicate that the server is refusing to process - the request because the request URI is longer than the server is willing - or able to process. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '200': + $ref: '#/components/responses/Services200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '414': + $ref: '#/components/responses/414' post: - tags: - - mec_service_mgmt - description: This method is used to create a mecService resource. This method - is typically used in "service availability update and new service registration" - procedure + description: >- + This method is used to create a mecService resource. This method is + typically used in "service availability update and new service + registration" procedure operationId: AppServices_POST - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt + responses: + '201': + $ref: '#/components/responses/Services201' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' requestBody: $ref: '#/components/requestBodies/ServicesPost' - responses: - "201": - description: "Upon success, the HTTP response shall include a Location HTTP\ - \ header that contains the resource URI of the created resource." - headers: - location: - description: The resource URI of the created resource - style: simple - explode: false - schema: - type: string - format: uri - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceInfo' - links: - getIndividualmecService: - $ref: '#/components/links/GetIndividualmecService' - putIndividualmecService: - $ref: '#/components/links/PutIndividualmecService' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /applications/{appInstanceId}/services/{serviceId}: + '/applications/{appInstanceId}/services/{serviceId}': + parameters: + - $ref: '#/components/parameters/Path.AppInstanceId' + - $ref: '#/components/parameters/Path.ServiceId' get: - tags: - - mec_service_mgmt - description: This method retrieves information about a mecService resource. - This method is typically used in "service availability query" procedure + description: >- + This method retrieves information about a mecService resource. This + method is typically used in "service availability query" procedure operationId: AppServicesServiceId_GET - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: serviceId - in: path - description: Represents a MEC service instance. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceInfo' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '200': + $ref: '#/components/responses/ServicesServiceId200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' put: - tags: - - mec_service_mgmt description: This method updates the information about a mecService resource operationId: AppServicesServiceId_PUT - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: serviceId - in: path - description: Represents a MEC service instance. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt + responses: + '200': + $ref: '#/components/responses/ServicesServiceId200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '412': + $ref: '#/components/responses/412' requestBody: $ref: '#/components/requestBodies/ServicesServiceId' - responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/ServiceInfo' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition Failed. It is used when a condition has failed\ - \ during conditional requests, e.g. when using ETags to avoid write conflicts." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' delete: - tags: - - mec_service_mgmt - description: 'This method deletes a mecService resource. This method is typically - used in the service deregistration procedure. ' + description: >- + This method deletes a mecService resource. This method is typically used in the service deregistration procedure. operationId: AppServicesServiceId_DELETE - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: serviceId - in: path - description: Represents a MEC service instance. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "204": + '204': description: No Content - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /applications/{appInstanceId}/subscriptions: + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '/applications/{appInstanceId}/subscriptions': + parameters: + - $ref: '#/components/parameters/Path.AppInstanceId' get: - tags: - - mec_service_mgmt - description: "The GET method may be used to request information about all subscriptions\ - \ for this requestor. Upon success, the response contains entity body with\ - \ all the subscriptions for the requestor." + description: >- + The GET method may be used to request information about all + subscriptions for this requestor. Upon success, the response contains + entity body with all the subscriptions for the requestor. operationId: ApplicationsSubscriptions_GET - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "200": - description: "Upon success, a response body containing the list of links\ - \ to the requested subscriptions is returned." - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionLinkList' - links: - getIndividualmecSerMgmtApiSubscriptionLinkList: - $ref: '#/components/links/GetIndividualmecSerMgmtApiSubscriptionLinkList' - delIndividualmecSerMgmtApiSubscriptionLinkList: - $ref: '#/components/links/DelIndividualmecSerMgmtApiSubscriptionLinkList' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '200': + $ref: '#/components/responses/ApplicationsSubscriptions200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' post: - tags: - - mec_service_mgmt - description: "The POST method may be used to create a new subscription. One\ - \ example use case is to create a new subscription to the MEC service availability\ - \ notifications. Upon success, the response contains entity body describing\ - \ the created subscription." + description: >- + The POST method may be used to create a new subscription. One example + use case is to create a new subscription to the MEC service + availability notifications. Upon success, the response contains entity + body describing the created subscription. operationId: ApplicationsSubscriptions_POST - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt + responses: + '201': + $ref: '#/components/responses/ApplicationsSubscriptions201' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' requestBody: $ref: '#/components/requestBodies/ApplicationsSubscriptions' - responses: - "201": - description: Entity body in the request contains a subscription to the MEC - service availability notifications that is to be created. - headers: - location: - description: The resource URI of the created resource - style: simple - explode: false - schema: - type: string - format: uri - content: - application/json: - schema: - $ref: '#/components/schemas/SerAvailabilityNotificationSubscription' - links: - getIndividualmecSerMgmtApiSubscription: - $ref: '#/components/links/GetIndividualmecSerMgmtApiSubscription' - delIndividualmecSerMgmtApiSubscription: - $ref: '#/components/links/DelIndividualmecSerMgmtApiSubscription' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' callbacks: serviceAvailabilityNotification: $ref: '#/components/callbacks/ServiceAvailabilityNotification' - /applications/{appInstanceId}/subscriptions/{subscriptionId}: + '/applications/{appInstanceId}/subscriptions/{subscriptionId}': + parameters: + - $ref: '#/components/parameters/Path.AppInstanceId' + - $ref: '#/components/parameters/Path.SubscriptionId' get: - tags: - - mec_service_mgmt - description: "The GET method requests information about a subscription for this\ - \ requestor. Upon success, the response contains entity body with the subscription\ - \ for the requestor." + description: >- + The GET method requests information about a subscription for this + requestor. Upon success, the response contains entity body with the + subscription for the requestor. operationId: ApplicationsSubscription_GET - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "200": - description: "Upon success, a response body containing the requested subscription\ - \ is returned." - content: - application/json: - schema: - $ref: '#/components/schemas/SerAvailabilityNotificationSubscription' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '200': + $ref: '#/components/responses/ApplicationsSubscription200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' delete: - tags: - - mec_service_mgmt - description: This method deletes a mecSrvMgmtSubscription. This method is typically - used in "Unsubscribing from service availability event notifications" procedure. + description: >- + This method deletes a mecSrvMgmtSubscription. This method is typically used + in "Unsubscribing from service availability event notifications" + procedure. operationId: ApplicationsSubscription_DELETE - parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string + tags: + - mec_service_mgmt responses: - "204": + '204': description: No Content - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /transports: + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '/transports': get: - tags: - - mec_service_mgmt - description: This method retrieves information about a list of available transports. - This method is typically used by a service-producing application to discover - transports provided by the MEC platform in the "transport information query" - procedure + description: >- + This method retrieves information about a list of available transports. + This method is typically used by a service-producing application to + discover transports provided by the MEC platform in the + "transport information query" procedure operationId: Transports_GET + tags: + - mec_service_mgmt responses: - "200": - description: It is used to indicate nonspecific success. The response body - contains a representation of the resource. - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/TransportInfo' - x-content-type: application/json - links: - getTransportInfo: - $ref: '#/components/links/GetTransportInfo' - "400": - description: Bad Request. It is used to indicate that incorrect parameters - were passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' + '200': + $ref: '#/components/responses/Transports200' + '400': + $ref: '#/components/responses/400' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' components: schemas: CategoryRef: - required: - - href - - id - - name - - version + description: This type represents the category reference type: object + required: + - href + - id + - name + - version properties: href: - type: string description: Reference of the catalogue + type: string format: uri id: - type: string description: Unique identifier of the category + type: string name: + description: Name of the category, example values include RNI, Location & Bandwidth Management type: string - description: "Name of the category, example values include RNI, Location\ - \ & Bandwidth Management" version: - type: string description: Category version - description: This type represents the category reference - example: - name: name - href: http://example.com/aeiou - id: id - version: version + type: string CategoryRefs: - minItems: 0 - type: array description: Categories of services about which to report events. - items: + type: array + minItems: 0 + items: $ref: '#/components/schemas/CategoryRef' - x-schema-name: CategoryRefs EndPointInfoAddresses: - required: - - addresses + description: >- + Entry point information of the service as one or more pairs of IP + address and port type: object + required: + - addresses properties: addresses: - minItems: 0 type: array + minItems: 0 items: - $ref: '#/components/schemas/EndPointInfoAddresses_addresses' - description: Entry point information of the service as one or more pairs of - IP address and port + description: A IP address and port pair + type: object + required: + - host + - port + properties: + host: + description: Host portion of the address + type: string + port: + description: Port portion of the address + type: integer + format: uint32 EndPointInfoAlternative: - required: - - alternative + description: >- + Entry point information of the service in a format defined by an + implementation, or in an external specification. type: object - properties: + required: + - alternative + properties: alternative: type: object - description: "Entry point information of the service in a format defined by\ - \ an implementation, or in an external specification." EndPointInfoUris: - required: - - uris + description: >- + Entry point information of the service as string, formatted according to + URI syntax type: object + required: + - uris properties: uris: - minItems: 0 type: array + minItems: 0 items: - type: string description: Entry point information of the service + type: string format: uri - description: "Entry point information of the service as string, formatted according\ - \ to URI syntax" LinkType: + description: This type represents a type of link and may be referenced from data structures type: object properties: - href: - type: string + href: description: URI referring to a resource + type: string format: uri - example: /mecSerMgmtApi/example - description: This type represents a type of link and may be referenced from - data structures - example: - href: /mecSerMgmtApi/example + example: '/mecSerMgmtApi/example' SubscriptionLinkList: - required: - - _links + description: >- + This type represents a list of links related to currently existing + subscriptions for a MEC application instance. This information + is returned when sending a request to receive current subscriptions. type: object + required: + - _links properties: _links: - $ref: '#/components/schemas/SubscriptionLinkList__links' - description: This type represents a list of links related to currently existing - subscriptions for a MEC application instance. This information is returned - when sending a request to receive current subscriptions. - example: - _links: - subscriptions: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou - self: - href: /mecSerMgmtApi/example + description: Self-referring URI. + type: object + required: + - self + properties: + self: + $ref: '#/components/schemas/LinkType' + subscriptions: + description: The MEC application instance's subscriptions + type: array + items: + description: A link to a subscription. + type: object + required: + - href + - subscriptionType + properties: + href: + description: URI referring to a resource + type: string + format: uri + subscriptionType: + description: >- + Type of the subscription. The values are as defined in + the "subscriptionType" attribute for each different Mp1 + event subscription data type. + type: string ProblemDetails: type: object properties: type: type: string - description: A URI reference according to IETF RFC 3986 that identifies - the problem type format: uri + description: >- + A URI reference according to IETF RFC 3986 that identifies the problem + type title: type: string - description: "A short, human-readable summary of the problem type" + description: 'A short, human-readable summary of the problem type' status: type: integer - description: The HTTP status code for this occurrence of the problem format: uint32 + description: The HTTP status code for this occurrence of the problem detail: type: string - description: A human-readable explanation specific to this occurrence of - the problem + description: A human-readable explanation specific to this occurrence of the problem instance: type: string - description: A URI reference that identifies the specific occurrence of - the problem format: uri + description: A URI reference that identifies the specific occurrence of the problem GrantType: - type: string description: OAuth 2.0 grant type - example: OAUTH2_CLIENT_CREDENTIALS + type: string enum: - - OAUTH2_AUTHORIZATION_CODE - - OAUTH2_IMPLICIT_GRANT - - OAUTH2_RESOURCE_OWNER - - OAUTH2_CLIENT_CREDENTIALS + - OAUTH2_AUTHORIZATION_CODE + - OAUTH2_IMPLICIT_GRANT + - OAUTH2_RESOURCE_OWNER + - OAUTH2_CLIENT_CREDENTIALS + example: 'OAUTH2_CLIENT_CREDENTIALS' OAuth2Info: + description: Parameters related to use of OAuth 2.0 required: - - grantTypes - - tokenEndpoint + - grantTypes + - tokenEndpoint properties: grantTypes: - maxItems: 4 - minItems: 1 + description: >- + List of supported OAuth 2.0 grant types. type: array - description: List of supported OAuth 2.0 grant types. + minItems: 1 + maxItems: 4 items: $ref: '#/components/schemas/GrantType' tokenEndpoint: - type: string description: The token endpoint + type: string format: uri - description: Parameters related to use of OAuth 2.0 - example: - tokenEndpoint: http://example.com/aeiou - grantTypes: - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS SecurityInfo: + description: This type represents security information related to a transport type: object properties: oAuth2Info: $ref: '#/components/schemas/OAuth2Info' - description: This type represents security information related to a transport - example: - oAuth2Info: - tokenEndpoint: http://example.com/aeiou - grantTypes: - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS Self: - required: - - self + description: Self-referring URI. type: object + required: + - self properties: self: $ref: '#/components/schemas/LinkType' - description: Self-referring URI. readOnly: true - example: - self: - href: /mecSerMgmtApi/example SerAvailabilityNotificationSubscription: - required: - - callbackReference - - subscriptionType + description: >- + This type represents a subscription to the notifications from the + MEC platform regarding the availability of a MEC service or a + list of MEC services. type: object + required: + - subscriptionType + - callbackReference properties: subscriptionType: - type: string description: Shall be set to SerAvailabilityNotificationSubscription. + type: string callbackReference: + description: >- + URI selected by the MEC application instance to receive + notifications on the subscribed MEC service availability + information. This shall be included in both the request and the + response. type: string - description: URI selected by the MEC application instance to receive notifications - on the subscribed MEC service availability information. This shall be - included in both the request and the response. format: uri _links: $ref: '#/components/schemas/Self' filteringCriteria: - $ref: '#/components/schemas/SerAvailabilityNotificationSubscription_filteringCriteria' - description: This type represents a subscription to the notifications from the MEC - platform regarding the availability of a MEC service or a list of MEC services. - example: - filteringCriteria: - serNames: - - serNames - - serNames - serInstanceIds: - - serInstanceIds - - serInstanceIds - serCategories: - - name: name - href: http://example.com/aeiou - id: id - version: version - - name: name - href: http://example.com/aeiou - id: id - version: version - states: - - ACTIVE - - ACTIVE - isLocal: true - subscriptionType: subscriptionType - _links: - self: - href: /mecSerMgmtApi/example - callbackReference: http://example.com/aeiou + description: >- + Filtering criteria to match services for which events are requested to be reported. + If absent, matches all services. All child attributes are combined with the logical + "AND" operation. + type: object + not: + required: [serInstanceIds, serNames, serCategories] + properties: + serInstanceIds: + $ref: '#/components/schemas/SerInstanceIds' + serNames: + $ref: '#/components/schemas/SerNames' + serCategories: + $ref: '#/components/schemas/CategoryRefs' + states: + $ref: '#/components/schemas/ServiceStates' + isLocal: + description: >- + Indicate whether the service is located in the same locality (as defined + by scopeOfLocality) as the consuming MEC application. + type: boolean ServiceAvailabilityNotification: - required: - - _links - - notificationType - - serviceReferences + description: >- + This type represents the service availability information. type: object + required: + - notificationType + - serviceReferences + - _links properties: notificationType: - type: string description: Shall be set to SerAvailabilityNotification. + type: string serviceReferences: type: array - items: - $ref: '#/components/schemas/ServiceAvailabilityNotification_serviceReferences' + items: + description: List of links to services whose availability has changed. + type: object + required: + - serName + - serInstanceId + - state + - changeType + properties: + link: + $ref: '#/components/schemas/LinkType' + serName: + $ref: '#/components/schemas/SerName' + serInstanceId: + $ref: '#/components/schemas/SerInstanceId' + state: + $ref: '#/components/schemas/ServiceState' + changeType: + description: >- + Type of the change. Valid values: + ADDED: The service was newly added. + REMOVED: The service was removed. + STATE_CHANGED: Only the state of the service was changed. + ATTRIBUTES_CHANGED: At least one attribute of the service other than state was changed. The change may or may not include changing the state. + type: string + enum: + - ADDED + - REMOVED + - STATE_CHANGED + - ATTRIBUTES_CHANGED _links: $ref: '#/components/schemas/Subscription' - description: This type represents the service availability information. SerializerType: - type: string description: The enumeration represents types of serializers + type: string enum: - - JSON - - XML - - PROTOBUF3 + - JSON + - XML + - PROTOBUF3 LocalityType: + description: The scope of locality as expressed by "consumedLocalOnly" and "isLocal". If absent, defaults to MEC_HOST type: string - description: "The scope of locality as expressed by \"consumedLocalOnly\" and\ - \ \"isLocal\". If absent, defaults to MEC_HOST" enum: - - MEC_SYSTEM - - MEC_HOST - - NFVI_POP - - ZONE - - ZONE_GROUP - - NFVI_NODE + - MEC_SYSTEM + - MEC_HOST + - NFVI_POP + - ZONE + - ZONE_GROUP + - NFVI_NODE ServiceState: - type: string description: This enumeration defines the possible states of a service. + type: string enum: - - ACTIVE - - INACTIVE + - ACTIVE + - INACTIVE + - SUSPENDED ServiceStates: - minItems: 0 + description: >- + States of the services about which to report events. If the event is + a state change, this filter represents the state after the change. type: array - description: "States of the services about which to report events. If the event\ - \ is a state change, this filter represents the state after the change." + minItems: 0 items: $ref: '#/components/schemas/ServiceState' - x-schema-name: ServiceStates SerInstanceId: + description: >- + Identifier of the service instance assigned by the MEC platform. type: string - description: Identifier of the service instance assigned by the MEC platform. readOnly: true SerInstanceIds: - minItems: 0 - type: array description: Identifiers of service instances about which to report events. + type: array + minItems: 0 items: $ref: '#/components/schemas/SerInstanceId' - x-schema-name: SerInstanceIds SerName: - type: string - description: The name of the service. This is how the service producing MEC + description: >- + The name of the service. This is how the service producing MEC application identifies the service instance it produces. + type: string SerNames: - minItems: 0 - type: array description: Names of services about which to report events. + type: array + minItems: 0 items: $ref: '#/components/schemas/SerName' - x-schema-name: SerNames ServiceInfoPost: - required: - - serName - - serializer - - state - - version + description: This type represents the general information of a MEC service. type: object + required: + - serName + - version + - state + - serializer + oneOf: + - required: [transportId] + - required: [transportInfo] properties: serInstanceId: $ref: '#/components/schemas/SerInstanceId' @@ -1111,17 +619,18 @@ components: serCategory: $ref: '#/components/schemas/CategoryRef' version: - type: string description: Service version + type: string state: $ref: '#/components/schemas/ServiceState' transportId: + description: >- + Identifier of the platform-provided transport to be used by the service. + Valid identifiers may be obtained using the "Transport information + query" procedure. May be present in POST requests to signal the use of a + platform-provided transport for the service, and shall be absent + otherwise. type: string - description: "Identifier of the platform-provided transport to be used by\ - \ the service. Valid identifiers may be obtained using the \"Transport\ - \ information query\" procedure. May be present in POST requests to signal\ - \ the use of a platform-provided transport for the service, and shall\ - \ be absent otherwise." writeOnly: true transportInfo: $ref: '#/components/schemas/TransportInfo' @@ -1130,28 +639,26 @@ components: scopeOfLocality: $ref: '#/components/schemas/LocalityType' consumedLocalOnly: + description: >- + Indicate whether the service can only be consumed by the MEC applications + located in the same locality (as defined by scopeOfLocality) as this + service instance. type: boolean - description: Indicate whether the service can only be consumed by the MEC - applications located in the same locality (as defined by scopeOfLocality) - as this service instance. isLocal: + description: >- + Indicate whether the service is located in the same locality (as defined + by scopeOfLocality) as the consuming MEC application. type: boolean - description: Indicate whether the service is located in the same locality - (as defined by scopeOfLocality) as the consuming MEC application. - description: This type represents the general information of a MEC service. - oneOf: - - required: - - transportId - - required: - - transportInfo ServiceInfo: - required: - - serName - - serializer - - state - - transportInfo - - version + description: This type represents the general information of a MEC service. type: object + required: + - serName + - version + - state + - transportInfo + - serializer + - _links properties: serInstanceId: $ref: '#/components/schemas/SerInstanceId' @@ -1160,8 +667,8 @@ components: serCategory: $ref: '#/components/schemas/CategoryRef' version: - type: string description: Service version + type: string state: $ref: '#/components/schemas/ServiceState' transportInfo: @@ -1171,245 +678,240 @@ components: scopeOfLocality: $ref: '#/components/schemas/LocalityType' consumedLocalOnly: + description: >- + Indicate whether the service can only be consumed by the MEC applications + located in the same locality (as defined by scopeOfLocality) as this + service instance. type: boolean - description: Indicate whether the service can only be consumed by the MEC - applications located in the same locality (as defined by scopeOfLocality) - as this service instance. - isLocal: + isLocal: + description: >- + Indicate whether the service is located in the same locality (as defined + by scopeOfLocality) as the consuming MEC application. type: boolean - description: Indicate whether the service is located in the same locality - (as defined by scopeOfLocality) as the consuming MEC application. - description: This type represents the general information of a MEC service. + livenessInterval: + type: integer + description: Interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3). + If the service-producing application supports sending "heartbeat" messages, it shall include this attribute in the registration request. In this case, the application shall either set the value of this attribute to zero or shall use this attribute to propose a non-zero positive value for the liveness interval. + If the application has provided this attribute in the request and the MEC platform requires "heartbeat" messages, the MEC platform shall return this attribute value in the HTTP responses. The MEC platform may use the value proposed in the request or may choose a different value. + If the MEC platform does not require "heartbeat" messages for this service instance it shall omit the attribute in responses. + _links: + type: object + required: + - self + properties: + self: + $ref: '#/components/schemas/LinkType' + liveness: + $ref: '#/components/schemas/LinkType' example: - serInstanceId: rnisInstance1 - serName: myRnis + serInstanceId: 'rnisInstance1' + serName: 'myRnis' serCategory: - href: catItem1 - id: id12345 - name: RNI - version: v2 - version: 2.2.1 - state: ACTIVE + href: 'catItem1' + id: 'id12345' + name: 'RNI' + version: 'v2' + version: '2.2.1' + state: 'ACTIVE' transportInfo: - id: TransId12345 - name: REST - description: REST API - type: REST_HTTP - protocol: HTTP - version: "2.0" + id: 'TransId12345' + name: 'REST' + description: 'REST API' + type: 'REST_HTTP' + protocol: 'HTTP' + version: '2.0' endpoint: uris: - - https://my.callback.com/sandboxname/rni/v2/ - serializer: JSON - scopeOfLocality: MEC_SYSTEM - Subscription: + - 'https://my.callback.com/sandboxname/rni/v2/' + serializer: 'JSON' + scopeOfLocality: 'MEC_SYSTEM' + ServiceLivenessInfo: + type: object + required: + - state + - timeStamp + - interval + properties: + state: + $ref: '#/components/schemas/ServiceState' + timeStamp: + type: object + description: The time when the last "heartbeat" message was received by MEC platform + required: + - seconds + - nanoSeconds + properties: + seconds: + type: integer + nanoSeconds: + type: integer + interval: + type: integer + description: The interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3) that MEC platform has determined. + ServiceLivenessUpdate: + type: object required: - - subscription + - state + properties: + state: + $ref: '#/components/schemas/ServiceState' + Subscription: + description: A link to the related subscription type: object + required: + - subscription properties: subscription: $ref: '#/components/schemas/LinkType' - description: A link to the related subscription TransportInfo: - required: - - endpoint - - id - - name - - protocol - - security - - type - - version + description: This type represents the general information of a MEC service. type: object + required: + - id + - name + - type + - protocol + - version + - endpoint + - security properties: id: - type: string description: The identifier of this transport - name: type: string + name: description: The name of this transport - description: type: string + description: description: Human-readable description of this transport + type: string type: $ref: '#/components/schemas/TransportType' protocol: + description: The name of the protocol used. Shall be set to HTTP for a REST API. type: string - description: The name of the protocol used. Shall be set to HTTP for a REST - API. version: - type: string description: The version of the protocol used + type: string endpoint: - type: object description: This type represents information about a transport endpoint + type: object oneOf: - - $ref: '#/components/schemas/EndPointInfoUris' - - $ref: '#/components/schemas/EndPointInfoAddresses' - - $ref: '#/components/schemas/EndPointInfoAlternative' + - $ref: '#/components/schemas/EndPointInfoUris' + - $ref: '#/components/schemas/EndPointInfoAddresses' + - $ref: '#/components/schemas/EndPointInfoAlternative' security: $ref: '#/components/schemas/SecurityInfo' implSpecificInfo: - type: object description: Additional implementation specific details of the transport - description: This type represents the general information of a MEC service. - example: - implSpecificInfo: {} - protocol: protocol - endpoint: "" - security: - oAuth2Info: - tokenEndpoint: http://example.com/aeiou - grantTypes: - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - - OAUTH2_CLIENT_CREDENTIALS - name: name - description: description - id: id - type: REST_HTTP - version: version + type: object TransportType: - type: string description: The enumeration TransportType represents types of transports + type: string enum: - - REST_HTTP - - MB_TOPIC_BASED - - MB_ROUTING - - MB_PUBSUB - - RPC - - RPC_STREAMING - - WEBSOCKET - EndPointInfoAddresses_addresses: - required: - - host - - port - type: object - properties: - host: - type: string - description: Host portion of the address - port: - type: integer - description: Port portion of the address - format: uint32 - description: A IP address and port pair - SubscriptionLinkList__links_subscriptions: - required: - - href - - subscriptionType - type: object - properties: - href: - type: string - description: URI referring to a resource - format: uri - subscriptionType: + - REST_HTTP + - MB_TOPIC_BASED + - MB_ROUTING + - MB_PUBSUB + - RPC + - RPC_STREAMING + - WEBSOCKET + parameters: + Path.AppInstanceId: + name: appInstanceId + description: >- + Represents a MEC application instance. Note that the + appInstanceId is allocated by the MEC platform manager. + in: path + required: true + schema: + type: string + Path.SubscriptionId: + name: subscriptionId + description: >- + Represents a subscription to the notifications from the MEC + platform. + in: path + required: true + schema: + type: string + Path.ServiceId: + name: serviceId + description: Represents a MEC service instance. + in: path + required: true + schema: + type: string + Query.SerCategoryId: + name: ser_category_id + description: >- + A MEC application instance may use ser_category_id as an input + parameter to query the availability of a list of MEC service + instances in a serCategory. Either "ser_instance_id" or "ser_name" or + "ser_category_id" or none of them shall be present. + in: query + required: false + schema: + type: string + Query.SerInstanceId: + name: ser_instance_id + description: >- + A MEC application instance may use multiple ser_instance_ids as + an input parameter to query the availability of a list of MEC + service instances. Either "ser_instance_id" or "ser_name" or + "ser_category_id" or none of them shall be present. + in: query + required: false + schema: + type: array + items: type: string - description: Type of the subscription. The values are as defined in the - "subscriptionType" attribute for each different Mp1 event subscription - data type. - description: A link to a subscription. - example: - subscriptionType: subscriptionType - href: http://example.com/aeiou - SubscriptionLinkList__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - subscriptions: - type: array - description: The MEC application instance's subscriptions - items: - $ref: '#/components/schemas/SubscriptionLinkList__links_subscriptions' - description: Self-referring URI. - example: - subscriptions: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou - self: - href: /mecSerMgmtApi/example - SerAvailabilityNotificationSubscription_filteringCriteria: - type: object - not: - required: - - serCategories - - serInstanceIds - - serNames - properties: - serInstanceIds: - $ref: '#/components/schemas/SerInstanceIds' - serNames: - $ref: '#/components/schemas/SerNames' - serCategories: - $ref: '#/components/schemas/CategoryRefs' - states: - $ref: '#/components/schemas/ServiceStates' - isLocal: - type: boolean - description: Indicate whether the service is located in the same locality - (as defined by scopeOfLocality) as the consuming MEC application. - description: "Filtering criteria to match services for which events are requested\ - \ to be reported. If absent, matches all services. All child attributes are\ - \ combined with the logical \"AND\" operation." - example: - serNames: - - serNames - - serNames - serInstanceIds: - - serInstanceIds - - serInstanceIds - serCategories: - - name: name - href: http://example.com/aeiou - id: id - version: version - - name: name - href: http://example.com/aeiou - id: id - version: version - states: - - ACTIVE - - ACTIVE - isLocal: true - ServiceAvailabilityNotification_serviceReferences: - required: - - changeType - - serInstanceId - - serName - - state - type: object - properties: - link: - $ref: '#/components/schemas/LinkType' - serName: - $ref: '#/components/schemas/SerName' - serInstanceId: - $ref: '#/components/schemas/SerInstanceId' - state: - $ref: '#/components/schemas/ServiceState' - changeType: + Query.SerName: + name: ser_name + description: >- + A MEC application instance may use multiple ser_names as an + input parameter to query the availability of a list of MEC + service instances. Either "ser_instance_id" or "ser_name" or + "ser_category_id" or none of them shall be present. + in: query + required: false + schema: + type: array + items: type: string - description: "Type of the change. Valid values:\n ADDED: The service was\ - \ newly added.\n REMOVED: The service was removed.\n STATE_CHANGED:\ - \ Only the state of the service was changed. \n ATTRIBUTES_CHANGED: At\ - \ least one attribute of the service other than state was changed. The\ - \ change may or may not include changing the state." - enum: - - ADDED - - REMOVED - - STATE_CHANGED - - ATTRIBUTES_CHANGED - description: List of links to services whose availability has changed. + Query.LocalityType: + name: scope_of_locality + description: >- + A MEC application instance may use scope_of_locality as an input + parameter to query the availability of a list of MEC service instances + with a certain scope of locality. + in: query + required: false + schema: + type: string + Query.IsLocal: + name: is_local + description: >- + Indicate whether the service is located in the same locality (as + defined by scopeOfLocality) as the consuming MEC application. + in: query + required: false + schema: + type: boolean + Query.ConsumedLocalOnly: + name: consumed_local_only + description: >- + Indicate whether the service can only be consumed by the MEC + applications located in the same locality (as defined by + scopeOfLocality) as this service instance. + in: query + required: false + schema: + type: boolean responses: ApplicationsSubscriptions200: - description: "Upon success, a response body containing the list of links to\ - \ the requested subscriptions is returned." + description: >- + Upon success, a response body containing the list of links to the + requested subscriptions is returned. content: application/json: schema: @@ -1420,13 +922,12 @@ components: delIndividualmecSerMgmtApiSubscriptionLinkList: $ref: '#/components/links/DelIndividualmecSerMgmtApiSubscriptionLinkList' ApplicationsSubscriptions201: - description: Entity body in the request contains a subscription to the MEC service - availability notifications that is to be created. + description: >- + Entity body in the request contains a subscription to the MEC + service availability notifications that is to be created. headers: location: description: The resource URI of the created resource - style: simple - explode: false schema: type: string format: uri @@ -1440,36 +941,36 @@ components: delIndividualmecSerMgmtApiSubscription: $ref: '#/components/links/DelIndividualmecSerMgmtApiSubscription' ApplicationsSubscription200: - description: "Upon success, a response body containing the requested subscription\ - \ is returned." + description: >- + Upon success, a response body containing the requested subscription + is returned. content: application/json: schema: $ref: '#/components/schemas/SerAvailabilityNotificationSubscription' Services200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. + description: >- + It is used to indicate nonspecific success. The response body + contains a representation of the resource. content: application/json: schema: - minItems: 0 type: array + minItems: 0 items: $ref: '#/components/schemas/ServiceInfo' - x-content-type: application/json links: getIndividualmecService: $ref: '#/components/links/GetIndividualmecService' putIndividualmecService: $ref: '#/components/links/PutIndividualmecService' Services201: - description: "Upon success, the HTTP response shall include a Location HTTP\ - \ header that contains the resource URI of the created resource." + description: >- + Upon success, the HTTP response shall include a Location HTTP header + that contains the resource URI of the created resource. headers: location: description: The resource URI of the created resource - style: simple - explode: false schema: type: string format: uri @@ -1483,271 +984,161 @@ components: putIndividualmecService: $ref: '#/components/links/PutIndividualmecService' ServicesServiceId200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. + description: >- + It is used to indicate nonspecific success. The response body + contains a representation of the resource. content: application/json: schema: $ref: '#/components/schemas/ServiceInfo' Transports200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. + description: >- + It is used to indicate nonspecific success. The response body + contains a representation of the resource. content: application/json: schema: - minItems: 0 type: array + minItems: 0 items: $ref: '#/components/schemas/TransportInfo' - x-content-type: application/json links: getTransportInfo: $ref: '#/components/links/GetTransportInfo' - "400": - description: Bad Request. It is used to indicate that incorrect parameters were - passed to the request. + 400: + description: >- + Bad Request. + It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized. It is used when the client did not submit the appropriate - credentials. + 401: + description: >- + Unauthorized. + It is used when the client did not submit the appropriate credentials. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current status - of the resource. ' + 403: + description: >- + Forbidden. + The operation is not allowed given the current status of the resource. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. + 404: + description: >- + Not Found. + It is used when a client provided a URI that cannot be mapped + to a valid resource URI. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "409": - description: "Conflict. The operation cannot be executed currently, due to a\ - \ conflict with the state of the resource. Typically, this is because the\ - \ application instance resource is in NOT_INSTANTIATED state." + 409: + description: >- + Conflict. + The operation cannot be executed currently, due to a conflict with + the state of the resource. Typically, this is because the application + instance resource is in NOT_INSTANTIATED state. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition Failed. It is used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts." + 412: + description: >- + Precondition Failed. + It is used when a condition has failed during conditional requests, + e.g. when using ETags to avoid write conflicts. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "414": - description: It is used to indicate that the server is refusing to process the - request because the request URI is longer than the server is willing or able - to process. + 414: + description: >- + It is used to indicate that the server is refusing to process the request because the request URI is longer than the server is willing or able to process. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - "429": - description: Too Many Requests. It is used when a rate limiter has triggered. + 429: + description: >- + Too Many Requests. + It is used when a rate limiter has triggered. content: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' - parameters: - Path.AppInstanceId: - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - Path.SubscriptionId: - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string - Path.ServiceId: - name: serviceId - in: path - description: Represents a MEC service instance. - required: true - style: simple - explode: false - schema: - type: string - Query.SerCategoryId: - name: ser_category_id - in: query - description: A MEC application instance may use ser_category_id as an input - parameter to query the availability of a list of MEC service instances in - a serCategory. Either "ser_instance_id" or "ser_name" or "ser_category_id" - or none of them shall be present. - required: false - style: form - explode: true - schema: - type: string - Query.SerInstanceId: - name: ser_instance_id - in: query - description: A MEC application instance may use multiple ser_instance_ids as - an input parameter to query the availability of a list of MEC service instances. - Either "ser_instance_id" or "ser_name" or "ser_category_id" or none of them - shall be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - Query.SerName: - name: ser_name - in: query - description: A MEC application instance may use multiple ser_names as an input - parameter to query the availability of a list of MEC service instances. Either - "ser_instance_id" or "ser_name" or "ser_category_id" or none of them shall - be present. - required: false - style: form - explode: true - schema: - type: array - items: - type: string - Query.LocalityType: - name: scope_of_locality - in: query - description: A MEC application instance may use scope_of_locality as an input parameter - to query the availability of a list of MEC service instances with a certain - scope of locality. - required: false - style: form - explode: true - schema: - type: string - Query.IsLocal: - name: is_local - in: query - description: Indicate whether the service is located in the same locality (as defined - by scopeOfLocality) as the consuming MEC application. - required: false - style: form - explode: true - schema: - type: boolean - Query.ConsumedLocalOnly: - name: consumed_local_only - in: query - description: Indicate whether the service can only be consumed by the MEC applications - located in the same locality (as defined by scopeOfLocality) as this service - instance. - required: false - style: form - explode: true - schema: - type: boolean - examples: - ServiceInfo: - value: - serInstanceId: rnisInstance1 - serName: myRnis - serCategory: - href: catItem1 - id: id12345 - name: RNI - version: v2 - version: 2.2.1 - state: ACTIVE - transportInfo: - id: TransId12345 - name: REST - description: REST API - type: REST_HTTP - protocol: HTTP - version: "2.0" - endpoint: - uris: - - https://my.callback.com/sandboxname/rni/v2/ - serializer: JSON - scopeOfLocality: MEC_SYSTEM requestBodies: ApplicationsSubscriptions: - description: Entity body in the request contains a subscription to the MEC application - termination notifications that is to be created. content: application/json: schema: $ref: '#/components/schemas/SerAvailabilityNotificationSubscription' example: - subscriptionType: SerAvailabilityNotificationSubscription - callbackReference: http://my.callback.com/mec_service_mgmt_ser_availabilities/some-id + subscriptionType: 'SerAvailabilityNotificationSubscription' + callbackReference: "http://my.callback.com/mec_service_mgmt_ser_availabilities/some-id" filteringCriteria: serNames: - - myRnis + - 'myRnis' states: - - ACTIVE - - INACTIVE + - 'ACTIVE' + - 'INACTIVE' isLocal: true + description: >- + Entity body in the request contains a subscription to the MEC + application termination notifications that is to be created. required: true Services: - description: New ServiceInfo with updated "state" is included as entity body - of the request content: application/json: schema: $ref: '#/components/schemas/ServiceInfo' + description: >- + New ServiceInfo with updated "state" is included as entity body of the + request required: true ServicesPost: - description: New ServiceInfo with updated "state" is included as entity body - of the request content: application/json: schema: $ref: '#/components/schemas/ServiceInfoPost' example: - serName: myRnis + serName: 'myRnis' serCategory: - href: catItem1 - id: id12345 - name: RNI - version: v2 - version: 2.2.1 - state: ACTIVE + href: 'catItem1' + id: 'id12345' + name: 'RNI' + version: 'v2' + version: '2.2.1' + state: 'ACTIVE' transportInfo: - id: TransId12345 - name: REST - description: REST API - type: REST_HTTP - protocol: HTTP - version: "2.0" + id: 'TransId12345' + name: 'REST' + description: 'REST API' + type: 'REST_HTTP' + protocol: 'HTTP' + version: '2.0' endpoint: uris: - - https://my.callback.com/sandboxname/rni/v2/ - serializer: JSON - scopeOfLocality: MEC_SYSTEM + - 'https://my.callback.com/sandboxname/rni/v2/' + serializer: 'JSON' + scopeOfLocality: 'MEC_SYSTEM' + description: >- + New ServiceInfo with updated "state" is included as entity body of the + request required: true ServicesServiceId: - description: New ServiceInfo with updated "state" is included as entity body - of the request content: application/json: schema: $ref: '#/components/schemas/ServiceInfo' + description: >- + New ServiceInfo with updated "state" is included as entity body of the + request required: true ServiceAvailabilityNotification: content: @@ -1755,80 +1146,90 @@ components: schema: $ref: '#/components/schemas/ServiceAvailabilityNotification' required: true + callbacks: + ServiceAvailabilityNotification: + '{$request.body#/callbackReference}': + post: + description: >- + 'Represents the service availability information that + is used in the following cases + - when the MEC platform announces the newly available + services to the authorized relevant MEC applications (e.g. + the applications that indicate the services as "optional" + or "required") that are subscribed to the corresponding + service availability notifications + - when the MEC platform notifies the authorized relevant + applications that are subscribed to the corresponding + service availability notifications about the service availability changes.' + operationId: Sm_ServiceAvailabilityNotification_POST + tags: + - callbacks + requestBody: + $ref: '#/components/requestBodies/ServiceAvailabilityNotification' + responses: + '200': + description: Expected responses from callback consumer, if it accepts the callback links: GetIndividualmecService: operationId: Sm_ServicesServiceId_GET + description: The `serviceId` value returned in the response can be used as the `serviceId` parameter in `GET /services/{serviceId}` parameters: - serviceId: $response.body#/serviceId - description: "The `serviceId` value returned in the response can be used as\ - \ the `serviceId` parameter in `GET /services/{serviceId}`" + serviceId: '$response.body#/serviceId' PutIndividualmecService: operationId: Sm_ServicesServiceId_PUT + description: The `serviceId` value returned in the response can be used as the `serviceId` parameter in `PUT /services/{serviceId}` parameters: - serviceId: $response.body#/serviceId - description: "The `serviceId` value returned in the response can be used as\ - \ the `serviceId` parameter in `PUT /services/{serviceId}`" + serviceId: '$response.body#/serviceId' GetTransportInfo: operationId: Sm_AppServices_POST + description: The `id` value returned in the response can be used as the `transportId` parameter in `POST /applications/{appInstanceId}/services`. The first transport is provided as the link as wildcards are not supported parameters: - transportId: $response.body#/0/id - description: "The `id` value returned in the response can be used as the `transportId`\ - \ parameter in `POST /applications/{appInstanceId}/services`. The first transport\ - \ is provided as the link as wildcards are not supported" + transportId: '$response.body#/0/id' GetIndividualmecSerMgmtApiSubscription: operationId: Sm_ApplicationsSubscription_GET + description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}` parameters: - description: "regex = \\/mec_service_mgmt\\/v1\\/applications\\/.*\\/subscriptions\\\ - /.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an\ - \ attribute within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`" + description: regex = \/mec_service_mgmt\/v1\/applications\/.*\/subscriptions\/.*\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute + subscriptionId: 'TBC' DelIndividualmecSerMgmtApiSubscription: operationId: Sm_ApplicationsSubscription_DELETE + description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}` parameters: - description: "regex = \\/mec_service_mgmt\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`" + description: regex = \/mec_service_mgmt\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute + subscriptionId: 'TBC' GetIndividualmecSerMgmtApiSubscriptionLinkList: operationId: Sm_ApplicationsSubscription_GET + description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}` parameters: - description: "regex = \\/mec_service_mgmt\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`" + description: regex = \/mec_service_mgmt\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute + subscriptionId: 'TBC' DelIndividualmecSerMgmtApiSubscriptionLinkList: operationId: Sm_ApplicationsSubscription_DELETE + description: The `subscriptionId` value returned in the response can be used as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}` parameters: - description: "regex = \\/mec_service_mgmt\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`" - callbacks: - ServiceAvailabilityNotification: - '{$request.body#/callbackReference}': - post: - tags: - - callbacks - description: "'Represents the service availability information that is\ - \ used in the following cases - when the MEC platform announces the newly\ - \ available\n services to the authorized relevant MEC applications (e.g.\ - \ \n the applications that indicate the services as \"optional\" \n or\ - \ \"required\") that are subscribed to the corresponding \n service availability\ - \ notifications\n- when the MEC platform notifies the authorized relevant\ - \ applications that are subscribed to the corresponding service availability\ - \ notifications about the service availability changes.'" - operationId: Sm_ServiceAvailabilityNotification_POST - requestBody: - $ref: '#/components/requestBodies/ServiceAvailabilityNotification' - responses: - "200": - description: "Expected responses from callback consumer, if it accepts\ - \ the callback" + description: regex = \/mec_service_mgmt\/v1\/applications\/.*\/subscriptions\/(.*);subscriptionId = href.match(regex)[1];// where "href" is an attribute within the subscription attribute within the _links attribute + subscriptionId: 'TBC' + examples: + ServiceInfo: + value: + serInstanceId: 'rnisInstance1' + serName: 'myRnis' + serCategory: + href: 'catItem1' + id: 'id12345' + name: 'RNI' + version: 'v2' + version: '2.2.1' + state: 'ACTIVE' + transportInfo: + id: 'TransId12345' + name: 'REST' + description: 'REST API' + type: 'REST_HTTP' + protocol: 'HTTP' + version: '2.0' + endpoint: + uris: + - 'https://my.callback.com/sandboxname/rni/v2/' + serializer: 'JSON' + scopeOfLocality: 'MEC_SYSTEM' -- GitLab From 5caa50cbb3e9e4f109b2231bf37def252e7783e4 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Thu, 9 Jun 2022 17:59:37 +0500 Subject: [PATCH 154/183] update client side models in service-mgmt as per Mec011 v2.2.1 --- .../model_service_info.go | 14 +++++--- .../model_service_info_links.go | 30 +++++++++++++++++ .../model_service_liveness_info.go | 32 +++++++++++++++++++ .../model_service_liveness_info_time_stamp.go | 31 ++++++++++++++++++ .../model_service_liveness_update.go | 28 ++++++++++++++++ .../model_service_state.go | 5 +-- 6 files changed, 133 insertions(+), 7 deletions(-) create mode 100644 go-packages/meep-service-mgmt-client/model_service_info_links.go create mode 100644 go-packages/meep-service-mgmt-client/model_service_liveness_info.go create mode 100644 go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go create mode 100644 go-packages/meep-service-mgmt-client/model_service_liveness_update.go diff --git a/go-packages/meep-service-mgmt-client/model_service_info.go b/go-packages/meep-service-mgmt-client/model_service_info.go index 7b45a4006..9a6572220 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info.go +++ b/go-packages/meep-service-mgmt-client/model_service_info.go @@ -32,13 +32,17 @@ type ServiceInfo struct { // Service version Version string `json:"version"` State *ServiceState `json:"state"` - TransportInfo *TransportInfo `json:"transportInfo"` + TransportInfo *TransportInfo `json:"transportInfo,omitempty"` Serializer *SerializerType `json:"serializer"` ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. - // manually removed the omitempty - ConsumedLocalOnly bool `json:"consumedLocalOnly"` + // manually removed the omitempty + ConsumedLocalOnly bool `json:"consumedLocalOnly,omitempty"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. - // manually removed the omitempty - IsLocal bool `json:"isLocal"` + // manually removed the omitempty + IsLocal bool `json:"isLocal,omitempty"` + + LivenessInterval int32 `json:"livenessInterval,omitempty"` + + Links *ServiceInfoLinks `json:"_links"` } diff --git a/go-packages/meep-service-mgmt-client/model_service_info_links.go b/go-packages/meep-service-mgmt-client/model_service_info_links.go new file mode 100644 index 000000000..483b269e2 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/model_service_info_links.go @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type ServiceInfoLinks struct { + Self *LinkType `json:"self"` + + Liveness *LinkType `json:"liveness,omitempty"` +} diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_info.go b/go-packages/meep-service-mgmt-client/model_service_liveness_info.go new file mode 100644 index 000000000..687916814 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_info.go @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type ServiceLivenessInfo struct { + State *ServiceState `json:"state"` + + TimeStamp *ServiceLivenessInfoTimeStamp `json:"timeStamp"` + // The interval (in seconds) between two consecutive \"heartbeat\" messages (see clause 8.2.10.3.3) that MEC platform has determined. + Interval int32 `json:"interval"` +} diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go b/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go new file mode 100644 index 000000000..5590826b8 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// The time when the last \"heartbeat\" message was received by MEC platform +type ServiceLivenessInfoTimeStamp struct { + Seconds int32 `json:"seconds"` + + NanoSeconds int32 `json:"nanoSeconds"` +} diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_update.go b/go-packages/meep-service-mgmt-client/model_service_liveness_update.go new file mode 100644 index 000000000..ea6d45544 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_update.go @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE MEC Service Management API + * + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * + * API version: 2.1.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type ServiceLivenessUpdate struct { + State *ServiceState `json:"state"` +} diff --git a/go-packages/meep-service-mgmt-client/model_service_state.go b/go-packages/meep-service-mgmt-client/model_service_state.go index 18998d7fd..caf255445 100644 --- a/go-packages/meep-service-mgmt-client/model_service_state.go +++ b/go-packages/meep-service-mgmt-client/model_service_state.go @@ -29,6 +29,7 @@ type ServiceState string // List of ServiceState const ( - ACTIVE_ServiceState ServiceState = "ACTIVE" - INACTIVE_ServiceState ServiceState = "INACTIVE" + ACTIVE_ServiceState ServiceState = "ACTIVE" + INACTIVE_ServiceState ServiceState = "INACTIVE" + SUSPENDED_ServiceState ServiceState = "SUSPENDED" ) -- GitLab From a8066d1c9d83fef8f8e5147d380bc6ef4451e385 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 11:08:21 +0500 Subject: [PATCH 155/183] update versions and copyright year in server-side of meep-app-enablement --- go-apps/meep-app-enablement/Dockerfile | 2 +- go-apps/meep-app-enablement/main.go | 2 +- go-apps/meep-app-enablement/main_test.go | 2 +- .../meep-app-enablement/server/app-enablement.go | 2 +- .../server/app-support/README.md | 2 +- .../server/app-support/api_mec_app_support.go | 6 +++--- .../server/app-support/api_unsupported.go | 6 +++--- .../server/app-support/app-support.go | 4 ++-- .../app-support/model_app_ready_confirmation.go | 6 +++--- .../model_app_termination_confirmation.go | 6 +++--- .../model_app_termination_notification.go | 6 +++--- .../model_app_termination_notification__links.go | 6 +++--- ...el_app_termination_notification_subscription.go | 6 +++--- ...termination_notification_subscription__links.go | 6 +++--- .../server/app-support/model_current_time.go | 6 +++--- .../app-support/model_destination_interface.go | 6 +++--- .../model_destination_interface_interface_type.go | 8 ++++---- .../server/app-support/model_dns_rule.go | 6 +++--- .../app-support/model_dns_rule_ip_address_type.go | 8 ++++---- .../server/app-support/model_dns_rule_state.go | 8 ++++---- .../server/app-support/model_link_type.go | 6 +++--- ...odel_mec_app_supt_api_subscription_link_list.go | 6 +++--- ...ec_app_supt_api_subscription_link_list_links.go | 6 +++--- ...supt_api_subscription_link_list_subscription.go | 6 +++--- .../app-support/model_operation_action_type.go | 6 +++--- .../server/app-support/model_problem_details.go | 6 +++--- .../server/app-support/model_time_source_status.go | 14 ++++++++------ .../server/app-support/model_timing_caps.go | 6 +++--- .../app-support/model_timing_caps_ntp_servers.go | 6 +++--- ...iming_caps_ntp_servers_authentication_option.go | 8 ++++---- ...timing_caps_ntp_servers_ntp_server_addr_type.go | 8 ++++---- .../app-support/model_timing_caps_ptp_masters.go | 6 +++--- .../app-support/model_timing_caps_time_stamp.go | 6 +++--- .../server/app-support/model_traffic_filter.go | 6 +++--- .../server/app-support/model_traffic_rule.go | 6 +++--- .../app-support/model_traffic_rule_action.go | 8 ++++---- .../app-support/model_traffic_rule_filter_type.go | 8 ++++---- .../server/app-support/model_traffic_rule_state.go | 8 ++++---- .../server/app-support/model_tunnel_info.go | 6 +++--- .../app-support/model_tunnel_info_tunnel_type.go | 8 ++++---- go-apps/meep-app-enablement/server/logger.go | 4 ++-- go-apps/meep-app-enablement/server/routers.go | 4 ++-- .../server/service-mgmt/README.md | 2 +- .../server/service-mgmt/api_mec_service_mgmt.go | 6 +++--- .../server/service-mgmt/model_category_ref.go | 6 +++--- .../service-mgmt/model_end_point_info_addresses.go | 6 +++--- .../model_end_point_info_addresses_addresses.go | 6 +++--- .../model_end_point_info_alternative.go | 6 +++--- .../service-mgmt/model_end_point_info_uris.go | 6 +++--- .../server/service-mgmt/model_grant_type.go | 6 +++--- .../server/service-mgmt/model_link_type.go | 6 +++--- .../server/service-mgmt/model_locality_type.go | 6 +++--- .../server/service-mgmt/model_o_auth2_info.go | 6 +++--- .../service-mgmt/model_one_of_service_info_post.go | 6 +++--- .../model_one_of_transport_info_endpoint.go | 6 +++--- .../server/service-mgmt/model_problem_details.go | 6 +++--- .../server/service-mgmt/model_security_info.go | 6 +++--- .../server/service-mgmt/model_self.go | 6 +++--- ...l_ser_availability_notification_subscription.go | 6 +++--- ...notification_subscription_filtering_criteria.go | 6 +++--- .../server/service-mgmt/model_serializer_type.go | 6 +++--- .../model_service_availability_notification.go | 6 +++--- ...ervice_availability_notification_change_type.go | 4 ++-- ...availability_notification_service_references.go | 6 +++--- .../server/service-mgmt/model_service_info.go | 6 +++--- .../service-mgmt/model_service_info_links.go | 6 +++--- .../server/service-mgmt/model_service_info_post.go | 6 +++--- .../service-mgmt/model_service_liveness_info.go | 6 +++--- .../model_service_liveness_info_time_stamp.go | 6 +++--- .../service-mgmt/model_service_liveness_update.go | 6 +++--- .../server/service-mgmt/model_service_state.go | 6 +++--- .../server/service-mgmt/model_subscription.go | 6 +++--- .../service-mgmt/model_subscription_link_list.go | 6 +++--- .../model_subscription_link_list__links.go | 6 +++--- ..._subscription_link_list__links_subscriptions.go | 6 +++--- .../server/service-mgmt/model_transport_info.go | 6 +++--- .../server/service-mgmt/model_transport_type.go | 6 +++--- .../server/service-mgmt/service-mgmt.go | 2 +- 78 files changed, 230 insertions(+), 228 deletions(-) diff --git a/go-apps/meep-app-enablement/Dockerfile b/go-apps/meep-app-enablement/Dockerfile index 2082d0799..f2b84a24d 100644 --- a/go-apps/meep-app-enablement/Dockerfile +++ b/go-apps/meep-app-enablement/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2020 InterDigital Communications, Inc +# Copyright (c) 2022 InterDigital Communications, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/go-apps/meep-app-enablement/main.go b/go-apps/meep-app-enablement/main.go index de66e6018..050caa25c 100644 --- a/go-apps/meep-app-enablement/main.go +++ b/go-apps/meep-app-enablement/main.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-app-enablement/main_test.go b/go-apps/meep-app-enablement/main_test.go index 7f017cfd4..04e894a5b 100644 --- a/go-apps/meep-app-enablement/main_test.go +++ b/go-apps/meep-app-enablement/main_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-app-enablement/server/app-enablement.go b/go-apps/meep-app-enablement/server/app-enablement.go index a50872cab..af3f4a553 100644 --- a/go-apps/meep-app-enablement/server/app-enablement.go +++ b/go-apps/meep-app-enablement/server/app-enablement.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-app-enablement/server/app-support/README.md b/go-apps/meep-app-enablement/server/app-support/README.md index 08ba99302..d0b65b7f1 100644 --- a/go-apps/meep-app-enablement/server/app-support/README.md +++ b/go-apps/meep-app-enablement/server/app-support/README.md @@ -1,6 +1,6 @@ # Go API Server for server -MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). +MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). ## Overview This server was generated by the [swagger-codegen] diff --git a/go-apps/meep-app-enablement/server/app-support/api_mec_app_support.go b/go-apps/meep-app-enablement/server/app-support/api_mec_app_support.go index c14fddc13..bfd35f4e0 100644 --- a/go-apps/meep-app-enablement/server/app-support/api_mec_app_support.go +++ b/go-apps/meep-app-enablement/server/app-support/api_mec_app_support.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/api_unsupported.go b/go-apps/meep-app-enablement/server/app-support/api_unsupported.go index a0964d25d..9fea529e9 100644 --- a/go-apps/meep-app-enablement/server/app-support/api_unsupported.go +++ b/go-apps/meep-app-enablement/server/app-support/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/app-support.go b/go-apps/meep-app-enablement/server/app-support/app-support.go index 28164ace3..911b72fc7 100644 --- a/go-apps/meep-app-enablement/server/app-support/app-support.go +++ b/go-apps/meep-app-enablement/server/app-support/app-support.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1021,4 +1021,4 @@ func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { w.WriteHeader(code) fmt.Fprint(w, jsonResponse) -} \ No newline at end of file +} diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_ready_confirmation.go b/go-apps/meep-app-enablement/server/app-support/model_app_ready_confirmation.go index 2796a538a..65d9dcdb4 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_ready_confirmation.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_ready_confirmation.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_termination_confirmation.go b/go-apps/meep-app-enablement/server/app-support/model_app_termination_confirmation.go index 59e06bdb8..f83d010a0 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_termination_confirmation.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_termination_confirmation.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification.go b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification.go index af088aec0..18e80fdb6 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification__links.go b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification__links.go index ebd1209bd..a64b43b37 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification__links.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription.go b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription.go index d48b2b05c..b725465b5 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription__links.go b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription__links.go index 4ba0cae03..dfefe257d 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription__links.go +++ b/go-apps/meep-app-enablement/server/app-support/model_app_termination_notification_subscription__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_current_time.go b/go-apps/meep-app-enablement/server/app-support/model_current_time.go index 68fb912a9..b1e156bb2 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_current_time.go +++ b/go-apps/meep-app-enablement/server/app-support/model_current_time.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go index d7d5e0961..b08bf73bf 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go +++ b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go index 503371b6f..8f0b1da7a 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // DestinationInterfaceInterfaceType : Type of the interface type DestinationInterface.InterfaceType string // List of DestinationInterface.InterfaceType diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go index be6264398..5ba9143b7 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go index ec147e4c4..0d46d1dc2 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // DnsRuleIpAddressType : IP address type type DnsRule.IpAddressType string // List of DnsRule.IpAddressType diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go index f7377390f..81cb7ff07 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // DnsRuleState : DNS rule state. This attribute may be updated using HTTP PUT method type DnsRule.State string // List of DnsRule.State diff --git a/go-apps/meep-app-enablement/server/app-support/model_link_type.go b/go-apps/meep-app-enablement/server/app-support/model_link_type.go index 3287e4348..03f88706a 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_link_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go index 4c304f145..eff5ca5fc 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go index 447626a23..0fa2ef791 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go index ff5b359e7..c8b3e9584 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go +++ b/go-apps/meep-app-enablement/server/app-support/model_mec_app_supt_api_subscription_link_list_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_operation_action_type.go b/go-apps/meep-app-enablement/server/app-support/model_operation_action_type.go index 8790be392..48a8deb2e 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_operation_action_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_operation_action_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_problem_details.go b/go-apps/meep-app-enablement/server/app-support/model_problem_details.go index 1cb24a9e2..0c86189c3 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_problem_details.go +++ b/go-apps/meep-app-enablement/server/app-support/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go b/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go index cfea504fb..b58dc5291 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go +++ b/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,17 +15,19 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server - // TimeSourceStatus : Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source +package server + +// TimeSourceStatus : Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source type TimeSourceStatus string + // List of TimeSourceStatus const ( - TRACEABLE TimeSourceStatus = "TRACEABLE" + TRACEABLE TimeSourceStatus = "TRACEABLE" NONTRACEABLE TimeSourceStatus = "NONTRACEABLE" ) diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps.go index 89f81b701..c6e28ca52 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go index d4a43883e..ad494fcaf 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go index e87a06236..323e6b995 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TimingCapsNtpServersAuthenticationOption : NTP authentication option type TimingCaps.NtpServers.AuthenticationOption string diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go index 46642566f..fe33f5858 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TimingCapsNtpServersNtpServerAddrType : Address type of NTP server type TimingCaps.NtpServers.NtpServerAddrType string diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ptp_masters.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ptp_masters.go index 457c3b67f..47d07acad 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ptp_masters.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ptp_masters.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_time_stamp.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_time_stamp.go index 3430766c9..d5f2b40e6 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_time_stamp.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_filter.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_filter.go index 7d6811dcd..4b4c7cb20 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_filter.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_filter.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go index 3e43b8e0c..147333092 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go index 474fd6b01..fba73bec1 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TrafficRuleAction : The action of the MEC host data plane when a packet matches the trafficFilter type TrafficRule.Action string diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go index b59e4ae20..10e9b79ff 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TrafficRuleFilterType : Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context type TrafficRule.FilterType string diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go index 21c517dee..111798e64 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TrafficRuleState : Contains the traffic rule state. This attribute may be updated using HTTP PUT method type TrafficRule.State string diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go index d9e99d660..a318bdf38 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go +++ b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go index a9342b5e1..0f4ea10e6 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go +++ b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,13 +15,13 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package server +package server // TunnelInfoTunnelType : This type represents the tunnel information. type TunnelInfo.TunnelType string diff --git a/go-apps/meep-app-enablement/server/logger.go b/go-apps/meep-app-enablement/server/logger.go index 823ca7387..54d823bdc 100644 --- a/go-apps/meep-app-enablement/server/logger.go +++ b/go-apps/meep-app-enablement/server/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * * The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/routers.go b/go-apps/meep-app-enablement/server/routers.go index e7eb67ff7..859384fb1 100644 --- a/go-apps/meep-app-enablement/server/routers.go +++ b/go-apps/meep-app-enablement/server/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * * The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/README.md b/go-apps/meep-app-enablement/server/service-mgmt/README.md index b60b2e433..2f93d366d 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/README.md +++ b/go-apps/meep-app-enablement/server/service-mgmt/README.md @@ -1,6 +1,6 @@ # Go API Server for server -MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). +MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). ## Overview This server was generated by the [swagger-codegen] diff --git a/go-apps/meep-app-enablement/server/service-mgmt/api_mec_service_mgmt.go b/go-apps/meep-app-enablement/server/service-mgmt/api_mec_service_mgmt.go index b7a52f507..38c740c42 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/api_mec_service_mgmt.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/api_mec_service_mgmt.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_category_ref.go b/go-apps/meep-app-enablement/server/service-mgmt/model_category_ref.go index 110c48505..5c5492e18 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_category_ref.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_category_ref.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses.go b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses.go index 239a1856e..61f99fa57 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses_addresses.go b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses_addresses.go index 0f7f0f620..fee081eee 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses_addresses.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_addresses_addresses.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_alternative.go b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_alternative.go index 440ebfe3d..62d0da64a 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_alternative.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_alternative.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_uris.go b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_uris.go index ea9003c57..d8f0ded09 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_uris.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_end_point_info_uris.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_grant_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_grant_type.go index acbbb398b..99427bbd9 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_grant_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_grant_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_link_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_link_type.go index 928bf08fd..0a81313da 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_link_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_locality_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_locality_type.go index 3b25a9bf5..3df69bed4 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_locality_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_locality_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_o_auth2_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_o_auth2_info.go index cd9a5e00a..4523e0000 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_o_auth2_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_o_auth2_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_service_info_post.go b/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_service_info_post.go index ec53a5148..1faa8e7d7 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_service_info_post.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_service_info_post.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_transport_info_endpoint.go b/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_transport_info_endpoint.go index ab4f61eb3..cf5b6a9e6 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_transport_info_endpoint.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_one_of_transport_info_endpoint.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go b/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go index b19b10030..72f455f53 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_security_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_security_info.go index 58711633d..1242c660c 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_security_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_security_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_self.go b/go-apps/meep-app-enablement/server/service-mgmt/model_self.go index 70c426467..f49e41fe0 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_self.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_self.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription.go b/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription.go index 1aab210fc..da167abcf 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription_filtering_criteria.go b/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription_filtering_criteria.go index 1b2e1ef50..2724b4a95 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription_filtering_criteria.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_ser_availability_notification_subscription_filtering_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_serializer_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_serializer_type.go index 801f5abc8..9bc02e345 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_serializer_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_serializer_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification.go index 2412d7835..ebdc15422 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_change_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_change_type.go index 6660a1269..6e11ecc3f 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_change_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_change_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * * The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_service_references.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_service_references.go index 007306406..4a015afb8 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_service_references.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_availability_notification_service_references.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go index bcb367204..0c1077b0e 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go index 102e325f8..c30c5af3b 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go index 1e422f6a6..8608ae296 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go index 075a2b2a5..34878b1ed 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go index 3dce0da49..6a1b09920 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_info_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go index 385ed9904..34b54e9ee 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_liveness_update.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go index fca87afac..d28314a94 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription.go b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription.go index 0bc1c8dc4..21a13697f 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list.go b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list.go index b6a448c00..970ad58e5 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links.go b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links.go index d5466b0a9..6b82eb7b6 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links_subscriptions.go b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links_subscriptions.go index 25fd76f34..71fd877f2 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links_subscriptions.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_subscription_link_list__links_subscriptions.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_transport_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_transport_info.go index 905921d63..b0f51143f 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_transport_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_transport_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_transport_type.go b/go-apps/meep-app-enablement/server/service-mgmt/model_transport_type.go index 5a9d60536..fead34d6d 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_transport_type.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_transport_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go index d58e28f99..535c7392c 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. -- GitLab From 4810c02605499d0a15cf0377f7b9d53d906564b4 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 11:30:17 +0500 Subject: [PATCH 156/183] update versions and copyright year in meep-service-mgmt-client --- go-packages/meep-service-mgmt-client/README.md | 4 ++-- go-packages/meep-service-mgmt-client/api/swagger.yaml | 2 +- .../meep-service-mgmt-client/api_mec_service_mgmt.go | 6 +++--- go-packages/meep-service-mgmt-client/client.go | 8 ++++---- go-packages/meep-service-mgmt-client/configuration.go | 6 +++--- .../meep-service-mgmt-client/model_category_ref.go | 6 +++--- .../model_end_point_info_addresses.go | 6 +++--- .../model_end_point_info_addresses_addresses.go | 6 +++--- .../model_end_point_info_alternative.go | 6 +++--- .../meep-service-mgmt-client/model_end_point_info_uris.go | 6 +++--- go-packages/meep-service-mgmt-client/model_grant_type.go | 6 +++--- go-packages/meep-service-mgmt-client/model_link_type.go | 6 +++--- .../meep-service-mgmt-client/model_locality_type.go | 6 +++--- .../meep-service-mgmt-client/model_o_auth2_info.go | 6 +++--- .../model_one_of_service_info_post.go | 6 +++--- .../model_one_of_transport_info_endpoint.go | 6 +++--- .../meep-service-mgmt-client/model_problem_details.go | 6 +++--- .../meep-service-mgmt-client/model_security_info.go | 6 +++--- go-packages/meep-service-mgmt-client/model_self.go | 6 +++--- .../model_ser_availability_notification_subscription.go | 6 +++--- ...bility_notification_subscription_filtering_criteria.go | 6 +++--- .../meep-service-mgmt-client/model_serializer_type.go | 6 +++--- .../model_service_availability_notification.go | 6 +++--- ...model_service_availability_notification_change_type.go | 4 ++-- ...ervice_availability_notification_service_references.go | 6 +++--- .../meep-service-mgmt-client/model_service_info.go | 6 +++--- .../meep-service-mgmt-client/model_service_info_links.go | 6 +++--- .../meep-service-mgmt-client/model_service_info_post.go | 8 ++++---- .../model_service_liveness_info.go | 6 +++--- .../model_service_liveness_info_time_stamp.go | 6 +++--- .../model_service_liveness_update.go | 6 +++--- .../meep-service-mgmt-client/model_service_state.go | 6 +++--- .../meep-service-mgmt-client/model_subscription.go | 6 +++--- .../model_subscription_link_list.go | 6 +++--- .../model_subscription_link_list__links.go | 6 +++--- .../model_subscription_link_list__links_subscriptions.go | 6 +++--- .../meep-service-mgmt-client/model_transport_info.go | 6 +++--- .../meep-service-mgmt-client/model_transport_type.go | 6 +++--- go-packages/meep-service-mgmt-client/response.go | 6 +++--- 39 files changed, 115 insertions(+), 115 deletions(-) diff --git a/go-packages/meep-service-mgmt-client/README.md b/go-packages/meep-service-mgmt-client/README.md index 80025fb16..20be9756a 100644 --- a/go-packages/meep-service-mgmt-client/README.md +++ b/go-packages/meep-service-mgmt-client/README.md @@ -1,11 +1,11 @@ # Go API client for client -MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). +MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2.1.1 +- API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen diff --git a/go-packages/meep-service-mgmt-client/api/swagger.yaml b/go-packages/meep-service-mgmt-client/api/swagger.yaml index d24e663f7..ab73984fe 100644 --- a/go-packages/meep-service-mgmt-client/api/swagger.yaml +++ b/go-packages/meep-service-mgmt-client/api/swagger.yaml @@ -16,7 +16,7 @@ info: url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE version: 2.2.1 externalDocs: - description: "ETSI GS MEC011 Application Enablement API, V2.1.1" + description: "ETSI GS MEC011 Application Enablement API, V2.2.1" url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf servers: - url: https://localhost/sandboxname/mec_service_mgmt/v1 diff --git a/go-packages/meep-service-mgmt-client/api_mec_service_mgmt.go b/go-packages/meep-service-mgmt-client/api_mec_service_mgmt.go index e50edc643..f643a67ae 100644 --- a/go-packages/meep-service-mgmt-client/api_mec_service_mgmt.go +++ b/go-packages/meep-service-mgmt-client/api_mec_service_mgmt.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/client.go b/go-packages/meep-service-mgmt-client/client.go index 9f9bad4f9..28935abc9 100644 --- a/go-packages/meep-service-mgmt-client/client.go +++ b/go-packages/meep-service-mgmt-client/client.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -52,7 +52,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the AdvantEDGE MEC Service Management API API v2.1.1 +// APIClient manages communication with the AdvantEDGE MEC Service Management API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/go-packages/meep-service-mgmt-client/configuration.go b/go-packages/meep-service-mgmt-client/configuration.go index 07e04b753..61f532df0 100644 --- a/go-packages/meep-service-mgmt-client/configuration.go +++ b/go-packages/meep-service-mgmt-client/configuration.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_category_ref.go b/go-packages/meep-service-mgmt-client/model_category_ref.go index 9c5903d76..a3a187239 100644 --- a/go-packages/meep-service-mgmt-client/model_category_ref.go +++ b/go-packages/meep-service-mgmt-client/model_category_ref.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_end_point_info_addresses.go b/go-packages/meep-service-mgmt-client/model_end_point_info_addresses.go index e55688171..ff85a2d64 100644 --- a/go-packages/meep-service-mgmt-client/model_end_point_info_addresses.go +++ b/go-packages/meep-service-mgmt-client/model_end_point_info_addresses.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_end_point_info_addresses_addresses.go b/go-packages/meep-service-mgmt-client/model_end_point_info_addresses_addresses.go index d45fe3f4e..655b806e0 100644 --- a/go-packages/meep-service-mgmt-client/model_end_point_info_addresses_addresses.go +++ b/go-packages/meep-service-mgmt-client/model_end_point_info_addresses_addresses.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_end_point_info_alternative.go b/go-packages/meep-service-mgmt-client/model_end_point_info_alternative.go index 8c0a46ce6..988fd4d25 100644 --- a/go-packages/meep-service-mgmt-client/model_end_point_info_alternative.go +++ b/go-packages/meep-service-mgmt-client/model_end_point_info_alternative.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_end_point_info_uris.go b/go-packages/meep-service-mgmt-client/model_end_point_info_uris.go index 631aacf57..8a268e883 100644 --- a/go-packages/meep-service-mgmt-client/model_end_point_info_uris.go +++ b/go-packages/meep-service-mgmt-client/model_end_point_info_uris.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_grant_type.go b/go-packages/meep-service-mgmt-client/model_grant_type.go index 9163b400e..12f50d6cc 100644 --- a/go-packages/meep-service-mgmt-client/model_grant_type.go +++ b/go-packages/meep-service-mgmt-client/model_grant_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_link_type.go b/go-packages/meep-service-mgmt-client/model_link_type.go index e8da62caf..08c7c8146 100644 --- a/go-packages/meep-service-mgmt-client/model_link_type.go +++ b/go-packages/meep-service-mgmt-client/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_locality_type.go b/go-packages/meep-service-mgmt-client/model_locality_type.go index 697361231..e3ab4355e 100644 --- a/go-packages/meep-service-mgmt-client/model_locality_type.go +++ b/go-packages/meep-service-mgmt-client/model_locality_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_o_auth2_info.go b/go-packages/meep-service-mgmt-client/model_o_auth2_info.go index 960f01333..db0c9383d 100644 --- a/go-packages/meep-service-mgmt-client/model_o_auth2_info.go +++ b/go-packages/meep-service-mgmt-client/model_o_auth2_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_one_of_service_info_post.go b/go-packages/meep-service-mgmt-client/model_one_of_service_info_post.go index 03a985d47..2251437e7 100644 --- a/go-packages/meep-service-mgmt-client/model_one_of_service_info_post.go +++ b/go-packages/meep-service-mgmt-client/model_one_of_service_info_post.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_one_of_transport_info_endpoint.go b/go-packages/meep-service-mgmt-client/model_one_of_transport_info_endpoint.go index 04dfe49b8..4827c21ad 100644 --- a/go-packages/meep-service-mgmt-client/model_one_of_transport_info_endpoint.go +++ b/go-packages/meep-service-mgmt-client/model_one_of_transport_info_endpoint.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_problem_details.go b/go-packages/meep-service-mgmt-client/model_problem_details.go index 7d352a9c2..9f1293001 100644 --- a/go-packages/meep-service-mgmt-client/model_problem_details.go +++ b/go-packages/meep-service-mgmt-client/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_security_info.go b/go-packages/meep-service-mgmt-client/model_security_info.go index 54006e3aa..308ab5f93 100644 --- a/go-packages/meep-service-mgmt-client/model_security_info.go +++ b/go-packages/meep-service-mgmt-client/model_security_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_self.go b/go-packages/meep-service-mgmt-client/model_self.go index fffdac6de..215eed593 100644 --- a/go-packages/meep-service-mgmt-client/model_self.go +++ b/go-packages/meep-service-mgmt-client/model_self.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription.go b/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription.go index c9a13b088..fac3b6d59 100644 --- a/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription.go +++ b/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription_filtering_criteria.go b/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription_filtering_criteria.go index 17ba09af7..99e8790c3 100644 --- a/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription_filtering_criteria.go +++ b/go-packages/meep-service-mgmt-client/model_ser_availability_notification_subscription_filtering_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_serializer_type.go b/go-packages/meep-service-mgmt-client/model_serializer_type.go index 5203b4440..5851a683c 100644 --- a/go-packages/meep-service-mgmt-client/model_serializer_type.go +++ b/go-packages/meep-service-mgmt-client/model_serializer_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_availability_notification.go b/go-packages/meep-service-mgmt-client/model_service_availability_notification.go index da28d7f17..06a3a56ae 100644 --- a/go-packages/meep-service-mgmt-client/model_service_availability_notification.go +++ b/go-packages/meep-service-mgmt-client/model_service_availability_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_availability_notification_change_type.go b/go-packages/meep-service-mgmt-client/model_service_availability_notification_change_type.go index a247b5928..5cec2fbdb 100644 --- a/go-packages/meep-service-mgmt-client/model_service_availability_notification_change_type.go +++ b/go-packages/meep-service-mgmt-client/model_service_availability_notification_change_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * * The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_availability_notification_service_references.go b/go-packages/meep-service-mgmt-client/model_service_availability_notification_service_references.go index 558594b16..8bfaf007d 100644 --- a/go-packages/meep-service-mgmt-client/model_service_availability_notification_service_references.go +++ b/go-packages/meep-service-mgmt-client/model_service_availability_notification_service_references.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_info.go b/go-packages/meep-service-mgmt-client/model_service_info.go index 9a6572220..e02a3ea3b 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info.go +++ b/go-packages/meep-service-mgmt-client/model_service_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_info_links.go b/go-packages/meep-service-mgmt-client/model_service_info_links.go index 483b269e2..50d085ee0 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info_links.go +++ b/go-packages/meep-service-mgmt-client/model_service_info_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_info_post.go b/go-packages/meep-service-mgmt-client/model_service_info_post.go index 388a812a3..1dd7ff25b 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info_post.go +++ b/go-packages/meep-service-mgmt-client/model_service_info_post.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -41,6 +41,6 @@ type ServiceInfoPost struct { // manually removed the omitempty ConsumedLocalOnly bool `json:"consumedLocalOnly"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. - // manually removed the omitempty + // manually removed the omitempty IsLocal bool `json:"isLocal"` } diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_info.go b/go-packages/meep-service-mgmt-client/model_service_liveness_info.go index 687916814..66862a21b 100644 --- a/go-packages/meep-service-mgmt-client/model_service_liveness_info.go +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go b/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go index 5590826b8..5e704c83e 100644 --- a/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_info_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_liveness_update.go b/go-packages/meep-service-mgmt-client/model_service_liveness_update.go index ea6d45544..6d2dc1979 100644 --- a/go-packages/meep-service-mgmt-client/model_service_liveness_update.go +++ b/go-packages/meep-service-mgmt-client/model_service_liveness_update.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_service_state.go b/go-packages/meep-service-mgmt-client/model_service_state.go index caf255445..b37554f1d 100644 --- a/go-packages/meep-service-mgmt-client/model_service_state.go +++ b/go-packages/meep-service-mgmt-client/model_service_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_subscription.go b/go-packages/meep-service-mgmt-client/model_subscription.go index 09c8bc524..e5911f338 100644 --- a/go-packages/meep-service-mgmt-client/model_subscription.go +++ b/go-packages/meep-service-mgmt-client/model_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_subscription_link_list.go b/go-packages/meep-service-mgmt-client/model_subscription_link_list.go index c89d3c19c..0d7b0aeb0 100644 --- a/go-packages/meep-service-mgmt-client/model_subscription_link_list.go +++ b/go-packages/meep-service-mgmt-client/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_subscription_link_list__links.go b/go-packages/meep-service-mgmt-client/model_subscription_link_list__links.go index 448ace2fa..65ff1d305 100644 --- a/go-packages/meep-service-mgmt-client/model_subscription_link_list__links.go +++ b/go-packages/meep-service-mgmt-client/model_subscription_link_list__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_subscription_link_list__links_subscriptions.go b/go-packages/meep-service-mgmt-client/model_subscription_link_list__links_subscriptions.go index c2864d21b..ba4029d9e 100644 --- a/go-packages/meep-service-mgmt-client/model_subscription_link_list__links_subscriptions.go +++ b/go-packages/meep-service-mgmt-client/model_subscription_link_list__links_subscriptions.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_transport_info.go b/go-packages/meep-service-mgmt-client/model_transport_info.go index 665dd07c5..4eab0700b 100644 --- a/go-packages/meep-service-mgmt-client/model_transport_info.go +++ b/go-packages/meep-service-mgmt-client/model_transport_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/model_transport_type.go b/go-packages/meep-service-mgmt-client/model_transport_type.go index 586ba01df..61ad622e0 100644 --- a/go-packages/meep-service-mgmt-client/model_transport_type.go +++ b/go-packages/meep-service-mgmt-client/model_transport_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-service-mgmt-client/response.go b/go-packages/meep-service-mgmt-client/response.go index e6f931ebb..ca7bc5c39 100644 --- a/go-packages/meep-service-mgmt-client/response.go +++ b/go-packages/meep-service-mgmt-client/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Service Management API * - * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). + * MEC Service Management Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt)

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From 3c576488f7068a30152eaf1466bf066fe9f45d42 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 11:34:27 +0500 Subject: [PATCH 157/183] update version in remaining files in meep-app-enablement --- go-apps/meep-app-enablement/server/app-support/README.md | 2 +- go-apps/meep-app-enablement/server/app-support/app-support.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-app-enablement/server/app-support/README.md b/go-apps/meep-app-enablement/server/app-support/README.md index d0b65b7f1..0f7afaff4 100644 --- a/go-apps/meep-app-enablement/server/app-support/README.md +++ b/go-apps/meep-app-enablement/server/app-support/README.md @@ -12,7 +12,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) -- API version: 2.1.1 +- API version: 2.2.1 - Build date: 2021-11-23T08:34:26.961915-05:00[America/Toronto] diff --git a/go-apps/meep-app-enablement/server/app-support/app-support.go b/go-apps/meep-app-enablement/server/app-support/app-support.go index 911b72fc7..3134ecc64 100644 --- a/go-apps/meep-app-enablement/server/app-support/app-support.go +++ b/go-apps/meep-app-enablement/server/app-support/app-support.go @@ -566,7 +566,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { for _, sub := range subList { // Create subscription reference & append it to link list subscription := MecAppSuptApiSubscriptionLinkListLinksSubscriptions{ - // In v2.1.1 it should be SubscriptionType, but spec is expecting "rel" as per v1.1.1 + // In v2.2.1 it should be SubscriptionType, but spec is expecting "rel" as per v1.1.1 SubscriptionType: APP_TERMINATION_NOTIF_SUB_TYPE, Href: sub.Cfg.Self, } -- GitLab From 678777e7da8d3a2b92033368b7b616759076b499 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 11:45:50 +0500 Subject: [PATCH 158/183] update docs and README file in meep-service-mgmt-client as per MEC011 v2.2.1 --- go-packages/meep-service-mgmt-client/README.md | 4 ++++ .../docs/EndPointInfoAlternative.md | 1 - .../docs/MecServiceMgmtApi.md | 12 +++++------- .../meep-service-mgmt-client/docs/ServiceInfo.md | 2 ++ .../docs/ServiceInfoLinks.md | 10 ++++++++++ .../docs/ServiceLivenessInfo.md | 11 +++++++++++ .../docs/ServiceLivenessInfoTimeStamp.md | 10 ++++++++++ .../docs/ServiceLivenessUpdate.md | 9 +++++++++ .../docs/SubscriptionLinkListLinks.md | 2 +- 9 files changed, 52 insertions(+), 9 deletions(-) create mode 100644 go-packages/meep-service-mgmt-client/docs/ServiceInfoLinks.md create mode 100644 go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfo.md create mode 100644 go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfoTimeStamp.md create mode 100644 go-packages/meep-service-mgmt-client/docs/ServiceLivenessUpdate.md diff --git a/go-packages/meep-service-mgmt-client/README.md b/go-packages/meep-service-mgmt-client/README.md index 20be9756a..bc8659e16 100644 --- a/go-packages/meep-service-mgmt-client/README.md +++ b/go-packages/meep-service-mgmt-client/README.md @@ -57,7 +57,11 @@ Class | Method | HTTP request | Description - [ServiceAvailabilityNotification](docs/ServiceAvailabilityNotification.md) - [ServiceAvailabilityNotificationServiceReferences](docs/ServiceAvailabilityNotificationServiceReferences.md) - [ServiceInfo](docs/ServiceInfo.md) + - [ServiceInfoLinks](docs/ServiceInfoLinks.md) - [ServiceInfoPost](docs/ServiceInfoPost.md) + - [ServiceLivenessInfo](docs/ServiceLivenessInfo.md) + - [ServiceLivenessInfoTimeStamp](docs/ServiceLivenessInfoTimeStamp.md) + - [ServiceLivenessUpdate](docs/ServiceLivenessUpdate.md) - [ServiceState](docs/ServiceState.md) - [Subscription](docs/Subscription.md) - [SubscriptionLinkList](docs/SubscriptionLinkList.md) diff --git a/go-packages/meep-service-mgmt-client/docs/EndPointInfoAlternative.md b/go-packages/meep-service-mgmt-client/docs/EndPointInfoAlternative.md index 8427e7abb..385935f13 100644 --- a/go-packages/meep-service-mgmt-client/docs/EndPointInfoAlternative.md +++ b/go-packages/meep-service-mgmt-client/docs/EndPointInfoAlternative.md @@ -7,4 +7,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-service-mgmt-client/docs/MecServiceMgmtApi.md b/go-packages/meep-service-mgmt-client/docs/MecServiceMgmtApi.md index eb7e4a6b9..76a2b35ec 100644 --- a/go-packages/meep-service-mgmt-client/docs/MecServiceMgmtApi.md +++ b/go-packages/meep-service-mgmt-client/docs/MecServiceMgmtApi.md @@ -1,4 +1,4 @@ -# \MecServiceMgmtApi +# {{classname}} All URIs are relative to *https://localhost/sandboxname/mec_service_mgmt/v1* @@ -30,11 +30,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **appInstanceId** | **string**| Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager. | - **optional** | ***AppServicesGETOpts** | optional parameters | nil if no parameters + **optional** | ***MecServiceMgmtApiAppServicesGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a AppServicesGETOpts struct - +Optional parameters are passed through a pointer to a MecServiceMgmtApiAppServicesGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- @@ -303,11 +302,10 @@ This method retrieves information about a list of mecService resources. This met Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***ServicesGETOpts** | optional parameters | nil if no parameters + **optional** | ***MecServiceMgmtApiServicesGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a ServicesGETOpts struct - +Optional parameters are passed through a pointer to a MecServiceMgmtApiServicesGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **serInstanceId** | [**optional.Interface of []string**](string.md)| A MEC application instance may use multiple ser_instance_ids as an input parameter to query the availability of a list of MEC service instances. Either \"ser_instance_id\" or \"ser_name\" or \"ser_category_id\" or none of them shall be present. | diff --git a/go-packages/meep-service-mgmt-client/docs/ServiceInfo.md b/go-packages/meep-service-mgmt-client/docs/ServiceInfo.md index 102d9732b..81b164ae0 100644 --- a/go-packages/meep-service-mgmt-client/docs/ServiceInfo.md +++ b/go-packages/meep-service-mgmt-client/docs/ServiceInfo.md @@ -13,6 +13,8 @@ Name | Type | Description | Notes **ScopeOfLocality** | [***LocalityType**](LocalityType.md) | | [optional] [default to null] **ConsumedLocalOnly** | **bool** | Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. | [optional] [default to null] **IsLocal** | **bool** | Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. | [optional] [default to null] +**LivenessInterval** | **int32** | Interval (in seconds) between two consecutive \"heartbeat\" messages (see clause 8.2.10.3.3). If the service-producing application supports sending \"heartbeat\" messages, it shall include this attribute in the registration request. In this case, the application shall either set the value of this attribute to zero or shall use this attribute to propose a non-zero positive value for the liveness interval. If the application has provided this attribute in the request and the MEC platform requires \"heartbeat\" messages, the MEC platform shall return this attribute value in the HTTP responses. The MEC platform may use the value proposed in the request or may choose a different value. If the MEC platform does not require \"heartbeat\" messages for this service instance it shall omit the attribute in responses. | [optional] [default to null] +**Links** | [***ServiceInfoLinks**](ServiceInfo__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-service-mgmt-client/docs/ServiceInfoLinks.md b/go-packages/meep-service-mgmt-client/docs/ServiceInfoLinks.md new file mode 100644 index 000000000..13c61bddf --- /dev/null +++ b/go-packages/meep-service-mgmt-client/docs/ServiceInfoLinks.md @@ -0,0 +1,10 @@ +# ServiceInfoLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [default to null] +**Liveness** | [***LinkType**](LinkType.md) | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfo.md b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfo.md new file mode 100644 index 000000000..dfea2ac41 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfo.md @@ -0,0 +1,11 @@ +# ServiceLivenessInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | [***ServiceState**](ServiceState.md) | | [default to null] +**TimeStamp** | [***ServiceLivenessInfoTimeStamp**](ServiceLivenessInfo_timeStamp.md) | | [default to null] +**Interval** | **int32** | The interval (in seconds) between two consecutive \"heartbeat\" messages (see clause 8.2.10.3.3) that MEC platform has determined. | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfoTimeStamp.md b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfoTimeStamp.md new file mode 100644 index 000000000..3964ffe45 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessInfoTimeStamp.md @@ -0,0 +1,10 @@ +# ServiceLivenessInfoTimeStamp + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Seconds** | **int32** | | [default to null] +**NanoSeconds** | **int32** | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-service-mgmt-client/docs/ServiceLivenessUpdate.md b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessUpdate.md new file mode 100644 index 000000000..6adb66a31 --- /dev/null +++ b/go-packages/meep-service-mgmt-client/docs/ServiceLivenessUpdate.md @@ -0,0 +1,9 @@ +# ServiceLivenessUpdate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | [***ServiceState**](ServiceState.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-service-mgmt-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-service-mgmt-client/docs/SubscriptionLinkListLinks.md index 3759ba13d..fab16509d 100644 --- a/go-packages/meep-service-mgmt-client/docs/SubscriptionLinkListLinks.md +++ b/go-packages/meep-service-mgmt-client/docs/SubscriptionLinkListLinks.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Self** | [***LinkType**](LinkType.md) | | [default to null] -**Subscriptions** | [**[]SubscriptionLinkListLinksSubscriptions**](SubscriptionLinkList__links_subscriptions.md) | The MEC application instance's subscriptions | [optional] [default to null] +**Subscriptions** | [**[]SubscriptionLinkListLinksSubscriptions**](SubscriptionLinkList__links_subscriptions.md) | The MEC application instance's subscriptions | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) -- GitLab From 3809bb978debe1016625df246154de5f041dae6b Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 11:59:37 +0500 Subject: [PATCH 159/183] add error handling capabilities in problemDetails in service-mgmt --- .../api/service-mgmt/swagger.yaml | 3 + .../server/service-mgmt/convert.go | 9 ++ .../service-mgmt/model_problem_details.go | 4 +- .../server/service-mgmt/service-mgmt.go | 113 ++++++++++-------- 4 files changed, 76 insertions(+), 53 deletions(-) diff --git a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml index fb05d9502..e62d1bae4 100644 --- a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml +++ b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml @@ -412,6 +412,9 @@ components: type: string format: uri description: A URI reference that identifies the specific occurrence of the problem + required: + - status + - detail GrantType: description: OAuth 2.0 grant type type: string diff --git a/go-apps/meep-app-enablement/server/service-mgmt/convert.go b/go-apps/meep-app-enablement/server/service-mgmt/convert.go index c8b91a5c2..f2f599797 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/convert.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/convert.go @@ -86,3 +86,12 @@ func convertSubscriptionLinkListToJson(obj *SubscriptionLinkList) string { } return string(jsonInfo) } + +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go b/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go index 72f455f53..38186a1fd 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_problem_details.go @@ -29,9 +29,9 @@ type ProblemDetails struct { // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` } diff --git a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go index 535c7392c..035f0ab6c 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go @@ -186,7 +186,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -198,7 +198,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -215,7 +215,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { err = decoder.Decode(&sInfoPost) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -223,38 +223,38 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { if sInfoPost.SerInstanceId != "" { errStr := "Service instance ID must not be present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.SerName == "" { errStr := "Mandatory Service Name parameter not present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.Version == "" { errStr := "Mandatory Service Version parameter not present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.State == nil { errStr := "Mandatory Service State parameter not present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.Serializer == nil { errStr := "Mandatory Serializer parameter not present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.SerCategory != nil { errStr := validateCategoryRef(sInfoPost.SerCategory) if errStr != "" { log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } } @@ -262,7 +262,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { (sInfoPost.TransportId == "" && sInfoPost.TransportInfo == nil) { errStr := "Either transportId or transportInfo but not both shall be present" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } if sInfoPost.TransportInfo != nil { @@ -274,7 +274,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { sInfoPost.TransportInfo.Endpoint == nil { errStr := "Id, Name, Type, Protocol, Version, Endpoint are all mandatory parameters of TransportInfo" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } } @@ -296,7 +296,7 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { err, retCode := setService(appId, sInfo, ServiceAvailabilityNotificationChangeType_ADDED) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), retCode) + errHandlerProblemDetails(w, err.Error(), retCode) return } @@ -319,7 +319,7 @@ func appServicesByIdPUT(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -331,7 +331,7 @@ func appServicesByIdPUT(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -357,7 +357,7 @@ func appServicesByIdPUT(w http.ResponseWriter, r *http.Request) { err = decoder.Decode(&sInfo) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -374,7 +374,7 @@ func appServicesByIdPUT(w http.ResponseWriter, r *http.Request) { if sInfoJson != sInfoPrevJson { errStr := "Only the ServiceInfo state property may be changed" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } @@ -384,7 +384,7 @@ func appServicesByIdPUT(w http.ResponseWriter, r *http.Request) { err, retCode := setService(appId, &sInfo, ServiceAvailabilityNotificationChangeType_STATE_CHANGED) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), retCode) + errHandlerProblemDetails(w, err.Error(), retCode) return } } @@ -407,7 +407,7 @@ func appServicesByIdDELETE(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -419,7 +419,7 @@ func appServicesByIdDELETE(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -436,7 +436,7 @@ func appServicesByIdDELETE(w http.ResponseWriter, r *http.Request) { // Delete service err = delServiceById(appId, svcId) if err != nil { - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -464,7 +464,7 @@ func appServicesGET(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfoAnyMep(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -476,7 +476,7 @@ func appServicesGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -497,7 +497,7 @@ func appServicesByIdGET(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfoAnyMep(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -509,7 +509,7 @@ func appServicesByIdGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -550,7 +550,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { // Get App instance appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -562,7 +562,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -573,19 +573,19 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { err = decoder.Decode(&serAvailNotifSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate mandatory properties if serAvailNotifSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if serAvailNotifSub.SubscriptionType != SER_AVAILABILITY_NOTIF_SUB_TYPE { log.Error("SubscriptionType shall be SerAvailabilityNotificationSubscription") - http.Error(w, "SubscriptionType shall be SerAvailabilityNotificationSubscription", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionType shall be SerAvailabilityNotificationSubscription", http.StatusBadRequest) return } @@ -607,7 +607,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { errStr := validateCategoryRef(&categoryRef) if errStr != "" { log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } } @@ -619,7 +619,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { if nbMutuallyExclusiveParams > 1 { errStr := "FilteringCriteria attributes serInstanceIds, serNames, serCategories are mutually-exclusive" log.Error(errStr) - http.Error(w, errStr, http.StatusBadRequest) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } } @@ -640,7 +640,7 @@ func applicationsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) { _, err = subMgr.CreateSubscription(subCfg, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -662,7 +662,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -674,7 +674,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -683,7 +683,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -691,7 +691,7 @@ func applicationsSubscriptionGET(w http.ResponseWriter, r *http.Request) { if sub.Cfg.AppId != appId || sub.Cfg.Type != SER_AVAILABILITY_NOTIF_SUB_TYPE { err = errors.New("Subscription not found") log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -712,7 +712,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -724,7 +724,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -733,7 +733,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -741,7 +741,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { if sub.Cfg.AppId != appId || sub.Cfg.Type != SER_AVAILABILITY_NOTIF_SUB_TYPE { err = errors.New("Subscription not found") log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -749,7 +749,7 @@ func applicationsSubscriptionDELETE(w http.ResponseWriter, r *http.Request) { err = subMgr.DeleteSubscription(sub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -768,7 +768,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { // Get App instance info appInfo, err := getAppInfo(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -780,7 +780,7 @@ func applicationsSubscriptionsGET(w http.ResponseWriter, r *http.Request) { w.WriteHeader(code) fmt.Fprintf(w, problemDetails) } else { - http.Error(w, err.Error(), code) + errHandlerProblemDetails(w, err.Error(), code) } return } @@ -839,7 +839,7 @@ func transportsGET(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(transportInfoResp) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -978,7 +978,7 @@ func getServices(w http.ResponseWriter, r *http.Request, appId string) { validParams := []string{"ser_instance_id", "ser_name", "ser_category_id", "consumed_local_only", "is_local", "scope_of_locality"} err := validateQueryParams(q, validParams) if err != nil { - http.Error(w, err.Error(), http.StatusBadRequest) + errHandlerProblemDetails(w, err.Error(), http.StatusBadRequest) return } @@ -1002,7 +1002,7 @@ func getServices(w http.ResponseWriter, r *http.Request, appId string) { // Make sure only 1 or none of the following are present: ser_instance_id, ser_name, ser_category_id err = validateServiceQueryParams(serInstanceId, serName, serCategoryId) if err != nil { - http.Error(w, err.Error(), http.StatusBadRequest) + errHandlerProblemDetails(w, err.Error(), http.StatusBadRequest) return } @@ -1031,7 +1031,7 @@ func getServices(w http.ResponseWriter, r *http.Request, appId string) { err = rc.ForEachJSONEntry(key, populateServiceInfoList, sInfoList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1039,7 +1039,7 @@ func getServices(w http.ResponseWriter, r *http.Request, appId string) { jsonResponse, err := json.Marshal(sInfoList.Services) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1051,7 +1051,7 @@ func getService(w http.ResponseWriter, r *http.Request, appId string, serviceId if serviceId == "" { errStr := "Invalid Service ID" log.Error(errStr) - http.Error(w, errStr, http.StatusInternalServerError) + errHandlerProblemDetails(w, errStr, http.StatusInternalServerError) return } @@ -1068,7 +1068,7 @@ func getService(w http.ResponseWriter, r *http.Request, appId string, serviceId err := rc.ForEachJSONEntry(key, populateServiceInfoList, &sInfoList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1082,7 +1082,7 @@ func getService(w http.ResponseWriter, r *http.Request, appId string, serviceId jsonResponse, err := json.Marshal(sInfoList.Services[0]) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } w.WriteHeader(http.StatusOK) @@ -1485,3 +1485,14 @@ func newSerAvailabilityNotifSubCfg(sub *SerAvailabilityNotificationSubscription, } return subCfg } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} -- GitLab From 513ea477727ed5ad6c805c9af5e4f3597821d5ec Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 12:11:42 +0500 Subject: [PATCH 160/183] minor fix in service-mgmt swagger.yaml --- go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml index e62d1bae4..024ef8ccd 100644 --- a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml +++ b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml @@ -426,6 +426,7 @@ components: example: 'OAUTH2_CLIENT_CREDENTIALS' OAuth2Info: description: Parameters related to use of OAuth 2.0 + type: object required: - grantTypes - tokenEndpoint -- GitLab From 729a1ab69b3a0382e4ff92c2ab8c5eeb02d6c5b9 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 12:16:01 +0500 Subject: [PATCH 161/183] update swagger.yaml in meep-service-mgmt-client --- go-packages/meep-service-mgmt-client/api/swagger.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/go-packages/meep-service-mgmt-client/api/swagger.yaml b/go-packages/meep-service-mgmt-client/api/swagger.yaml index ab73984fe..930a11e27 100644 --- a/go-packages/meep-service-mgmt-client/api/swagger.yaml +++ b/go-packages/meep-service-mgmt-client/api/swagger.yaml @@ -424,6 +424,7 @@ components: example: 'OAUTH2_CLIENT_CREDENTIALS' OAuth2Info: description: Parameters related to use of OAuth 2.0 + type: object required: - grantTypes - tokenEndpoint -- GitLab From b772f60196d81aa4e3ed2fffb187328c53397806 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 10 Jun 2022 10:24:59 +0200 Subject: [PATCH 162/183] Update model with MEC-021 V2.2.1 OpenAPI --- go-apps/meep-ams/server/README.md | 7 +- go-apps/meep-ams/server/api_unsupported.go | 4 +- go-apps/meep-ams/server/logger.go | 4 +- .../model_adjacent_app_info_notification.go | 30 +- ...app_info_notification_adjacent_app_info.go | 29 +- .../model_adjacent_app_info_subscription.go | 29 +- ...l_adjacent_app_info_subscription__links.go | 28 - ...t_app_info_subscription_filter_criteria.go | 24 +- ...el_adjacent_app_info_subscription_links.go | 16 + .../model_adjacent_app_instance_info.go | 24 +- .../model_app_mobility_service_level.go | 19 + .../model_app_termination_notification.go | 22 +- ...del_app_termination_notification__links.go | 24 +- go-apps/meep-ams/server/model_associate_id.go | 28 +- go-apps/meep-ams/server/model_body.go | 13 + go-apps/meep-ams/server/model_body_1.go | 13 + go-apps/meep-ams/server/model_body_2.go | 13 + .../server/model_communication_interface.go | 23 +- ...el_communication_interface_ip_addresses.go | 23 +- .../server/model_context_transfer_state.go | 18 + .../server/model_expiry_notification.go | 31 +- .../model_expiry_notification__links.go | 30 - .../server/model_inline_notification.go | 28 - .../server/model_inline_subscription.go | 28 - .../meep-ams/server/model_key_value_pairs.go | 28 - go-apps/meep-ams/server/model_link_type.go | 25 +- .../server/model_mec_host_information.go | 28 +- .../model_mobility_procedure_notification.go | 36 +- ..._mobility_procedure_notification__links.go | 16 + ..._procedure_notification_target_app_info.go | 25 +- .../model_mobility_procedure_subscription.go | 31 +- ..._procedure_subscription_filter_criteria.go | 27 +- ...l_mobility_procedure_subscription_links.go | 15 + .../meep-ams/server/model_mobility_status.go | 19 + .../model_one_of_inline_notification.go | 29 - .../model_one_of_inline_subscription.go | 29 - go-apps/meep-ams/server/model_one_ofbody.go | 15 + go-apps/meep-ams/server/model_one_ofbody_1.go | 15 + go-apps/meep-ams/server/model_one_ofbody_2.go | 16 + .../server/model_operation_action_type.go | 25 +- .../meep-ams/server/model_problem_details.go | 22 +- .../server/model_registration_info.go | 26 +- ...el_registration_info_device_information.go | 27 +- ...l_registration_info_service_consumer_id.go | 26 +- .../server/model_subscription_link_list.go | 25 +- .../model_subscription_link_list__links.go | 29 - .../model_subscription_link_list_links.go | 18 + ...del_subscription_link_list_subscription.go | 26 +- .../server/model_subscription_type.go | 19 + .../server/model_test_notification.go | 17 + .../server/model_test_notification__links.go | 16 + go-apps/meep-ams/server/model_time_stamp.go | 29 +- go-apps/meep-ams/server/model_type.go | 20 + .../server/model_websock_notif_config.go | 17 + go-apps/meep-ams/server/routers.go | 8 +- .../meep-ams-client/.swagger-codegen/VERSION | 2 +- go-packages/meep-ams-client/README.md | 54 +- go-packages/meep-ams-client/api/swagger.yaml | 1589 ++++++++--------- .../meep-ams-client/api_unsupported.go | 35 +- go-packages/meep-ams-client/client.go | 28 +- go-packages/meep-ams-client/configuration.go | 4 +- .../docs/AdjacentAppInfoNotification.md | 7 +- ...acentAppInfoNotificationAdjacentAppInfo.md | 5 +- .../docs/AdjacentAppInfoSubscription.md | 9 +- .../docs/AdjacentAppInfoSubscriptionLinks.md | 3 +- .../docs/AdjacentAppInstanceInfo.md | 2 +- .../meep-ams-client/docs/AppMobSerApi.md | 163 ++ ...fication.md => AppMobilityServiceLevel.md} | 3 +- .../meep-ams-client/docs/AssociateId.md | 5 +- .../docs/{KeyValuePairs.md => Body.md} | 3 +- .../docs/{InlineNotification.md => Body1.md} | 3 +- .../docs/{InlineSubscription.md => Body2.md} | 3 +- .../docs/CommunicationInterface.md | 3 +- .../docs/ContextTransferState.md | 8 + .../docs/ExpiryNotification.md | 6 +- .../docs/ExpiryNotificationLinks.md | 10 - go-packages/meep-ams-client/docs/LinkType.md | 3 +- .../meep-ams-client/docs/LocationApi.md | 36 + .../docs/MecHostInformation.md | 5 +- .../docs/MobilityProcedureNotification.md | 10 +- .../MobilityProcedureNotificationLinks.md | 9 + ...ilityProcedureNotificationTargetAppInfo.md | 3 +- .../docs/MobilityProcedureSubscription.md | 9 +- ...lityProcedureSubscriptionFilterCriteria.md | 5 +- .../MobilityProcedureSubscriptionLinks.md | 9 + .../meep-ams-client/docs/MobilityStatus.md | 8 + go-packages/meep-ams-client/docs/ModelType.md | 8 + .../meep-ams-client/docs/NotificationsApi.md | 36 + .../docs/OneOfInlineSubscription.md | 9 - go-packages/meep-ams-client/docs/OneOfbody.md | 8 + .../meep-ams-client/docs/OneOfbody1.md | 8 + .../meep-ams-client/docs/OneOfbody2.md | 8 + .../meep-ams-client/docs/RegistrationInfo.md | 7 +- .../docs/RegistrationInfoDeviceInformation.md | 5 +- .../docs/RegistrationInfoServiceConsumerId.md | 5 +- .../docs/SubscriptionLinkList.md | 4 +- .../docs/SubscriptionLinkListLinks.md | 2 +- .../docs/SubscriptionLinkListSubscription.md | 3 +- .../meep-ams-client/docs/SubscriptionType.md | 8 + .../meep-ams-client/docs/SubscriptionsApi.md | 153 ++ .../meep-ams-client/docs/TestNotification.md | 10 + .../docs/TestNotificationLinks.md | 9 + go-packages/meep-ams-client/docs/TimeStamp.md | 5 +- .../meep-ams-client/docs/UnsupportedApi.md | 16 +- .../docs/WebsockNotifConfig.md | 10 + .../model_adjacent_app_info_notification.go | 34 +- ...app_info_notification_adjacent_app_info.go | 31 +- .../model_adjacent_app_info_subscription.go | 34 +- ...l_adjacent_app_info_subscription__links.go | 29 - ...t_app_info_subscription_filter_criteria.go | 24 +- .../model_adjacent_app_instance_info.go | 27 +- .../model_app_termination_notification.go | 31 +- ...del_app_termination_notification__links.go | 26 +- .../meep-ams-client/model_associate_id.go | 28 +- .../model_communication_interface.go | 23 +- ...el_communication_interface_ip_addresses.go | 25 +- .../model_expiry_notification.go | 31 +- .../model_expiry_notification__links.go | 31 - .../model_inline_notification.go | 29 - .../model_inline_subscription.go | 42 - .../meep-ams-client/model_key_value_pairs.go | 29 - .../meep-ams-client/model_link_type.go | 26 +- .../model_mec_host_information.go | 28 +- .../model_mobility_procedure_notification.go | 39 +- ..._procedure_notification_target_app_info.go | 26 +- .../model_mobility_procedure_subscription.go | 34 +- ..._procedure_subscription_filter_criteria.go | 28 +- .../model_one_of_inline_notification.go | 30 - .../model_one_of_inline_subscription.go | 30 - .../model_operation_action_type.go | 26 +- .../meep-ams-client/model_problem_details.go | 23 +- .../model_registration_info.go | 29 +- ...el_registration_info_device_information.go | 29 +- ...l_registration_info_service_consumer_id.go | 27 +- .../model_subscription_link_list.go | 25 +- .../model_subscription_link_list__links.go | 30 - ...del_subscription_link_list_subscription.go | 26 +- .../meep-ams-client/model_time_stamp.go | 30 +- go-packages/meep-ams-client/response.go | 2 +- 139 files changed, 2051 insertions(+), 2479 deletions(-) delete mode 100644 go-apps/meep-ams/server/model_adjacent_app_info_subscription__links.go create mode 100644 go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go create mode 100644 go-apps/meep-ams/server/model_app_mobility_service_level.go create mode 100644 go-apps/meep-ams/server/model_body.go create mode 100644 go-apps/meep-ams/server/model_body_1.go create mode 100644 go-apps/meep-ams/server/model_body_2.go create mode 100644 go-apps/meep-ams/server/model_context_transfer_state.go delete mode 100644 go-apps/meep-ams/server/model_expiry_notification__links.go delete mode 100644 go-apps/meep-ams/server/model_inline_notification.go delete mode 100644 go-apps/meep-ams/server/model_inline_subscription.go delete mode 100644 go-apps/meep-ams/server/model_key_value_pairs.go create mode 100644 go-apps/meep-ams/server/model_mobility_procedure_notification__links.go create mode 100644 go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go create mode 100644 go-apps/meep-ams/server/model_mobility_status.go delete mode 100644 go-apps/meep-ams/server/model_one_of_inline_notification.go delete mode 100644 go-apps/meep-ams/server/model_one_of_inline_subscription.go create mode 100644 go-apps/meep-ams/server/model_one_ofbody.go create mode 100644 go-apps/meep-ams/server/model_one_ofbody_1.go create mode 100644 go-apps/meep-ams/server/model_one_ofbody_2.go delete mode 100644 go-apps/meep-ams/server/model_subscription_link_list__links.go create mode 100644 go-apps/meep-ams/server/model_subscription_link_list_links.go create mode 100644 go-apps/meep-ams/server/model_subscription_type.go create mode 100644 go-apps/meep-ams/server/model_test_notification.go create mode 100644 go-apps/meep-ams/server/model_test_notification__links.go create mode 100644 go-apps/meep-ams/server/model_type.go create mode 100644 go-apps/meep-ams/server/model_websock_notif_config.go create mode 100644 go-packages/meep-ams-client/docs/AppMobSerApi.md rename go-packages/meep-ams-client/docs/{OneOfInlineNotification.md => AppMobilityServiceLevel.md} (91%) rename go-packages/meep-ams-client/docs/{KeyValuePairs.md => Body.md} (94%) rename go-packages/meep-ams-client/docs/{InlineNotification.md => Body1.md} (92%) rename go-packages/meep-ams-client/docs/{InlineSubscription.md => Body2.md} (92%) create mode 100644 go-packages/meep-ams-client/docs/ContextTransferState.md delete mode 100644 go-packages/meep-ams-client/docs/ExpiryNotificationLinks.md create mode 100644 go-packages/meep-ams-client/docs/LocationApi.md create mode 100644 go-packages/meep-ams-client/docs/MobilityProcedureNotificationLinks.md create mode 100644 go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionLinks.md create mode 100644 go-packages/meep-ams-client/docs/MobilityStatus.md create mode 100644 go-packages/meep-ams-client/docs/ModelType.md create mode 100644 go-packages/meep-ams-client/docs/NotificationsApi.md delete mode 100644 go-packages/meep-ams-client/docs/OneOfInlineSubscription.md create mode 100644 go-packages/meep-ams-client/docs/OneOfbody.md create mode 100644 go-packages/meep-ams-client/docs/OneOfbody1.md create mode 100644 go-packages/meep-ams-client/docs/OneOfbody2.md create mode 100644 go-packages/meep-ams-client/docs/SubscriptionType.md create mode 100644 go-packages/meep-ams-client/docs/SubscriptionsApi.md create mode 100644 go-packages/meep-ams-client/docs/TestNotification.md create mode 100644 go-packages/meep-ams-client/docs/TestNotificationLinks.md create mode 100644 go-packages/meep-ams-client/docs/WebsockNotifConfig.md delete mode 100644 go-packages/meep-ams-client/model_adjacent_app_info_subscription__links.go delete mode 100644 go-packages/meep-ams-client/model_expiry_notification__links.go delete mode 100644 go-packages/meep-ams-client/model_inline_notification.go delete mode 100644 go-packages/meep-ams-client/model_inline_subscription.go delete mode 100644 go-packages/meep-ams-client/model_key_value_pairs.go delete mode 100644 go-packages/meep-ams-client/model_one_of_inline_notification.go delete mode 100644 go-packages/meep-ams-client/model_one_of_inline_subscription.go delete mode 100644 go-packages/meep-ams-client/model_subscription_link_list__links.go diff --git a/go-apps/meep-ams/server/README.md b/go-apps/meep-ams/server/README.md index 1c3c0af12..d1c55ba52 100644 --- a/go-apps/meep-ams/server/README.md +++ b/go-apps/meep-ams/server/README.md @@ -1,6 +1,6 @@ # Go API Server for server -Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). +ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. ## Overview This server was generated by the [swagger-codegen] @@ -12,8 +12,9 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) -- API version: 2.1.1 -- Build date: 2021-11-23T08:34:18.311803-05:00[America/Toronto] +- API version: 2.2.1 +- Build date: 2022-06-09T17:46:15.665918+05:00[Asia/Karachi] +For more information, please visit [https://forge.etsi.org/rep/mec/gs021-amsi-api](https://forge.etsi.org/rep/mec/gs021-amsi-api) ### Running the server diff --git a/go-apps/meep-ams/server/api_unsupported.go b/go-apps/meep-ams/server/api_unsupported.go index a44c34975..b6493c517 100644 --- a/go-apps/meep-ams/server/api_unsupported.go +++ b/go-apps/meep-ams/server/api_unsupported.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/logger.go b/go-apps/meep-ams/server/logger.go index 62e6003b0..1a22b28a5 100644 --- a/go-apps/meep-ams/server/logger.go +++ b/go-apps/meep-ams/server/logger.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go index f69268d30..730ba9e2e 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go @@ -1,33 +1,23 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type AdjacentAppInfoNotification struct { - // Shall be set to \\\"AdjacentAppInfoNotification\\\". + // Shall be set to \"AdjacentAppInfoNotification\". NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // 1 to N identifiers to associate the information for specific + AssociateId []AssociateId `json:"associateId,omitempty"` + AdjacentAppInfo []AdjacentAppInfoNotificationAdjacentAppInfo `json:"adjacentAppInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links"` } diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go index f907505d3..e258a3d85 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go @@ -1,32 +1,17 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -// Identifiers to associate the information of target application instance. type AdjacentAppInfoNotificationAdjacentAppInfo struct { - // Identifiers of the target application instance. + // Identifier of the adjacent application instance. AppInstanceId string `json:"appInstanceId"` - - CommInterface *CommunicationInterface `json:"commInterface,omitempty"` + // If present, it represents the communication interface(s) information of the application instance. + CommInterface []CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go index ab1be5ab1..f3a3ecec5 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go @@ -1,32 +1,23 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type AdjacentAppInfoSubscription struct { + Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. + // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. CallbackReference string `json:"callbackReference"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription__links.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription__links.go deleted file mode 100644 index 84276d371..000000000 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription__links.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type AdjacentAppInfoSubscriptionLinks struct { - Self *LinkType `json:"self,omitempty"` -} diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go index 3bded0377..c20a9a20b 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go @@ -1,28 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type AdjacentAppInfoSubscriptionFilterCriteria struct { + AppInstanceId string `json:"appInstanceId,omitempty"` } diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go new file mode 100644 index 000000000..e10b28252 --- /dev/null +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go @@ -0,0 +1,16 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. +type AdjacentAppInfoSubscriptionLinks struct { + + Self *LinkType `json:"self"` +} diff --git a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go index 6034e1237..a7bec688b 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go @@ -1,24 +1,10 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server @@ -32,4 +18,6 @@ type AdjacentAppInstanceInfo struct { AppInstanceId string `json:"appInstanceId"` MecHostInformation *MecHostInformation `json:"mecHostInformation,omitempty"` + // dentifier of the application instance that registers to the AMS, which is instantiated from the application descriptor identified by the attribute \"appDId\". + RegisteredInstanceId string `json:"registeredInstanceId,omitempty"` } diff --git a/go-apps/meep-ams/server/model_app_mobility_service_level.go b/go-apps/meep-ams/server/model_app_mobility_service_level.go new file mode 100644 index 000000000..5cde04c97 --- /dev/null +++ b/go-apps/meep-ams/server/model_app_mobility_service_level.go @@ -0,0 +1,19 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server +// AppMobilityServiceLevel : This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host. +type AppMobilityServiceLevel string + +// List of AppMobilityServiceLevel +const ( + NOT_ALLOWED AppMobilityServiceLevel = "APP_MOBILITY_NOT_ALLOWED" + WITH_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITH_CONFIRMATION" + WITHOUT_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITHOUT_CONFIRMATION" +) diff --git a/go-apps/meep-ams/server/model_app_termination_notification.go b/go-apps/meep-ams/server/model_app_termination_notification.go index f949da9ff..3771cd533 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification.go +++ b/go-apps/meep-ams/server/model_app_termination_notification.go @@ -1,24 +1,10 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_app_termination_notification__links.go b/go-apps/meep-ams/server/model_app_termination_notification__links.go index 27459121b..f1e43e095 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification__links.go +++ b/go-apps/meep-ams/server/model_app_termination_notification__links.go @@ -1,30 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -// Object containing hyperlinks related to the resource. type AppTerminationNotificationLinks struct { + Subscription *LinkType `json:"subscription"` ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` diff --git a/go-apps/meep-ams/server/model_associate_id.go b/go-apps/meep-ams/server/model_associate_id.go index 43a8b7deb..131f57911 100644 --- a/go-apps/meep-ams/server/model_associate_id.go +++ b/go-apps/meep-ams/server/model_associate_id.go @@ -1,31 +1,17 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type AssociateId struct { - // Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID. - Type_ int32 `json:"type,omitempty"` + + Type_ *ModelType `json:"type"` // Value for the identifier. - Value string `json:"value,omitempty"` + Value string `json:"value"` } diff --git a/go-apps/meep-ams/server/model_body.go b/go-apps/meep-ams/server/model_body.go new file mode 100644 index 000000000..feb30ae5e --- /dev/null +++ b/go-apps/meep-ams/server/model_body.go @@ -0,0 +1,13 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type Body struct { +} diff --git a/go-apps/meep-ams/server/model_body_1.go b/go-apps/meep-ams/server/model_body_1.go new file mode 100644 index 000000000..e851aa1f4 --- /dev/null +++ b/go-apps/meep-ams/server/model_body_1.go @@ -0,0 +1,13 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type Body1 struct { +} diff --git a/go-apps/meep-ams/server/model_body_2.go b/go-apps/meep-ams/server/model_body_2.go new file mode 100644 index 000000000..1b4b620bb --- /dev/null +++ b/go-apps/meep-ams/server/model_body_2.go @@ -0,0 +1,13 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type Body2 struct { +} diff --git a/go-apps/meep-ams/server/model_communication_interface.go b/go-apps/meep-ams/server/model_communication_interface.go index f68276aba..998abc72e 100644 --- a/go-apps/meep-ams/server/model_communication_interface.go +++ b/go-apps/meep-ams/server/model_communication_interface.go @@ -1,28 +1,15 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type CommunicationInterface struct { + IpAddresses []CommunicationInterfaceIpAddresses `json:"ipAddresses,omitempty"` } diff --git a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go index ca7c39e9c..e03614bb5 100644 --- a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go +++ b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go @@ -1,29 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type CommunicationInterfaceIpAddresses struct { + Host string `json:"host"` Port int32 `json:"port"` diff --git a/go-apps/meep-ams/server/model_context_transfer_state.go b/go-apps/meep-ams/server/model_context_transfer_state.go new file mode 100644 index 000000000..dc53eb71a --- /dev/null +++ b/go-apps/meep-ams/server/model_context_transfer_state.go @@ -0,0 +1,18 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server +// ContextTransferState : If present, it represents the state of transferring the user context to another application instance. +type contextTransferState string + +// List of contextTransferState +const ( + NOT_TRANSFERRED ContextTransferState = "NOT_TRANSFERRED" + USER_CONTEXT_TRANSFER_COMPLETED ContextTransferState = "USER_CONTEXT_TRANSFER_COMPLETED" +) diff --git a/go-apps/meep-ams/server/model_expiry_notification.go b/go-apps/meep-ams/server/model_expiry_notification.go index a1946686a..fad03d9a1 100644 --- a/go-apps/meep-ams/server/model_expiry_notification.go +++ b/go-apps/meep-ams/server/model_expiry_notification.go @@ -1,32 +1,21 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type ExpiryNotification struct { - Links *ExpiryNotificationLinks `json:"_links"` - - ExpiryDeadline *TimeStamp `json:"expiryDeadline"` + // Shall be set to \"ExpiryNotification\". + NotificationType string `json:"notificationType"` TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + + Links *MobilityProcedureNotificationLinks `json:"_links"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline"` } diff --git a/go-apps/meep-ams/server/model_expiry_notification__links.go b/go-apps/meep-ams/server/model_expiry_notification__links.go deleted file mode 100644 index fa35d97b9..000000000 --- a/go-apps/meep-ams/server/model_expiry_notification__links.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -// List of hyperlinks related to the resource. -type ExpiryNotificationLinks struct { - // Self referring URI. This shall be included in the response from the AMS. The URI shall be unique within the AMS API as it acts as an ID for the subscription. - Self string `json:"self"` -} diff --git a/go-apps/meep-ams/server/model_inline_notification.go b/go-apps/meep-ams/server/model_inline_notification.go deleted file mode 100644 index 035b00c94..000000000 --- a/go-apps/meep-ams/server/model_inline_notification.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type InlineNotification struct { - // Not used in server -} diff --git a/go-apps/meep-ams/server/model_inline_subscription.go b/go-apps/meep-ams/server/model_inline_subscription.go deleted file mode 100644 index 6ce3f9087..000000000 --- a/go-apps/meep-ams/server/model_inline_subscription.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type InlineSubscription struct { - // Not used in server -} diff --git a/go-apps/meep-ams/server/model_key_value_pairs.go b/go-apps/meep-ams/server/model_key_value_pairs.go deleted file mode 100644 index d4de6c1ed..000000000 --- a/go-apps/meep-ams/server/model_key_value_pairs.go +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -// 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' -type KeyValuePairs struct { -} diff --git a/go-apps/meep-ams/server/model_link_type.go b/go-apps/meep-ams/server/model_link_type.go index d3a9b9ecb..61f17493e 100644 --- a/go-apps/meep-ams/server/model_link_type.go +++ b/go-apps/meep-ams/server/model_link_type.go @@ -1,29 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// 'This data type represents a type of link' type LinkType struct { - // URI referring to a resource + // The URI referring to the subscription. Href string `json:"href"` } diff --git a/go-apps/meep-ams/server/model_mec_host_information.go b/go-apps/meep-ams/server/model_mec_host_information.go index 5e9f3ba68..7a37ee3c8 100644 --- a/go-apps/meep-ams/server/model_mec_host_information.go +++ b/go-apps/meep-ams/server/model_mec_host_information.go @@ -1,31 +1,17 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -// 'The data type represents the parameters of MEC host information.' type MecHostInformation struct { + // Human-readable name of MEC host. HostName string `json:"hostName,omitempty"` - // 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' - HostId *interface{} `json:"hostId"` + + HostId *map[string]interface{} `json:"hostId"` } diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification.go b/go-apps/meep-ams/server/model_mobility_procedure_notification.go index 8bd26c937..151f9aefe 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification.go @@ -1,37 +1,25 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MobilityProcedureNotification struct { - // 0 to N identifiers to associate the information for specific UE(s) and flow(s). - AssociateId []AssociateId `json:"associateId,omitempty"` - // Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. - MobilityStatus int32 `json:"mobilityStatus"` - // Shall be set to \\\"MobilityProcedureNotification\\\". + // Shall be set to \"MobilityProcedureNotification\". NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // 1 to N identifiers to associate the information for specific + AssociateId []AssociateId `json:"associateId"` + + MobilityStatus *MobilityStatus `json:"mobilityStatus"` + TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links,omitempty"` } diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go new file mode 100644 index 000000000..1c1d8cfa6 --- /dev/null +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go @@ -0,0 +1,16 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// Object containing hyperlinks related to the resource. +type MobilityProcedureNotificationLinks struct { + + Subscription *LinkType `json:"subscription"` +} diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go index fd5f99aba..65e56e618 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go @@ -1,32 +1,17 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -// Identifiers to associate the information of target application instance. type MobilityProcedureNotificationTargetAppInfo struct { // Identifiers of the target application instance. - AppInstanceId string `json:"appInstanceId,omitempty"` + AppInstanceId string `json:"appInstanceId"` CommInterface *CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go index a1388ed19..1fc6a2204 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go @@ -1,32 +1,23 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type MobilityProcedureSubscription struct { - Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` + + Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` + CallbackReference string `json:"callbackReference,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go index 4d0b8cc0b..7ee76c7df 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go @@ -1,33 +1,20 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type MobilityProcedureSubscriptionFilterCriteria struct { - // Identifier of the application instance that registers the application mobility service. + // Identifier of the application instance that registers the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` // 0 to N identifiers to associate the information for specific UE(s) and flow(s). AssociateId []AssociateId `json:"associateId,omitempty"` // In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. - MobilityStatus []int32 `json:"mobilityStatus,omitempty"` + MobilityStatus []MobilityStatus `json:"mobilityStatus,omitempty"` } diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go new file mode 100644 index 000000000..adf284a8d --- /dev/null +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type MobilityProcedureSubscriptionLinks struct { + + Self *LinkType `json:"self"` +} diff --git a/go-apps/meep-ams/server/model_mobility_status.go b/go-apps/meep-ams/server/model_mobility_status.go new file mode 100644 index 000000000..582758497 --- /dev/null +++ b/go-apps/meep-ams/server/model_mobility_status.go @@ -0,0 +1,19 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server +// MobilityStatus : Indicate the status of the UE mobility +type MobilityStatus string + +// List of MobilityStatus +const ( + TRIGGERED MobilityStatus = "INTERHOST_MOVEOUT_TRIGGERED" + COMPLETED MobilityStatus = "INTERHOST_MOVEOUT_COMPLETED" + FAILED MobilityStatus = "INTERHOST_MOVEOUT_FAILED" +) diff --git a/go-apps/meep-ams/server/model_one_of_inline_notification.go b/go-apps/meep-ams/server/model_one_of_inline_notification.go deleted file mode 100644 index 5de27de51..000000000 --- a/go-apps/meep-ams/server/model_one_of_inline_notification.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type OneOfInlineNotification struct { - /* Discriminator */ - NotificationType string `json:"notificationType"` -} diff --git a/go-apps/meep-ams/server/model_one_of_inline_subscription.go b/go-apps/meep-ams/server/model_one_of_inline_subscription.go deleted file mode 100644 index 619ed260b..000000000 --- a/go-apps/meep-ams/server/model_one_of_inline_subscription.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -type OneOfInlineSubscription struct { - /* Discriminator */ - SubscriptionType string `json:"subscriptionType"` -} diff --git a/go-apps/meep-ams/server/model_one_ofbody.go b/go-apps/meep-ams/server/model_one_ofbody.go new file mode 100644 index 000000000..4daf20438 --- /dev/null +++ b/go-apps/meep-ams/server/model_one_ofbody.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type OneOfbody struct { + MobilityProcedureSubscription + AdjacentAppInfoSubscription +} diff --git a/go-apps/meep-ams/server/model_one_ofbody_1.go b/go-apps/meep-ams/server/model_one_ofbody_1.go new file mode 100644 index 000000000..44f1f804c --- /dev/null +++ b/go-apps/meep-ams/server/model_one_ofbody_1.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type OneOfbody1 struct { + MobilityProcedureSubscription + AdjacentAppInfoSubscription +} diff --git a/go-apps/meep-ams/server/model_one_ofbody_2.go b/go-apps/meep-ams/server/model_one_ofbody_2.go new file mode 100644 index 000000000..4b236e83d --- /dev/null +++ b/go-apps/meep-ams/server/model_one_ofbody_2.go @@ -0,0 +1,16 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type OneOfbody2 struct { + MobilityProcedureNotification + AdjacentAppInfoNotification + ExpiryNotification +} diff --git a/go-apps/meep-ams/server/model_operation_action_type.go b/go-apps/meep-ams/server/model_operation_action_type.go index 6b6bae320..63ab3ecdc 100644 --- a/go-apps/meep-ams/server/model_operation_action_type.go +++ b/go-apps/meep-ams/server/model_operation_action_type.go @@ -1,33 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server - // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING OperationActionType = "STOPPING" + STOPPING OperationActionType = "STOPPING" TERMINATING OperationActionType = "TERMINATING" ) diff --git a/go-apps/meep-ams/server/model_problem_details.go b/go-apps/meep-ams/server/model_problem_details.go index 19a0a6d71..d650d906e 100644 --- a/go-apps/meep-ams/server/model_problem_details.go +++ b/go-apps/meep-ams/server/model_problem_details.go @@ -1,24 +1,10 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_registration_info.go b/go-apps/meep-ams/server/model_registration_info.go index 01d69cdc2..1933e9b79 100644 --- a/go-apps/meep-ams/server/model_registration_info.go +++ b/go-apps/meep-ams/server/model_registration_info.go @@ -1,24 +1,10 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server @@ -26,9 +12,9 @@ package server type RegistrationInfo struct { // The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise. AppMobilityServiceId string `json:"appMobilityServiceId,omitempty"` - // If present, it specifies the device served by the application instance which is registering the application mobility service. + // If present, it specifies the device served by the application instance which is registering is registering the Application Mobility Service. DeviceInformation []RegistrationInfoDeviceInformation `json:"deviceInformation,omitempty"` - // If present, it indicates the time of application mobility service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. + // If present, it indicates the time of Application Mobility Service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. ExpiryTime int32 `json:"expiryTime,omitempty"` ServiceConsumerId *RegistrationInfoServiceConsumerId `json:"serviceConsumerId"` diff --git a/go-apps/meep-ams/server/model_registration_info_device_information.go b/go-apps/meep-ams/server/model_registration_info_device_information.go index ccdc286da..a314b50a8 100644 --- a/go-apps/meep-ams/server/model_registration_info_device_information.go +++ b/go-apps/meep-ams/server/model_registration_info_device_information.go @@ -1,32 +1,19 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type RegistrationInfoDeviceInformation struct { + AssociateId *AssociateId `json:"associateId"` - AppMobilityServiceLevel int32 `json:"appMobilityServiceLevel,omitempty"` + AppMobilityServiceLevel *AppMobilityServiceLevel `json:"appMobilityServiceLevel,omitempty"` - ContextTransferState int32 `json:"contextTransferState,omitempty"` + ContextTransferState *ContextTransferState `json:"contextTransferState,omitempty"` } diff --git a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go index 40a993074..fe0441ac8 100644 --- a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go +++ b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go @@ -1,32 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server // The identifier of service consumer requesting the application mobility service, i.e. either the application instance ID or the MEC platform ID. type RegistrationInfoServiceConsumerId struct { - // If present, it represents the identifier of the application instance registering the application mobility service. + // If present, it represents the identifier of the application instance registering the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` - // If present, it represents the identifier of the MEC platform registering the application mobility service. + // If present, it represents the identifier of the MEC platform registering the Application Mobility Service. MepId string `json:"mepId,omitempty"` } diff --git a/go-apps/meep-ams/server/model_subscription_link_list.go b/go-apps/meep-ams/server/model_subscription_link_list.go index 719b55e3a..37ef1ecc5 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list.go +++ b/go-apps/meep-ams/server/model_subscription_link_list.go @@ -1,30 +1,15 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server type SubscriptionLinkList struct { + Links *SubscriptionLinkListLinks `json:"_links"` - // A link to a subscription. - Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` } diff --git a/go-apps/meep-ams/server/model_subscription_link_list__links.go b/go-apps/meep-ams/server/model_subscription_link_list__links.go deleted file mode 100644 index 306721468..000000000 --- a/go-apps/meep-ams/server/model_subscription_link_list__links.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -// List of hyperlinks related to the resource. -type SubscriptionLinkListLinks struct { - Self *LinkType `json:"self"` -} diff --git a/go-apps/meep-ams/server/model_subscription_link_list_links.go b/go-apps/meep-ams/server/model_subscription_link_list_links.go new file mode 100644 index 000000000..49ff0b68b --- /dev/null +++ b/go-apps/meep-ams/server/model_subscription_link_list_links.go @@ -0,0 +1,18 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// List of hyperlinks related to the resource. +type SubscriptionLinkListLinks struct { + + Self *LinkType `json:"self"` + // The service consumer’s subscriptions. + Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` +} diff --git a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go index ec18286c0..bff85fcdd 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go @@ -1,24 +1,10 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server @@ -26,6 +12,6 @@ package server type SubscriptionLinkListSubscription struct { // The URI referring to the subscription. Href string `json:"href"` - // Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. - SubscriptionType int32 `json:"subscriptionType"` + + SubscriptionType *SubscriptionType `json:"subscriptionType"` } diff --git a/go-apps/meep-ams/server/model_subscription_type.go b/go-apps/meep-ams/server/model_subscription_type.go new file mode 100644 index 000000000..4f354d625 --- /dev/null +++ b/go-apps/meep-ams/server/model_subscription_type.go @@ -0,0 +1,19 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server +// SubscriptionType : Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. +type subscriptionType int32 + +// List of subscriptionType +const ( + 0_ SubscriptionType = "0" + 1_ SubscriptionType = "1" + 2_ SubscriptionType = "2" +) diff --git a/go-apps/meep-ams/server/model_test_notification.go b/go-apps/meep-ams/server/model_test_notification.go new file mode 100644 index 000000000..6d705d325 --- /dev/null +++ b/go-apps/meep-ams/server/model_test_notification.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type TestNotification struct { + // Shall be set to \"TestNotification\". + NotificationType string `json:"notificationType"` + + Links *TestNotificationLinks `json:"_links"` +} diff --git a/go-apps/meep-ams/server/model_test_notification__links.go b/go-apps/meep-ams/server/model_test_notification__links.go new file mode 100644 index 000000000..c10cc7cf4 --- /dev/null +++ b/go-apps/meep-ams/server/model_test_notification__links.go @@ -0,0 +1,16 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// Hyperlink related to the resource. +type TestNotificationLinks struct { + + Subscription *LinkType `json:"subscription"` +} diff --git a/go-apps/meep-ams/server/model_time_stamp.go b/go-apps/meep-ams/server/model_time_stamp.go index 3b7c10679..de51915cb 100644 --- a/go-apps/meep-ams/server/model_time_stamp.go +++ b/go-apps/meep-ams/server/model_time_stamp.go @@ -1,31 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server +// 'This data type represents the time stamp as Unix-time since January 1, 1970, 00:00:00 UTC' type TimeStamp struct { - // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. - NanoSeconds int32 `json:"nanoSeconds"` - // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + // 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' Seconds int32 `json:"seconds"` + // 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' + NanoSeconds int32 `json:"nanoSeconds"` } diff --git a/go-apps/meep-ams/server/model_type.go b/go-apps/meep-ams/server/model_type.go new file mode 100644 index 000000000..6ffd11dad --- /dev/null +++ b/go-apps/meep-ams/server/model_type.go @@ -0,0 +1,20 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server +// ModelType : Numeric value (0-255) corresponding to specified type of identifier +type Type string + +// List of Type +const ( + UE_I_PV4_ADDRESS ModelType = "UE_IPv4_ADDRESS" + UE_IPV6_ADDRESS ModelType = "UE_IPV6_ADDRESS" + NATED_IP_ADDRESS ModelType = "NATED_IP_ADDRESS" + GTP_TEID ModelType = "GTP_TEID" +) diff --git a/go-apps/meep-ams/server/model_websock_notif_config.go b/go-apps/meep-ams/server/model_websock_notif_config.go new file mode 100644 index 000000000..5a0b2cf56 --- /dev/null +++ b/go-apps/meep-ams/server/model_websock_notif_config.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type WebsockNotifConfig struct { + // Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` + // Set to true by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` +} diff --git a/go-apps/meep-ams/server/routers.go b/go-apps/meep-ams/server/routers.go index 60e706292..8f853f5fb 100644 --- a/go-apps/meep-ams/server/routers.go +++ b/go-apps/meep-ams/server/routers.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server @@ -153,14 +153,14 @@ var routes = Routes{ Route{ "SubGET", strings.ToUpper("Get"), - "/amsi/v1/subscriptions/", + "/amsi/v1/subscriptions", SubGET, }, Route{ "SubPOST", strings.ToUpper("Post"), - "/amsi/v1/subscriptions/", + "/amsi/v1/subscriptions", SubPOST, }, diff --git a/go-packages/meep-ams-client/.swagger-codegen/VERSION b/go-packages/meep-ams-client/.swagger-codegen/VERSION index 0667b5ffc..812aaafe6 100644 --- a/go-packages/meep-ams-client/.swagger-codegen/VERSION +++ b/go-packages/meep-ams-client/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.29 \ No newline at end of file +3.0.22 \ No newline at end of file diff --git a/go-packages/meep-ams-client/README.md b/go-packages/meep-ams-client/README.md index bb3579180..ea23b3850 100644 --- a/go-packages/meep-ams-client/README.md +++ b/go-packages/meep-ams-client/README.md @@ -1,13 +1,14 @@ # Go API client for client -Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). +ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2.1.1 +- API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen +For more information, please visit [https://forge.etsi.org/rep/mec/gs021-amsi-api](https://forge.etsi.org/rep/mec/gs021-amsi-api) ## Installation Put the package under your project folder and add the following in import: @@ -21,17 +22,18 @@ All URIs are relative to *https://localhost/sandboxname/amsi/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AmsiApi* | [**AppMobilityServiceByIdDELETE**](docs/AmsiApi.md#appmobilityservicebyiddelete) | **Delete** /app_mobility_services/{appMobilityServiceId} | deregister the individual application mobility service -*AmsiApi* | [**AppMobilityServiceByIdGET**](docs/AmsiApi.md#appmobilityservicebyidget) | **Get** /app_mobility_services/{appMobilityServiceId} | Retrieve information about this individual application mobility service -*AmsiApi* | [**AppMobilityServiceByIdPUT**](docs/AmsiApi.md#appmobilityservicebyidput) | **Put** /app_mobility_services/{appMobilityServiceId} | update the existing individual application mobility service -*AmsiApi* | [**AppMobilityServiceGET**](docs/AmsiApi.md#appmobilityserviceget) | **Get** /app_mobility_services | Retrieve information about the registered application mobility service. -*AmsiApi* | [**AppMobilityServicePOST**](docs/AmsiApi.md#appmobilityservicepost) | **Post** /app_mobility_services | Create a new application mobility service for the service requester. -*AmsiApi* | [**Mec011AppTerminationPOST**](docs/AmsiApi.md#mec011appterminationpost) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination -*AmsiApi* | [**SubByIdDELETE**](docs/AmsiApi.md#subbyiddelete) | **Delete** /subscriptions/{subscriptionId} | cancel the existing individual subscription -*AmsiApi* | [**SubByIdGET**](docs/AmsiApi.md#subbyidget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. -*AmsiApi* | [**SubByIdPUT**](docs/AmsiApi.md#subbyidput) | **Put** /subscriptions/{subscriptionId} | update the existing individual subscription. -*AmsiApi* | [**SubGET**](docs/AmsiApi.md#subget) | **Get** /subscriptions/ | Retrieve information about the subscriptions for this requestor. -*AmsiApi* | [**SubPOST**](docs/AmsiApi.md#subpost) | **Post** /subscriptions/ | Create a new subscription to Application Mobility Service notifications. +*AppMobSerApi* | [**AppMobilityServiceByIdDELETE**](docs/AppMobSerApi.md#appmobilityservicebyiddelete) | **Delete** /app_mobility_services/{appMobilityServiceId} | deregister the individual application mobility service +*AppMobSerApi* | [**AppMobilityServiceByIdGET**](docs/AppMobSerApi.md#appmobilityservicebyidget) | **Get** /app_mobility_services/{appMobilityServiceId} | Retrieve information about this individual application mobility service +*AppMobSerApi* | [**AppMobilityServiceByIdPUT**](docs/AppMobSerApi.md#appmobilityservicebyidput) | **Put** /app_mobility_services/{appMobilityServiceId} | update the existing individual application mobility service +*AppMobSerApi* | [**AppMobilityServiceGET**](docs/AppMobSerApi.md#appmobilityserviceget) | **Get** /app_mobility_services | Retrieve information about the registered application mobility service. +*AppMobSerApi* | [**AppMobilityServicePOST**](docs/AppMobSerApi.md#appmobilityservicepost) | **Post** /app_mobility_services | Create a new application mobility service for the service requester. +*LocationApi* | [**Mec011AppTerminationPOST**](docs/LocationApi.md#mec011appterminationpost) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination +*NotificationsApi* | [**NotificationPOST**](docs/NotificationsApi.md#notificationpost) | **Post** /uri_provided_by_subscriber | delivers a notification from the AMS resource to the subscriber +*SubscriptionsApi* | [**SubByIdDELETE**](docs/SubscriptionsApi.md#subbyiddelete) | **Delete** /subscriptions/{subscriptionId} | cancel the existing individual subscription +*SubscriptionsApi* | [**SubByIdGET**](docs/SubscriptionsApi.md#subbyidget) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +*SubscriptionsApi* | [**SubByIdPUT**](docs/SubscriptionsApi.md#subbyidput) | **Put** /subscriptions/{subscriptionId} | update the existing individual subscription. +*SubscriptionsApi* | [**SubGET**](docs/SubscriptionsApi.md#subget) | **Get** /subscriptions | Retrieve information about the subscriptions for this requestor. +*SubscriptionsApi* | [**SubPOST**](docs/SubscriptionsApi.md#subpost) | **Post** /subscriptions | Create a new subscription to Application Mobility Service notifications. *UnsupportedApi* | [**AdjAppInstGET**](docs/UnsupportedApi.md#adjappinstget) | **Get** /queries/adjacent_app_instances | Retrieve information about this subscription. *UnsupportedApi* | [**AppMobilityServiceDerPOST**](docs/UnsupportedApi.md#appmobilityservicederpost) | **Post** /app_mobility_services/{appMobilityServiceId}/deregister_task | deregister the individual application mobility service @@ -44,24 +46,30 @@ Class | Method | HTTP request | Description - [AdjacentAppInfoSubscriptionFilterCriteria](docs/AdjacentAppInfoSubscriptionFilterCriteria.md) - [AdjacentAppInfoSubscriptionLinks](docs/AdjacentAppInfoSubscriptionLinks.md) - [AdjacentAppInstanceInfo](docs/AdjacentAppInstanceInfo.md) + - [AppMobilityServiceLevel](docs/AppMobilityServiceLevel.md) - [AppTerminationNotification](docs/AppTerminationNotification.md) - [AppTerminationNotificationLinks](docs/AppTerminationNotificationLinks.md) - [AssociateId](docs/AssociateId.md) + - [Body](docs/Body.md) + - [Body1](docs/Body1.md) + - [Body2](docs/Body2.md) - [CommunicationInterface](docs/CommunicationInterface.md) - [CommunicationInterfaceIpAddresses](docs/CommunicationInterfaceIpAddresses.md) + - [ContextTransferState](docs/ContextTransferState.md) - [ExpiryNotification](docs/ExpiryNotification.md) - - [ExpiryNotificationLinks](docs/ExpiryNotificationLinks.md) - - [InlineNotification](docs/InlineNotification.md) - - [InlineSubscription](docs/InlineSubscription.md) - - [KeyValuePairs](docs/KeyValuePairs.md) - [LinkType](docs/LinkType.md) - [MecHostInformation](docs/MecHostInformation.md) - [MobilityProcedureNotification](docs/MobilityProcedureNotification.md) + - [MobilityProcedureNotificationLinks](docs/MobilityProcedureNotificationLinks.md) - [MobilityProcedureNotificationTargetAppInfo](docs/MobilityProcedureNotificationTargetAppInfo.md) - [MobilityProcedureSubscription](docs/MobilityProcedureSubscription.md) - [MobilityProcedureSubscriptionFilterCriteria](docs/MobilityProcedureSubscriptionFilterCriteria.md) - - [OneOfInlineNotification](docs/OneOfInlineNotification.md) - - [OneOfInlineSubscription](docs/OneOfInlineSubscription.md) + - [MobilityProcedureSubscriptionLinks](docs/MobilityProcedureSubscriptionLinks.md) + - [MobilityStatus](docs/MobilityStatus.md) + - [ModelType](docs/ModelType.md) + - [OneOfbody](docs/OneOfbody.md) + - [OneOfbody1](docs/OneOfbody1.md) + - [OneOfbody2](docs/OneOfbody2.md) - [OperationActionType](docs/OperationActionType.md) - [ProblemDetails](docs/ProblemDetails.md) - [RegistrationInfo](docs/RegistrationInfo.md) @@ -70,8 +78,11 @@ Class | Method | HTTP request | Description - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) - [SubscriptionLinkListSubscription](docs/SubscriptionLinkListSubscription.md) + - [SubscriptionType](docs/SubscriptionType.md) + - [TestNotification](docs/TestNotification.md) + - [TestNotificationLinks](docs/TestNotificationLinks.md) - [TimeStamp](docs/TimeStamp.md) - + - [WebsockNotifConfig](docs/WebsockNotifConfig.md) ## Documentation For Authorization Endpoints do not require authorization. @@ -79,5 +90,4 @@ Class | Method | HTTP request | Description ## Author -AdvantEDGE@InterDigital.com - +cti_support@etsi.org diff --git a/go-packages/meep-ams-client/api/swagger.yaml b/go-packages/meep-ams-client/api/swagger.yaml index bf334eb17..cd98ef15e 100644 --- a/go-packages/meep-ams-client/api/swagger.yaml +++ b/go-packages/meep-ams-client/api/swagger.yaml @@ -1,34 +1,143 @@ openapi: 3.0.0 info: - title: AdvantEDGE Application Mobility API - description: "Application Mobility Service is AdvantEDGE's implementation of [ETSI\ - \ MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)\ - \

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ - \

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)\ - \

**Type & Usage**
Edge Service used by edge applications that want to get\ - \ information about application mobility in the network

**Note**
AdvantEDGE\ - \ supports a selected subset of Application Mobility API endpoints (see below)." + title: ETSI GS MEC 021 Application Mobility Service API + description: ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. contact: - name: InterDigital AdvantEDGE Support - email: AdvantEDGE@InterDigital.com + name: ETSI Forge + url: https://forge.etsi.org/rep/mec/gs021-amsi-api + email: cti_support@etsi.org license: - name: Apache 2.0 - url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.1.1 + name: BSD-3-Clause + url: https://forge.etsi.org/legal-matters + version: 2.2.1 externalDocs: - description: "ETSI GS MEC 021 Application Mobility Service API, v2.1.1" - url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_mec021v020101p.pdf + description: ETSI GS MEC 021 Application Mobility Service API, v2.2.1 + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_mec021v020201p.pdf servers: -- url: https://localhost/sandboxname/amsi/v1 +- url: https://localhost/amsi/v1 tags: -- name: amsi +- name: adj-app-inst + description: Adjacent App instances +- name: app-mob-ser + description: Application Mobility Services +- name: app-mob-ser-der + description: Application Mobility Services Deregister task +- name: subscriptions + description: Subscription for Application Mobility Service +- name: notifications + description: Notification for Application Mobility Service - name: unsupported + description: Not supported by the platform paths: + /queries/adjacent_app_instances: + get: + tags: + - unsupported + summary: Retrieve information about this subscription. + description: Retrieve information about this subscription. + operationId: adj_app_instGET + parameters: + - name: filter + in: query + description: Attribute-based filtering parameters according to ETSI GS MEC + 009 + required: false + style: form + explode: true + schema: + type: string + - name: all_fields + in: query + description: Include all complex attributes in the response. + required: false + style: form + explode: true + schema: + type: string + - name: fields + in: query + description: Complex attributes to be included into the response. See clause + 6.18 in ETSI GS MEC 009 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_fields + in: query + description: Complex attributes to be excluded from the response.See clause + 6.18 in ETSI GS MEC 009 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_default + in: query + description: Indicates to exclude the following complex attributes from the + response See clause 6.18 in ETSI GS MEC 011 for details. + required: false + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing zero or more adjacent application + instances + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AdjacentAppInstanceInfo' + x-content-type: application/json + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /app_mobility_services: get: tags: - - amsi - summary: ' Retrieve information about the registered application mobility service.' + - app-mob-ser + summary: Retrieve information about the registered application mobility service. description: ' Retrieve information about the registered application mobility service.' operationId: app_mobility_serviceGET @@ -89,66 +198,59 @@ paths: $ref: '#/components/schemas/RegistrationInfo' x-content-type: application/json "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false post: tags: - - amsi + - app-mob-ser summary: Create a new application mobility service for the service requester. description: Create a new application mobility service for the service requester. operationId: app_mobility_servicePOST + parameters: [] requestBody: description: Application mobility service to be created content: application/json: schema: $ref: '#/components/schemas/RegistrationInfo' - example: - deviceInformation: - - appMobilityServiceLevel: 3 - associateId: - type: 1 - value: 10.100.0.3 - contextTransferState: 0 - serviceConsumerId: - appInstanceId: 9afdbca8-afac-405b-b220-4154828280b8 required: true responses: "201": @@ -158,49 +260,50 @@ paths: schema: $ref: '#/components/schemas/RegistrationInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false /app_mobility_services/{appMobilityServiceId}: get: tags: - - amsi + - app-mob-ser summary: Retrieve information about this individual application mobility service description: Retrieve information about this individual application mobility service @@ -223,48 +326,49 @@ paths: schema: $ref: '#/components/schemas/RegistrationInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false put: tags: - - amsi + - app-mob-ser summary: ' update the existing individual application mobility service' description: ' update the existing individual application mobility service' operationId: app_mobility_service_by_idPUT @@ -283,16 +387,6 @@ paths: application/json: schema: $ref: '#/components/schemas/RegistrationInfo' - example: - appMobilityServiceId: appMobilityServiceId - deviceInformation: - - appMobilityServiceLevel: 3 - associateId: - type: 1 - value: 10.100.0.3 - contextTransferState: 0 - serviceConsumerId: - appInstanceId: 9afdbca8-afac-405b-b220-4154828280b8 required: true responses: "200": @@ -303,69 +397,69 @@ paths: schema: $ref: '#/components/schemas/RegistrationInfo' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts\ - \ when using PUT" + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false delete: tags: - - amsi + - app-mob-ser summary: ' deregister the individual application mobility service' description: ' deregister the individual application mobility service' operationId: app_mobility_service_by_idDELETE @@ -382,32 +476,34 @@ paths: responses: "204": description: No Content + content: {} "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false /app_mobility_services/{appMobilityServiceId}/deregister_task: post: tags: @@ -428,52 +524,54 @@ paths: responses: "204": description: No Content + content: {} "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - /subscriptions/: + deprecated: false + /subscriptions: get: tags: - - amsi + - subscriptions summary: Retrieve information about the subscriptions for this requestor. description: Retrieve information about the subscriptions for this requestor. operationId: subGET parameters: - name: subscriptionType in: query - description: "Query parameter to filter on a specific subscription type. Permitted\ - \ values: mobility_proc or adj_app_info" - required: false + description: 'Query parameter to filter on a specific subscription type. Permitted + values: mobility_proc or adj_app_info' + required: true style: form explode: true schema: @@ -486,66 +584,58 @@ paths: schema: $ref: '#/components/schemas/SubscriptionLinkList' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false post: tags: - - amsi + - subscriptions summary: Create a new subscription to Application Mobility Service notifications. description: Create a new subscription to Application Mobility Service notifications. operationId: subPOST + parameters: [] requestBody: content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' - example: - subscriptionType: MobilityProcedureSubscription - callbackReference: http://my.callback.com/amsi-mobility-procedure/some-id - filterCriteria: - appInstanceId: 9afdbca8-afac-405b-b220-4154828280b8 - associateId: - - type: 1 - value: 10.100.0.3 - - type: 1 - value: 10.100.0.1 + $ref: '#/components/schemas/body' required: true responses: "201": @@ -554,97 +644,79 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' + $ref: '#/components/schemas/body' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "415": - description: "Unsupported Media Type : used to indicate that the server\ - \ or the client does not support the content type of the entity body." + description: 'Unsupported Media Type : used to indicate that the server + or the client does not support the content type of the entity body.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - callbacks: - notification: - '{$request.body#/callbackReference}': - post: - summary: Callback POST used to send a notification - description: Notification from AMS with regards to adjacent application - instances information or with regards mobility procedure. - operationId: notificationPOST - requestBody: - description: Subscription notification - content: - application/json: - schema: - $ref: '#/components/schemas/InlineNotification' - required: true - responses: - "204": - description: No Content + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /subscriptions/{subscriptionId}: get: tags: - - amsi + - subscriptions summary: Retrieve information about this subscription. description: Retrieve information about this subscription. operationId: sub_byIdGET parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the AMS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -657,58 +729,59 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' + $ref: '#/components/schemas/body' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false put: tags: - - amsi + - subscriptions summary: update the existing individual subscription. description: update the existing individual subscription. operationId: sub_byIdPUT parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the AMS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -718,101 +791,88 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' - example: - subscriptionType: MobilityProcedureSubscription - callbackReference: http://my.callback.com/amsi-mobility-procedure/some-id - _links: - self: - href: http://meAppServer.example.com/amsi/v1/subscriptions/sub123 - filterCriteria: - appInstanceId: 9afdbca8-afac-405b-b220-4154828280b8 - associateId: - - type: 1 - value: 10.100.0.3 - - type: 1 - value: 10.100.0.1 + $ref: '#/components/schemas/body_1' required: true responses: "200": - description: ' a response body containing data type describing the updated - subscription' + description: a response body containing data type describing the updated + subscription content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' + $ref: '#/components/schemas/body_1' "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts\ - \ when using PUT" + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body\ - \ is syntactically correct but semantically incorrect, for example if\ - \ the target area for the request is considered too large. This error\ - \ condition can also occur if the capabilities required by the request\ - \ are not supported." + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + deprecated: false delete: tags: - - amsi + - subscriptions summary: cancel the existing individual subscription description: cancel the existing individual subscription operationId: sub_byIdDELETE parameters: - name: subscriptionId in: path - description: "Refers to created subscription, where the AMS API allocates\ - \ a unique resource name for this subscription" + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription required: true style: simple explode: false @@ -821,166 +881,135 @@ paths: responses: "204": description: No Content + content: {} "401": - description: "Unauthorized : used when the client did not submit credentials." + description: 'Unauthorized : used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: 'Forbidden : operation is not allowed given the current status + of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: 'Too Many Requests : used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' - /notifications/mec011/appTermination: + deprecated: false + /uri_provided_by_subscriber: post: tags: - - amsi - summary: MEC011 Application Termination notification for self termination - description: Terminates itself. - operationId: mec011AppTerminationPOST + - notifications + summary: delivers a notification from the AMS resource to the subscriber + description: delivers a notification from the AMS resource to the subscriber + operationId: notificationPOST + parameters: [] requestBody: - description: Termination notification details content: application/json: schema: - $ref: '#/components/schemas/AppTerminationNotification' - example: - notificationType: AppTerminationNotification - operationAction: TERMINATING - maxGracefulTimeout: 10 - links: - subscription: - href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 - confirmTermination: - href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + $ref: '#/components/schemas/body_2' required: true responses: "204": - description: No Content - x-swagger-router-controller: notifications - /queries/adjacent_app_instances: - get: - tags: - - unsupported - summary: Retrieve information about this subscription. - description: Retrieve information about this subscription. - operationId: adj_app_instGET - parameters: - - name: filter - in: query - description: Attribute-based filtering parameters according to ETSI GS MEC - 011 - required: false - style: form - explode: true - schema: - type: string - - name: all_fields - in: query - description: Include all complex attributes in the response. - required: false - style: form - explode: true - schema: - type: string - - name: fields - in: query - description: Complex attributes to be included into the response. See clause - 6.18 in ETSI GS MEC 011 - required: false - style: form - explode: true - schema: - type: string - - name: exclude_fields - in: query - description: Complex attributes to be excluded from the response.See clause - 6.18 in ETSI GS MEC 011 - required: false - style: form - explode: true - schema: - type: string - - name: exclude_default - in: query - description: Indicates to exclude the following complex attributes from the - response See clause 6.18 in ETSI GS MEC 011 for details. - required: false - style: form - explode: true - schema: - type: string - responses: - "200": - description: 'A response body containing zero or more adjacent application - instances ' - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/AdjacentAppInstanceInfo' - x-content-type: application/json - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' + description: The notification was delivered successfully. The response body + shall be empty. + content: {} "401": - description: "Unauthorized : used when the client did not submit credentials." + description: It is used when the client did not submit credentials.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." + description: operation is not allowed given the current status of the resource.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "404": - description: "Not Found : used when a client provided a URI that cannot\ - \ be mapped to a valid resource URI." + description: Used when a client provided a URI that cannot be mapped to + a valid resource URI.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." + description: Used to indicate that the server cannot provide the any of + the content formats supported by the client.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' "429": - description: "Too Many Requests : used when a rate limiter has triggered." + description: Used when a rate limiter has triggered.' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + /notifications/mec011/appTermination: + post: + tags: + - location + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. + operationId: mec011AppTerminationPOST + requestBody: + description: Termination notification details + content: + application/json: + schema: + $ref: '#/components/schemas/AppTerminationNotification' + example: + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true + responses: + "204": + description: No Content + x-swagger-router-controller: notifications components: schemas: + AdjacentAppInfoSubscription.links: + title: AdjacentAppInfoSubscription.links + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + AdjacentAppInfoSubscription.filterCriteria: + title: AdjacentAppInfoSubscription.filterCriteria + type: object + properties: + appInstanceId: + type: string + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. AdjacentAppInfoSubscription: + title: AdjacentAppInfoSubscription required: - callbackReference - filterCriteria @@ -988,28 +1017,30 @@ components: type: object properties: _links: - $ref: '#/components/schemas/AdjacentAppInfoSubscription__links' + $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' callbackReference: type: string - description: "URI selected by the service consumer, to receive notifications\ - \ on the subscribed RNIS information. This shall be included in the request\ - \ and response." + description: URI selected by the service consumer to receive notifications + on the subscribed Application Mobility Service. This shall be included + both in the request and in response. format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test + notification via HTTP on the callbackReference URI, specified in ETSI + GS MEC 009, as described in clause 6.12a. + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' expiryDeadline: $ref: '#/components/schemas/TimeStamp' filterCriteria: - $ref: '#/components/schemas/AdjacentAppInfoSubscription_filterCriteria' + $ref: '#/components/schemas/AdjacentAppInfoSubscription.filterCriteria' subscriptionType: type: string description: Shall be set to "AdjacentAppInfoSubscription". - enum: - - AdjacentAppInfoSubscription - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 7.3.3 + example: '["AdjacentAppInfoSubscription"]' AdjacentAppInstanceInfo: + title: AdjacentAppInstanceInfo required: - appDId - appInstanceCommLink @@ -1019,10 +1050,7 @@ components: appDId: type: string description: Identifier of the application descriptor. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String appInstanceCommLink: - minItems: 1 type: array description: It specifies the communication interface of application instance. items: @@ -1030,12 +1058,16 @@ components: appInstanceId: type: string description: Identifier of the application instance. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String mecHostInformation: $ref: '#/components/schemas/MECHostInformation' + registeredInstanceId: + type: string + description: dentifier of the application instance that registers to the + AMS, which is instantiated from the application descriptor identified + by the attribute "appDId". example: appInstanceId: appInstanceId + registeredInstanceId: registeredInstanceId appInstanceCommLink: - ipAddresses: - port: 0 @@ -1050,290 +1082,464 @@ components: appDId: appDId mecHostInformation: hostName: hostName - hostId: {} - x-etsi-ref: 7.2.3 + hostId: + key: {} AppMobilityServiceLevel: - type: integer - description: "This attribute provides an option for the application instance\ - \ (server) to communicate with the application client before relocating this\ - \ application instance to another MEC host. Applicable values are: 1 = APP_MOBILITY_NOT_ALLOWED,\ - \ 2 = APP_MOBILITY_WITH_CONFIRMATION, 3 = APP_MOBILITY_WITHOUT_CONFIRMATION." - x-etsi-notes: "APP_MOBILITY_NOT_ALLOWED: the current serving application instance\ - \ continues to deliver the service to the device. The AMS will inform the\ - \ MEP to perform the traffic steering to the device when the UE moves cross\ - \ MEC hosts. − APP_MOBILITY_WITH_CONFIRMATION: the serving application instance\ - \ is allowed to change with the confirmation by the application once the device\ - \ mobility happens. The AMS then will inform the MEP to update the traffic\ - \ routing to the target application instance and clean up the previous resource\ - \ allocated to the application instance serving to the device after the serving\ - \ application instance has been changed. − APP_MOBILITY_WITHOUT_CONFIRMATION:\ - \ the serving application instance is allowed to change without confirmation\ - \ from the application instance when the device mobility happens. The AMS\ - \ will notify to the MEP to update the traffic routing to the target application\ - \ instance and clean up the previous resource allocated to the application\ - \ instance serving to the device after the serving application instance has\ - \ been changed." + title: AppMobilityServiceLevel + type: string + description: This attribute provides an option for the application instance + (server) to communicate with the application client before relocating this + application instance to another MEC host. + example: '["APP_MOBILITY_NOT_ALLOWED"]' + enum: + - APP_MOBILITY_NOT_ALLOWED + - APP_MOBILITY_WITH_CONFIRMATION + - APP_MOBILITY_WITHOUT_CONFIRMATION + CommunicationInterface.IpAddresses: + title: CommunicationInterface.IpAddresses + required: + - host + - port + type: object + properties: + host: + type: string + port: + type: integer + example: + port: 0 + host: host CommunicationInterface: + title: CommunicationInterface + type: object properties: ipAddresses: type: array items: - $ref: '#/components/schemas/CommunicationInterface_ipAddresses' + $ref: '#/components/schemas/CommunicationInterface.IpAddresses' example: ipAddresses: - port: 0 host: host - port: 0 host: host - MobilityProcedureSubscription: + MobilityProcedureSubscription.links: + title: MobilityProcedureSubscription.links required: - - callbackReference - - filterCriteria - - subscriptionType + - self type: object properties: - _links: - $ref: '#/components/schemas/AdjacentAppInfoSubscription__links' - callbackReference: + self: + $ref: '#/components/schemas/LinkType' + MobilityProcedureSubscription.filterCriteria: + title: MobilityProcedureSubscription.filterCriteria + type: object + properties: + appInstanceId: type: string - description: URI selected by the service consumer to receive notifications - on the subscribed Application Mobility Service. This shall be included - both in the request and in response. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - filterCriteria: - $ref: '#/components/schemas/MobilityProcedureSubscription_filterCriteria' + description: Identifier of the application instance that registers the Application + Mobility Service. + associateId: + type: array + description: 0 to N identifiers to associate the information for specific + UE(s) and flow(s). + items: + $ref: '#/components/schemas/AssociateId' + mobilityStatus: + type: array + description: In case mobilityStatus is not included in the subscription + request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be + used and included in the response. + items: + $ref: '#/components/schemas/MobilityStatus' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + WebsockNotifConfig: + type: object + properties: + websocketUri: + type: string + description: Set by AMS to indicate to the service consumer the Websocket + URI to be used for delivering notifications. + format: uri + requestWebsocketUri: + type: boolean + description: Set to true by the service consumer to indicate that Websocket + delivery is requested. + MobilityProcedureSubscription: + title: MobilityProcedureSubscription + required: + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/MobilityProcedureSubscription.links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed Application Mobility Service. This shall be included + both in the request and in response. + format: uri + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test + notification via HTTP on the callbackReference URI, specified in ETSI + GS MEC 009, as described in clause 6.12a. + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/MobilityProcedureSubscription.filterCriteria' subscriptionType: type: string description: Shall be set to "MobilityProcedureSubscription". - enum: - - MobilityProcedureSubscription - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - x-etsi-ref: 7.3.2 + example: '["MobilityProcedureSubscription"]' + MobilityProcedureNotification: + title: MobilityProcedureNotification + required: + - associateId + - links + - mobilityStatus + - notificationType + properties: + notificationType: + type: string + description: Shall be set to "MobilityProcedureNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + associateId: + type: array + description: 1 to N identifiers to associate the information for specific + items: + $ref: '#/components/schemas/AssociateId' + mobilityStatus: + $ref: '#/components/schemas/MobilityStatus' + targetAppInfo: + $ref: '#/components/schemas/MobilityProcedureNotification_targetAppInfo' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' + AdjacentAppInfoNotification: + title: AdjacentAppInfoNotification + required: + - _links + - notificationType + properties: + notificationType: + type: string + description: Shall be set to "AdjacentAppInfoNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + associateId: + type: array + description: 1 to N identifiers to associate the information for specific + items: + $ref: '#/components/schemas/AssociateId' + adjacentAppInfo: + required: + - appInstanceId + - commInterface + type: array + items: + $ref: '#/components/schemas/AdjacentAppInfoNotificationAdjacentAppInfo' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' + AdjacentAppInfoNotificationAdjacentAppInfo: + required: + - appInstanceId + type: object + properties: + appInstanceId: + type: string + description: Identifier of the adjacent application instance. + commInterface: + type: array + description: If present, it represents the communication interface(s) information + of the application instance. + items: + $ref: '#/components/schemas/CommunicationInterface' + ExpiryNotification: + title: ExpiryNotification + required: + - _links + - expiryDeadline + - notificationType + properties: + notificationType: + type: string + description: Shall be set to "ExpiryNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + TestNotification: + title: TestNotification + required: + - _links + - notificationType + properties: + notificationType: + type: string + description: Shall be set to "TestNotification". + _links: + $ref: '#/components/schemas/TestNotification__links' MobilityStatus: - type: integer - description: "Indicate the status of the UE mobility. Values are: 1 = INTERHOST_MOVEOUT_TRIGGERED,\ - \ 2 = INTERHOST_MOVEOUT_COMPLETED, 3 = INTERHOST_MOVEOUT_FAILED" + title: MobilityStatus + type: string + description: Indicate the status of the UE mobility + example: '["INTERHOST_MOVEOUT_TRIGGERED"]' + enum: + - INTERHOST_MOVEOUT_TRIGGERED + - INTERHOST_MOVEOUT_COMPLETED + - INTERHOST_MOVEOUT_FAILED + RegistrationInfo.deviceInformation: + title: RegistrationInfo.deviceInformation + required: + - associateId + type: object + properties: + associateId: + $ref: '#/components/schemas/AssociateId' + appMobilityServiceLevel: + $ref: '#/components/schemas/AppMobilityServiceLevel' + contextTransferState: + $ref: '#/components/schemas/contextTransferState' + example: + associateId: + type: '["UE_IPv4_ADDRESS"]' + value: value + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' + RegistrationInfo.serviceConsumerId: + title: RegistrationInfo.serviceConsumerId + type: object + properties: + appInstanceId: + type: string + description: If present, it represents the identifier of the application + instance registering the Application Mobility Service. + mepId: + type: string + description: If present, it represents the identifier of the MEC platform + registering the Application Mobility Service. + description: The identifier of service consumer requesting the application mobility + service, i.e. either the application instance ID or the MEC platform ID. + example: + appInstanceId: appInstanceId + mepId: mepId RegistrationInfo: + title: RegistrationInfo required: - serviceConsumerId type: object properties: appMobilityServiceId: type: string - description: "The identifier of registered application mobility service.\ - \ Shall be absent in POST requests, and present otherwise." - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String + description: The identifier of registered application mobility service. + Shall be absent in POST requests, and present otherwise. deviceInformation: type: array - description: "If present, it specifies the device served by the application\ - \ instance which is registering the application mobility service." + description: If present, it specifies the device served by the application + instance which is registering is registering the Application Mobility + Service. items: - $ref: '#/components/schemas/RegistrationInfo_deviceInformation' + $ref: '#/components/schemas/RegistrationInfo.deviceInformation' expiryTime: type: integer - description: "If present, it indicates the time of application mobility\ - \ service expiration from the time of registration accepted.The value\ - \ \"0\" means infinite time, i.e. no expiration.The unit of expiry time\ - \ is one second." - format: Uint32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 + description: If present, it indicates the time of Application Mobility Service + expiration from the time of registration accepted.The value "0" means + infinite time, i.e. no expiration.The unit of expiry time is one second. serviceConsumerId: - $ref: '#/components/schemas/RegistrationInfo_serviceConsumerId' + $ref: '#/components/schemas/RegistrationInfo.serviceConsumerId' example: appMobilityServiceId: appMobilityServiceId deviceInformation: - associateId: - type: 0 + type: '["UE_IPv4_ADDRESS"]' value: value - appMobilityServiceLevel: 6 - contextTransferState: 1 + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' - associateId: - type: 0 + type: '["UE_IPv4_ADDRESS"]' value: value - appMobilityServiceLevel: 6 - contextTransferState: 1 - expiryTime: 5 + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' + expiryTime: 0 serviceConsumerId: appInstanceId: appInstanceId mepId: mepId - x-etsi-notes: "NOTE:\tThe data type of AssociateId is defined in ETSI GS MEC\ - \ 012 [6]." - x-etsi-ref: 7.2.2 - SubscriptionLinkList: + SubscriptionLinkList.links: + title: SubscriptionLinkList.links required: - - _links + - self type: object properties: - _links: - $ref: '#/components/schemas/SubscriptionLinkList__links' + self: + $ref: '#/components/schemas/LinkType' subscription: type: array - description: A link to a subscription. + description: The service consumer’s subscriptions. items: - $ref: '#/components/schemas/SubscriptionLinkList_subscription' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/SubscriptionLinkList.subscription' + description: List of hyperlinks related to the resource. example: - _links: - self: - href: http://example.com/aeiou + self: + href: href subscription: - subscriptionType: 0 - href: http://example.com/aeiou + href: href - subscriptionType: 0 - href: http://example.com/aeiou - x-etsi-ref: 7.3.4 - ContextTransferState: - type: integer - description: "If present, it represents the state of transferring the user context\ - \ to another application instance. The applicable values are: 0 = NOT_TRANSFERRED,\ - \ 1= USER_CONTEXT_TRANSEFR_COMPLETED." - HostName: - type: string - description: Human-readable name of MEC host. - KeyValuePairs: + href: href + SubscriptionLinkList.subscription: + title: SubscriptionLinkList.subscription + required: + - href + - subscriptionType + type: object + properties: + href: + type: string + description: The URI referring to the subscription. + subscriptionType: + $ref: '#/components/schemas/subscriptionType' + example: + subscriptionType: 0 + href: href + SubscriptionLinkList: + title: SubscriptionLinkList + required: + - _links type: object - description: "'This data type represents a list of key-value pairs. The order\ - \ of the pairs in the list is not significant. In JSON, a set of key-value\ - \ pairs is represented as an object. It shall comply with the provisions defined\ - \ in clause 4 of IETF RFC 8259'" + properties: + _links: + $ref: '#/components/schemas/SubscriptionLinkList.links' + example: + _links: + self: + href: href + subscription: + - subscriptionType: 0 + href: href + - subscriptionType: 0 + href: href + contextTransferState: + title: contextTransferState + type: string + description: If present, it represents the state of transferring the user context + to another application instance. + example: '["NOT_TRANSFERRED"]' + enum: + - NOT_TRANSFERRED + - USER_CONTEXT_TRANSFER_COMPLETED + subscriptionType: + title: subscriptionType + type: integer + description: 'Numeric value (0 - 255) corresponding to specified type of subscription + as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO.' + enum: + - 0 + - 1 + - 2 AssociateId: + title: AssociateId + required: + - type + - value + type: object properties: type: - type: integer - description: "Numeric value (0-255) corresponding to specified type of identifier\ - \ as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.\ - \

3 = NATED_IP_ADDRESS.

4 = GTP_TEID." - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/Type' value: type: string description: Value for the identifier. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String example: - type: 0 + type: '["UE_IPv4_ADDRESS"]' value: value LinkType: + title: LinkType required: - href type: object properties: href: type: string - description: URI referring to a resource - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI + description: The URI referring to the subscription. + description: '''This data type represents a type of link''' example: - href: http://example.com/aeiou + href: href TimeStamp: + title: TimeStamp required: - nanoSeconds - seconds type: object properties: - nanoSeconds: - type: integer - description: "The nanoseconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 seconds: type: integer - description: "The seconds part of the time. Time is defined as Unixtime\ - \ since January 1, 1970, 00:00:00 UTC." - format: int32 - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Uint32 + description: '''The seconds part of the Time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC.''' + nanoSeconds: + type: integer + description: '''The nanoseconds part of the Time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC.''' + description: '''This data type represents the time stamp as Unix-time since + January 1, 1970, 00:00:00 UTC''' + KeyValuePairs: + type: object + additionalProperties: + type: object + x-schema-name: KeyValuePairs MECHostInformation: + title: MECHostInformation required: - hostId type: object properties: hostName: - $ref: '#/components/schemas/HostName' + type: string + description: Human-readable name of MEC host. hostId: - type: object - description: "'This data type represents a list of key-value pairs. The\ - \ order of the pairs in the list is not significant. In JSON, a set of\ - \ key-value pairs is represented as an object. It shall comply with the\ - \ provisions defined in clause 4 of IETF RFC 8259'" - description: '''The data type represents the parameters of MEC host information.''' + $ref: '#/components/schemas/KeyValuePairs' example: hostName: hostName - hostId: {} - ExpiryNotification: - required: - - _links - - expiryDeadline - type: object - properties: - _links: - $ref: '#/components/schemas/ExpiryNotification__links' - expiryDeadline: - $ref: '#/components/schemas/TimeStamp' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 7.4.4 - MobilityProcedureNotification: - required: - - mobilityStatus - - notificationType + hostId: + key: {} + ProblemDetails: + title: ProblemDetails type: object properties: - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for specific - UE(s) and flow(s). - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - mobilityStatus: + detail: + type: string + description: A human-readable explanation specific to this occurrence of + the problem + instance: + type: string + description: A URI reference that identifies the specific occurrence of + the problem + status: type: integer - description: "Indicate the status of the UE mobility. Values are defined\ - \ as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED.\ - \ 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved." - x-etsi-mec-cardinality: "1" - notificationType: + description: The HTTP status code for this occurrence of the problem + title: type: string - description: Shall be set to \"MobilityProcedureNotification\". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - targetAppInfo: - $ref: '#/components/schemas/MobilityProcedureNotification_targetAppInfo' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 7.4.2 - AdjacentAppInfoNotification: - required: - - mobilityStatus - - notificationType - type: object - properties: - notificationType: + description: A short, human-readable summary of the problem type + type: type: string - description: Shall be set to \"AdjacentAppInfoNotification\". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String - adjacentAppInfo: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/AdjacentAppInfoNotification_adjacentAppInfo' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 7.4.2 + description: A URI reference according to IETF RFC 3986 that identifies + the problem type + Type: + title: Type + type: string + description: Numeric value (0-255) corresponding to specified type of identifier + example: '["UE_IPv4_ADDRESS"]' + enum: + - UE_IPv4_ADDRESS + - UE_IPV6_ADDRESS + - NATED_IP_ADDRESS + - GTP_TEID AppTerminationNotification: required: - _links @@ -1363,195 +1569,29 @@ components: enum: - STOPPING - TERMINATING - ProblemDetails: + AppTerminationNotification__links: + required: + - subscription type: object properties: - detail: - type: string - description: A human-readable explanation specific to this occurrence of - the problem - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - instance: - type: string - description: A URI reference that identifies the specific occurrence of - the problem - format: uri - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - status: - type: integer - description: The HTTP status code for this occurrence of the problem - format: uint32 - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - title: - type: string - description: "A short, human-readable summary of the problem type" - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - type: - type: string - description: A URI reference according to IETF RFC 3986 that identifies - the problem type - format: uri - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - InlineSubscription: - discriminator: - propertyName: SubscriptionType + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + body: + oneOf: + - $ref: '#/components/schemas/MobilityProcedureSubscription' + - $ref: '#/components/schemas/AdjacentAppInfoSubscription' + body_1: oneOf: - $ref: '#/components/schemas/MobilityProcedureSubscription' - $ref: '#/components/schemas/AdjacentAppInfoSubscription' - InlineNotification: - discriminator: - propertyName: NotificationType + body_2: oneOf: - $ref: '#/components/schemas/MobilityProcedureNotification' - $ref: '#/components/schemas/AdjacentAppInfoNotification' - AdjacentAppInfoSubscription__links: - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - AdjacentAppInfoSubscription_filterCriteria: - type: object - properties: - appInstanceId: - type: string - CommunicationInterface_ipAddresses: - required: - - host - - port - properties: - host: - type: string - port: - type: integer - example: - port: 0 - host: host - MobilityProcedureSubscription_filterCriteria: - type: object - properties: - appInstanceId: - type: string - description: Identifier of the application instance that registers the application - mobility service. - x-etsi-mec-cardinality: 0..1 - associateId: - minItems: 0 - type: array - description: 0 to N identifiers to associate the information for specific - UE(s) and flow(s). - items: - $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - mobilityStatus: - minItems: 0 - type: array - description: "In case mobilityStatus is not included in the subscription\ - \ request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be\ - \ used and included in the response." - items: - $ref: '#/components/schemas/MobilityStatus' - x-etsi-mec-cardinality: 0..N - RegistrationInfo_deviceInformation: - required: - - associateId - type: object - properties: - associateId: - $ref: '#/components/schemas/AssociateId' - appMobilityServiceLevel: - $ref: '#/components/schemas/AppMobilityServiceLevel' - contextTransferState: - $ref: '#/components/schemas/ContextTransferState' - example: - associateId: - type: 0 - value: value - appMobilityServiceLevel: 6 - contextTransferState: 1 - RegistrationInfo_serviceConsumerId: - properties: - appInstanceId: - type: string - description: "If present, it represents the identifier of the application\ - \ instance registering the application mobility service." - x-etsi-mec-cardinality: 0..1 - mepId: - type: string - description: "If present, it represents the identifier of the MEC platform\ - \ registering the application mobility service." - x-etsi-mec-cardinality: 0..1 - description: "The identifier of service consumer requesting the application\ - \ mobility service, i.e. either the application instance ID or the MEC platform\ - \ ID." - example: - appInstanceId: appInstanceId - mepId: mepId - SubscriptionLinkList__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - description: List of hyperlinks related to the resource. - example: - self: - href: http://example.com/aeiou - SubscriptionLinkList_subscription: - minItems: 0 - required: - - href - - subscriptionType - type: object - properties: - href: - type: string - description: The URI referring to the subscription. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - subscriptionType: - type: integer - description: "Numeric value (0 - 255) corresponding to specified type of\ - \ subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 =\ - \ ADJACENT_APPINFO. " - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum (inlined) - example: - subscriptionType: 0 - href: http://example.com/aeiou - ExpiryNotification__links: - required: - - self - type: object - properties: - self: - type: string - description: Self referring URI. This shall be included in the response - from the AMS. The URI shall be unique within the AMS API as it acts as - an ID for the subscription. - format: uri - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: URI - description: List of hyperlinks related to the resource. + - $ref: '#/components/schemas/ExpiryNotification' MobilityProcedureNotification_targetAppInfo: - type: object - properties: - appInstanceId: - type: string - description: Identifiers of the target application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - commInterface: - $ref: '#/components/schemas/CommunicationInterface' - description: Identifiers to associate the information of target application - instance. - AdjacentAppInfoNotification_adjacentAppInfo: required: - appInstanceId type: object @@ -1559,98 +1599,21 @@ components: appInstanceId: type: string description: Identifiers of the target application instance. - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String commInterface: $ref: '#/components/schemas/CommunicationInterface' - description: Identifiers to associate the information of target application - instance. - AppTerminationNotification__links: + MobilityProcedureNotification__links: required: - subscription type: object properties: subscription: $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' description: Object containing hyperlinks related to the resource. - responses: - "204": - description: No Content - "206": - description: Partial content - "400": - description: "Bad Request : used to indicate that incorrect parameters were\ - \ passed to the request." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: "Unauthorized : used when the client did not submit credentials." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: "Forbidden : operation is not allowed given the current status\ - \ of the resource." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: "Not Found : used when a client provided a URI that cannot be\ - \ mapped to a valid resource URI." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "406": - description: "Not Acceptable : used to indicate that the server cannot provide\ - \ the any of the content formats supported by the client." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "409": - description: "Conflict : The operation cannot be executed currently, due to\ - \ a conflict with the state of the resource" - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition failed : used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts when\ - \ using PUT" - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "415": - description: "Unsupported Media Type : used to indicate that the server or\ - \ the client does not support the content type of the entity body." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "422": - description: "Unprocessable Entity : used to indicate that the server understands\ - \ the content type of the request entity and that the syntax of the request\ - \ entity is correct but that the server is unable to process the contained\ - \ instructions. This error condition can occur if an JSON request body is\ - \ syntactically correct but semantically incorrect, for example if the target\ - \ area for the request is considered too large. This error condition can also\ - \ occur if the capabilities required by the request are not supported." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: "Too Many Requests : used when a rate limiter has triggered." - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' + TestNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. diff --git a/go-packages/meep-ams-client/api_unsupported.go b/go-packages/meep-ams-client/api_unsupported.go index 89474b333..670f41540 100644 --- a/go-packages/meep-ams-client/api_unsupported.go +++ b/go-packages/meep-ams-client/api_unsupported.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -56,7 +56,7 @@ Retrieve information about this subscription. @return []AdjacentAppInstanceInfo */ -type AdjAppInstGETOpts struct { +type UnsupportedApiAdjAppInstGETOpts struct { Filter optional.String AllFields optional.String Fields optional.String @@ -64,7 +64,7 @@ type AdjAppInstGETOpts struct { ExcludeDefault optional.String } -func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptionals *AdjAppInstGETOpts) ([]AdjacentAppInstanceInfo, *http.Response, error) { +func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptionals *UnsupportedApiAdjAppInstGETOpts) ([]AdjacentAppInstanceInfo, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} @@ -130,7 +130,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err == nil { return localVarReturnValue, localVarHttpResponse, err } @@ -144,7 +144,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 200 { var v []AdjacentAppInstanceInfo - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -155,7 +155,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -166,7 +166,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -177,7 +177,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -188,7 +188,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -199,7 +199,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -210,7 +210,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -239,6 +239,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a localVarPostBody interface{} localVarFileName string localVarFileBytes []byte + ) // create path and map variables @@ -290,7 +291,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -301,7 +302,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -312,7 +313,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -323,7 +324,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -334,7 +335,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr diff --git a/go-packages/meep-ams-client/client.go b/go-packages/meep-ams-client/client.go index ac8e65fb1..71d229293 100644 --- a/go-packages/meep-ams-client/client.go +++ b/go-packages/meep-ams-client/client.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -52,7 +52,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the AdvantEDGE Application Mobility API API v2.1.1 +// APIClient manages communication with the ETSI GS MEC 021 Application Mobility Service API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -60,7 +60,13 @@ type APIClient struct { // API Services - AmsiApi *AmsiApiService + AppMobSerApi *AppMobSerApiService + + LocationApi *LocationApiService + + NotificationsApi *NotificationsApiService + + SubscriptionsApi *SubscriptionsApiService UnsupportedApi *UnsupportedApiService } @@ -81,7 +87,10 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.common.client = c // API Services - c.AmsiApi = (*AmsiApiService)(&c.common) + c.AppMobSerApi = (*AppMobSerApiService)(&c.common) + c.LocationApi = (*LocationApiService)(&c.common) + c.NotificationsApi = (*NotificationsApiService)(&c.common) + c.SubscriptionsApi = (*SubscriptionsApiService)(&c.common) c.UnsupportedApi = (*UnsupportedApiService)(&c.common) return c @@ -238,6 +247,15 @@ func (c *APIClient) prepareRequest( w.Close() } + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } // Setup path and query parameters url, err := url.Parse(path) if err != nil { diff --git a/go-packages/meep-ams-client/configuration.go b/go-packages/meep-ams-client/configuration.go index 8047cfdf5..1b8225dad 100644 --- a/go-packages/meep-ams-client/configuration.go +++ b/go-packages/meep-ams-client/configuration.go @@ -17,8 +17,8 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-ams-client/docs/AdjacentAppInfoNotification.md b/go-packages/meep-ams-client/docs/AdjacentAppInfoNotification.md index e3ed6b365..aa87951a6 100644 --- a/go-packages/meep-ams-client/docs/AdjacentAppInfoNotification.md +++ b/go-packages/meep-ams-client/docs/AdjacentAppInfoNotification.md @@ -3,10 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**NotificationType** | **string** | Shall be set to \\\"AdjacentAppInfoNotification\\\". | [default to null] -**AdjacentAppInfo** | [**[]AdjacentAppInfoNotificationAdjacentAppInfo**](AdjacentAppInfoNotification_adjacentAppInfo.md) | | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"AdjacentAppInfoNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**AssociateId** | [**[]AssociateId**](AssociateId.md) | 1 to N identifiers to associate the information for specific | [optional] [default to null] +**AdjacentAppInfo** | [**[]AdjacentAppInfoNotificationAdjacentAppInfo**](AdjacentAppInfoNotificationAdjacentAppInfo.md) | | [optional] [default to null] +**Links** | [***MobilityProcedureNotificationLinks**](MobilityProcedureNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AdjacentAppInfoNotificationAdjacentAppInfo.md b/go-packages/meep-ams-client/docs/AdjacentAppInfoNotificationAdjacentAppInfo.md index e3c0ccf8d..ca3c937f2 100644 --- a/go-packages/meep-ams-client/docs/AdjacentAppInfoNotificationAdjacentAppInfo.md +++ b/go-packages/meep-ams-client/docs/AdjacentAppInfoNotificationAdjacentAppInfo.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AppInstanceId** | **string** | Identifiers of the target application instance. | [default to null] -**CommInterface** | [***CommunicationInterface**](CommunicationInterface.md) | | [optional] [default to null] +**AppInstanceId** | **string** | Identifier of the adjacent application instance. | [default to null] +**CommInterface** | [**[]CommunicationInterface**](CommunicationInterface.md) | If present, it represents the communication interface(s) information of the application instance. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscription.md b/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscription.md index 08de35890..ceedc74ca 100644 --- a/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscription.md +++ b/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscription.md @@ -3,12 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***AdjacentAppInfoSubscriptionLinks**](AdjacentAppInfoSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. | [default to null] +**Links** | [***AdjacentAppInfoSubscriptionLinks**](AdjacentAppInfoSubscription.links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***AdjacentAppInfoSubscriptionFilterCriteria**](AdjacentAppInfoSubscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***AdjacentAppInfoSubscriptionFilterCriteria**](AdjacentAppInfoSubscription.filterCriteria.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"AdjacentAppInfoSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscriptionLinks.md b/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscriptionLinks.md index 5a605dc46..308248fff 100644 --- a/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscriptionLinks.md +++ b/go-packages/meep-ams-client/docs/AdjacentAppInfoSubscriptionLinks.md @@ -3,8 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Self** | [***LinkType**](LinkType.md) | | [optional] [default to null] +**Self** | [***LinkType**](LinkType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AdjacentAppInstanceInfo.md b/go-packages/meep-ams-client/docs/AdjacentAppInstanceInfo.md index 7cbb18842..e4c5dba3e 100644 --- a/go-packages/meep-ams-client/docs/AdjacentAppInstanceInfo.md +++ b/go-packages/meep-ams-client/docs/AdjacentAppInstanceInfo.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **AppInstanceCommLink** | [**[]CommunicationInterface**](CommunicationInterface.md) | It specifies the communication interface of application instance. | [default to null] **AppInstanceId** | **string** | Identifier of the application instance. | [default to null] **MecHostInformation** | [***MecHostInformation**](MECHostInformation.md) | | [optional] [default to null] +**RegisteredInstanceId** | **string** | dentifier of the application instance that registers to the AMS, which is instantiated from the application descriptor identified by the attribute \"appDId\". | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AppMobSerApi.md b/go-packages/meep-ams-client/docs/AppMobSerApi.md new file mode 100644 index 000000000..12440a843 --- /dev/null +++ b/go-packages/meep-ams-client/docs/AppMobSerApi.md @@ -0,0 +1,163 @@ +# {{classname}} + +All URIs are relative to *https://localhost/amsi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**AppMobilityServiceByIdDELETE**](AppMobSerApi.md#AppMobilityServiceByIdDELETE) | **Delete** /app_mobility_services/{appMobilityServiceId} | deregister the individual application mobility service +[**AppMobilityServiceByIdGET**](AppMobSerApi.md#AppMobilityServiceByIdGET) | **Get** /app_mobility_services/{appMobilityServiceId} | Retrieve information about this individual application mobility service +[**AppMobilityServiceByIdPUT**](AppMobSerApi.md#AppMobilityServiceByIdPUT) | **Put** /app_mobility_services/{appMobilityServiceId} | update the existing individual application mobility service +[**AppMobilityServiceGET**](AppMobSerApi.md#AppMobilityServiceGET) | **Get** /app_mobility_services | Retrieve information about the registered application mobility service. +[**AppMobilityServicePOST**](AppMobSerApi.md#AppMobilityServicePOST) | **Post** /app_mobility_services | Create a new application mobility service for the service requester. + +# **AppMobilityServiceByIdDELETE** +> AppMobilityServiceByIdDELETE(ctx, appMobilityServiceId) + deregister the individual application mobility service + + deregister the individual application mobility service + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **appMobilityServiceId** | **string**| It uniquely identifies the created individual application mobility service | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **AppMobilityServiceByIdGET** +> RegistrationInfo AppMobilityServiceByIdGET(ctx, appMobilityServiceId) +Retrieve information about this individual application mobility service + +Retrieve information about this individual application mobility service + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **appMobilityServiceId** | **string**| It uniquely identifies the created individual application mobility service | + +### Return type + +[**RegistrationInfo**](RegistrationInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **AppMobilityServiceByIdPUT** +> RegistrationInfo AppMobilityServiceByIdPUT(ctx, body, appMobilityServiceId) + update the existing individual application mobility service + + update the existing individual application mobility service + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**RegistrationInfo**](RegistrationInfo.md)| | + **appMobilityServiceId** | **string**| It uniquely identifies the created individual application mobility service | + +### Return type + +[**RegistrationInfo**](RegistrationInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **AppMobilityServiceGET** +> []RegistrationInfo AppMobilityServiceGET(ctx, optional) +Retrieve information about the registered application mobility service. + + Retrieve information about the registered application mobility service. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **optional** | ***AppMobSerApiAppMobilityServiceGETOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a AppMobSerApiAppMobilityServiceGETOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **optional.String**| Attribute-based filtering parameters according to ETSI GS MEC 011 | + **allFields** | **optional.String**| Include all complex attributes in the response. | + **fields** | **optional.String**| Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011 | + **excludeFields** | **optional.String**| Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011 | + **excludeDefault** | **optional.String**| Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details. | + +### Return type + +[**[]RegistrationInfo**](RegistrationInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **AppMobilityServicePOST** +> RegistrationInfo AppMobilityServicePOST(ctx, body) +Create a new application mobility service for the service requester. + +Create a new application mobility service for the service requester. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**RegistrationInfo**](RegistrationInfo.md)| Application mobility service to be created | + +### Return type + +[**RegistrationInfo**](RegistrationInfo.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/OneOfInlineNotification.md b/go-packages/meep-ams-client/docs/AppMobilityServiceLevel.md similarity index 91% rename from go-packages/meep-ams-client/docs/OneOfInlineNotification.md rename to go-packages/meep-ams-client/docs/AppMobilityServiceLevel.md index ebef032f7..e8c7be073 100644 --- a/go-packages/meep-ams-client/docs/OneOfInlineNotification.md +++ b/go-packages/meep-ams-client/docs/AppMobilityServiceLevel.md @@ -1,4 +1,4 @@ -# OneOfInlineNotification +# AppMobilityServiceLevel ## Properties Name | Type | Description | Notes @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/AssociateId.md b/go-packages/meep-ams-client/docs/AssociateId.md index 5186636ff..05e993577 100644 --- a/go-packages/meep-ams-client/docs/AssociateId.md +++ b/go-packages/meep-ams-client/docs/AssociateId.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type_** | **int32** | Numeric value (0-255) corresponding to specified type of identifier as following: <p>0 = reserved. <p>1 = UE_IPv4_ADDRESS. <p>2 = UE_IPV6_ADDRESS. <p>3 = NATED_IP_ADDRESS. <p>4 = GTP_TEID. | [optional] [default to null] -**Value** | **string** | Value for the identifier. | [optional] [default to null] +**Type_** | [***ModelType**](Type.md) | | [default to null] +**Value** | **string** | Value for the identifier. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/KeyValuePairs.md b/go-packages/meep-ams-client/docs/Body.md similarity index 94% rename from go-packages/meep-ams-client/docs/KeyValuePairs.md rename to go-packages/meep-ams-client/docs/Body.md index 846b92cb8..6ab902617 100644 --- a/go-packages/meep-ams-client/docs/KeyValuePairs.md +++ b/go-packages/meep-ams-client/docs/Body.md @@ -1,4 +1,4 @@ -# KeyValuePairs +# Body ## Properties Name | Type | Description | Notes @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/InlineNotification.md b/go-packages/meep-ams-client/docs/Body1.md similarity index 92% rename from go-packages/meep-ams-client/docs/InlineNotification.md rename to go-packages/meep-ams-client/docs/Body1.md index 168ccca2d..8a9eb3d41 100644 --- a/go-packages/meep-ams-client/docs/InlineNotification.md +++ b/go-packages/meep-ams-client/docs/Body1.md @@ -1,4 +1,4 @@ -# InlineNotification +# Body1 ## Properties Name | Type | Description | Notes @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/InlineSubscription.md b/go-packages/meep-ams-client/docs/Body2.md similarity index 92% rename from go-packages/meep-ams-client/docs/InlineSubscription.md rename to go-packages/meep-ams-client/docs/Body2.md index 27ba36f48..cf73e49d3 100644 --- a/go-packages/meep-ams-client/docs/InlineSubscription.md +++ b/go-packages/meep-ams-client/docs/Body2.md @@ -1,4 +1,4 @@ -# InlineSubscription +# Body2 ## Properties Name | Type | Description | Notes @@ -6,4 +6,3 @@ Name | Type | Description | Notes [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/CommunicationInterface.md b/go-packages/meep-ams-client/docs/CommunicationInterface.md index 5a07f6424..b84f00ad2 100644 --- a/go-packages/meep-ams-client/docs/CommunicationInterface.md +++ b/go-packages/meep-ams-client/docs/CommunicationInterface.md @@ -3,8 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IpAddresses** | [**[]CommunicationInterfaceIpAddresses**](CommunicationInterface_ipAddresses.md) | | [optional] [default to null] +**IpAddresses** | [**[]CommunicationInterfaceIpAddresses**](CommunicationInterface.IpAddresses.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/ContextTransferState.md b/go-packages/meep-ams-client/docs/ContextTransferState.md new file mode 100644 index 000000000..b9bff3da8 --- /dev/null +++ b/go-packages/meep-ams-client/docs/ContextTransferState.md @@ -0,0 +1,8 @@ +# ContextTransferState + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/ExpiryNotification.md b/go-packages/meep-ams-client/docs/ExpiryNotification.md index 769bf83b3..1f36b8108 100644 --- a/go-packages/meep-ams-client/docs/ExpiryNotification.md +++ b/go-packages/meep-ams-client/docs/ExpiryNotification.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***ExpiryNotificationLinks**](ExpiryNotification__links.md) | | [default to null] -**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [default to null] +**NotificationType** | **string** | Shall be set to \"ExpiryNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**Links** | [***MobilityProcedureNotificationLinks**](MobilityProcedureNotification__links.md) | | [default to null] +**ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/ExpiryNotificationLinks.md b/go-packages/meep-ams-client/docs/ExpiryNotificationLinks.md deleted file mode 100644 index b6760508d..000000000 --- a/go-packages/meep-ams-client/docs/ExpiryNotificationLinks.md +++ /dev/null @@ -1,10 +0,0 @@ -# ExpiryNotificationLinks - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Self** | **string** | Self referring URI. This shall be included in the response from the AMS. The URI shall be unique within the AMS API as it acts as an ID for the subscription. | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/go-packages/meep-ams-client/docs/LinkType.md b/go-packages/meep-ams-client/docs/LinkType.md index c09d5d54f..5d8170f4a 100644 --- a/go-packages/meep-ams-client/docs/LinkType.md +++ b/go-packages/meep-ams-client/docs/LinkType.md @@ -3,8 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Href** | **string** | URI referring to a resource | [default to null] +**Href** | **string** | The URI referring to the subscription. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/LocationApi.md b/go-packages/meep-ams-client/docs/LocationApi.md new file mode 100644 index 000000000..f85982096 --- /dev/null +++ b/go-packages/meep-ams-client/docs/LocationApi.md @@ -0,0 +1,36 @@ +# {{classname}} + +All URIs are relative to *https://localhost/amsi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Mec011AppTerminationPOST**](LocationApi.md#Mec011AppTerminationPOST) | **Post** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination + +# **Mec011AppTerminationPOST** +> Mec011AppTerminationPOST(ctx, body) +MEC011 Application Termination notification for self termination + +Terminates itself. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**AppTerminationNotification**](AppTerminationNotification.md)| Termination notification details | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/MecHostInformation.md b/go-packages/meep-ams-client/docs/MecHostInformation.md index 087b90e31..6f9dbb0c3 100644 --- a/go-packages/meep-ams-client/docs/MecHostInformation.md +++ b/go-packages/meep-ams-client/docs/MecHostInformation.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**HostName** | **string** | | [optional] [default to null] -**HostId** | [***interface{}**](interface{}.md) | 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' | [default to null] +**HostName** | **string** | Human-readable name of MEC host. | [optional] [default to null] +**HostId** | [***map[string]interface{}**](map.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureNotification.md b/go-packages/meep-ams-client/docs/MobilityProcedureNotification.md index 35db5b192..ab939964f 100644 --- a/go-packages/meep-ams-client/docs/MobilityProcedureNotification.md +++ b/go-packages/meep-ams-client/docs/MobilityProcedureNotification.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AssociateId** | [**[]AssociateId**](AssociateId.md) | 0 to N identifiers to associate the information for specific UE(s) and flow(s). | [optional] [default to null] -**MobilityStatus** | **int32** | Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. | [default to null] -**NotificationType** | **string** | Shall be set to \\\"MobilityProcedureNotification\\\". | [default to null] -**TargetAppInfo** | [***MobilityProcedureNotificationTargetAppInfo**](MobilityProcedureNotification_targetAppInfo.md) | | [optional] [default to null] +**NotificationType** | **string** | Shall be set to \"MobilityProcedureNotification\". | [default to null] **TimeStamp** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**AssociateId** | [**[]AssociateId**](AssociateId.md) | 1 to N identifiers to associate the information for specific | [default to null] +**MobilityStatus** | [***MobilityStatus**](MobilityStatus.md) | | [default to null] +**TargetAppInfo** | [***MobilityProcedureNotificationTargetAppInfo**](MobilityProcedureNotification_targetAppInfo.md) | | [optional] [default to null] +**Links** | [***MobilityProcedureNotificationLinks**](MobilityProcedureNotification__links.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureNotificationLinks.md b/go-packages/meep-ams-client/docs/MobilityProcedureNotificationLinks.md new file mode 100644 index 000000000..87434e7b3 --- /dev/null +++ b/go-packages/meep-ams-client/docs/MobilityProcedureNotificationLinks.md @@ -0,0 +1,9 @@ +# MobilityProcedureNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureNotificationTargetAppInfo.md b/go-packages/meep-ams-client/docs/MobilityProcedureNotificationTargetAppInfo.md index be818451d..1cdcae7d3 100644 --- a/go-packages/meep-ams-client/docs/MobilityProcedureNotificationTargetAppInfo.md +++ b/go-packages/meep-ams-client/docs/MobilityProcedureNotificationTargetAppInfo.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AppInstanceId** | **string** | Identifiers of the target application instance. | [optional] [default to null] +**AppInstanceId** | **string** | Identifiers of the target application instance. | [default to null] **CommInterface** | [***CommunicationInterface**](CommunicationInterface.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureSubscription.md b/go-packages/meep-ams-client/docs/MobilityProcedureSubscription.md index e3bed8e67..d8c826c14 100644 --- a/go-packages/meep-ams-client/docs/MobilityProcedureSubscription.md +++ b/go-packages/meep-ams-client/docs/MobilityProcedureSubscription.md @@ -3,12 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***AdjacentAppInfoSubscriptionLinks**](AdjacentAppInfoSubscription__links.md) | | [optional] [default to null] -**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [default to null] +**Links** | [***MobilityProcedureSubscriptionLinks**](MobilityProcedureSubscription.links.md) | | [optional] [default to null] +**CallbackReference** | **string** | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [optional] [default to null] +**RequestTestNotification** | **bool** | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. | [optional] [default to null] +**WebsockNotifConfig** | [***WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] **ExpiryDeadline** | [***TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**FilterCriteria** | [***MobilityProcedureSubscriptionFilterCriteria**](MobilityProcedureSubscription_filterCriteria.md) | | [default to null] +**FilterCriteria** | [***MobilityProcedureSubscriptionFilterCriteria**](MobilityProcedureSubscription.filterCriteria.md) | | [default to null] **SubscriptionType** | **string** | Shall be set to \"MobilityProcedureSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionFilterCriteria.md b/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionFilterCriteria.md index aa83de15f..c063eb81b 100644 --- a/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionFilterCriteria.md +++ b/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionFilterCriteria.md @@ -3,10 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AppInstanceId** | **string** | Identifier of the application instance that registers the application mobility service. | [optional] [default to null] +**AppInstanceId** | **string** | Identifier of the application instance that registers the Application Mobility Service. | [optional] [default to null] **AssociateId** | [**[]AssociateId**](AssociateId.md) | 0 to N identifiers to associate the information for specific UE(s) and flow(s). | [optional] [default to null] -**MobilityStatus** | **[]int32** | In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. | [optional] [default to null] +**MobilityStatus** | [**[]MobilityStatus**](MobilityStatus.md) | In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionLinks.md b/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionLinks.md new file mode 100644 index 000000000..1fca79df0 --- /dev/null +++ b/go-packages/meep-ams-client/docs/MobilityProcedureSubscriptionLinks.md @@ -0,0 +1,9 @@ +# MobilityProcedureSubscriptionLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Self** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/MobilityStatus.md b/go-packages/meep-ams-client/docs/MobilityStatus.md new file mode 100644 index 000000000..84e566fcd --- /dev/null +++ b/go-packages/meep-ams-client/docs/MobilityStatus.md @@ -0,0 +1,8 @@ +# MobilityStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/ModelType.md b/go-packages/meep-ams-client/docs/ModelType.md new file mode 100644 index 000000000..dd4d07d89 --- /dev/null +++ b/go-packages/meep-ams-client/docs/ModelType.md @@ -0,0 +1,8 @@ +# ModelType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/NotificationsApi.md b/go-packages/meep-ams-client/docs/NotificationsApi.md new file mode 100644 index 000000000..baa918c8b --- /dev/null +++ b/go-packages/meep-ams-client/docs/NotificationsApi.md @@ -0,0 +1,36 @@ +# {{classname}} + +All URIs are relative to *https://localhost/amsi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**NotificationPOST**](NotificationsApi.md#NotificationPOST) | **Post** /uri_provided_by_subscriber | delivers a notification from the AMS resource to the subscriber + +# **NotificationPOST** +> NotificationPOST(ctx, body) +delivers a notification from the AMS resource to the subscriber + +delivers a notification from the AMS resource to the subscriber + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**Body2**](Body2.md)| | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/OneOfInlineSubscription.md b/go-packages/meep-ams-client/docs/OneOfInlineSubscription.md deleted file mode 100644 index 926da1d24..000000000 --- a/go-packages/meep-ams-client/docs/OneOfInlineSubscription.md +++ /dev/null @@ -1,9 +0,0 @@ -# OneOfInlineSubscription - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/go-packages/meep-ams-client/docs/OneOfbody.md b/go-packages/meep-ams-client/docs/OneOfbody.md new file mode 100644 index 000000000..60b34231e --- /dev/null +++ b/go-packages/meep-ams-client/docs/OneOfbody.md @@ -0,0 +1,8 @@ +# OneOfbody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/OneOfbody1.md b/go-packages/meep-ams-client/docs/OneOfbody1.md new file mode 100644 index 000000000..add66742c --- /dev/null +++ b/go-packages/meep-ams-client/docs/OneOfbody1.md @@ -0,0 +1,8 @@ +# OneOfbody1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/OneOfbody2.md b/go-packages/meep-ams-client/docs/OneOfbody2.md new file mode 100644 index 000000000..82dffd279 --- /dev/null +++ b/go-packages/meep-ams-client/docs/OneOfbody2.md @@ -0,0 +1,8 @@ +# OneOfbody2 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/RegistrationInfo.md b/go-packages/meep-ams-client/docs/RegistrationInfo.md index e07dabb5c..75db67ba4 100644 --- a/go-packages/meep-ams-client/docs/RegistrationInfo.md +++ b/go-packages/meep-ams-client/docs/RegistrationInfo.md @@ -4,10 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AppMobilityServiceId** | **string** | The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise. | [optional] [default to null] -**DeviceInformation** | [**[]RegistrationInfoDeviceInformation**](RegistrationInfo_deviceInformation.md) | If present, it specifies the device served by the application instance which is registering the application mobility service. | [optional] [default to null] -**ExpiryTime** | **int32** | If present, it indicates the time of application mobility service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. | [optional] [default to null] -**ServiceConsumerId** | [***RegistrationInfoServiceConsumerId**](RegistrationInfo_serviceConsumerId.md) | | [default to null] +**DeviceInformation** | [**[]RegistrationInfoDeviceInformation**](RegistrationInfo.deviceInformation.md) | If present, it specifies the device served by the application instance which is registering is registering the Application Mobility Service. | [optional] [default to null] +**ExpiryTime** | **int32** | If present, it indicates the time of Application Mobility Service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. | [optional] [default to null] +**ServiceConsumerId** | [***RegistrationInfoServiceConsumerId**](RegistrationInfo.serviceConsumerId.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/RegistrationInfoDeviceInformation.md b/go-packages/meep-ams-client/docs/RegistrationInfoDeviceInformation.md index f34375c8e..91bd70976 100644 --- a/go-packages/meep-ams-client/docs/RegistrationInfoDeviceInformation.md +++ b/go-packages/meep-ams-client/docs/RegistrationInfoDeviceInformation.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AssociateId** | [***AssociateId**](AssociateId.md) | | [default to null] -**AppMobilityServiceLevel** | **int32** | | [optional] [default to null] -**ContextTransferState** | **int32** | | [optional] [default to null] +**AppMobilityServiceLevel** | [***AppMobilityServiceLevel**](AppMobilityServiceLevel.md) | | [optional] [default to null] +**ContextTransferState** | [***ContextTransferState**](contextTransferState.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/RegistrationInfoServiceConsumerId.md b/go-packages/meep-ams-client/docs/RegistrationInfoServiceConsumerId.md index 665fbd609..6fde0869f 100644 --- a/go-packages/meep-ams-client/docs/RegistrationInfoServiceConsumerId.md +++ b/go-packages/meep-ams-client/docs/RegistrationInfoServiceConsumerId.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AppInstanceId** | **string** | If present, it represents the identifier of the application instance registering the application mobility service. | [optional] [default to null] -**MepId** | **string** | If present, it represents the identifier of the MEC platform registering the application mobility service. | [optional] [default to null] +**AppInstanceId** | **string** | If present, it represents the identifier of the application instance registering the Application Mobility Service. | [optional] [default to null] +**MepId** | **string** | If present, it represents the identifier of the MEC platform registering the Application Mobility Service. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/SubscriptionLinkList.md b/go-packages/meep-ams-client/docs/SubscriptionLinkList.md index 2ffd40156..ac82d3b67 100644 --- a/go-packages/meep-ams-client/docs/SubscriptionLinkList.md +++ b/go-packages/meep-ams-client/docs/SubscriptionLinkList.md @@ -3,9 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***SubscriptionLinkListLinks**](SubscriptionLinkList__links.md) | | [default to null] -**Subscription** | [**[]SubscriptionLinkListSubscription**](SubscriptionLinkList_subscription.md) | A link to a subscription. | [optional] [default to null] +**Links** | [***SubscriptionLinkListLinks**](SubscriptionLinkList.links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-ams-client/docs/SubscriptionLinkListLinks.md index 6606d8713..0858a33c9 100644 --- a/go-packages/meep-ams-client/docs/SubscriptionLinkListLinks.md +++ b/go-packages/meep-ams-client/docs/SubscriptionLinkListLinks.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Self** | [***LinkType**](LinkType.md) | | [default to null] +**Subscription** | [**[]SubscriptionLinkListSubscription**](SubscriptionLinkList.subscription.md) | The service consumer’s subscriptions. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/SubscriptionLinkListSubscription.md b/go-packages/meep-ams-client/docs/SubscriptionLinkListSubscription.md index 344c76998..13c9cd664 100644 --- a/go-packages/meep-ams-client/docs/SubscriptionLinkListSubscription.md +++ b/go-packages/meep-ams-client/docs/SubscriptionLinkListSubscription.md @@ -4,8 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Href** | **string** | The URI referring to the subscription. | [default to null] -**SubscriptionType** | **int32** | Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. | [default to null] +**SubscriptionType** | [***SubscriptionType**](subscriptionType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/SubscriptionType.md b/go-packages/meep-ams-client/docs/SubscriptionType.md new file mode 100644 index 000000000..029e22468 --- /dev/null +++ b/go-packages/meep-ams-client/docs/SubscriptionType.md @@ -0,0 +1,8 @@ +# SubscriptionType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/SubscriptionsApi.md b/go-packages/meep-ams-client/docs/SubscriptionsApi.md new file mode 100644 index 000000000..1b224a4a2 --- /dev/null +++ b/go-packages/meep-ams-client/docs/SubscriptionsApi.md @@ -0,0 +1,153 @@ +# {{classname}} + +All URIs are relative to *https://localhost/amsi/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**SubByIdDELETE**](SubscriptionsApi.md#SubByIdDELETE) | **Delete** /subscriptions/{subscriptionId} | cancel the existing individual subscription +[**SubByIdGET**](SubscriptionsApi.md#SubByIdGET) | **Get** /subscriptions/{subscriptionId} | Retrieve information about this subscription. +[**SubByIdPUT**](SubscriptionsApi.md#SubByIdPUT) | **Put** /subscriptions/{subscriptionId} | update the existing individual subscription. +[**SubGET**](SubscriptionsApi.md#SubGET) | **Get** /subscriptions | Retrieve information about the subscriptions for this requestor. +[**SubPOST**](SubscriptionsApi.md#SubPOST) | **Post** /subscriptions | Create a new subscription to Application Mobility Service notifications. + +# **SubByIdDELETE** +> SubByIdDELETE(ctx, subscriptionId) +cancel the existing individual subscription + +cancel the existing individual subscription + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the AMS API allocates a unique resource name for this subscription | + +### Return type + + (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubByIdGET** +> Body SubByIdGET(ctx, subscriptionId) +Retrieve information about this subscription. + +Retrieve information about this subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionId** | **string**| Refers to created subscription, where the AMS API allocates a unique resource name for this subscription | + +### Return type + +[**Body**](body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubByIdPUT** +> Body1 SubByIdPUT(ctx, body, subscriptionId) +update the existing individual subscription. + +update the existing individual subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**Body1**](Body1.md)| | + **subscriptionId** | **string**| Refers to created subscription, where the AMS API allocates a unique resource name for this subscription | + +### Return type + +[**Body1**](body_1.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubGET** +> SubscriptionLinkList SubGET(ctx, subscriptionType) +Retrieve information about the subscriptions for this requestor. + +Retrieve information about the subscriptions for this requestor. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **subscriptionType** | **string**| Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info | + +### Return type + +[**SubscriptionLinkList**](SubscriptionLinkList.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SubPOST** +> Body SubPOST(ctx, body) +Create a new subscription to Application Mobility Service notifications. + +Create a new subscription to Application Mobility Service notifications. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **body** | [**Body**](Body.md)| | + +### Return type + +[**Body**](body.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/TestNotification.md b/go-packages/meep-ams-client/docs/TestNotification.md new file mode 100644 index 000000000..bee0157dd --- /dev/null +++ b/go-packages/meep-ams-client/docs/TestNotification.md @@ -0,0 +1,10 @@ +# TestNotification + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**NotificationType** | **string** | Shall be set to \"TestNotification\". | [default to null] +**Links** | [***TestNotificationLinks**](TestNotification__links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/TestNotificationLinks.md b/go-packages/meep-ams-client/docs/TestNotificationLinks.md new file mode 100644 index 000000000..3f06efa95 --- /dev/null +++ b/go-packages/meep-ams-client/docs/TestNotificationLinks.md @@ -0,0 +1,9 @@ +# TestNotificationLinks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Subscription** | [***LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/docs/TimeStamp.md b/go-packages/meep-ams-client/docs/TimeStamp.md index 97a0db5ca..b13c4a15d 100644 --- a/go-packages/meep-ams-client/docs/TimeStamp.md +++ b/go-packages/meep-ams-client/docs/TimeStamp.md @@ -3,9 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**NanoSeconds** | **int32** | The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. | [default to null] -**Seconds** | **int32** | The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. | [default to null] +**Seconds** | **int32** | 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' | [default to null] +**NanoSeconds** | **int32** | 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/go-packages/meep-ams-client/docs/UnsupportedApi.md b/go-packages/meep-ams-client/docs/UnsupportedApi.md index 19dd3afe5..ff6292b39 100644 --- a/go-packages/meep-ams-client/docs/UnsupportedApi.md +++ b/go-packages/meep-ams-client/docs/UnsupportedApi.md @@ -1,13 +1,12 @@ -# \UnsupportedApi +# {{classname}} -All URIs are relative to *https://localhost/sandboxname/amsi/v1* +All URIs are relative to *https://localhost/amsi/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**AdjAppInstGET**](UnsupportedApi.md#AdjAppInstGET) | **Get** /queries/adjacent_app_instances | Retrieve information about this subscription. [**AppMobilityServiceDerPOST**](UnsupportedApi.md#AppMobilityServiceDerPOST) | **Post** /app_mobility_services/{appMobilityServiceId}/deregister_task | deregister the individual application mobility service - # **AdjAppInstGET** > []AdjacentAppInstanceInfo AdjAppInstGET(ctx, optional) Retrieve information about this subscription. @@ -19,17 +18,16 @@ Retrieve information about this subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **optional** | ***AdjAppInstGETOpts** | optional parameters | nil if no parameters + **optional** | ***UnsupportedApiAdjAppInstGETOpts** | optional parameters | nil if no parameters ### Optional Parameters -Optional parameters are passed through a pointer to a AdjAppInstGETOpts struct - +Optional parameters are passed through a pointer to a UnsupportedApiAdjAppInstGETOpts struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **optional.String**| Attribute-based filtering parameters according to ETSI GS MEC 011 | + **filter** | **optional.String**| Attribute-based filtering parameters according to ETSI GS MEC 009 | **allFields** | **optional.String**| Include all complex attributes in the response. | - **fields** | **optional.String**| Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011 | - **excludeFields** | **optional.String**| Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011 | + **fields** | **optional.String**| Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 009 | + **excludeFields** | **optional.String**| Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 009 | **excludeDefault** | **optional.String**| Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details. | ### Return type diff --git a/go-packages/meep-ams-client/docs/WebsockNotifConfig.md b/go-packages/meep-ams-client/docs/WebsockNotifConfig.md new file mode 100644 index 000000000..6b8ae7dda --- /dev/null +++ b/go-packages/meep-ams-client/docs/WebsockNotifConfig.md @@ -0,0 +1,10 @@ +# WebsockNotifConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WebsocketUri** | **string** | Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. | [optional] [default to null] +**RequestWebsocketUri** | **bool** | Set to true by the service consumer to indicate that Websocket delivery is requested. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_notification.go b/go-packages/meep-ams-client/model_adjacent_app_info_notification.go index 7d8b18165..45c37bd3b 100644 --- a/go-packages/meep-ams-client/model_adjacent_app_info_notification.go +++ b/go-packages/meep-ams-client/model_adjacent_app_info_notification.go @@ -1,32 +1,20 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type AdjacentAppInfoNotification struct { - // Shall be set to \\\"AdjacentAppInfoNotification\\\". - NotificationType string `json:"notificationType"` - AdjacentAppInfo []AdjacentAppInfoNotificationAdjacentAppInfo `json:"adjacentAppInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // Shall be set to \"AdjacentAppInfoNotification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // 1 to N identifiers to associate the information for specific + AssociateId []AssociateId `json:"associateId,omitempty"` + AdjacentAppInfo []AdjacentAppInfoNotificationAdjacentAppInfo `json:"adjacentAppInfo,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_notification_adjacent_app_info.go b/go-packages/meep-ams-client/model_adjacent_app_info_notification_adjacent_app_info.go index fe82bef6e..3f23521be 100644 --- a/go-packages/meep-ams-client/model_adjacent_app_info_notification_adjacent_app_info.go +++ b/go-packages/meep-ams-client/model_adjacent_app_info_notification_adjacent_app_info.go @@ -1,32 +1,17 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client -// Identifiers to associate the information of target application instance. type AdjacentAppInfoNotificationAdjacentAppInfo struct { - // Identifiers of the target application instance. - AppInstanceId string `json:"appInstanceId"` - CommInterface *CommunicationInterface `json:"commInterface,omitempty"` + // Identifier of the adjacent application instance. + AppInstanceId string `json:"appInstanceId"` + // If present, it represents the communication interface(s) information of the application instance. + CommInterface []CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_subscription.go b/go-packages/meep-ams-client/model_adjacent_app_info_subscription.go index 9ca6df561..ac41f5a97 100644 --- a/go-packages/meep-ams-client/model_adjacent_app_info_subscription.go +++ b/go-packages/meep-ams-client/model_adjacent_app_info_subscription.go @@ -1,35 +1,23 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type AdjacentAppInfoSubscription struct { Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` - // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` + // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. + CallbackReference string `json:"callbackReference"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to \"AdjacentAppInfoSubscription\". SubscriptionType string `json:"subscriptionType"` } diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_subscription__links.go b/go-packages/meep-ams-client/model_adjacent_app_info_subscription__links.go deleted file mode 100644 index 9893cb4b9..000000000 --- a/go-packages/meep-ams-client/model_adjacent_app_info_subscription__links.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -type AdjacentAppInfoSubscriptionLinks struct { - Self *LinkType `json:"self,omitempty"` -} diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_subscription_filter_criteria.go b/go-packages/meep-ams-client/model_adjacent_app_info_subscription_filter_criteria.go index 3ff379dda..7ef02d005 100644 --- a/go-packages/meep-ams-client/model_adjacent_app_info_subscription_filter_criteria.go +++ b/go-packages/meep-ams-client/model_adjacent_app_info_subscription_filter_criteria.go @@ -1,29 +1,15 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type AdjacentAppInfoSubscriptionFilterCriteria struct { AppInstanceId string `json:"appInstanceId,omitempty"` } diff --git a/go-packages/meep-ams-client/model_adjacent_app_instance_info.go b/go-packages/meep-ams-client/model_adjacent_app_instance_info.go index 66b480df5..95ea32706 100644 --- a/go-packages/meep-ams-client/model_adjacent_app_instance_info.go +++ b/go-packages/meep-ams-client/model_adjacent_app_instance_info.go @@ -1,27 +1,12 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type AdjacentAppInstanceInfo struct { @@ -30,6 +15,8 @@ type AdjacentAppInstanceInfo struct { // It specifies the communication interface of application instance. AppInstanceCommLink []CommunicationInterface `json:"appInstanceCommLink"` // Identifier of the application instance. - AppInstanceId string `json:"appInstanceId"` + AppInstanceId string `json:"appInstanceId"` MecHostInformation *MecHostInformation `json:"mecHostInformation,omitempty"` + // dentifier of the application instance that registers to the AMS, which is instantiated from the application descriptor identified by the attribute \"appDId\". + RegisteredInstanceId string `json:"registeredInstanceId,omitempty"` } diff --git a/go-packages/meep-ams-client/model_app_termination_notification.go b/go-packages/meep-ams-client/model_app_termination_notification.go index c43629213..caff900ed 100644 --- a/go-packages/meep-ams-client/model_app_termination_notification.go +++ b/go-packages/meep-ams-client/model_app_termination_notification.go @@ -1,35 +1,20 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client // This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. type AppTerminationNotification struct { // Shall be set to AppTerminationNotification. - NotificationType string `json:"notificationType"` - OperationAction *OperationActionType `json:"operationAction"` + NotificationType string `json:"notificationType"` + OperationAction *OperationActionType `json:"operationAction"` // Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. - MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` - Links *AppTerminationNotificationLinks `json:"_links"` + MaxGracefulTimeout int32 `json:"maxGracefulTimeout"` + Links *AppTerminationNotificationLinks `json:"_links"` } diff --git a/go-packages/meep-ams-client/model_app_termination_notification__links.go b/go-packages/meep-ams-client/model_app_termination_notification__links.go index a19522b62..03b1f462f 100644 --- a/go-packages/meep-ams-client/model_app_termination_notification__links.go +++ b/go-packages/meep-ams-client/model_app_termination_notification__links.go @@ -1,31 +1,15 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client -// Object containing hyperlinks related to the resource. type AppTerminationNotificationLinks struct { - Subscription *LinkType `json:"subscription"` + Subscription *LinkType `json:"subscription"` ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` } diff --git a/go-packages/meep-ams-client/model_associate_id.go b/go-packages/meep-ams-client/model_associate_id.go index 9361a47b1..607df129b 100644 --- a/go-packages/meep-ams-client/model_associate_id.go +++ b/go-packages/meep-ams-client/model_associate_id.go @@ -1,32 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type AssociateId struct { - // Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID. - Type_ int32 `json:"type,omitempty"` + Type_ *ModelType `json:"type"` // Value for the identifier. - Value string `json:"value,omitempty"` + Value string `json:"value"` } diff --git a/go-packages/meep-ams-client/model_communication_interface.go b/go-packages/meep-ams-client/model_communication_interface.go index 2b23a33e7..7577d520b 100644 --- a/go-packages/meep-ams-client/model_communication_interface.go +++ b/go-packages/meep-ams-client/model_communication_interface.go @@ -1,27 +1,12 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type CommunicationInterface struct { diff --git a/go-packages/meep-ams-client/model_communication_interface_ip_addresses.go b/go-packages/meep-ams-client/model_communication_interface_ip_addresses.go index 645d24ecf..cbdd5a6d3 100644 --- a/go-packages/meep-ams-client/model_communication_interface_ip_addresses.go +++ b/go-packages/meep-ams-client/model_communication_interface_ip_addresses.go @@ -1,30 +1,15 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type CommunicationInterfaceIpAddresses struct { Host string `json:"host"` - Port int32 `json:"port"` + Port int32 `json:"port"` } diff --git a/go-packages/meep-ams-client/model_expiry_notification.go b/go-packages/meep-ams-client/model_expiry_notification.go index 86934c18d..ad73ea500 100644 --- a/go-packages/meep-ams-client/model_expiry_notification.go +++ b/go-packages/meep-ams-client/model_expiry_notification.go @@ -1,31 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type ExpiryNotification struct { - Links *ExpiryNotificationLinks `json:"_links"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // Shall be set to \"ExpiryNotification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline"` } diff --git a/go-packages/meep-ams-client/model_expiry_notification__links.go b/go-packages/meep-ams-client/model_expiry_notification__links.go deleted file mode 100644 index d2d6d61d8..000000000 --- a/go-packages/meep-ams-client/model_expiry_notification__links.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -// List of hyperlinks related to the resource. -type ExpiryNotificationLinks struct { - // Self referring URI. This shall be included in the response from the AMS. The URI shall be unique within the AMS API as it acts as an ID for the subscription. - Self string `json:"self"` -} diff --git a/go-packages/meep-ams-client/model_inline_notification.go b/go-packages/meep-ams-client/model_inline_notification.go deleted file mode 100644 index d7f3fdd15..000000000 --- a/go-packages/meep-ams-client/model_inline_notification.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -type InlineNotification struct { - // Not used in client code -} diff --git a/go-packages/meep-ams-client/model_inline_subscription.go b/go-packages/meep-ams-client/model_inline_subscription.go deleted file mode 100644 index 125f682e7..000000000 --- a/go-packages/meep-ams-client/model_inline_subscription.go +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -type InlineSubscription struct { - /* Discriminator */ - SubscriptionType string `json:"subscriptionType"` - - /* Common */ - Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - - /* MobilityProcedureSubscription */ - FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` - - /* AdjacentAppInfoSubscription */ - // NOTE: to avoid json parameter conflict, use superset filterCriteria from MobilityProcedure - // FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` -} diff --git a/go-packages/meep-ams-client/model_key_value_pairs.go b/go-packages/meep-ams-client/model_key_value_pairs.go deleted file mode 100644 index 953a61667..000000000 --- a/go-packages/meep-ams-client/model_key_value_pairs.go +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -// 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' -type KeyValuePairs struct { -} diff --git a/go-packages/meep-ams-client/model_link_type.go b/go-packages/meep-ams-client/model_link_type.go index 11b0de2ec..8eb0cf548 100644 --- a/go-packages/meep-ams-client/model_link_type.go +++ b/go-packages/meep-ams-client/model_link_type.go @@ -1,30 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client +// 'This data type represents a type of link' type LinkType struct { - // URI referring to a resource + // The URI referring to the subscription. Href string `json:"href"` } diff --git a/go-packages/meep-ams-client/model_mec_host_information.go b/go-packages/meep-ams-client/model_mec_host_information.go index c287811e6..6f167e759 100644 --- a/go-packages/meep-ams-client/model_mec_host_information.go +++ b/go-packages/meep-ams-client/model_mec_host_information.go @@ -1,32 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client -// 'The data type represents the parameters of MEC host information.' type MecHostInformation struct { + // Human-readable name of MEC host. HostName string `json:"hostName,omitempty"` - // 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' - HostId *interface{} `json:"hostId"` + HostId *map[string]interface{} `json:"hostId"` } diff --git a/go-packages/meep-ams-client/model_mobility_procedure_notification.go b/go-packages/meep-ams-client/model_mobility_procedure_notification.go index e407cef2a..2287e8627 100644 --- a/go-packages/meep-ams-client/model_mobility_procedure_notification.go +++ b/go-packages/meep-ams-client/model_mobility_procedure_notification.go @@ -1,36 +1,21 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type MobilityProcedureNotification struct { - // 0 to N identifiers to associate the information for specific UE(s) and flow(s). - AssociateId []AssociateId `json:"associateId,omitempty"` - // Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. - MobilityStatus int32 `json:"mobilityStatus"` - // Shall be set to \\\"MobilityProcedureNotification\\\". - NotificationType string `json:"notificationType"` - TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // Shall be set to \"MobilityProcedureNotification\". + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // 1 to N identifiers to associate the information for specific + AssociateId []AssociateId `json:"associateId"` + MobilityStatus *MobilityStatus `json:"mobilityStatus"` + TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links,omitempty"` } diff --git a/go-packages/meep-ams-client/model_mobility_procedure_notification_target_app_info.go b/go-packages/meep-ams-client/model_mobility_procedure_notification_target_app_info.go index 6116fa3b4..17be88845 100644 --- a/go-packages/meep-ams-client/model_mobility_procedure_notification_target_app_info.go +++ b/go-packages/meep-ams-client/model_mobility_procedure_notification_target_app_info.go @@ -1,32 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client -// Identifiers to associate the information of target application instance. type MobilityProcedureNotificationTargetAppInfo struct { // Identifiers of the target application instance. - AppInstanceId string `json:"appInstanceId,omitempty"` + AppInstanceId string `json:"appInstanceId"` CommInterface *CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/go-packages/meep-ams-client/model_mobility_procedure_subscription.go b/go-packages/meep-ams-client/model_mobility_procedure_subscription.go index 8c7c90387..ab064420e 100644 --- a/go-packages/meep-ams-client/model_mobility_procedure_subscription.go +++ b/go-packages/meep-ams-client/model_mobility_procedure_subscription.go @@ -1,35 +1,23 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type MobilityProcedureSubscription struct { - Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` + Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` + CallbackReference string `json:"callbackReference,omitempty"` + // Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` // Shall be set to \"MobilityProcedureSubscription\". SubscriptionType string `json:"subscriptionType"` } diff --git a/go-packages/meep-ams-client/model_mobility_procedure_subscription_filter_criteria.go b/go-packages/meep-ams-client/model_mobility_procedure_subscription_filter_criteria.go index 491ce3de0..5b9030420 100644 --- a/go-packages/meep-ams-client/model_mobility_procedure_subscription_filter_criteria.go +++ b/go-packages/meep-ams-client/model_mobility_procedure_subscription_filter_criteria.go @@ -1,34 +1,20 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client +// List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type MobilityProcedureSubscriptionFilterCriteria struct { - // Identifier of the application instance that registers the application mobility service. + // Identifier of the application instance that registers the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` // 0 to N identifiers to associate the information for specific UE(s) and flow(s). AssociateId []AssociateId `json:"associateId,omitempty"` // In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. - MobilityStatus []int32 `json:"mobilityStatus,omitempty"` + MobilityStatus []MobilityStatus `json:"mobilityStatus,omitempty"` } diff --git a/go-packages/meep-ams-client/model_one_of_inline_notification.go b/go-packages/meep-ams-client/model_one_of_inline_notification.go deleted file mode 100644 index aeb0b3f9b..000000000 --- a/go-packages/meep-ams-client/model_one_of_inline_notification.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -type OneOfInlineNotification struct { - /* Discriminator */ - NotificationType string `json:"notificationType"` -} diff --git a/go-packages/meep-ams-client/model_one_of_inline_subscription.go b/go-packages/meep-ams-client/model_one_of_inline_subscription.go deleted file mode 100644 index 01276267f..000000000 --- a/go-packages/meep-ams-client/model_one_of_inline_subscription.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -type OneOfInlineSubscription struct { - /* Discriminator */ - SubscriptionType string `json:"subscriptionType"` -} diff --git a/go-packages/meep-ams-client/model_operation_action_type.go b/go-packages/meep-ams-client/model_operation_action_type.go index 128a92bb6..5c7a38a19 100644 --- a/go-packages/meep-ams-client/model_operation_action_type.go +++ b/go-packages/meep-ams-client/model_operation_action_type.go @@ -1,34 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client - // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING_OperationActionType OperationActionType = "STOPPING" + STOPPING_OperationActionType OperationActionType = "STOPPING" TERMINATING_OperationActionType OperationActionType = "TERMINATING" ) diff --git a/go-packages/meep-ams-client/model_problem_details.go b/go-packages/meep-ams-client/model_problem_details.go index 0a5281617..7593251cd 100644 --- a/go-packages/meep-ams-client/model_problem_details.go +++ b/go-packages/meep-ams-client/model_problem_details.go @@ -1,27 +1,12 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type ProblemDetails struct { diff --git a/go-packages/meep-ams-client/model_registration_info.go b/go-packages/meep-ams-client/model_registration_info.go index a7bca2da0..79c5719bb 100644 --- a/go-packages/meep-ams-client/model_registration_info.go +++ b/go-packages/meep-ams-client/model_registration_info.go @@ -1,35 +1,20 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type RegistrationInfo struct { // The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise. AppMobilityServiceId string `json:"appMobilityServiceId,omitempty"` - // If present, it specifies the device served by the application instance which is registering the application mobility service. + // If present, it specifies the device served by the application instance which is registering is registering the Application Mobility Service. DeviceInformation []RegistrationInfoDeviceInformation `json:"deviceInformation,omitempty"` - // If present, it indicates the time of application mobility service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. - ExpiryTime int32 `json:"expiryTime,omitempty"` + // If present, it indicates the time of Application Mobility Service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. + ExpiryTime int32 `json:"expiryTime,omitempty"` ServiceConsumerId *RegistrationInfoServiceConsumerId `json:"serviceConsumerId"` } diff --git a/go-packages/meep-ams-client/model_registration_info_device_information.go b/go-packages/meep-ams-client/model_registration_info_device_information.go index bdbafefc4..9def5419e 100644 --- a/go-packages/meep-ams-client/model_registration_info_device_information.go +++ b/go-packages/meep-ams-client/model_registration_info_device_information.go @@ -1,31 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type RegistrationInfoDeviceInformation struct { - AssociateId *AssociateId `json:"associateId"` - AppMobilityServiceLevel int32 `json:"appMobilityServiceLevel,omitempty"` - ContextTransferState int32 `json:"contextTransferState,omitempty"` + AssociateId *AssociateId `json:"associateId"` + AppMobilityServiceLevel *AppMobilityServiceLevel `json:"appMobilityServiceLevel,omitempty"` + ContextTransferState *ContextTransferState `json:"contextTransferState,omitempty"` } diff --git a/go-packages/meep-ams-client/model_registration_info_service_consumer_id.go b/go-packages/meep-ams-client/model_registration_info_service_consumer_id.go index 9524bd013..d49c8627c 100644 --- a/go-packages/meep-ams-client/model_registration_info_service_consumer_id.go +++ b/go-packages/meep-ams-client/model_registration_info_service_consumer_id.go @@ -1,33 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client // The identifier of service consumer requesting the application mobility service, i.e. either the application instance ID or the MEC platform ID. type RegistrationInfoServiceConsumerId struct { - // If present, it represents the identifier of the application instance registering the application mobility service. + // If present, it represents the identifier of the application instance registering the Application Mobility Service. AppInstanceId string `json:"appInstanceId,omitempty"` - // If present, it represents the identifier of the MEC platform registering the application mobility service. + // If present, it represents the identifier of the MEC platform registering the Application Mobility Service. MepId string `json:"mepId,omitempty"` } diff --git a/go-packages/meep-ams-client/model_subscription_link_list.go b/go-packages/meep-ams-client/model_subscription_link_list.go index 7a1429987..3af457518 100644 --- a/go-packages/meep-ams-client/model_subscription_link_list.go +++ b/go-packages/meep-ams-client/model_subscription_link_list.go @@ -1,31 +1,14 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type SubscriptionLinkList struct { Links *SubscriptionLinkListLinks `json:"_links"` - // A link to a subscription. - Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` } diff --git a/go-packages/meep-ams-client/model_subscription_link_list__links.go b/go-packages/meep-ams-client/model_subscription_link_list__links.go deleted file mode 100644 index ff35df2b6..000000000 --- a/go-packages/meep-ams-client/model_subscription_link_list__links.go +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package client - -// List of hyperlinks related to the resource. -type SubscriptionLinkListLinks struct { - Self *LinkType `json:"self"` -} diff --git a/go-packages/meep-ams-client/model_subscription_link_list_subscription.go b/go-packages/meep-ams-client/model_subscription_link_list_subscription.go index b204c3585..f07e27bbf 100644 --- a/go-packages/meep-ams-client/model_subscription_link_list_subscription.go +++ b/go-packages/meep-ams-client/model_subscription_link_list_subscription.go @@ -1,32 +1,16 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client type SubscriptionLinkListSubscription struct { // The URI referring to the subscription. Href string `json:"href"` - // Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. - SubscriptionType int32 `json:"subscriptionType"` + SubscriptionType *SubscriptionType `json:"subscriptionType"` } diff --git a/go-packages/meep-ams-client/model_time_stamp.go b/go-packages/meep-ams-client/model_time_stamp.go index 9ea10181e..8a45c1992 100644 --- a/go-packages/meep-ams-client/model_time_stamp.go +++ b/go-packages/meep-ams-client/model_time_stamp.go @@ -1,32 +1,18 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * ETSI GS MEC 021 Application Mobility Service API * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE Application Mobility API - * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). - * - * API version: 2.1.1 - * Contact: AdvantEDGE@InterDigital.com + * API version: 2.2.1 + * Contact: cti_support@etsi.org * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client +// 'This data type represents the time stamp as Unix-time since January 1, 1970, 00:00:00 UTC' type TimeStamp struct { - // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. - NanoSeconds int32 `json:"nanoSeconds"` - // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + // 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' Seconds int32 `json:"seconds"` + // 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' + NanoSeconds int32 `json:"nanoSeconds"` } diff --git a/go-packages/meep-ams-client/response.go b/go-packages/meep-ams-client/response.go index 5320e848c..67845463c 100644 --- a/go-packages/meep-ams-client/response.go +++ b/go-packages/meep-ams-client/response.go @@ -17,7 +17,7 @@ * * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From 46727f3dc8b135eff60243b11c553b77da1742b9 Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Fri, 10 Jun 2022 13:55:35 +0500 Subject: [PATCH 163/183] update MEC011 app-support api --- docs/api-app-support/.openapi-generator/FILES | 11 +----- docs/api-app-support/README.md | 11 +----- .../server/app-support/model_current_time.go | 2 +- .../model_destination_interface.go | 2 +- ...el_destination_interface_interface_type.go | 32 ----------------- .../server/app-support/model_dns_rule.go | 4 +-- .../model_dns_rule_ip_address_type.go | 31 ---------------- .../app-support/model_dns_rule_state.go | 31 ---------------- .../app-support/model_time_source_status.go | 33 ----------------- .../model_timing_caps_ntp_servers.go | 4 +-- ..._caps_ntp_servers_authentication_option.go | 33 ----------------- ...g_caps_ntp_servers_ntp_server_addr_type.go | 32 ----------------- .../server/app-support/model_traffic_rule.go | 6 ++-- .../app-support/model_traffic_rule_action.go | 36 ------------------- .../model_traffic_rule_filter_type.go | 32 ----------------- .../app-support/model_traffic_rule_state.go | 32 ----------------- .../server/app-support/model_tunnel_info.go | 2 +- .../model_tunnel_info_tunnel_type.go | 32 ----------------- 18 files changed, 12 insertions(+), 354 deletions(-) delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_time_source_status.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go delete mode 100644 go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go diff --git a/docs/api-app-support/.openapi-generator/FILES b/docs/api-app-support/.openapi-generator/FILES index bd7294d0c..3d346340f 100644 --- a/docs/api-app-support/.openapi-generator/FILES +++ b/docs/api-app-support/.openapi-generator/FILES @@ -6,12 +6,10 @@ Models/AppTerminationConfirmation.md Models/AppTerminationNotification.md Models/AppTerminationNotificationLinks.md Models/AppTerminationNotificationSubscription.md +Models/AppTerminationNotificationSubscriptionLinks.md Models/CurrentTime.md Models/DestinationInterface.md -Models/DestinationInterfaceInterfaceType.md Models/DnsRule.md -Models/DnsRuleIpAddressType.md -Models/DnsRuleState.md Models/LinkType.md Models/MecAppSuptApiSubscriptionLinkList.md Models/MecAppSuptApiSubscriptionLinkListLinks.md @@ -19,18 +17,11 @@ Models/MecAppSuptApiSubscriptionLinkListSubscription.md Models/OperationActionType.md Models/ProblemDetails.md Models/Self.md -Models/TimeSourceStatus.md Models/TimingCaps.md Models/TimingCapsNtpServers.md -Models/TimingCapsNtpServersAuthenticationOption.md -Models/TimingCapsNtpServersNtpServerAddrType.md Models/TimingCapsPtpMasters.md Models/TimingCapsTimeStamp.md Models/TrafficFilter.md Models/TrafficRule.md -Models/TrafficRuleAction.md -Models/TrafficRuleFilterType.md -Models/TrafficRuleState.md Models/TunnelInfo.md -Models/TunnelInfoTunnelType.md README.md diff --git a/docs/api-app-support/README.md b/docs/api-app-support/README.md index 2d90574b3..5161e2e44 100644 --- a/docs/api-app-support/README.md +++ b/docs/api-app-support/README.md @@ -31,12 +31,10 @@ Class | Method | HTTP request | Description - [AppTerminationNotification](./Models/AppTerminationNotification.md) - [AppTerminationNotificationLinks](./Models/AppTerminationNotificationLinks.md) - [AppTerminationNotificationSubscription](./Models/AppTerminationNotificationSubscription.md) + - [AppTerminationNotificationSubscriptionLinks](./Models/AppTerminationNotificationSubscriptionLinks.md) - [CurrentTime](./Models/CurrentTime.md) - [DestinationInterface](./Models/DestinationInterface.md) - - [DestinationInterfaceInterfaceType](./Models/DestinationInterfaceInterfaceType.md) - [DnsRule](./Models/DnsRule.md) - - [DnsRuleIpAddressType](./Models/DnsRuleIpAddressType.md) - - [DnsRuleState](./Models/DnsRuleState.md) - [LinkType](./Models/LinkType.md) - [MecAppSuptApiSubscriptionLinkList](./Models/MecAppSuptApiSubscriptionLinkList.md) - [MecAppSuptApiSubscriptionLinkListLinks](./Models/MecAppSuptApiSubscriptionLinkListLinks.md) @@ -44,20 +42,13 @@ Class | Method | HTTP request | Description - [OperationActionType](./Models/OperationActionType.md) - [ProblemDetails](./Models/ProblemDetails.md) - [Self](./Models/Self.md) - - [TimeSourceStatus](./Models/TimeSourceStatus.md) - [TimingCaps](./Models/TimingCaps.md) - [TimingCapsNtpServers](./Models/TimingCapsNtpServers.md) - - [TimingCapsNtpServersAuthenticationOption](./Models/TimingCapsNtpServersAuthenticationOption.md) - - [TimingCapsNtpServersNtpServerAddrType](./Models/TimingCapsNtpServersNtpServerAddrType.md) - [TimingCapsPtpMasters](./Models/TimingCapsPtpMasters.md) - [TimingCapsTimeStamp](./Models/TimingCapsTimeStamp.md) - [TrafficFilter](./Models/TrafficFilter.md) - [TrafficRule](./Models/TrafficRule.md) - - [TrafficRuleAction](./Models/TrafficRuleAction.md) - - [TrafficRuleFilterType](./Models/TrafficRuleFilterType.md) - - [TrafficRuleState](./Models/TrafficRuleState.md) - [TunnelInfo](./Models/TunnelInfo.md) - - [TunnelInfoTunnelType](./Models/TunnelInfoTunnelType.md) diff --git a/go-apps/meep-app-enablement/server/app-support/model_current_time.go b/go-apps/meep-app-enablement/server/app-support/model_current_time.go index b1e156bb2..c92d0b639 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_current_time.go +++ b/go-apps/meep-app-enablement/server/app-support/model_current_time.go @@ -30,5 +30,5 @@ type CurrentTime struct { // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC NanoSeconds int32 `json:"nanoSeconds"` // Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source - TimeSourceStatus *TimeSourceStatus `json:"timeSourceStatus"` + TimeSourceStatus string `json:"timeSourceStatus"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go index b08bf73bf..11ddeccf0 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go +++ b/go-apps/meep-app-enablement/server/app-support/model_destination_interface.go @@ -26,7 +26,7 @@ package server // This type represents the destination interface. If the action is FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED, two values shall be provided. If the action is DROP, no value shall be provided. type DestinationInterface struct { // Type of the interface - InterfaceType *DestinationInterfaceInterfaceType `json:"interfaceType"` + InterfaceType string `json:"interfaceType"` TunnelInfo *TunnelInfo `json:"tunnelInfo,omitempty"` // Source address identifies the MAC address of the interface diff --git a/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go b/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go deleted file mode 100644 index 8f0b1da7a..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_destination_interface_interface_type.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // DestinationInterfaceInterfaceType : Type of the interface -type DestinationInterface.InterfaceType string -// List of DestinationInterface.InterfaceType -const ( - TUNNEL DestinationInterfaceInterfaceType = "TUNNEL" - MAC DestinationInterfaceInterfaceType = "MAC" - IP DestinationInterfaceInterfaceType = "IP" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go index 5ba9143b7..10533d241 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_dns_rule.go @@ -30,11 +30,11 @@ type DnsRule struct { // FQDN resolved by the DNS rule DomainName string `json:"domainName"` // IP address type - IpAddressType *DnsRuleIpAddressType `json:"ipAddressType"` + IpAddressType string `json:"ipAddressType"` // IP address associated with the FQDN resolved by the DNS rule IpAddress string `json:"ipAddress"` // Time to live value Ttl int32 `json:"ttl,omitempty"` // DNS rule state. This attribute may be updated using HTTP PUT method - State *DnsRuleState `json:"state"` + State string `json:"state"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go deleted file mode 100644 index 0d46d1dc2..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_ip_address_type.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // DnsRuleIpAddressType : IP address type -type DnsRule.IpAddressType string -// List of DnsRule.IpAddressType -const ( - V6 DnsRuleIpAddressType = "IP_V6" - V4 DnsRuleIpAddressType = "IP_V4" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go deleted file mode 100644 index 81cb7ff07..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_dns_rule_state.go +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // DnsRuleState : DNS rule state. This attribute may be updated using HTTP PUT method -type DnsRule.State string -// List of DnsRule.State -const ( - ACTIVE DnsRuleState = "ACTIVE" - INACTIVE DnsRuleState = "INACTIVE" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go b/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go deleted file mode 100644 index b58dc5291..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_time_source_status.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - -// TimeSourceStatus : Platform Time Source status. 1 = TRACEABLE - time source is locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the UTC time source -type TimeSourceStatus string - -// List of TimeSourceStatus -const ( - TRACEABLE TimeSourceStatus = "TRACEABLE" - NONTRACEABLE TimeSourceStatus = "NONTRACEABLE" -) diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go index ad494fcaf..a1c453177 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go +++ b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers.go @@ -26,7 +26,7 @@ package server // NTP server detail. type TimingCapsNtpServers struct { // Address type of NTP server - NtpServerAddrType *TimingCapsNtpServersNtpServerAddrType `json:"ntpServerAddrType"` + NtpServerAddrType string `json:"ntpServerAddrType"` // NTP server address NtpServerAddr string `json:"ntpServerAddr"` // Minimum poll interval for NTP messages, in seconds as a power of two. Range 3...17 @@ -36,7 +36,7 @@ type TimingCapsNtpServers struct { // NTP server local priority LocalPriority int32 `json:"localPriority"` // NTP authentication option - AuthenticationOption *TimingCapsNtpServersAuthenticationOption `json:"authenticationOption"` + AuthenticationOption string `json:"authenticationOption"` // Authentication key number AuthenticationKeyNum int32 `json:"authenticationKeyNum"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go deleted file mode 100644 index 323e6b995..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_authentication_option.go +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TimingCapsNtpServersAuthenticationOption : NTP authentication option -type TimingCaps.NtpServers.AuthenticationOption string - -// List of TimingCaps.NtpServers.AuthenticationOption -const ( - NONE TimingCapsNtpServersAuthenticationOption = "NONE" - SYMMETRIC_KEY TimingCapsNtpServersAuthenticationOption = "SYMMETRIC_KEY" - AUTO_KEY TimingCapsNtpServersAuthenticationOption = "AUTO_KEY" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go b/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go deleted file mode 100644 index fe33f5858..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_timing_caps_ntp_servers_ntp_server_addr_type.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TimingCapsNtpServersNtpServerAddrType : Address type of NTP server -type TimingCaps.NtpServers.NtpServerAddrType string - -// List of TimingCaps.NtpServers.NtpServerAddrType -const ( - IP_ADDRESS TimingCapsNtpServersNtpServerAddrType = "IP_ADDRESS" - DNS_NAME TimingCapsNtpServersNtpServerAddrType = "DNS_NAME" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go index 147333092..1d177f712 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go +++ b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule.go @@ -28,15 +28,15 @@ type TrafficRule struct { // Identify the traffic rule. TrafficRuleId string `json:"trafficRuleId"` // Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context - FilterType *TrafficRuleFilterType `json:"filterType"` + FilterType string `json:"filterType"` // Priority of this traffic rule. If traffic rule conflicts, the one with higher priority take precedence Priority int32 `json:"priority"` TrafficFilter []TrafficFilter `json:"trafficFilter"` // The action of the MEC host data plane when a packet matches the trafficFilter - Action *TrafficRuleAction `json:"action"` + Action string `json:"action"` DstInterface *DestinationInterface `json:"dstInterface,omitempty"` // Contains the traffic rule state. This attribute may be updated using HTTP PUT method - State *TrafficRuleState `json:"state"` + State string `json:"state"` } diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go deleted file mode 100644 index fba73bec1..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_action.go +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TrafficRuleAction : The action of the MEC host data plane when a packet matches the trafficFilter -type TrafficRule.Action string - -// List of TrafficRule.Action -const ( - DROP TrafficRuleAction = "DROP" - FORWARD_DECAPSULATED TrafficRuleAction = "FORWARD_DECAPSULATED" - FORWARD_ENCAPSULATED TrafficRuleAction = "FORWARD_ENCAPSULATED" - PASSTHROUGH TrafficRuleAction = "PASSTHROUGH" - DUPLICATE_DECAPSULATED TrafficRuleAction = "DUPLICATE_DECAPSULATED" - DUPLICATE_ENCAPSULATED TrafficRuleAction = "DUPLICATE_ENCAPSULATED" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go deleted file mode 100644 index 10e9b79ff..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_filter_type.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TrafficRuleFilterType : Definition of filter per FLOW or PACKET. If flow the filter match UE->EPC packet and the reverse packet is handled in the same context -type TrafficRule.FilterType string - -// List of TrafficRule.FilterType -const ( - FLOW TrafficRuleFilterType = "FLOW" - PACKET TrafficRuleFilterType = "PACKET" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go b/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go deleted file mode 100644 index 111798e64..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_traffic_rule_state.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TrafficRuleState : Contains the traffic rule state. This attribute may be updated using HTTP PUT method -type TrafficRule.State string - -// List of TrafficRule.State -const ( - ACTIVE TrafficRuleState = "ACTIVE" - INACTIVE TrafficRuleState = "INACTIVE" -) \ No newline at end of file diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go index a318bdf38..4d51cfcb5 100644 --- a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go +++ b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info.go @@ -26,7 +26,7 @@ package server // This type represents the tunnel information. type TunnelInfo struct { // This type represents the tunnel information. - TunnelType *TunnelInfoTunnelType `json:"tunnelType"` + TunnelType string `json:"tunnelType"` // Destination address of the tunnel TunnelDstAddress string `json:"tunnelDstAddress,omitempty"` // Source address of the tunnel diff --git a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go b/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go deleted file mode 100644 index 0f4ea10e6..000000000 --- a/go-apps/meep-app-enablement/server/app-support/model_tunnel_info_tunnel_type.go +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2022 InterDigital Communications, Inc - * - * Licensed under the Apache License, Version 2.0 (the \"License\"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an \"AS IS\" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * AdvantEDGE MEC Application Support API - * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). - * - * API version: 2.2.1 - * Contact: AdvantEDGE@InterDigital.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package server - // TunnelInfoTunnelType : This type represents the tunnel information. -type TunnelInfo.TunnelType string - -// List of TunnelInfo.TunnelType -const ( - GTP_U TunnelInfoTunnelType = "GTP_U" - GRE TunnelInfoTunnelType = "GRE" -) \ No newline at end of file -- GitLab From 3492cc905350e63d74e556ecb0222bb34327c7d2 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 10 Jun 2022 11:50:31 +0200 Subject: [PATCH 164/183] Validate meep-ams microservice with MEC021 v2.2.1 --- go-apps/meep-ams/server/ams.go | 58 ++++++++----------- go-apps/meep-ams/server/ams_test.go | 42 ++++++++------ .../model_adjacent_app_info_subscription.go | 1 - ...t_app_info_subscription_filter_criteria.go | 1 - ...el_adjacent_app_info_subscription_links.go | 1 - .../model_app_mobility_service_level.go | 5 +- ...del_app_termination_notification__links.go | 1 - go-apps/meep-ams/server/model_associate_id.go | 1 - go-apps/meep-ams/server/model_body.go | 1 + go-apps/meep-ams/server/model_body_1.go | 1 + go-apps/meep-ams/server/model_body_2.go | 1 + .../server/model_communication_interface.go | 1 - ...el_communication_interface_ip_addresses.go | 1 - .../server/model_context_transfer_state.go | 5 +- ..._mobility_procedure_notification__links.go | 1 - .../model_mobility_procedure_subscription.go | 1 - ...l_mobility_procedure_subscription_links.go | 1 - .../meep-ams/server/model_mobility_status.go | 3 +- go-apps/meep-ams/server/model_one_ofbody.go | 4 +- go-apps/meep-ams/server/model_one_ofbody_1.go | 3 +- go-apps/meep-ams/server/model_one_ofbody_2.go | 4 +- .../server/model_operation_action_type.go | 3 +- ...el_registration_info_device_information.go | 1 - .../server/model_subscription_link_list.go | 1 - .../model_subscription_link_list_links.go | 1 - .../server/model_subscription_type.go | 12 ++-- .../server/model_test_notification__links.go | 1 - go-apps/meep-ams/server/model_type.go | 7 ++- 28 files changed, 77 insertions(+), 86 deletions(-) diff --git a/go-apps/meep-ams/server/ams.go b/go-apps/meep-ams/server/ams.go index 7ae1a5446..ec8fa7a12 100644 --- a/go-apps/meep-ams/server/ams.go +++ b/go-apps/meep-ams/server/ams.go @@ -93,27 +93,8 @@ const ( FieldCtxOwner string = "contextOwner" ) -const ( - AppMobilityServiceLevel_APP_MOBILITY_NOT_ALLOWED = 1 - AppMobilityServiceLevel_APP_MOBILITY_WITH_CONFIRMATION = 2 - AppMobilityServiceLevel_APP_MOBILITY_WITHOUT_CONFIRMATION = 3 -) - -const ( - MobilityStatus_INTERHOST_MOVEOUT_TRIGGERED = 1 - MobilityStatus_INTERHOST_MOVEOUT_COMPLETED = 2 - MobilityStatus_INTERHOST_MOVEOUT_FAILED = 3 -) - -const ( - ContextTransferState_NOT_TRANSFERRED = 0 - ContextTransferState_USER_CONTEXT_TRANSFER_COMPLETED = 1 -) - -const MOBILITY_PROCEDURE_SUBSCRIPTION_INT = int32(1) const MOBILITY_PROCEDURE_SUBSCRIPTION = "MobilityProcedureSubscription" const MOBILITY_PROCEDURE_NOTIFICATION = "MobilityProcedureNotification" -const ADJACENT_APP_INFO_SUBSCRIPTION_INT = int32(2) const ADJACENT_APP_INFO_SUBSCRIPTION = "AdjacentAppInfoSubscription" const ADJACENT_APP_INFO_NOTIFICATION = "AdjacentAppInfoNotification" const APP_STATE_READY = "READY" @@ -816,12 +797,13 @@ func sendMpNotifications(currentAppId string, targetAppId string, assocId *Assoc // Ignore mobility status filter // Prepare notification + var mobilityStatus MobilityStatus = TRIGGERED // only supporting 1 = INTERHOST_MOVEOUT_TRIGGERED notif := MobilityProcedureNotification{ NotificationType: MOBILITY_PROCEDURE_NOTIFICATION, TimeStamp: &TimeStamp{ Seconds: int32(time.Now().Unix()), }, - MobilityStatus: 1, // only supporting 1 = INTERHOST_MOVEOUT_TRIGGERED + MobilityStatus: &mobilityStatus, TargetAppInfo: &MobilityProcedureNotificationTargetAppInfo{ AppInstanceId: targetAppId, }, @@ -859,7 +841,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") // Use discriminator to obtain subscription type - var discriminator OneOfInlineSubscription + var discriminator OneOfbody bodyBytes, _ := ioutil.ReadAll(r.Body) err := json.Unmarshal(bodyBytes, &discriminator) if err != nil { @@ -914,7 +896,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { subId := subMgr.GenerateSubscriptionId() // Set resource link - mobProcSub.Links = &AdjacentAppInfoSubscriptionLinks{ + mobProcSub.Links = &MobilityProcedureSubscriptionLinks{ Self: &LinkType{ Href: hostUrl.String() + basePath + "subscriptions/" + subId, }, @@ -922,7 +904,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { // Set default mobility status filter criteria if none provided if len(mobProcSub.FilterCriteria.MobilityStatus) == 0 { - mobProcSub.FilterCriteria.MobilityStatus = append(mobProcSub.FilterCriteria.MobilityStatus, MobilityStatus_INTERHOST_MOVEOUT_TRIGGERED) + mobProcSub.FilterCriteria.MobilityStatus = append(mobProcSub.FilterCriteria.MobilityStatus, TRIGGERED) } // Create & store subscription @@ -1015,7 +997,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { subId := vars["subscriptionId"] // Use discriminator to obtain subscription type - var discriminator OneOfInlineSubscription + var discriminator OneOfbody bodyBytes, _ := ioutil.ReadAll(r.Body) err := json.Unmarshal(bodyBytes, &discriminator) if err != nil { @@ -1098,7 +1080,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { // Set default mobility status filter criteria if none provided if len(mobProcSub.FilterCriteria.MobilityStatus) == 0 { - mobProcSub.FilterCriteria.MobilityStatus = append(mobProcSub.FilterCriteria.MobilityStatus, MobilityStatus_INTERHOST_MOVEOUT_TRIGGERED) + mobProcSub.FilterCriteria.MobilityStatus = append(mobProcSub.FilterCriteria.MobilityStatus, TRIGGERED) } // Update subscription JSON @@ -1243,6 +1225,8 @@ func subscriptionLinkListSubscriptionsGet(w http.ResponseWriter, r *http.Request }, } + var subscriptionLinkListLinks SubscriptionLinkListLinks + // Find subscriptions by type subscriptionType := "" if subType != "" { @@ -1265,19 +1249,22 @@ func subscriptionLinkListSubscriptionsGet(w http.ResponseWriter, r *http.Request var linkListSub SubscriptionLinkListSubscription // Add type-specific link + var subscriptionType SubscriptionType if sub.Cfg.Type == MOBILITY_PROCEDURE_SUBSCRIPTION { - linkListSub.SubscriptionType = MOBILITY_PROCEDURE_SUBSCRIPTION_INT + subscriptionType = SubscriptionType_MOBILITY_PROCEDURE_ subOrig := convertJsonToMobilityProcedureSubscription(sub.JsonSubOrig) linkListSub.Href = subOrig.Links.Self.Href } else if sub.Cfg.Type == ADJACENT_APP_INFO_SUBSCRIPTION { - linkListSub.SubscriptionType = ADJACENT_APP_INFO_SUBSCRIPTION_INT + subscriptionType = SubscriptionType_ADJACENT_APPINFO subOrig := convertJsonToAdjacentAppInfoSubscription(sub.JsonSubOrig) linkListSub.Href = subOrig.Links.Self.Href } + linkListSub.SubscriptionType = &subscriptionType // Add to link list - subscriptionLinkList.Subscription = append(subscriptionLinkList.Subscription, linkListSub) + subscriptionLinkListLinks.Subscription = append(subscriptionLinkListLinks.Subscription, linkListSub) } + subscriptionLinkList.Links = &subscriptionLinkListLinks // Send response w.WriteHeader(http.StatusOK) @@ -1585,8 +1572,8 @@ func createService(appId string, regInfo *RegistrationInfo) error { for _, devInfo := range regInfo.DeviceInformation { dev := make(map[string]string) dev[FieldAssociateId] = devInfo.AssociateId.Value - dev[FieldServiceLevel] = strconv.Itoa(int(devInfo.AppMobilityServiceLevel)) - dev[FieldCtxTransferState] = strconv.Itoa(int(devInfo.ContextTransferState)) + dev[FieldServiceLevel] = string(*devInfo.AppMobilityServiceLevel) + dev[FieldCtxTransferState] = string(*devInfo.ContextTransferState) dev[FieldMobilitySvcId] = regInfo.AppMobilityServiceId dev[FieldAppInstanceId] = appId dev[FieldCtxOwner] = "" @@ -1728,7 +1715,7 @@ func refreshTrackedDevCtxOwner(appName string) { deviceTargetMap := make(map[string][]string) for _, trackedDev := range matchingTrackedDevList { // Make sure device mobility is allowed - if trackedDev[FieldServiceLevel] == strconv.Itoa(int(AppMobilityServiceLevel_APP_MOBILITY_NOT_ALLOWED)) { + if trackedDev[FieldServiceLevel] == string(NOT_ALLOWED) { continue } @@ -1790,9 +1777,10 @@ func refreshTrackedDevCtxOwner(appName string) { // Send MP Notification for subscriptions to current MEC App // NOTE: Only send for notifications for the source AM service dtracked devices + modelType := UE_I_PV4_ADDRESS if trackedDev[FieldAppInstanceId] == currentAppId { assocId := AssociateId{ - Type_: 1, //ipv4 address + Type_: &modelType, Value: address, } sendMpNotifications(currentAppId, targetAppId, &assocId) @@ -1844,8 +1832,10 @@ func getTargetApps(appName string, address string) ([]string, error) { func ExpiredSubscriptionCb(sub *subs.Subscription) { // Build expiry notification notif := ExpiryNotification{ - Links: &ExpiryNotificationLinks{ - Self: hostUrl.String() + basePath + "subscriptions/" + sub.Cfg.Id, + Links: &MobilityProcedureNotificationLinks{ + Subscription: &LinkType{ + Href: hostUrl.String() + basePath + "subscriptions/" + sub.Cfg.Id, + }, }, ExpiryDeadline: &TimeStamp{ Seconds: int32(sub.Cfg.ExpiryTime.Unix()), diff --git a/go-apps/meep-ams/server/ams_test.go b/go-apps/meep-ams/server/ams_test.go index 6af18937e..38004ead1 100644 --- a/go-apps/meep-ams/server/ams_test.go +++ b/go-apps/meep-ams/server/ams_test.go @@ -850,7 +850,7 @@ func testSubscriptionListGet(t *testing.T) { t.Fatalf("Failed to get expected response") } nb := 0 - for range respBody.Subscription { + for range respBody.Links.Subscription { nb++ } if nb != expectedSubscriptionNb { @@ -863,8 +863,11 @@ func testServicesPost(t *testing.T) (string, string) { /****************************** * expected response section ******************************/ - expectedAssocId1 := AssociateId{1, "1.1.1.1"} - expectedDeviceInfo1 := RegistrationInfoDeviceInformation{&expectedAssocId1, AppMobilityServiceLevel_APP_MOBILITY_WITH_CONFIRMATION, ContextTransferState_NOT_TRANSFERRED} + var t_ ModelType = UE_I_PV4_ADDRESS + expectedAssocId1 := AssociateId{&t_, "1.1.1.1"} + var appMobilityServiceLevel AppMobilityServiceLevel = WITH_CONFIRMATION + var contextTransferState ContextTransferState = NOT_TRANSFERRED + expectedDeviceInfo1 := RegistrationInfoDeviceInformation{&expectedAssocId1, &appMobilityServiceLevel, &contextTransferState} expectedDeviceInfo := []RegistrationInfoDeviceInformation{expectedDeviceInfo1} expectedRegistrationInfo := RegistrationInfo{ DeviceInformation: expectedDeviceInfo, @@ -928,8 +931,11 @@ func testServicesPut(t *testing.T, serviceId string, expectSuccess bool) string /****************************** * expected response section ******************************/ - expectedAssocId1 := AssociateId{1, "1.1.1.1"} - expectedDeviceInfo1 := RegistrationInfoDeviceInformation{&expectedAssocId1, AppMobilityServiceLevel_APP_MOBILITY_WITH_CONFIRMATION, ContextTransferState_NOT_TRANSFERRED} + var t_ ModelType = UE_I_PV4_ADDRESS + expectedAssocId1 := AssociateId{&t_, "1.1.1.1"} + var appMobilityServiceLevel AppMobilityServiceLevel = WITH_CONFIRMATION + var contextTransferState ContextTransferState = NOT_TRANSFERRED + expectedDeviceInfo1 := RegistrationInfoDeviceInformation{&expectedAssocId1, &appMobilityServiceLevel, &contextTransferState} expectedDeviceInfo := []RegistrationInfoDeviceInformation{expectedDeviceInfo1} expectedRegistrationInfo := RegistrationInfo{serviceId, expectedDeviceInfo, 0, &RegistrationInfoServiceConsumerId{"myApp", ""}} //expectedExpiry := TimeStamp{0, 1998599770} @@ -1110,9 +1116,10 @@ func testSubscriptionMobilityProcedurePost(t *testing.T) (string, string) { /****************************** * expected response section ******************************/ - expectedAssocId1 := AssociateId{1, "1.1.1.1"} + var t_ ModelType = UE_I_PV4_ADDRESS + expectedAssocId1 := AssociateId{&t_, "1.1.1.1"} expectedAssocId := []AssociateId{expectedAssocId1} - expectedFilter := MobilityProcedureSubscriptionFilterCriteria{"myApp", expectedAssocId, []int32{MobilityStatus_INTERHOST_MOVEOUT_TRIGGERED}} + expectedFilter := MobilityProcedureSubscriptionFilterCriteria{"myApp", expectedAssocId, []MobilityStatus{TRIGGERED}} expectedCallBackRef := "myCallbakRef" /****************************** @@ -1126,7 +1133,7 @@ func testSubscriptionMobilityProcedurePost(t *testing.T) (string, string) { //filter is not exactly the same in response and request filterCriteria := expectedFilter filterCriteria.MobilityStatus = nil - mobilityProcedureSubscriptionPost1 := MobilityProcedureSubscription{nil, expectedCallBackRef, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} + mobilityProcedureSubscriptionPost1 := MobilityProcedureSubscription{nil, expectedCallBackRef, true, nil, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} body, err := json.Marshal(mobilityProcedureSubscriptionPost1) if err != nil { @@ -1162,7 +1169,7 @@ func testSubscriptionMobilityProcedurePost(t *testing.T) (string, string) { subId := self[strings.LastIndex(self, "/")+1:] expectedLinkType := LinkType{"/" + testScenarioName + "/amsi/v1/subscriptions/" + subId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := MobilityProcedureSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} + expectedResponse := MobilityProcedureSubscription{&MobilityProcedureSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { t.Fatalf(err.Error()) @@ -1179,13 +1186,14 @@ func testSubscriptionMobilityProcedurePut(t *testing.T, subscriptionId string, e /****************************** * expected response section ******************************/ - expectedAssocId1 := AssociateId{1, "2.2.2.2"} + var t_ ModelType = UE_I_PV4_ADDRESS + expectedAssocId1 := AssociateId{&t_, "2.2.2.2"} expectedAssocId := []AssociateId{expectedAssocId1} - expectedFilter := MobilityProcedureSubscriptionFilterCriteria{"myApp", expectedAssocId, []int32{MobilityStatus_INTERHOST_MOVEOUT_TRIGGERED}} + expectedFilter := MobilityProcedureSubscriptionFilterCriteria{"myApp", expectedAssocId, []MobilityStatus{TRIGGERED}} expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/amsi/v1/subscriptions/" + subscriptionId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := MobilityProcedureSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} + expectedResponse := MobilityProcedureSubscription{&MobilityProcedureSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1201,7 +1209,7 @@ func testSubscriptionMobilityProcedurePut(t *testing.T, subscriptionId string, e /****************************** * request body section ******************************/ - mobilityProcedureSubscription1 := MobilityProcedureSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} + mobilityProcedureSubscription1 := MobilityProcedureSubscription{&MobilityProcedureSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, MOBILITY_PROCEDURE_SUBSCRIPTION} body, err := json.Marshal(mobilityProcedureSubscription1) if err != nil { @@ -1335,7 +1343,7 @@ func testSubscriptionAdjPost(t *testing.T) (string, string) { * request body section ******************************/ - adjSubscriptionPost1 := AdjacentAppInfoSubscription{nil, expectedCallBackRef, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} + adjSubscriptionPost1 := AdjacentAppInfoSubscription{nil, expectedCallBackRef, true, nil, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} body, err := json.Marshal(adjSubscriptionPost1) if err != nil { @@ -1370,7 +1378,7 @@ func testSubscriptionAdjPost(t *testing.T) (string, string) { fmt.Println("subId: " + subId) expectedLinkType := LinkType{"/" + testScenarioName + "/amsi/v1/subscriptions/" + subId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} + expectedResponse := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { t.Fatalf(err.Error()) @@ -1390,7 +1398,7 @@ func testSubscriptionAdjPut(t *testing.T, subscriptionId string, expectSuccess b expectedCallBackRef := "myCallbakRef" expectedLinkType := LinkType{"/" + testScenarioName + "/amsi/v1/subscriptions/" + subscriptionId} //expectedExpiry := TimeStamp{0, 1998599770} - expectedResponse := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} + expectedResponse := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} expectedResponseStr, err := json.Marshal(expectedResponse) if err != nil { @@ -1407,7 +1415,7 @@ func testSubscriptionAdjPut(t *testing.T, subscriptionId string, expectSuccess b * request body section ******************************/ - adjSubscriptionPost1 := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} + adjSubscriptionPost1 := AdjacentAppInfoSubscription{&AdjacentAppInfoSubscriptionLinks{&expectedLinkType}, expectedCallBackRef, true, nil, nil, &expectedFilter, ADJACENT_APP_INFO_SUBSCRIPTION} body, err := json.Marshal(adjSubscriptionPost1) if err != nil { diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go index f3a3ecec5..9289f8f6f 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go @@ -10,7 +10,6 @@ package server type AdjacentAppInfoSubscription struct { - Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. CallbackReference string `json:"callbackReference"` diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go index c20a9a20b..5cc506443 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go @@ -11,6 +11,5 @@ package server // List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. type AdjacentAppInfoSubscriptionFilterCriteria struct { - AppInstanceId string `json:"appInstanceId,omitempty"` } diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go index e10b28252..8ede0641b 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go @@ -11,6 +11,5 @@ package server // Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. type AdjacentAppInfoSubscriptionLinks struct { - Self *LinkType `json:"self"` } diff --git a/go-apps/meep-ams/server/model_app_mobility_service_level.go b/go-apps/meep-ams/server/model_app_mobility_service_level.go index 5cde04c97..f81f0c74d 100644 --- a/go-apps/meep-ams/server/model_app_mobility_service_level.go +++ b/go-apps/meep-ams/server/model_app_mobility_service_level.go @@ -8,12 +8,13 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // AppMobilityServiceLevel : This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host. type AppMobilityServiceLevel string // List of AppMobilityServiceLevel const ( - NOT_ALLOWED AppMobilityServiceLevel = "APP_MOBILITY_NOT_ALLOWED" - WITH_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITH_CONFIRMATION" + NOT_ALLOWED AppMobilityServiceLevel = "APP_MOBILITY_NOT_ALLOWED" + WITH_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITH_CONFIRMATION" WITHOUT_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITHOUT_CONFIRMATION" ) diff --git a/go-apps/meep-ams/server/model_app_termination_notification__links.go b/go-apps/meep-ams/server/model_app_termination_notification__links.go index f1e43e095..68df3ee78 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification__links.go +++ b/go-apps/meep-ams/server/model_app_termination_notification__links.go @@ -10,7 +10,6 @@ package server type AppTerminationNotificationLinks struct { - Subscription *LinkType `json:"subscription"` ConfirmTermination *LinkType `json:"confirmTermination,omitempty"` diff --git a/go-apps/meep-ams/server/model_associate_id.go b/go-apps/meep-ams/server/model_associate_id.go index 131f57911..7b74b6eb6 100644 --- a/go-apps/meep-ams/server/model_associate_id.go +++ b/go-apps/meep-ams/server/model_associate_id.go @@ -10,7 +10,6 @@ package server type AssociateId struct { - Type_ *ModelType `json:"type"` // Value for the identifier. Value string `json:"value"` diff --git a/go-apps/meep-ams/server/model_body.go b/go-apps/meep-ams/server/model_body.go index feb30ae5e..340684815 100644 --- a/go-apps/meep-ams/server/model_body.go +++ b/go-apps/meep-ams/server/model_body.go @@ -10,4 +10,5 @@ package server type Body struct { + // Not used in server } diff --git a/go-apps/meep-ams/server/model_body_1.go b/go-apps/meep-ams/server/model_body_1.go index e851aa1f4..cfbfa6aed 100644 --- a/go-apps/meep-ams/server/model_body_1.go +++ b/go-apps/meep-ams/server/model_body_1.go @@ -10,4 +10,5 @@ package server type Body1 struct { + // Not used in server } diff --git a/go-apps/meep-ams/server/model_body_2.go b/go-apps/meep-ams/server/model_body_2.go index 1b4b620bb..ade830cfd 100644 --- a/go-apps/meep-ams/server/model_body_2.go +++ b/go-apps/meep-ams/server/model_body_2.go @@ -10,4 +10,5 @@ package server type Body2 struct { + // Not used in server } diff --git a/go-apps/meep-ams/server/model_communication_interface.go b/go-apps/meep-ams/server/model_communication_interface.go index 998abc72e..c62891f4c 100644 --- a/go-apps/meep-ams/server/model_communication_interface.go +++ b/go-apps/meep-ams/server/model_communication_interface.go @@ -10,6 +10,5 @@ package server type CommunicationInterface struct { - IpAddresses []CommunicationInterfaceIpAddresses `json:"ipAddresses,omitempty"` } diff --git a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go index e03614bb5..8d839c94b 100644 --- a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go +++ b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go @@ -10,7 +10,6 @@ package server type CommunicationInterfaceIpAddresses struct { - Host string `json:"host"` Port int32 `json:"port"` diff --git a/go-apps/meep-ams/server/model_context_transfer_state.go b/go-apps/meep-ams/server/model_context_transfer_state.go index dc53eb71a..99d4468c6 100644 --- a/go-apps/meep-ams/server/model_context_transfer_state.go +++ b/go-apps/meep-ams/server/model_context_transfer_state.go @@ -8,11 +8,12 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // ContextTransferState : If present, it represents the state of transferring the user context to another application instance. -type contextTransferState string +type ContextTransferState string // STF 625: Change contextTransferState into ContextTransferState // List of contextTransferState const ( - NOT_TRANSFERRED ContextTransferState = "NOT_TRANSFERRED" + NOT_TRANSFERRED ContextTransferState = "NOT_TRANSFERRED" USER_CONTEXT_TRANSFER_COMPLETED ContextTransferState = "USER_CONTEXT_TRANSFER_COMPLETED" ) diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go index 1c1d8cfa6..d0d9b2e6b 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go @@ -11,6 +11,5 @@ package server // Object containing hyperlinks related to the resource. type MobilityProcedureNotificationLinks struct { - Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go index 1fc6a2204..8fc050305 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go @@ -10,7 +10,6 @@ package server type MobilityProcedureSubscription struct { - Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` // URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. CallbackReference string `json:"callbackReference,omitempty"` diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go index adf284a8d..b7da0d870 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go @@ -10,6 +10,5 @@ package server type MobilityProcedureSubscriptionLinks struct { - Self *LinkType `json:"self"` } diff --git a/go-apps/meep-ams/server/model_mobility_status.go b/go-apps/meep-ams/server/model_mobility_status.go index 582758497..ff2935771 100644 --- a/go-apps/meep-ams/server/model_mobility_status.go +++ b/go-apps/meep-ams/server/model_mobility_status.go @@ -8,6 +8,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // MobilityStatus : Indicate the status of the UE mobility type MobilityStatus string @@ -15,5 +16,5 @@ type MobilityStatus string const ( TRIGGERED MobilityStatus = "INTERHOST_MOVEOUT_TRIGGERED" COMPLETED MobilityStatus = "INTERHOST_MOVEOUT_COMPLETED" - FAILED MobilityStatus = "INTERHOST_MOVEOUT_FAILED" + FAILED MobilityStatus = "INTERHOST_MOVEOUT_FAILED" ) diff --git a/go-apps/meep-ams/server/model_one_ofbody.go b/go-apps/meep-ams/server/model_one_ofbody.go index 4daf20438..5e89aa10f 100644 --- a/go-apps/meep-ams/server/model_one_ofbody.go +++ b/go-apps/meep-ams/server/model_one_ofbody.go @@ -10,6 +10,6 @@ package server type OneOfbody struct { - MobilityProcedureSubscription - AdjacentAppInfoSubscription + /* Discriminator */ + SubscriptionType string `json:"subscriptionType"` } diff --git a/go-apps/meep-ams/server/model_one_ofbody_1.go b/go-apps/meep-ams/server/model_one_ofbody_1.go index 44f1f804c..02ff25ca3 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_1.go +++ b/go-apps/meep-ams/server/model_one_ofbody_1.go @@ -10,6 +10,5 @@ package server type OneOfbody1 struct { - MobilityProcedureSubscription - AdjacentAppInfoSubscription + // Not used in server } diff --git a/go-apps/meep-ams/server/model_one_ofbody_2.go b/go-apps/meep-ams/server/model_one_ofbody_2.go index 4b236e83d..553ca5875 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_2.go +++ b/go-apps/meep-ams/server/model_one_ofbody_2.go @@ -10,7 +10,5 @@ package server type OneOfbody2 struct { - MobilityProcedureNotification - AdjacentAppInfoNotification - ExpiryNotification + // Not used in server } diff --git a/go-apps/meep-ams/server/model_operation_action_type.go b/go-apps/meep-ams/server/model_operation_action_type.go index 63ab3ecdc..b7941d4b6 100644 --- a/go-apps/meep-ams/server/model_operation_action_type.go +++ b/go-apps/meep-ams/server/model_operation_action_type.go @@ -8,11 +8,12 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // OperationActionType : Operation that is being performed on the MEC application instance. type OperationActionType string // List of OperationActionType const ( - STOPPING OperationActionType = "STOPPING" + STOPPING OperationActionType = "STOPPING" TERMINATING OperationActionType = "TERMINATING" ) diff --git a/go-apps/meep-ams/server/model_registration_info_device_information.go b/go-apps/meep-ams/server/model_registration_info_device_information.go index a314b50a8..ac7344607 100644 --- a/go-apps/meep-ams/server/model_registration_info_device_information.go +++ b/go-apps/meep-ams/server/model_registration_info_device_information.go @@ -10,7 +10,6 @@ package server type RegistrationInfoDeviceInformation struct { - AssociateId *AssociateId `json:"associateId"` AppMobilityServiceLevel *AppMobilityServiceLevel `json:"appMobilityServiceLevel,omitempty"` diff --git a/go-apps/meep-ams/server/model_subscription_link_list.go b/go-apps/meep-ams/server/model_subscription_link_list.go index 37ef1ecc5..a2fbc2e4b 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list.go +++ b/go-apps/meep-ams/server/model_subscription_link_list.go @@ -10,6 +10,5 @@ package server type SubscriptionLinkList struct { - Links *SubscriptionLinkListLinks `json:"_links"` } diff --git a/go-apps/meep-ams/server/model_subscription_link_list_links.go b/go-apps/meep-ams/server/model_subscription_link_list_links.go index 49ff0b68b..6e0312713 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_links.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_links.go @@ -11,7 +11,6 @@ package server // List of hyperlinks related to the resource. type SubscriptionLinkListLinks struct { - Self *LinkType `json:"self"` // The service consumer’s subscriptions. Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` diff --git a/go-apps/meep-ams/server/model_subscription_type.go b/go-apps/meep-ams/server/model_subscription_type.go index 4f354d625..9b95ec7f7 100644 --- a/go-apps/meep-ams/server/model_subscription_type.go +++ b/go-apps/meep-ams/server/model_subscription_type.go @@ -8,12 +8,14 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // SubscriptionType : Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. -type subscriptionType int32 +type SubscriptionType string // STF 625: Change subscriptionType into SubscriptionType +// STF 625: Change int32 into string // List of subscriptionType -const ( - 0_ SubscriptionType = "0" - 1_ SubscriptionType = "1" - 2_ SubscriptionType = "2" +const ( // STF 625: Rename const names + SubscriptionType_RESERVED SubscriptionType = "0" + SubscriptionType_MOBILITY_PROCEDURE_ SubscriptionType = "1" + SubscriptionType_ADJACENT_APPINFO SubscriptionType = "2" ) diff --git a/go-apps/meep-ams/server/model_test_notification__links.go b/go-apps/meep-ams/server/model_test_notification__links.go index c10cc7cf4..0d36d7b4e 100644 --- a/go-apps/meep-ams/server/model_test_notification__links.go +++ b/go-apps/meep-ams/server/model_test_notification__links.go @@ -11,6 +11,5 @@ package server // Hyperlink related to the resource. type TestNotificationLinks struct { - Subscription *LinkType `json:"subscription"` } diff --git a/go-apps/meep-ams/server/model_type.go b/go-apps/meep-ams/server/model_type.go index 6ffd11dad..efa8fbf00 100644 --- a/go-apps/meep-ams/server/model_type.go +++ b/go-apps/meep-ams/server/model_type.go @@ -8,13 +8,14 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server + // ModelType : Numeric value (0-255) corresponding to specified type of identifier -type Type string +type ModelType string // Stf 625: Change Type into ModelType // List of Type const ( UE_I_PV4_ADDRESS ModelType = "UE_IPv4_ADDRESS" - UE_IPV6_ADDRESS ModelType = "UE_IPV6_ADDRESS" + UE_IPV6_ADDRESS ModelType = "UE_IPV6_ADDRESS" NATED_IP_ADDRESS ModelType = "NATED_IP_ADDRESS" - GTP_TEID ModelType = "GTP_TEID" + GTP_TEID ModelType = "GTP_TEID" ) -- GitLab From 35281052623b70f7a97495e4132630961bb7cc0f Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Fri, 10 Jun 2022 15:32:51 +0500 Subject: [PATCH 165/183] update app-support yaml --- go-apps/meep-app-enablement/api/app-support/swagger.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-apps/meep-app-enablement/api/app-support/swagger.yaml b/go-apps/meep-app-enablement/api/app-support/swagger.yaml index db6b2cc4a..4a8fbb749 100644 --- a/go-apps/meep-app-enablement/api/app-support/swagger.yaml +++ b/go-apps/meep-app-enablement/api/app-support/swagger.yaml @@ -1,4 +1,4 @@ -openapi: 3.0.2 +openapi: 3.0.0 servers: - url: "https://localhost/sandboxname/mec_app_support/v1" info: @@ -24,8 +24,8 @@ externalDocs: security: - {} tags: - - name: unsupported - name: mec_app_support + - name: unsupported - name: callbacks paths: /applications/{appInstanceId}/traffic_rules: -- GitLab From 315b75a56b0c3633e6f6a684a163426c87d430aa Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 10 Jun 2022 15:44:51 +0500 Subject: [PATCH 166/183] reformat go-apps/meep-app-enablement/server/app-support/convert.go file --- go-apps/meep-app-enablement/server/app-support/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-app-enablement/server/app-support/convert.go b/go-apps/meep-app-enablement/server/app-support/convert.go index ca9683226..72c4bf182 100644 --- a/go-apps/meep-app-enablement/server/app-support/convert.go +++ b/go-apps/meep-app-enablement/server/app-support/convert.go @@ -65,4 +65,4 @@ func convertProblemDetailstoJson(probdetails *ProblemDetails) string { return "" } return string(jsonInfo) -} \ No newline at end of file +} -- GitLab From e0ea27972e053560515ef7abc0b64447136ce6ef Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 16:04:18 +0500 Subject: [PATCH 167/183] add a missing atribute in swagger.yaml --- go-packages/meep-service-mgmt-client/api/swagger.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/go-packages/meep-service-mgmt-client/api/swagger.yaml b/go-packages/meep-service-mgmt-client/api/swagger.yaml index 930a11e27..213514cfb 100644 --- a/go-packages/meep-service-mgmt-client/api/swagger.yaml +++ b/go-packages/meep-service-mgmt-client/api/swagger.yaml @@ -672,6 +672,15 @@ components: type: string state: $ref: '#/components/schemas/ServiceState' + transportId: + type: string + description: > + Identifier of the platform-provided transport to be used by + the service. Valid identifiers may be obtained using the + "Transport information query" procedure. May be present + in POST requests to signal the use of a platform-provided + transport for the service, and shall be absent otherwise. + See note 2. transportInfo: $ref: '#/components/schemas/TransportInfo' serializer: -- GitLab From 7e200e202b5e527d2fba79930aee7a248ea84c15 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 16:10:11 +0500 Subject: [PATCH 168/183] implement links in serviceInfo in meep-app-enablement --- .../api/service-mgmt/swagger.yaml | 19 ++++++++++++++----- .../server/service-mgmt/README.md | 2 +- .../server/service-mgmt/model_service_info.go | 6 ++++-- .../service-mgmt/model_service_info_post.go | 6 ++++++ .../server/service-mgmt/service-mgmt.go | 11 +++++++++++ 5 files changed, 36 insertions(+), 8 deletions(-) diff --git a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml index 024ef8ccd..45c768c2a 100644 --- a/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml +++ b/go-apps/meep-app-enablement/api/service-mgmt/swagger.yaml @@ -5,11 +5,11 @@ info: title: AdvantEDGE MEC Service Management API version: 2.2.1 description: "MEC Service Management Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt) -

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network -

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below)." + [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/service-mgmt) +

**Type & Usage**
Edge Service used by edge applications that want to get information about services in the network +

**Note**
AdvantEDGE supports all of Service Management API endpoints (see below)." license: name: Apache 2.0 url: 'https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE' @@ -674,6 +674,15 @@ components: type: string state: $ref: '#/components/schemas/ServiceState' + transportId: + type: string + description: > + Identifier of the platform-provided transport to be used by + the service. Valid identifiers may be obtained using the + "Transport information query" procedure. May be present + in POST requests to signal the use of a platform-provided + transport for the service, and shall be absent otherwise. + See note 2. transportInfo: $ref: '#/components/schemas/TransportInfo' serializer: diff --git a/go-apps/meep-app-enablement/server/service-mgmt/README.md b/go-apps/meep-app-enablement/server/service-mgmt/README.md index 2f93d366d..68fb65e76 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/README.md +++ b/go-apps/meep-app-enablement/server/service-mgmt/README.md @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 2.1.1 -- Build date: 2021-11-23T08:34:30.141026-05:00[America/Toronto] +- Build date: 2022-06-09T16:36:32.163308+05:00[Asia/Karachi] ### Running the server diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go index 0c1077b0e..e12df05bd 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info.go @@ -34,6 +34,8 @@ type ServiceInfo struct { Version string `json:"version"` State *ServiceState `json:"state"` + // Identifier of the platform-provided transport to be used by the service. Valid identifiers may be obtained using the \"Transport information query\" procedure. May be present in POST requests to signal the use of a platform-provided transport for the service, and shall be absent otherwise. + TransportId string `json:"transportId,omitempty"` TransportInfo *TransportInfo `json:"transportInfo,omitempty"` @@ -42,10 +44,10 @@ type ServiceInfo struct { ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. // manually removed the omitempty - ConsumedLocalOnly bool `json:"consumedLocalOnly,omitempty"` + ConsumedLocalOnly bool `json:"consumedLocalOnly"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. // manually removed the omitempty - IsLocal bool `json:"isLocal,omitempty"` + IsLocal bool `json:"isLocal"` LivenessInterval int32 `json:"livenessInterval,omitempty"` diff --git a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go index 8608ae296..30644be6c 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/model_service_info_post.go @@ -43,7 +43,13 @@ type ServiceInfoPost struct { ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. + // manually removed the omitempty ConsumedLocalOnly bool `json:"consumedLocalOnly"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. + // manually removed the omitempty IsLocal bool `json:"isLocal"` + + LivenessInterval int32 `json:"livenessInterval,omitempty"` + + Links *ServiceInfoLinks `json:"_links"` } diff --git a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go index 035f0ab6c..bf883d901 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go @@ -265,6 +265,12 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { errHandlerProblemDetails(w, errStr, http.StatusBadRequest) return } + if sInfoPost.Links != nil { + errStr := "Links parameter should not be present in request" + log.Error(errStr) + errHandlerProblemDetails(w, errStr, http.StatusBadRequest) + return + } if sInfoPost.TransportInfo != nil { if sInfoPost.TransportInfo.Id == "" || sInfoPost.TransportInfo.Name == "" || @@ -299,6 +305,11 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { errHandlerProblemDetails(w, err.Error(), retCode) return } + sInfo.Links = &ServiceInfoLinks{ + Self: &LinkType{ + Href: hostUrl.String() + basePath + "applications/" + appId + "/services/" + sInfo.SerInstanceId, + }, + } // Send response w.Header().Set("Location", hostUrl.String()+basePath+"applications/"+appId+"/services/"+sInfo.SerInstanceId) -- GitLab From aa004d6fadb078cd2ee30601d9f6be7e78ff889e Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 16:17:48 +0500 Subject: [PATCH 169/183] update build date in README in meep-rnis server-side --- go-apps/meep-rnis/server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-apps/meep-rnis/server/README.md b/go-apps/meep-rnis/server/README.md index f0d8c5e67..ce6c68ea5 100644 --- a/go-apps/meep-rnis/server/README.md +++ b/go-apps/meep-rnis/server/README.md @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 2.2.1 -- Build date: 2021-11-23T08:34:12.622740-05:00[America/Toronto] +- Build date: 2022-06-05T16:36:32.163308+05:00[Asia/Karachi] ### Running the server -- GitLab From 0796e7feb9dc31aa2d136613acc8f945ed2604b4 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 16:36:05 +0500 Subject: [PATCH 170/183] update Copyright year in some files in meep-rnis --- go-apps/meep-rnis/Dockerfile | 2 +- go-apps/meep-rnis/main.go | 2 +- go-apps/meep-rnis/main_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go-apps/meep-rnis/Dockerfile b/go-apps/meep-rnis/Dockerfile index 445ed5753..7ac476768 100644 --- a/go-apps/meep-rnis/Dockerfile +++ b/go-apps/meep-rnis/Dockerfile @@ -1,4 +1,4 @@ -# Copyright (c) 2020 InterDigital Communications, Inc +# Copyright (c) 2022 InterDigital Communications, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/main.go b/go-apps/meep-rnis/main.go index a2445a318..5c118893f 100644 --- a/go-apps/meep-rnis/main.go +++ b/go-apps/meep-rnis/main.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/main_test.go b/go-apps/meep-rnis/main_test.go index 7f017cfd4..04e894a5b 100644 --- a/go-apps/meep-rnis/main_test.go +++ b/go-apps/meep-rnis/main_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. -- GitLab From db07774b83da4a760509af66692c35f3f8d5cfa5 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Fri, 10 Jun 2022 17:39:01 +0500 Subject: [PATCH 171/183] reformat service info links to be added in redis DB --- .../server/service-mgmt/service-mgmt.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go index bf883d901..53f43b87a 100644 --- a/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go +++ b/go-apps/meep-app-enablement/server/service-mgmt/service-mgmt.go @@ -299,17 +299,18 @@ func appServicesPOST(w http.ResponseWriter, r *http.Request) { // although IsLocal is reevaluated when a query is replied to, value stored in sInfo as is for now IsLocal: sInfoPost.IsLocal, } + sInfo.Links = &ServiceInfoLinks{ + Self: &LinkType{ + Href: hostUrl.String() + basePath + "applications/" + appId + "/services/" + sInfo.SerInstanceId, + }, + } + err, retCode := setService(appId, sInfo, ServiceAvailabilityNotificationChangeType_ADDED) if err != nil { log.Error(err.Error()) errHandlerProblemDetails(w, err.Error(), retCode) return } - sInfo.Links = &ServiceInfoLinks{ - Self: &LinkType{ - Href: hostUrl.String() + basePath + "applications/" + appId + "/services/" + sInfo.SerInstanceId, - }, - } // Send response w.Header().Set("Location", hostUrl.String()+basePath+"applications/"+appId+"/services/"+sInfo.SerInstanceId) -- GitLab From b3cfd40a2ecf1173387ab15606a76a16dcd375b7 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 17:39:45 +0500 Subject: [PATCH 172/183] update system tests in rnis_test.go --- test/system/rnis_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/system/rnis_test.go b/test/system/rnis_test.go index 94bb27201..c38abc513 100644 --- a/test/system/rnis_test.go +++ b/test/system/rnis_test.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -222,7 +222,7 @@ func Test_RNIS_periodic_nr_5g_5gNei(t *testing.T) { testAddress := "ue1" testAssociateId := rnisClient.AssociateId{Type_: 1, Value: testAddress} - testSrcServingNrcgi := rnisClient.NRcgi{NrcellId: "500000002", Plmn: &rnisClient.Plmn{"001", "001"}} + testSrcServingNrcgi := rnisClient.Nrcgi{NrcellId: "500000002", Plmn: &rnisClient.Plmn{"001", "001"}} testSrcServing5GRsrp := int32(92) testSrcServing5GRsrq := int32(77) testSrcSCell := rnisClient.NrMeasRepUeNotificationSCell{MeasQuantityResultsSsbCell: &rnisClient.MeasQuantityResultsNr{Rsrp: testSrcServing5GRsrp, Rsrq: testSrcServing5GRsrq}} @@ -239,7 +239,7 @@ func Test_RNIS_periodic_nr_5g_5gNei(t *testing.T) { testTrgNei5GRsrp := int32(51) testTrgNei5GRsrq := int32(52) - testNrNeighCellMeasInfo := rnisClient.NrMeasRepUeNotificationNrNeighCellMeasInfo{Nrcgi: testTrgNeiNrcgi, MeasQuantityResultsSsbCell: &rnisClient.MeasQuantityResultsNr{Rsrp: testTrgNei5GRsrp, Rsrq: testTrgNei5GRsrq}} + testNrNeighCellMeasInfo := rnisClient.NrMeasRepUeNotificationNrNeighCellMeasInfo{Nrcgi: &rnisClient.Nrcgi{NrcellId: testTrgNeiNrcgi}, MeasQuantityResultsSsbCell: &rnisClient.MeasQuantityResultsNr{Rsrp: testTrgNei5GRsrp, Rsrq: testTrgNei5GRsrq}} //moving to initial position geMoveAssetCoordinates(testAddress, 7.419917, 43.733505) @@ -295,7 +295,7 @@ func Test_RNIS_periodic_nr_5g_4gNei(t *testing.T) { testAddress := "ue1" testAssociateId := rnisClient.AssociateId{Type_: 1, Value: testAddress} - testSrcServingNrcgi := rnisClient.NRcgi{NrcellId: "500000002", Plmn: &rnisClient.Plmn{"001", "001"}} + testSrcServingNrcgi := rnisClient.Nrcgi{NrcellId: "500000002", Plmn: &rnisClient.Plmn{"001", "001"}} testSrcServing5GRsrp := int32(92) testSrcServing5GRsrq := int32(77) testSrcSCell := rnisClient.NrMeasRepUeNotificationSCell{MeasQuantityResultsSsbCell: &rnisClient.MeasQuantityResultsNr{Rsrp: testSrcServing5GRsrp, Rsrq: testSrcServing5GRsrq}} @@ -2065,7 +2065,7 @@ func validateNrMeasRepUeNotification(notification *rnisClient.NrMeasRepUeNotific if expectedNrNeighCellMeasInfo != nil { if notification.NrNeighCellMeasInfo != nil || len(notification.NrNeighCellMeasInfo) > 0 { if notification.NrNeighCellMeasInfo[0].Nrcgi != expectedNrNeighCellMeasInfo.Nrcgi { - return ("NrNeighCellMeasInfo:Nrcgi of notification not as expected: " + notification.NrNeighCellMeasInfo[0].Nrcgi + " instead of " + expectedNrNeighCellMeasInfo.Nrcgi) + return ("NrNeighCellMeasInfo:Nrcgi of notification not as expected: " + notification.NrNeighCellMeasInfo[0].Nrcgi.NrcellId + " instead of " + expectedNrNeighCellMeasInfo.Nrcgi.NrcellId) } if notification.NrNeighCellMeasInfo[0].MeasQuantityResultsSsbCell.Rsrp != expectedNrNeighCellMeasInfo.MeasQuantityResultsSsbCell.Rsrp { return ("NrNeighCellMeasInfo:MeasQuantityResultsSsbCell:Rsrp of notification not as expected: " + strconv.Itoa(int(notification.NrNeighCellMeasInfo[0].MeasQuantityResultsSsbCell.Rsrp)) + " instead of " + strconv.Itoa(int(expectedNrNeighCellMeasInfo.MeasQuantityResultsSsbCell.Rsrp))) -- GitLab From 6f3fd01c204763daddbd4b7e946923464abed937 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 17:41:36 +0500 Subject: [PATCH 173/183] update inline_subscription model in rnis-client --- .../model_inline_subscription.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/go-packages/meep-rnis-client/model_inline_subscription.go b/go-packages/meep-rnis-client/model_inline_subscription.go index 06c6c69aa..4eecad4a4 100644 --- a/go-packages/meep-rnis-client/model_inline_subscription.go +++ b/go-packages/meep-rnis-client/model_inline_subscription.go @@ -25,4 +25,21 @@ package client type InlineSubscription struct { + Links *CaReconfSubscriptionLinks `json:"_links,omitempty"` + // URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. + CallbackReference string `json:"callbackReference"` + + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + // Shall be set to \"S1BearerSubscription\". + SubscriptionType string `json:"subscriptionType"` + + FilterCriteriaAssoc *CaReconfSubscriptionFilterCriteriaAssoc `json:"filterCriteriaAssoc,omitempty"` + FilterCriteriaAssocHo *CellChangeSubscriptionFilterCriteriaAssocHo `json:"filterCriteriaAssocHo,omitEmpty"` + FilterCriteriaAssocTri *MeasRepUeSubscriptionFilterCriteriaAssocTri `json:"filterCriteriaAssocTri,omitempty"` + FilterCriteriaNrMrs *NrMeasRepUeSubscriptionFilterCriteriaNrMrs `json:"filterCriteriaNrMrs,omitempty"` + FilterCriteriaQci *RabModSubscriptionFilterCriteriaQci `json:"filterCriteriaQci,omitEmpty"` + S1BearerSubscriptionCriteria *S1BearerSubscriptionS1BearerSubscriptionCriteria `json:"S1BearerSubscriptionCriteria,omitempty"` + // Description of the subscribed event. The event is included both in the request and in the response. \\nFor the eventType, the following values are currently defined: 0 = RESERVED. 1 = S1_BEARER_ESTABLISH. 2 = S1_BEARER_MODIFY. 3 = S1_BEARER_RELEASE. + EventType []string `json:"eventType,omitempty"` } -- GitLab From 09734fe7ffa966534859ca4fd03206811dddb225 Mon Sep 17 00:00:00 2001 From: muhammadh Date: Fri, 10 Jun 2022 17:52:55 +0500 Subject: [PATCH 174/183] update service_info model in meep-service-mgmt-client --- .../model_service_info.go | 28 ++++++++++++------- .../model_service_info_post.go | 28 +++++++++++++------ 2 files changed, 37 insertions(+), 19 deletions(-) diff --git a/go-packages/meep-service-mgmt-client/model_service_info.go b/go-packages/meep-service-mgmt-client/model_service_info.go index e02a3ea3b..12764a3b7 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info.go +++ b/go-packages/meep-service-mgmt-client/model_service_info.go @@ -26,21 +26,29 @@ package client // This type represents the general information of a MEC service. type ServiceInfo struct { - SerInstanceId string `json:"serInstanceId,omitempty"` - SerName string `json:"serName"` - SerCategory *CategoryRef `json:"serCategory,omitempty"` + SerInstanceId string `json:"serInstanceId,omitempty"` + + SerName string `json:"serName"` + + SerCategory *CategoryRef `json:"serCategory,omitempty"` // Service version - Version string `json:"version"` - State *ServiceState `json:"state"` - TransportInfo *TransportInfo `json:"transportInfo,omitempty"` - Serializer *SerializerType `json:"serializer"` - ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` + Version string `json:"version"` + + State *ServiceState `json:"state"` + // Identifier of the platform-provided transport to be used by the service. Valid identifiers may be obtained using the \"Transport information query\" procedure. May be present in POST requests to signal the use of a platform-provided transport for the service, and shall be absent otherwise. + TransportId string `json:"transportId,omitempty"` + + TransportInfo *TransportInfo `json:"transportInfo,omitempty"` + + Serializer *SerializerType `json:"serializer"` + + ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. // manually removed the omitempty - ConsumedLocalOnly bool `json:"consumedLocalOnly,omitempty"` + ConsumedLocalOnly bool `json:"consumedLocalOnly"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. // manually removed the omitempty - IsLocal bool `json:"isLocal,omitempty"` + IsLocal bool `json:"isLocal"` LivenessInterval int32 `json:"livenessInterval,omitempty"` diff --git a/go-packages/meep-service-mgmt-client/model_service_info_post.go b/go-packages/meep-service-mgmt-client/model_service_info_post.go index 1dd7ff25b..c017b8c93 100644 --- a/go-packages/meep-service-mgmt-client/model_service_info_post.go +++ b/go-packages/meep-service-mgmt-client/model_service_info_post.go @@ -26,21 +26,31 @@ package client // This type represents the general information of a MEC service. type ServiceInfoPost struct { - SerInstanceId string `json:"serInstanceId,omitempty"` - SerName string `json:"serName"` - SerCategory *CategoryRef `json:"serCategory,omitempty"` + SerInstanceId string `json:"serInstanceId,omitempty"` + + SerName string `json:"serName"` + + SerCategory *CategoryRef `json:"serCategory,omitempty"` // Service version - Version string `json:"version"` - State *ServiceState `json:"state"` + Version string `json:"version"` + + State *ServiceState `json:"state"` // Identifier of the platform-provided transport to be used by the service. Valid identifiers may be obtained using the \"Transport information query\" procedure. May be present in POST requests to signal the use of a platform-provided transport for the service, and shall be absent otherwise. - TransportId string `json:"transportId,omitempty"` - TransportInfo *TransportInfo `json:"transportInfo,omitempty"` - Serializer *SerializerType `json:"serializer"` - ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` + TransportId string `json:"transportId,omitempty"` + + TransportInfo *TransportInfo `json:"transportInfo,omitempty"` + + Serializer *SerializerType `json:"serializer"` + + ScopeOfLocality *LocalityType `json:"scopeOfLocality,omitempty"` // Indicate whether the service can only be consumed by the MEC applications located in the same locality (as defined by scopeOfLocality) as this service instance. // manually removed the omitempty ConsumedLocalOnly bool `json:"consumedLocalOnly"` // Indicate whether the service is located in the same locality (as defined by scopeOfLocality) as the consuming MEC application. // manually removed the omitempty IsLocal bool `json:"isLocal"` + + LivenessInterval int32 `json:"livenessInterval,omitempty"` + + Links *ServiceInfoLinks `json:"_links"` } -- GitLab From a8ca978e335ccbac5fadfd2ea850edf39d5c731b Mon Sep 17 00:00:00 2001 From: AyeshaAyubG Date: Fri, 10 Jun 2022 18:04:36 +0500 Subject: [PATCH 175/183] update app-support-client according to v2.2.1 --- go-packages/meep-app-support-client/README.md | 10 +- .../meep-app-support-client/api/swagger.yaml | 2574 +++++++++-------- .../api_mec_app_support.go | 12 +- .../api_unsupported.go | 4 +- go-packages/meep-app-support-client/client.go | 6 +- .../meep-app-support-client/configuration.go | 4 +- .../docs/MecAppSupportApi.md | 4 +- ...d => MecAppSuptApiSubscriptionLinkList.md} | 4 +- ...MecAppSuptApiSubscriptionLinkListLinks.md} | 4 +- ...SubscriptionLinkListLinksSubscriptions.md} | 2 +- go-packages/meep-app-support-client/go.mod | 5 +- go-packages/meep-app-support-client/go.sum | 16 + .../model_app_ready_confirmation.go | 4 +- .../model_app_termination_confirmation.go | 4 +- .../model_app_termination_notification.go | 4 +- ...del_app_termination_notification__links.go | 4 +- ...p_termination_notification_subscription.go | 4 +- ...nation_notification_subscription__links.go | 4 +- .../model_current_time.go | 4 +- .../model_destination_interface.go | 4 +- .../meep-app-support-client/model_dns_rule.go | 4 +- .../model_link_type.go | 4 +- ...ec_app_supt_api_subscription_link_list.go} | 8 +- ..._supt_api_subscription_link_list_links.go} | 8 +- ...pi_subscription_link_list_subscription.go} | 6 +- .../model_operation_action_type.go | 4 +- .../model_problem_details.go | 4 +- .../model_timing_caps.go | 4 +- .../model_timing_caps_ntp_servers.go | 4 +- .../model_timing_caps_ptp_masters.go | 4 +- .../model_timing_caps_time_stamp.go | 4 +- .../model_traffic_filter.go | 4 +- .../model_traffic_rule.go | 4 +- .../model_tunnel_info.go | 4 +- .../meep-app-support-client/response.go | 4 +- 35 files changed, 1390 insertions(+), 1357 deletions(-) rename go-packages/meep-app-support-client/docs/{SubscriptionLinkList.md => MecAppSuptApiSubscriptionLinkList.md} (62%) rename go-packages/meep-app-support-client/docs/{SubscriptionLinkListLinks.md => MecAppSuptApiSubscriptionLinkListLinks.md} (56%) rename go-packages/meep-app-support-client/docs/{SubscriptionLinkListLinksSubscriptions.md => MecAppSuptApiSubscriptionLinkListLinksSubscriptions.md} (91%) create mode 100644 go-packages/meep-app-support-client/go.sum rename go-packages/meep-app-support-client/{model_subscription_link_list.go => model_mec_app_supt_api_subscription_link_list.go} (85%) rename go-packages/meep-app-support-client/{model_subscription_link_list__links.go => model_mec_app_supt_api_subscription_link_list_links.go} (82%) rename go-packages/meep-app-support-client/{model_subscription_link_list__links_subscriptions.go => model_mec_app_supt_api_subscription_link_list_subscription.go} (88%) diff --git a/go-packages/meep-app-support-client/README.md b/go-packages/meep-app-support-client/README.md index 40b0b9352..04c7be8b5 100644 --- a/go-packages/meep-app-support-client/README.md +++ b/go-packages/meep-app-support-client/README.md @@ -1,11 +1,11 @@ # Go API client for client -MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). +MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). ## Overview This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. -- API version: 2.1.1 +- API version: 2.2.1 - Package version: 1.0.0 - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen @@ -51,9 +51,9 @@ Class | Method | HTTP request | Description - [LinkType](docs/LinkType.md) - [OperationActionType](docs/OperationActionType.md) - [ProblemDetails](docs/ProblemDetails.md) - - [SubscriptionLinkList](docs/SubscriptionLinkList.md) - - [SubscriptionLinkListLinks](docs/SubscriptionLinkListLinks.md) - - [SubscriptionLinkListLinksSubscriptions](docs/SubscriptionLinkListLinksSubscriptions.md) + - [MecAppSuptApiSubscriptionLinkList](docs/MecAppSuptApiSubscriptionLinkList.md) + - [MecAppSuptApiSubscriptionLinkListLinks](docs/MecAppSuptApiSubscriptionLinkListLinks.md) + - [MecAppSuptApiSubscriptionLinkListLinksSubscriptions](docs/MecAppSuptApiSubscriptionLinkListLinksSubscriptions.md) - [TimingCaps](docs/TimingCaps.md) - [TimingCapsNtpServers](docs/TimingCapsNtpServers.md) - [TimingCapsPtpMasters](docs/TimingCapsPtpMasters.md) diff --git a/go-packages/meep-app-support-client/api/swagger.yaml b/go-packages/meep-app-support-client/api/swagger.yaml index 1dd29bb3a..4a8fbb749 100644 --- a/go-packages/meep-app-support-client/api/swagger.yaml +++ b/go-packages/meep-app-support-client/api/swagger.yaml @@ -1,1900 +1,1918 @@ -openapi: 3.0.2 +openapi: 3.0.0 +servers: + - url: "https://localhost/sandboxname/mec_app_support/v1" info: title: AdvantEDGE MEC Application Support API - description: "MEC Application Support Service is AdvantEDGE's implementation of\ - \ [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)\ - \

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)\ - \

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)\ - \

**Type & Usage**
Edge Service used by edge applications that want to get\ - \ information about applications in the network

**Note**
AdvantEDGE supports\ - \ a selected subset of Application Support API endpoints (see below)." + version: 2.2.1 + description: + "MEC Application Support Service is AdvantEDGE's implementation of + [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support) +

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network +

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below)." + license: + name: Apache 2.0 + url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE" contact: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com - license: - name: Apache 2.0 - url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE - version: 2.2.1 externalDocs: description: "ETSI GS MEC011 Application Enablement API, V2.2.1" - url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf -servers: -- url: https://localhost/sandboxname/mec_app_support/v1 + url: >- + https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf +security: + - {} tags: -- name: mec_app_support -- name: unsupported + - name: mec_app_support + - name: unsupported + - name: callbacks paths: /applications/{appInstanceId}/traffic_rules: get: tags: - - unsupported - description: This method retrieves information about all the traffic rules associated + - unsupported + description: + This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRules_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: type: array + example: + - trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + - dstInterface1: null + interfaceType: IP + dstIpAddress: 20.1.1.2 + state: ACTIVE items: - $ref: '#/components/schemas/TrafficRule' + $ref: "#/components/schemas/TrafficRule" x-content-type: application/json - examples: - TrafficRules: - $ref: '#/components/examples/TrafficRules' - links: - getIndividualMeTrafficRule: - $ref: '#/components/links/GetIndividualMeTrafficRule' - putIndividualMeTrafficRule: - $ref: '#/components/links/PutIndividualMeTrafficRule' "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/traffic_rules/{trafficRuleId}: get: tags: - - unsupported - description: This method retrieves information about all the traffic rules associated + - unsupported + description: + This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRule_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: trafficRuleId - in: path - description: Represents a traffic rule. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: trafficRuleId + in: path + description: Represents a traffic rule. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/TrafficRule' - examples: + $ref: "#/components/schemas/TrafficRule" + example: TrafficRule: - $ref: '#/components/examples/TrafficRule' + value: + trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + state: ACTIVE "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema put: tags: - - unsupported - description: This method retrieves information about all the traffic rules associated + - unsupported + description: + This method retrieves information about all the traffic rules associated with a MEC application instance. operationId: ApplicationsTrafficRule_PUT parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: trafficRuleId - in: path - description: Represents a traffic rule. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: trafficRuleId + in: path + description: Represents a traffic rule. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsTrafficRule' + description: One or more updated attributes that are allowed to be changed + content: + application/json: + schema: + $ref: "#/components/schemas/TrafficRule" + required: true responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/TrafficRule' - examples: + $ref: "#/components/schemas/TrafficRule" + example: TrafficRule: - $ref: '#/components/examples/TrafficRule' + value: + trafficRuleId: TrafficRule123 + serName: ExampleService + filterType: FLOW + priority: 1 + trafficFilter: + - srcAddress: + - 192.168.2.0/24 + - 192.168.3.0/24 + dstAddress: + - 192.127.4.100/32 + dstPort: + - "80" + action: FORWARD_DECAPSULATED + dstInterface: + - dstInterface0: null + interfaceType: IP + dstIpAddress: 20.1.1.1 + state: ACTIVE "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "412": - description: "Precondition Failed. It is used when a condition has failed\ - \ during conditional requests, e.g. when using ETags to avoid write conflicts." + description: + Precondition Failed. It is used when a condition has failed + during conditional requests, e.g. when using ETags to avoid write conflicts. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/dns_rules: get: tags: - - unsupported - description: This method retrieves information about all the DNS rules associated + - unsupported + description: + This method retrieves information about all the DNS rules associated with a MEC application instance. operationId: ApplicationsDnsRules_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: type: array + example: + - dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE items: - $ref: '#/components/schemas/DnsRule' + $ref: "#/components/schemas/DnsRule" x-content-type: application/json - examples: - DnsRules: - $ref: '#/components/examples/DnsRules' - links: - getIndividualMeDNSRule: - $ref: '#/components/links/GetIndividualMeDNSRule' - putIndividualMeDNSRule: - $ref: '#/components/links/PutIndividualMeDNSRule' "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/dns_rules/{dnsRuleId}: get: tags: - - unsupported - description: This method retrieves information about a DNS rule associated with + - unsupported + description: + This method retrieves information about a DNS rule associated with a MEC application instance. operationId: ApplicationsDnsRule_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: dnsRuleId - in: path - description: Represents a DNS rule. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: dnsRuleId + in: path + description: Represents a DNS rule. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/DnsRule' - examples: + $ref: "#/components/schemas/DnsRule" + example: DnsRule: - $ref: '#/components/examples/DnsRule' + value: + dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema put: tags: - - unsupported - description: "This method activates, de-activates or updates a traffic rule." + - unsupported + description: This method activates, de-activates or updates a traffic rule. operationId: ApplicationsDnsRule_PUT parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: dnsRuleId - in: path - description: Represents a DNS rule. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: dnsRuleId + in: path + description: Represents a DNS rule. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsDnsRule' + description: The updated state is included in the entity body of the request. + content: + application/json: + schema: + $ref: "#/components/schemas/DnsRule" + required: true responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/DnsRule' - examples: + $ref: "#/components/schemas/DnsRule" + example: DnsRule: - $ref: '#/components/examples/DnsRule' + value: + dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "412": - description: "Precondition Failed. It is used when a condition has failed\ - \ during conditional requests, e.g. when using ETags to avoid write conflicts." + description: + Precondition Failed. It is used when a condition has failed + during conditional requests, e.g. when using ETags to avoid write conflicts. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/subscriptions: get: tags: - - mec_app_support - description: "The GET method may be used to request information about all subscriptions\ - \ for this requestor. Upon success, the response contains entity body with\ - \ all the subscriptions for the requestor." + - mec_app_support + description: + The GET method may be used to request information about all subscriptions + for this requestor. Upon success, the response contains entity body with all + the subscriptions for the requestor. operationId: ApplicationsSubscriptions_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: "Upon success, a response body containing the list of links\ - \ to the requested subscriptions is returned." + description: + Upon success, a response body containing the list of links + to the requested subscriptions is returned. content: application/json: schema: - $ref: '#/components/schemas/SubscriptionLinkList' - links: - getIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscriptionLinkList' - delIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscriptionLinkList' + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList" "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema post: tags: - - mec_app_support - description: "The POST method may be used to create a new subscription. One\ - \ example use case is to create a new subscription to the MEC service availability\ - \ notifications. Upon success, the response contains entity body describing\ - \ the created subscription." + - mec_app_support + description: + The POST method may be used to create a new subscription. One example + use case is to create a new subscription to the MEC service availability notifications. + Upon success, the response contains entity body describing the created subscription. operationId: ApplicationsSubscriptions_POST parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsSubscriptions' + description: + Entity body in the request contains a subscription to the MEC + application termination notifications that is to be created. + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationNotificationSubscription" + required: true responses: "201": - description: Entity body in the request contains a subscription to the MEC + description: + Entity body in the request contains a subscription to the MEC service availability notifications that is to be created. headers: location: description: The resource URI of the created resource style: simple - explode: false schema: type: string format: uri content: application/json: schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - links: - getIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscription' - delIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscription' + $ref: "#/components/schemas/AppTerminationNotificationSubscription" "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema callbacks: - appTerminationNotification: - $ref: '#/components/callbacks/AppTerminationNotification' + AppTerminationNotification: + "{$request.body#/callbackUri}": + post: + tags: + - callbacks + description: + Represents the information that the MEP notifies the subscribed + application instance about the corresponding application instance + termination/stop' + operationId: AppTerminationNotification_POST + requestBody: + $ref: "#/components/requestBodies/AppTerminationNotification" + responses: + "200": + description: + Expected responses from callback consumer, if it accepts + the callback /applications/{appInstanceId}/subscriptions/{subscriptionId}: get: tags: - - mec_app_support - description: "The GET method requests information about a subscription for this\ - \ requestor. Upon success, the response contains entity body with the subscription\ - \ for the requestor." + - mec_app_support + description: + The GET method requests information about a subscription for this + requestor. Upon success, the response contains entity body with the subscription + for the requestor. operationId: ApplicationsSubscription_GET parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: subscriptionId + in: path + description: Represents a subscription to the notifications from the MEC platform. + required: true + style: simple + explode: false + schema: + type: string responses: "200": - description: "Upon success, a response body containing the requested subscription\ - \ is returned." + description: + Upon success, a response body containing the requested subscription + is returned. content: application/json: schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' + $ref: "#/components/schemas/AppTerminationNotificationSubscription" "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema delete: tags: - - mec_app_support - description: This method deletes a mecAppSuptApiSubscription. This method is + - mec_app_support + description: + This method deletes a mecAppSuptApiSubscription. This method is typically used in "Unsubscribing from service availability event notifications" procedure. operationId: ApplicationsSubscription_DELETE parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string + - name: subscriptionId + in: path + description: Represents a subscription to the notifications from the MEC platform. + required: true + style: simple + explode: false + schema: + type: string responses: "204": description: No Content + content: {} "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/confirm_termination: post: tags: - - mec_app_support - description: This method is used to confirm the application level termination of + - mec_app_support + description: + This method is used to confirm the application level termination of an application instance. operationId: ApplicationsConfirmTermination_POST parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsConfirmTermination' + content: + application/json: + schema: + $ref: "#/components/schemas/AppTerminationConfirmation" + required: false responses: "204": description: No Content + content: {} "401": - description: Unauthorized. It is used when the client did not submit the + description: + Unauthorized. It is used when the client did not submit the appropriate credentials. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "409": - description: "Conflict. The operation cannot be executed currently, due\ - \ to a conflict with the state of the resource. Typically, this is because\ - \ the application instance resource is in NOT_INSTANTIATED state." + description: + Conflict. The operation cannot be executed currently, due to + a conflict with the state of the resource. Typically, this is because + the application instance resource is in NOT_INSTANTIATED state. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "429": description: Too Many Requests. It is used when a rate limiter has triggered. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /applications/{appInstanceId}/confirm_ready: post: tags: - - mec_app_support - description: 'This method may be used by the MEC application instance to notify - the MEC platform that it is up and running. ' + - mec_app_support + description: + "This method may be used by the MEC application instance to notify + the MEC platform that it is up and running. " operationId: ApplicationsConfirmReady_POST parameters: - - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string + - name: appInstanceId + in: path + description: + Represents a MEC application instance. Note that the appInstanceId + is allocated by the MEC platform manager. + required: true + style: simple + explode: false + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ApplicationsConfirmReady' + content: + application/json: + schema: + $ref: "#/components/schemas/AppReadyConfirmation" responses: "204": description: No Content + content: {} "401": - description: Unauthorized. It is used when the client did not submit the + description: + Unauthorized. It is used when the client did not submit the appropriate credentials. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "409": - description: "Conflict. The operation cannot be executed currently, due\ - \ to a conflict with the state of the resource. Typically, this is because\ - \ the application instance resource is in NOT_INSTANTIATED state." + description: + Conflict. The operation cannot be executed currently, due to + a conflict with the state of the resource. Typically, this is because + the application instance resource is in NOT_INSTANTIATED state. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "429": description: Too Many Requests. It is used when a rate limiter has triggered. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /timing/timing_caps: get: tags: - - mec_app_support - description: This method retrieves the information of the platform's timing + - mec_app_support + description: + This method retrieves the information of the platform's timing capabilities which corresponds to the timing capabilities query operationId: TimingCaps_GET + parameters: [] responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/TimingCaps' + $ref: "#/components/schemas/TimingCaps" "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema /timing/current_time: get: tags: - - mec_app_support - description: This method retrieves the information of the platform's current + - mec_app_support + description: + This method retrieves the information of the platform's current time which corresponds to the get platform time procedure operationId: TimingCurrentTime_GET + parameters: [] responses: "200": - description: It is used to indicate nonspecific success. The response body + description: + It is used to indicate nonspecific success. The response body contains a representation of the resource. content: application/json: schema: - $ref: '#/components/schemas/CurrentTime' + $ref: "#/components/schemas/CurrentTime" "400": - description: Bad Request. It is used to indicate that incorrect parameters + description: + Bad Request. It is used to indicate that incorrect parameters were passed to the request. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema "403": - description: 'Forbidden. The operation is not allowed given the current - status of the resource. ' + description: + Forbidden. The operation is not allowed given the current status + of the resource. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" "404": - description: Not Found. It is used when a client provided a URI that cannot + description: + Not Found. It is used when a client provided a URI that cannot be mapped to a valid resource URI. content: application/problem+json: schema: - $ref: '#/components/schemas/ProblemDetails' + $ref: "#/components/schemas/ProblemDetails" + text/plain: + schema: + type: object + description: Empty schema components: schemas: AppReadyConfirmation: + title: AppReadyConfirmation required: - - indication + - indication type: object properties: indication: type: string - description: Indication about the MEC application instance. enum: - - READY - description: This type represents the information that the MEC application instance + - READY + description: Indication about the MEC application instance. + description: + This type represents the information that the MEC application instance indicates to the MEC platform that it is up and running. AppTerminationConfirmation: + title: AppTerminationConfirmation required: - - operationAction + - operationAction type: object properties: operationAction: - $ref: '#/components/schemas/OperationActionType' - description: "This type represents the information that the MEC application\ - \ instance provides to the MEC platform when informing it that the application\ - \ has completed its application level related terminate/stop actions, e.g.\ - \ retention of application state in the case of stop." + $ref: "#/components/schemas/OperationActionType" + description: + This type represents the information that the MEC application instance + provides to the MEC platform when informing it that the application has completed + its application level related terminate/stop actions, e.g. retention of application + state in the case of stop. + AppTerminationNotification.Links: + title: AppTerminationNotification.Links + required: + - subscription + type: object + properties: + subscription: + $ref: "#/components/schemas/LinkType" + confirmTermination: + $ref: "#/components/schemas/LinkType" + description: Object containing hyperlinks related to the resource. AppTerminationNotification: + title: AppTerminationNotification required: - - _links - - maxGracefulTimeout - - notificationType - - operationAction + - _links + - maxGracefulTimeout + - notificationType + - operationAction type: object properties: notificationType: type: string description: Shall be set to AppTerminationNotification. + example: '["AppTerminationNotification"]' operationAction: - $ref: '#/components/schemas/OperationActionType' + $ref: "#/components/schemas/OperationActionType" maxGracefulTimeout: type: integer - description: Maximum timeout value in seconds for graceful termination or + description: + Maximum timeout value in seconds for graceful termination or graceful stop of an application instance. - format: uint32 _links: - $ref: '#/components/schemas/AppTerminationNotification__links' - description: This type represents the information that the MEC platform notifies + $ref: "#/components/schemas/AppTerminationNotification.Links" + description: + This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. AppTerminationNotificationSubscription: + title: AppTerminationNotificationSubscription required: - - _links - - appInstanceId - - callbackReference - - subscriptionType + - _links + - appInstanceId + - callbackReference + - subscriptionType type: object properties: subscriptionType: type: string description: Shall be set to AppTerminationNotificationSubscription. + example: '["AppTerminationNotificationSubscription"]' callbackReference: type: string - description: URI selected by the MEC application instance to receive notifications + description: + URI selected by the MEC application instance to receive notifications on the subscribed MEC application instance management information. This shall be included in both the request and the response. - format: uri _links: - $ref: '#/components/schemas/AppTerminationNotificationSubscription__links' + $ref: "#/components/schemas/Self" appInstanceId: type: string description: It is used as the filtering criterion for the subscribed events. - description: This type represents the information that the MEC platform notifies + example: '["ID1"]' + description: + This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop. example: - appInstanceId: appInstanceId - subscriptionType: subscriptionType + appInstanceId: '["ID1"]' + subscriptionType: '["AppTerminationNotificationSubscription"]' _links: self: - href: http://example.com/aeiou - callbackReference: http://example.com/aeiou + href: '["/mecAppSuptApi/example"]' + callbackReference: callbackReference CurrentTime: + title: CurrentTime required: - - nanoSeconds - - seconds - - timeSourceStatus + - nanoSeconds + - seconds + - timeSourceStatus type: object properties: seconds: type: integer - description: "The seconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC" - format: uint32 + description: + The seconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC nanoSeconds: type: integer - description: "The nanoseconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC" - format: uint32 + description: + The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC timeSourceStatus: - type: string - description: Platform Time Source status. 1 = TRACEABLE - time source is - locked to the UTC time source. 2 = NONTRACEABLE - time source is not locked - to the UTC time source - enum: - - TRACEABLE - - NONTRACEABLE - description: This type represents the information provided by the MEC platform + $ref: "#/components/schemas/TimeSourceStatus" + description: + This type represents the information provided by the MEC platform in response to the Get Platform Time Request message. example: seconds: 0 nanoSeconds: 6 - timeSourceStatus: TRACEABLE + timeSourceStatus: '["TRACEABLE"]' + DestinationInterface.InterfaceType: + title: DestinationInterface.InterfaceType + type: string + description: Type of the interface + example: '["TUNNEL"]' + enum: + - TUNNEL + - MAC + - IP DestinationInterface: + title: DestinationInterface required: - - interfaceType + - interfaceType type: object properties: interfaceType: - type: string - description: Type of the interface - enum: - - TUNNEL - - MAC - - IP + $ref: "#/components/schemas/DestinationInterface.InterfaceType" tunnelInfo: - $ref: '#/components/schemas/TunnelInfo' + $ref: "#/components/schemas/TunnelInfo" srcMacAddress: type: string description: Source address identifies the MAC address of the interface + example: '["02-00-00-00-00-00"]' dstMacAddress: type: string - description: Destination address identifies the MAC address of the interface + description: Source address identifies the MAC address of the interface + example: '["02-00-00-00-00-00"]' dstIpAddress: type: string description: IP address of the remote destination - description: "This type represents the destination interface. If the action\ - \ is FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall\ - \ be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED,\ - \ two values shall be provided. If the action is DROP, no value shall be provided." + example: '["192.0.2.0"]' + description: + This type represents the destination interface. If the action is + FORWARD_DECAPSULATED, FORWARD_ENCAPSULATED or PASSTHROUGH one value shall + be provided. If the action is DUPLICATE_DECAPSULATED or DUPLICATE_ENCAPSULATED, + two values shall be provided. If the action is DROP, no value shall be provided. example: - interfaceType: TUNNEL - dstIpAddress: dstIpAddress - srcMacAddress: srcMacAddress + interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' tunnelInfo: - tunnelSrcAddress: tunnelSrcAddress - tunnelType: GTP_U - tunnelDstAddress: tunnelDstAddress - dstMacAddress: dstMacAddress + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + DnsRule.IpAddressType: + title: DnsRule.IpAddressType + type: string + description: IP address type + example: '["IP_V6"]' + enum: + - IP_V6 + - IP_V4 + DnsRule.State: + title: DnsRule.State + type: string + description: DNS rule state. This attribute may be updated using HTTP PUT method + example: '["ACTIVE"]' + enum: + - ACTIVE + - INACTIVE DnsRule: + title: DnsRule required: - - dnsRuleId - - domainName - - ipAddress - - ipAddressType - - state + - dnsRuleId + - domainName + - ipAddress + - ipAddressType + - state type: object properties: dnsRuleId: type: string description: Identifies the DNS Rule + example: '["dnsRule1"]' domainName: type: string description: FQDN resolved by the DNS rule + example: '["www.example.com"]' ipAddressType: - type: string - description: IP address type - enum: - - IP_V6 - - IP_V4 + $ref: "#/components/schemas/DnsRule.IpAddressType" ipAddress: type: string description: IP address associated with the FQDN resolved by the DNS rule + example: '["192.0.2.0"]' ttl: type: integer description: Time to live value - format: uint32 state: - type: string - description: DNS rule state. This attribute may be updated using HTTP PUT - method - example: ACTIVE - enum: - - ACTIVE - - INACTIVE + $ref: "#/components/schemas/DnsRule.State" description: This type represents the general information of a DNS rule. example: - domainName: domainName - ipAddress: ipAddress - dnsRuleId: dnsRuleId - state: ACTIVE + domainName: '["www.example.com"]' + ipAddress: '["192.0.2.0"]' + dnsRuleId: '["dnsRule1"]' + state: '["ACTIVE"]' ttl: 0 - ipAddressType: IP_V6 + ipAddressType: '["IP_V6"]' LinkType: + title: LinkType type: object properties: href: type: string description: URI referring to a resource - format: uri - description: This type represents a type of link and may be referenced from + example: '["/mecAppSuptApi/example"]' + description: + This type represents a type of link and may be referenced from data structures example: - href: http://example.com/aeiou - SubscriptionLinkList: + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList.Links: + title: MecAppSuptApiSubscriptionLinkList.Links + required: + - self + type: object + properties: + self: + $ref: "#/components/schemas/LinkType" + subscriptions: + type: array + description: The MEC application instance's subscriptions + items: + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList.Subscription" + description: Self-referring URI. + example: + subscriptions: + - rel: rel + href: '["/mecAppSuptApi/example"]' + - rel: rel + href: '["/mecAppSuptApi/example"]' + self: + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList.Subscription: + title: MecAppSuptApiSubscriptionLinkList.Subscription + required: + - href + - subscriptionType + type: object + properties: + href: + type: string + description: URI referring to a resource + example: '["/mecAppSuptApi/example"]' + subscriptionType: + type: string + description: The values shall be set to AppTerminationNotificationSubscription. + description: A link to a subscription. + example: + subscriptionType: subscriptionType + href: '["/mecAppSuptApi/example"]' + MecAppSuptApiSubscriptionLinkList: + title: MecAppSuptApiSubscriptionLinkList required: - - _links + - _links type: object properties: _links: - $ref: '#/components/schemas/SubscriptionLinkList__links' - description: This type represents a list of links related to currently existing + $ref: "#/components/schemas/MecAppSuptApiSubscriptionLinkList.Links" + description: + This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions. example: _links: subscriptions: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou + - rel: rel + href: '["/mecAppSuptApi/example"]' + - rel: rel + href: '["/mecAppSuptApi/example"]' self: - href: http://example.com/aeiou + href: '["/mecAppSuptApi/example"]' OperationActionType: + title: OperationActionType type: string description: Operation that is being performed on the MEC application instance. + example: '["TERMINATING"]' enum: - - STOPPING - - TERMINATING + - STOPPING + - TERMINATING ProblemDetails: + title: ProblemDetails + required: + - status + - detail type: object properties: type: type: string - description: A URI reference according to IETF RFC 3986 that identifies + description: + A URI reference according to IETF RFC 3986 that identifies the problem type - format: uri title: type: string - description: "A short, human-readable summary of the problem type" + description: A short, human-readable summary of the problem type status: type: integer description: The HTTP status code for this occurrence of the problem - format: uint32 detail: type: string - description: A human-readable explanation specific to this occurrence of + description: + A human-readable explanation specific to this occurrence of the problem instance: type: string - description: A URI reference that identifies the specific occurrence of + description: + A URI reference that identifies the specific occurrence of the problem - format: uri - TimingCaps: + Self: + title: Self + required: + - self type: object properties: - timeStamp: - $ref: '#/components/schemas/TimingCaps_timeStamp' - ntpServers: - type: array - description: Available NTP servers - items: - $ref: '#/components/schemas/TimingCaps_ntpServers' - ptpMasters: - type: array - description: Number of available PTP Servers (referred to as "masters" in IEEE 1588-2019) - items: - $ref: '#/components/schemas/TimingCaps_ptpMasters' - description: This type represents the information provided by the MEC platform - in response to the Timing capabilities Query message. + self: + $ref: "#/components/schemas/LinkType" + description: Self-referring URI. example: - timeStamp: - seconds: 0 - nanoSeconds: 6 - ntpServers: - - ntpServerAddr: ntpServerAddr - maxPollingInterval: 5 - authenticationKeyNum: 2 - localPriority: 5 - authenticationOption: NONE - ntpServerAddrType: IP_ADDRESS - minPollingInterval: 1 - - ntpServerAddr: ntpServerAddr - maxPollingInterval: 5 - authenticationKeyNum: 2 - localPriority: 5 - authenticationOption: NONE - ntpServerAddrType: IP_ADDRESS - minPollingInterval: 1 - ptpMasters: - - ptpMasterLocalPriority: 7 - ptpMasterIpAddress: ptpMasterIpAddress - delayReqMaxRate: 9 - - ptpMasterLocalPriority: 7 - ptpMasterIpAddress: ptpMasterIpAddress - delayReqMaxRate: 9 - TrafficFilter: + self: + href: '["/mecAppSuptApi/example"]' + TimingCaps.NtpServers.AuthenticationOption: + title: TimingCaps.NtpServers.AuthenticationOption + type: string + description: NTP authentication option + example: '["NONE"]' + enum: + - NONE + - SYMMETRIC_KEY + - AUTO_KEY + TimingCaps.NtpServers.NtpServerAddrType: + title: TimingCaps.NtpServers.NtpServerAddrType + type: string + description: Address type of NTP server + example: '["IP_ADDRESS"]' + enum: + - IP_ADDRESS + - DNS_NAME + TimingCaps.NtpServers: + title: TimingCaps.NtpServers + required: + - authenticationKeyNum + - authenticationOption + - localPriority + - maxPollingInterval + - minPollingInterval + - ntpServerAddr + - ntpServerAddrType type: object properties: - srcAddress: - type: array - description: "An IP address or a range of IP address. For IPv4, the IP address\ - \ could be an IP address plus mask, or an individual IP address, or a\ - \ range of IP addresses. For IPv6, the IP address could be an IP prefix,\ - \ or a range of IP prefixes." - items: - type: string - description: Identify the traffic ip address. - dstAddress: - type: array - description: "An IP address or a range of IP address. For IPv4, the IP address\ - \ could be an IP address plus mask, or an individual IP address, or a\ - \ range of IP addresses. For IPv6, the IP address could be an IP prefix,\ - \ or a range of IP prefixes." - items: - type: string - description: Identify the traffic ip address. - srcPort: - type: array - description: A port or a range of ports - items: - type: string - description: A port - dstPort: - type: array - description: A port or a range of ports - items: - type: string - description: A port - protocol: - type: array - description: Specify the protocol of the traffic filter - items: - type: string - description: Protocol of the traffic filter - token: - type: array - description: Used for token based traffic rule - items: - type: string - description: Used for token based traffic rule - srcTunnelAddress: - type: array - description: Used for GTP tunnel based traffic rule + ntpServerAddrType: + $ref: "#/components/schemas/TimingCaps.NtpServers.NtpServerAddrType" + ntpServerAddr: + type: string + description: NTP server address + example: '["192.0.2.0"]' + minPollingInterval: + type: integer + description: + Minimum poll interval for NTP messages, in seconds as a power + of two. Range 3 to 17 + maxPollingInterval: + type: integer + description: + Maximum poll interval for NTP messages, in seconds as a power + of two. Range 3 to 17 + localPriority: + type: integer + description: NTP server local priority + authenticationOption: + $ref: "#/components/schemas/TimingCaps.NtpServers.AuthenticationOption" + authenticationKeyNum: + type: integer + description: Authentication key number + description: NTP server detail. + example: + ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + TimingCaps_PtpMasters: + title: TimingCaps_PtpMasters + required: + - delayReqMaxRate + - ptpMasterIpAddress + - ptpMasterLocalPriority + type: object + properties: + ptpMasterIpAddress: + type: string + description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address + example: '["192.0.2.0"]' + ptpMasterLocalPriority: + type: integer + description: + PTP Server (referred to as "master" in IEEE 1588-2019 ) local + priority + delayReqMaxRate: + type: integer + description: + Acceptable maximum rate of the Delay_Req messages in packets + per second + description: NTP server detail. + example: + ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 + TimingCaps.TimeStamp: + title: TimingCaps.TimeStamp + required: + - nanoSeconds + - seconds + type: object + properties: + seconds: + type: integer + description: + The seconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC + nanoSeconds: + type: integer + description: + The nanoseconds part of the time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC + description: time + example: + seconds: 0 + nanoSeconds: 6 + TimingCaps: + title: TimingCaps + type: object + properties: + timeStamp: + $ref: "#/components/schemas/TimingCaps.TimeStamp" + ntpServers: + type: array + description: Available NTP servers + items: + $ref: "#/components/schemas/TimingCaps.NtpServers" + ptpMasters: + type: array + description: + Number of available PTP Servers (referred to as "masters" in + IEEE 1588-2019) + items: + $ref: "#/components/schemas/TimingCaps_PtpMasters" + description: + This type represents the information provided by the MEC platform + in response to the Timing capabilities Query message. + example: + timeStamp: + seconds: 0 + nanoSeconds: 6 + ntpServers: + - ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + - ntpServerAddr: '["192.0.2.0"]' + maxPollingInterval: 5 + authenticationKeyNum: 2 + localPriority: 5 + authenticationOption: '["NONE"]' + ntpServerAddrType: '["IP_ADDRESS"]' + minPollingInterval: 1 + ptpMasters: + - ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 + - ptpMasterLocalPriority: 7 + ptpMasterIpAddress: '["192.0.2.0"]' + delayReqMaxRate: 9 + TrafficFilter: + title: TrafficFilter + type: object + properties: + srcAddress: + type: array + description: + An IP address or a range of IP address. For IPv4, the IP address + could be an IP address plus mask, or an individual IP address, or a range + of IP addresses. For IPv6, the IP address could be an IP prefix, or a + range of IP prefixes. + items: + type: string + dstAddress: + type: array + description: + An IP address or a range of IP address. For IPv4, the IP address + could be an IP address plus mask, or an individual IP address, or a range + of IP addresses. For IPv6, the IP address could be an IP prefix, or a + range of IP prefixes. + items: + type: string + srcPort: + type: array + description: A port or a range of ports + items: + type: string + dstPort: + type: array + description: A port or a range of ports + items: + type: string + protocol: + type: array + description: Specify the protocol of the traffic filter + items: + type: string + token: + type: array + description: Used for token based traffic rule + items: + type: string + srcTunnelAddress: + type: array + description: Used for GTP tunnel based traffic rule items: type: string - description: Used for GTP tunnel based traffic rule tgtTunnelAddress: type: array description: Used for GTP tunnel based traffic rule items: type: string - description: Used for GTP tunnel based traffic rule srcTunnelPort: type: array description: Used for GTP tunnel based traffic rule items: type: string - description: Used for GTP tunnel based traffic rule dstTunnelPort: type: array description: Used for GTP tunnel based traffic rule items: type: string - description: Used for GTP tunnel based traffic rule qCI: type: integer - description: Used to match all packets that have the same Quality Class + description: + Used to match all packets that have the same Quality Class Indicator (QCI). - format: uint32 dSCP: type: integer - description: Used to match all IPv4 packets that have the same Differentiated + description: + Used to match all IPv4 packets that have the same Differentiated Services Code Point (DSCP) - format: uint32 tC: type: integer description: Used to match all IPv6 packets that have the same Traffic Class. - format: uint32 description: This type represents the traffic filter. example: srcTunnelPort: - - srcTunnelPort - - srcTunnelPort + - srcTunnelPort + - srcTunnelPort dstAddress: - - dstAddress - - dstAddress + - dstAddress + - dstAddress srcAddress: - - srcAddress - - srcAddress + - srcAddress + - srcAddress srcPort: - - srcPort - - srcPort + - srcPort + - srcPort token: - - token - - token + - token + - token tC: 5 protocol: - - protocol - - protocol + - protocol + - protocol dstTunnelPort: - - dstTunnelPort - - dstTunnelPort + - dstTunnelPort + - dstTunnelPort dSCP: 1 dstPort: - - dstPort - - dstPort + - dstPort + - dstPort qCI: 6 srcTunnelAddress: - - srcTunnelAddress - - srcTunnelAddress + - srcTunnelAddress + - srcTunnelAddress tgtTunnelAddress: - - tgtTunnelAddress - - tgtTunnelAddress + - tgtTunnelAddress + - tgtTunnelAddress + TrafficRule.Action: + title: TrafficRule.Action + type: string + description: + The action of the MEC host data plane when a packet matches the + trafficFilter + example: '["DROP"]' + enum: + - DROP + - FORWARD_DECAPSULATED + - FORWARD_ENCAPSULATED + - PASSTHROUGH + - DUPLICATE_DECAPSULATED + - DUPLICATE_ENCAPSULATED + TrafficRule.FilterType: + title: TrafficRule.FilterType + type: string + description: + Definition of filter per FLOW or PACKET. If flow the filter match + UE->EPC packet and the reverse packet is handled in the same context + example: '["FLOW"]' + enum: + - FLOW + - PACKET + TrafficRule.State: + title: TrafficRule.State + type: string + description: + Contains the traffic rule state. This attribute may be updated + using HTTP PUT method + example: '["ACTIVE"]' + enum: + - ACTIVE + - INACTIVE TrafficRule: + title: TrafficRule required: - - action - - filterType - - priority - - state - - trafficFilter - - trafficRuleId + - action + - filterType + - priority + - state + - trafficFilter + - trafficRuleId type: object properties: trafficRuleId: type: string description: Identify the traffic rule. + example: '["TrafficRule1"]' filterType: - type: string - description: Definition of filter per FLOW or PACKET. If flow the filter - match UE->EPC packet and the reverse packet is handled in the same context - enum: - - FLOW - - PACKET + $ref: "#/components/schemas/TrafficRule.FilterType" priority: type: integer - description: "Priority of this traffic rule within the range 0 to 255. If traffic rules conflict,\ - \ the one with higher priority take precedence. Value indicates the priority in descending order,\ - \ i.e. with 0 as the highest priority and 255 as the lowest priority." - format: uint32 + description: + Priority of this traffic rule within the range 0 to 255. If + traffic rules conflict, the one with higher priority take precedence. + Value indicates the priority in descending order, i.e. with 0 as the highest + priority and 255 as the lowest priority. trafficFilter: type: array items: - $ref: '#/components/schemas/TrafficFilter' + $ref: "#/components/schemas/TrafficFilter" action: - type: string - description: The action of the MEC host data plane when a packet matches - the trafficFilter - enum: - - DROP - - FORWARD_DECAPSULATED - - FORWARD_ENCAPSULATED - - PASSTHROUGH - - DUPLICATE_DECAPSULATED - - DUPLICATE_ENCAPSULATED + $ref: "#/components/schemas/TrafficRule.Action" dstInterface: + maxItems: 2 type: array items: - $ref: '#/components/schemas/DestinationInterface' - maxItems: 2 + $ref: "#/components/schemas/DestinationInterface" state: - type: string - description: Contains the traffic rule state. This attribute may be updated - using HTTP PUT method - enum: - - ACTIVE - - INACTIVE + $ref: "#/components/schemas/TrafficRule.State" description: This type represents the general information of a traffic rule. example: - action: DROP - trafficRuleId: trafficRuleId + action: '["DROP"]' + trafficRuleId: '["TrafficRule1"]' dstInterface: - interfaceType: TUNNEL - dstIpAddress: dstIpAddress - srcMacAddress: srcMacAddress - tunnelInfo: - tunnelSrcAddress: tunnelSrcAddress - tunnelType: GTP_U - tunnelDstAddress: tunnelDstAddress - dstMacAddress: dstMacAddress - state: ACTIVE - filterType: FLOW + - interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' + tunnelInfo: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + - interfaceType: '["TUNNEL"]' + dstIpAddress: '["192.0.2.0"]' + srcMacAddress: '["02-00-00-00-00-00"]' + tunnelInfo: + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + dstMacAddress: '["02-00-00-00-00-00"]' + state: '["ACTIVE"]' + filterType: '["FLOW"]' priority: 0 trafficFilter: - - srcTunnelPort: - - srcTunnelPort - - srcTunnelPort - dstAddress: - - dstAddress - - dstAddress - srcAddress: - - srcAddress - - srcAddress - srcPort: - - srcPort - - srcPort - token: - - token - - token - tC: 5 - protocol: - - protocol - - protocol - dstTunnelPort: - - dstTunnelPort - - dstTunnelPort - dSCP: 1 - dstPort: - - dstPort - - dstPort - qCI: 6 - srcTunnelAddress: - - srcTunnelAddress - - srcTunnelAddress - tgtTunnelAddress: - - tgtTunnelAddress - - tgtTunnelAddress - - srcTunnelPort: - - srcTunnelPort - - srcTunnelPort - dstAddress: - - dstAddress - - dstAddress - srcAddress: - - srcAddress - - srcAddress - srcPort: - - srcPort - - srcPort - token: - - token - - token - tC: 5 - protocol: - - protocol - - protocol - dstTunnelPort: - - dstTunnelPort - - dstTunnelPort - dSCP: 1 - dstPort: - - dstPort - - dstPort - qCI: 6 - srcTunnelAddress: - - srcTunnelAddress - - srcTunnelAddress - tgtTunnelAddress: - - tgtTunnelAddress - - tgtTunnelAddress + - srcTunnelPort: + - srcTunnelPort + - srcTunnelPort + dstAddress: + - dstAddress + - dstAddress + srcAddress: + - srcAddress + - srcAddress + srcPort: + - srcPort + - srcPort + token: + - token + - token + tC: 5 + protocol: + - protocol + - protocol + dstTunnelPort: + - dstTunnelPort + - dstTunnelPort + dSCP: 1 + dstPort: + - dstPort + - dstPort + qCI: 6 + srcTunnelAddress: + - srcTunnelAddress + - srcTunnelAddress + tgtTunnelAddress: + - tgtTunnelAddress + - tgtTunnelAddress + - srcTunnelPort: + - srcTunnelPort + - srcTunnelPort + dstAddress: + - dstAddress + - dstAddress + srcAddress: + - srcAddress + - srcAddress + srcPort: + - srcPort + - srcPort + token: + - token + - token + tC: 5 + protocol: + - protocol + - protocol + dstTunnelPort: + - dstTunnelPort + - dstTunnelPort + dSCP: 1 + dstPort: + - dstPort + - dstPort + qCI: 6 + srcTunnelAddress: + - srcTunnelAddress + - srcTunnelAddress + tgtTunnelAddress: + - tgtTunnelAddress + - tgtTunnelAddress + TunnelInfo.TunnelType: + title: TunnelInfo.TunnelType + type: string + description: This type represents the tunnel information. + example: '["GTP_U"]' + enum: + - GTP_U + - GRE TunnelInfo: + title: TunnelInfo required: - - tunnelType + - tunnelType type: object properties: tunnelType: - type: string - description: This type represents the tunnel information. - enum: - - GTP_U - - GRE + $ref: "#/components/schemas/TunnelInfo.TunnelType" tunnelDstAddress: type: string description: Destination address of the tunnel + example: '["?"]' tunnelSrcAddress: type: string description: Source address of the tunnel + example: '["?"]' description: This type represents the tunnel information. example: - tunnelSrcAddress: tunnelSrcAddress - tunnelType: GTP_U - tunnelDstAddress: tunnelDstAddress - AppTerminationNotification__links: - required: - - subscription - type: object - properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' - description: Object containing hyperlinks related to the resource. - AppTerminationNotificationSubscription__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - description: Self-referring URI. - readOnly: true - example: - self: - href: http://example.com/aeiou - SubscriptionLinkList__links_subscriptions: - required: - - href - - subscriptionType - type: object - properties: - href: - type: string - description: URI referring to a resource - format: uri - subscriptionType: - type: string - description: Type of the subscription. The values are as defined in the - "subscriptionType" attribute for each different Mp1 event subscription - data type. - description: A link to a subscription. - example: - subscriptionType: subscriptionType - href: http://example.com/aeiou - SubscriptionLinkList__links: - required: - - self - type: object - properties: - self: - $ref: '#/components/schemas/LinkType' - subscriptions: - type: array - description: The MEC application instance's subscriptions - items: - $ref: '#/components/schemas/SubscriptionLinkList__links_subscriptions' - description: Self-referring URI. - example: - subscriptions: - - subscriptionType: subscriptionType - href: http://example.com/aeiou - - subscriptionType: subscriptionType - href: http://example.com/aeiou - self: - href: http://example.com/aeiou - TimingCaps_timeStamp: - required: - - nanoSeconds - - seconds - type: object - properties: - seconds: - type: integer - description: "The seconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC" - format: uint32 - nanoSeconds: - type: integer - description: "The nanoseconds part of the time. Time is defined as Unix-time\ - \ since January 1, 1970, 00:00:00 UTC" - format: uint32 - description: time - example: - seconds: 0 - nanoSeconds: 6 - TimingCaps_ntpServers: - required: - - authenticationKeyNum - - authenticationOption - - localPriority - - maxPollingInterval - - minPollingInterval - - ntpServerAddr - - ntpServerAddrType - type: object - properties: - ntpServerAddrType: - type: string - description: Address type of NTP server - enum: - - IP_ADDRESS - - DNS_NAME - ntpServerAddr: - type: string - description: NTP server address - minPollingInterval: - type: integer - description: "Minimum poll interval for NTP messages, in seconds as a power\ - \ of two. Range 3 to 17" - format: uint32 - maxPollingInterval: - type: integer - description: "Maximum poll interval for NTP messages, in seconds as a power\ - \ of two. Range 3 to 17" - format: uint32 - localPriority: - type: integer - description: NTP server local priority - format: uint32 - authenticationOption: - type: string - description: NTP authentication option - enum: - - NONE - - SYMMETRIC_KEY - - AUTO_KEY - authenticationKeyNum: - type: integer - description: Authentication key number - format: uint32 - description: NTP server detail. - example: - ntpServerAddr: ntpServerAddr - maxPollingInterval: 5 - authenticationKeyNum: 2 - localPriority: 5 - authenticationOption: NONE - ntpServerAddrType: IP_ADDRESS - minPollingInterval: 1 - TimingCaps_ptpMasters: - required: - - delayReqMaxRate - - ptpMasterIpAddress - - ptpMasterLocalPriority - type: object - properties: - ptpMasterIpAddress: - type: string - description: PTP Server (referred to as "master" in IEEE 1588-2019) IP Address - ptpMasterLocalPriority: - type: integer - description: PTP Server (referred to as "master" in IEEE 1588-2019 ) local priority - format: uint32 - delayReqMaxRate: - type: integer - description: Acceptable maximum rate of the Delay_Req messages in packets - per second - format: uint32 - description: NTP server detail. - example: - ptpMasterLocalPriority: 7 - ptpMasterIpAddress: ptpMasterIpAddress - delayReqMaxRate: 9 - responses: - ApplicationsDnsRules200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/DnsRule' - x-content-type: application/json - examples: - DnsRules: - $ref: '#/components/examples/DnsRules' - links: - getIndividualMeDNSRule: - $ref: '#/components/links/GetIndividualMeDNSRule' - putIndividualMeDNSRule: - $ref: '#/components/links/PutIndividualMeDNSRule' - ApplicationsDnsRule200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/DnsRule' - examples: - DnsRule: - $ref: '#/components/examples/DnsRule' - ApplicationsSubscriptions200: - description: "Upon success, a response body containing the list of links to\ - \ the requested subscriptions is returned." - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionLinkList' - links: - getIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscriptionLinkList' - delIndividualmecAppSuptApiSubscriptionLinkList: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscriptionLinkList' - ApplicationsSubscriptions201: - description: Entity body in the request contains a subscription to the MEC - service availability notifications that is to be created. - headers: - location: - description: The resource URI of the created resource - style: simple - explode: false - schema: - type: string - format: uri - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - links: - getIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/GetIndividualmecAppSuptApiSubscription' - delIndividualmecAppSuptApiSubscription: - $ref: '#/components/links/DelIndividualmecAppSuptApiSubscription' - ApplicationsSubscription200: - description: "Upon success, a response body containing the requested subscription\ - \ is returned." - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - ApplicationsTrafficRules200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - minItems: 0 - type: array - items: - $ref: '#/components/schemas/TrafficRule' - x-content-type: application/json - examples: - TrafficRules: - $ref: '#/components/examples/TrafficRules' - links: - getIndividualMeTrafficRule: - $ref: '#/components/links/GetIndividualMeTrafficRule' - putIndividualMeTrafficRule: - $ref: '#/components/links/PutIndividualMeTrafficRule' - ApplicationsTrafficRule200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficRule' - examples: - TrafficRule: - $ref: '#/components/examples/TrafficRule' - TimingCurrentTime200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/CurrentTime' - TimingCaps200: - description: It is used to indicate nonspecific success. The response body contains - a representation of the resource. - content: - application/json: - schema: - $ref: '#/components/schemas/TimingCaps' - "400": - description: Bad Request. It is used to indicate that incorrect parameters were - passed to the request. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "401": - description: Unauthorized. It is used when the client did not submit the appropriate - credentials. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "403": - description: 'Forbidden. The operation is not allowed given the current status - of the resource. ' - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "404": - description: Not Found. It is used when a client provided a URI that cannot - be mapped to a valid resource URI. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "409": - description: "Conflict. The operation cannot be executed currently, due to a\ - \ conflict with the state of the resource. Typically, this is because the\ - \ application instance resource is in NOT_INSTANTIATED state." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "412": - description: "Precondition Failed. It is used when a condition has failed during\ - \ conditional requests, e.g. when using ETags to avoid write conflicts." - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - "429": - description: Too Many Requests. It is used when a rate limiter has triggered. - content: - application/problem+json: - schema: - $ref: '#/components/schemas/ProblemDetails' - parameters: - Path.AppInstanceId: - name: appInstanceId - in: path - description: Represents a MEC application instance. Note that the appInstanceId - is allocated by the MEC platform manager. - required: true - style: simple - explode: false - schema: - type: string - Path.DnsRuleId: - name: dnsRuleId - in: path - description: Represents a DNS rule. - required: true - style: simple - explode: false - schema: - type: string - Path.SubscriptionId: - name: subscriptionId - in: path - description: Represents a subscription to the notifications from the MEC platform. - required: true - style: simple - explode: false - schema: - type: string - Path.TrafficRuleId: - name: trafficRuleId - in: path - description: Represents a traffic rule. - required: true - style: simple - explode: false - schema: - type: string - examples: - DnsRule: - value: - dnsRuleId: DnsRule1 - domainName: www.example.com - ipAddressType: IP_V4 - ipAddress: 146.241.7.3 - ttl: 300 - state: ACTIVE - DnsRules: - value: - - dnsRuleId: DnsRule1 - domainName: www.example.com - ipAddressType: IP_V4 - ipAddress: 146.241.7.3 - ttl: 300 - state: ACTIVE - - dnsRuleId: DnsRule2 - domainName: www.example.com - ipAddressType: IP_V4 - ipAddress: 146.241.7.4 - ttl: 300 - state: INACTIVE - TrafficRule: - value: - trafficRuleId: TrafficRule123 - serName: ExampleService - filterType: FLOW - priority: 1 - trafficFilter: - - srcAddress: - - 192.168.2.0/24 - - 192.168.3.0/24 - dstAddress: - - 192.127.4.100/32 - dstPort: - - "80" - action: FORWARD_DECAPSULATED - dstInterface: - - dstInterface0: - interfaceType: IP - dstIpAddress: 20.1.1.1 - state: ACTIVE - TrafficRules: - value: - - trafficRuleId: TrafficRule123 - serName: ExampleService - filterType: FLOW - priority: 1 - trafficFilter: - - srcAddress: - - 192.168.2.0/24 - - 192.168.3.0/24 - dstAddress: - - 192.127.4.100/32 - dstPort: - - "80" - action: FORWARD_DECAPSULATED - dstInterface: - - dstInterface0: - interfaceType: IP - dstIpAddress: 20.1.1.1 - state: ACTIVE + tunnelSrcAddress: '["?"]' + tunnelType: '["GTP_U"]' + tunnelDstAddress: '["?"]' + TimeSourceStatus: + title: TimeSourceStatus + type: string + description: + Platform Time Source status. 1 = TRACEABLE - time source is locked + to the UTC time source. 2 = NONTRACEABLE - time source is not locked to the + UTC time source + example: '["TRACEABLE"]' + enum: + - TRACEABLE + - NONTRACEABLE requestBodies: - ApplicationsConfirmReady: - content: - application/json: - schema: - $ref: '#/components/schemas/AppReadyConfirmation' - example: - indication: READY - required: true - ApplicationsConfirmTermination: - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationConfirmation' - example: - operationAction: TERMINATING - required: true - ApplicationsDnsRule: - description: The updated state is included in the entity body of the request. - content: - application/json: - schema: - $ref: '#/components/schemas/DnsRule' - required: true - ApplicationsSubscriptions: - description: Entity body in the request contains a subscription to the MEC application - termination notifications that is to be created. - content: - application/json: - schema: - $ref: '#/components/schemas/AppTerminationNotificationSubscription' - example: - subscriptionType: AppTerminationNotificationSubscription - callbackReference: https://my.callback.com/sandboxname/mep1/rni/v2/ - appInstanceId: myAppInstanceId - required: true - ApplicationsTrafficRule: - description: One or more updated attributes that are allowed to be changed - content: - application/json: - schema: - $ref: '#/components/schemas/TrafficRule' - required: true AppTerminationNotification: content: application/json: schema: - $ref: '#/components/schemas/AppTerminationNotification' + $ref: "#/components/schemas/AppTerminationNotification" required: true - links: - GetIndividualMeDNSRule: - operationId: As_ApplicationsDnsRule_GET - parameters: - dnsRuleId: $response.body#/dnsRuleId - description: "The `dnsRuleId` value returned in the response can be used as\ - \ the `dnsRuleId` parameter in `GET /applications/{appInstanceId}/dns_rules/{dnsRuleId}`" - PutIndividualMeDNSRule: - operationId: As_ApplicationsDnsRule_PUT - parameters: - dnsRuleId: $response.body#/dnsRuleId - description: "The `dnsRuleId` value returned in the response can be used as\ - \ the `dnsRuleId` parameter in `PUT /applications/{appInstanceId}/dns_rules/{dnsRuleId}`" - GetIndividualMeTrafficRule: - operationId: As_ApplicationsTrafficRule_GET - parameters: - trafficRuleId: $response.body#/trafficRuleId - description: "The `trafficRuleId` value returned in the response can be used\ - \ as the `trafficRuleId` parameter in `GET /applications/{appInstanceId}/traffic_rules/{trafficRuleId}`" - PutIndividualMeTrafficRule: - operationId: As_ApplicationsTrafficRule_PUT - parameters: - trafficRuleId: $response.body#/trafficRuleId - description: "The `trafficRuleId` value returned in the response can be used\ - \ as the `trafficRuleId` parameter in `PUT /applications/{appInstanceId}/traffic_rules/{trafficRuleId}`" - GetIndividualmecAppSuptApiSubscription: - operationId: As_ApplicationsSubscription_GET - parameters: - description: "regex = \\/mec_app_support\\/v1\\/applications\\/.*\\/subscriptions\\\ - /.*\\/(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an\ - \ attribute within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`" - DelIndividualmecAppSuptApiSubscription: - operationId: As_ApplicationsSubscription_DELETE - parameters: - description: "regex = \\/mec_app_support\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`" - GetIndividualmecAppSuptApiSubscriptionLinkList: - operationId: As_ApplicationsSubscription_GET - parameters: - description: "regex = \\/mec_app_support\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `GET /applications/{appInstanceId}/subscriptions/{subscriptionId}`" - DelIndividualmecAppSuptApiSubscriptionLinkList: - operationId: As_ApplicationsSubscription_DELETE - parameters: - description: "regex = \\/mec_app_support\\/v1\\/applications\\/.*\\/subscriptions\\\ - /(.*);subscriptionId = href.match(regex)[1];// where \"href\" is an attribute\ - \ within the subscription attribute within the _links attribute" - subscriptionId: TBC - description: "The `subscriptionId` value returned in the response can be used\ - \ as the `subscriptionId` parameter in `DELETE /applications/{appInstanceId}/subscriptions/{subscriptionId}`" - callbacks: - AppTerminationNotification: - '{$request.body#/callbackReference}': - post: - tags: - - callbacks - description: Represents the information that the MEP notifies the subscribed - application instance about the corresponding application instance termination/stop - operationId: As_AppTerminationNotification_POST - requestBody: - $ref: '#/components/requestBodies/AppTerminationNotification' - responses: - "200": - description: "Expected responses from callback consumer, if it accepts\ - \ the callback" diff --git a/go-packages/meep-app-support-client/api_mec_app_support.go b/go-packages/meep-app-support-client/api_mec_app_support.go index 913360c91..f5b1a46f8 100644 --- a/go-packages/meep-app-support-client/api_mec_app_support.go +++ b/go-packages/meep-app-support-client/api_mec_app_support.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -517,15 +517,15 @@ The GET method may be used to request information about all subscriptions for th * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param appInstanceId Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager. -@return SubscriptionLinkList +@return MecAppSuptApiSubscriptionLinkList */ -func (a *MecAppSupportApiService) ApplicationsSubscriptionsGET(ctx context.Context, appInstanceId string) (SubscriptionLinkList, *http.Response, error) { +func (a *MecAppSupportApiService) ApplicationsSubscriptionsGET(ctx context.Context, appInstanceId string) (MecAppSuptApiSubscriptionLinkList, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - localVarReturnValue SubscriptionLinkList + localVarReturnValue MecAppSuptApiSubscriptionLinkList ) // create path and map variables @@ -584,7 +584,7 @@ func (a *MecAppSupportApiService) ApplicationsSubscriptionsGET(ctx context.Conte } if localVarHttpResponse.StatusCode == 200 { - var v SubscriptionLinkList + var v MecAppSuptApiSubscriptionLinkList err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() diff --git a/go-packages/meep-app-support-client/api_unsupported.go b/go-packages/meep-app-support-client/api_unsupported.go index 95c7af816..695414b57 100644 --- a/go-packages/meep-app-support-client/api_unsupported.go +++ b/go-packages/meep-app-support-client/api_unsupported.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/client.go b/go-packages/meep-app-support-client/client.go index e444367a1..cd98b5bc4 100644 --- a/go-packages/meep-app-support-client/client.go +++ b/go-packages/meep-app-support-client/client.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -52,7 +52,7 @@ var ( xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)") ) -// APIClient manages communication with the AdvantEDGE MEC Application Support API API v2.1.1 +// APIClient manages communication with the AdvantEDGE MEC Application Support API API v2.2.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/go-packages/meep-app-support-client/configuration.go b/go-packages/meep-app-support-client/configuration.go index 9791af3d6..c8ee2dede 100644 --- a/go-packages/meep-app-support-client/configuration.go +++ b/go-packages/meep-app-support-client/configuration.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/docs/MecAppSupportApi.md b/go-packages/meep-app-support-client/docs/MecAppSupportApi.md index c7edb0205..f43c19df7 100644 --- a/go-packages/meep-app-support-client/docs/MecAppSupportApi.md +++ b/go-packages/meep-app-support-client/docs/MecAppSupportApi.md @@ -131,7 +131,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ApplicationsSubscriptionsGET** -> SubscriptionLinkList ApplicationsSubscriptionsGET(ctx, appInstanceId) +> MecAppSuptApiSubscriptionLinkList ApplicationsSubscriptionsGET(ctx, appInstanceId) The GET method may be used to request information about all subscriptions for this requestor. Upon success, the response contains entity body with all the subscriptions for the requestor. @@ -145,7 +145,7 @@ Name | Type | Description | Notes ### Return type -[**SubscriptionLinkList**](SubscriptionLinkList.md) +[**MecAppSuptApiSubscriptionLinkList**](MecAppSuptApiSubscriptionLinkList.md) ### Authorization diff --git a/go-packages/meep-app-support-client/docs/SubscriptionLinkList.md b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkList.md similarity index 62% rename from go-packages/meep-app-support-client/docs/SubscriptionLinkList.md rename to go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkList.md index 08af3c67e..7a6e7e9a1 100644 --- a/go-packages/meep-app-support-client/docs/SubscriptionLinkList.md +++ b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkList.md @@ -1,9 +1,9 @@ -# SubscriptionLinkList +# MecAppSuptApiSubscriptionLinkList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Links** | [***SubscriptionLinkListLinks**](SubscriptionLinkList__links.md) | | [default to null] +**Links** | [***MecAppSuptApiSubscriptionLinkListLinks**](MecAppSuptApiSubscriptionLinkList__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-app-support-client/docs/SubscriptionLinkListLinks.md b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinks.md similarity index 56% rename from go-packages/meep-app-support-client/docs/SubscriptionLinkListLinks.md rename to go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinks.md index 3759ba13d..0123228bd 100644 --- a/go-packages/meep-app-support-client/docs/SubscriptionLinkListLinks.md +++ b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinks.md @@ -1,10 +1,10 @@ -# SubscriptionLinkListLinks +# MecAppSuptApiSubscriptionLinkListLinks ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Self** | [***LinkType**](LinkType.md) | | [default to null] -**Subscriptions** | [**[]SubscriptionLinkListLinksSubscriptions**](SubscriptionLinkList__links_subscriptions.md) | The MEC application instance's subscriptions | [optional] [default to null] +**Subscriptions** | [**[]MecAppSuptApiSubscriptionLinkListLinksSubscriptions**](MecAppSuptApiSubscriptionLinkList__links_subscriptions.md) | The MEC application instance's subscriptions | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/go-packages/meep-app-support-client/docs/SubscriptionLinkListLinksSubscriptions.md b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinksSubscriptions.md similarity index 91% rename from go-packages/meep-app-support-client/docs/SubscriptionLinkListLinksSubscriptions.md rename to go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinksSubscriptions.md index b0d35ceca..af2f347f9 100644 --- a/go-packages/meep-app-support-client/docs/SubscriptionLinkListLinksSubscriptions.md +++ b/go-packages/meep-app-support-client/docs/MecAppSuptApiSubscriptionLinkListLinksSubscriptions.md @@ -1,4 +1,4 @@ -# SubscriptionLinkListLinksSubscriptions +# MecAppSuptApiSubscriptionLinkListLinksSubscriptions ## Properties Name | Type | Description | Notes diff --git a/go-packages/meep-app-support-client/go.mod b/go-packages/meep-app-support-client/go.mod index 36743d29f..3fdc5b63f 100644 --- a/go-packages/meep-app-support-client/go.mod +++ b/go-packages/meep-app-support-client/go.mod @@ -3,7 +3,6 @@ module github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-app-support-client go 1.12 require ( - golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 - golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a + golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 // indirect + golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a ) - diff --git a/go-packages/meep-app-support-client/go.sum b/go-packages/meep-app-support-client/go.sum new file mode 100644 index 000000000..c0e394975 --- /dev/null +++ b/go-packages/meep-app-support-client/go.sum @@ -0,0 +1,16 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA= +golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/go-packages/meep-app-support-client/model_app_ready_confirmation.go b/go-packages/meep-app-support-client/model_app_ready_confirmation.go index bd7a54e3f..4f1027e49 100644 --- a/go-packages/meep-app-support-client/model_app_ready_confirmation.go +++ b/go-packages/meep-app-support-client/model_app_ready_confirmation.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_app_termination_confirmation.go b/go-packages/meep-app-support-client/model_app_termination_confirmation.go index bb1c5572d..9997fd7cf 100644 --- a/go-packages/meep-app-support-client/model_app_termination_confirmation.go +++ b/go-packages/meep-app-support-client/model_app_termination_confirmation.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_app_termination_notification.go b/go-packages/meep-app-support-client/model_app_termination_notification.go index a41dfdefb..e39adc5cc 100644 --- a/go-packages/meep-app-support-client/model_app_termination_notification.go +++ b/go-packages/meep-app-support-client/model_app_termination_notification.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_app_termination_notification__links.go b/go-packages/meep-app-support-client/model_app_termination_notification__links.go index 9d0a9594e..65c5b0ba4 100644 --- a/go-packages/meep-app-support-client/model_app_termination_notification__links.go +++ b/go-packages/meep-app-support-client/model_app_termination_notification__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_app_termination_notification_subscription.go b/go-packages/meep-app-support-client/model_app_termination_notification_subscription.go index 8a48d00f9..22610dffa 100644 --- a/go-packages/meep-app-support-client/model_app_termination_notification_subscription.go +++ b/go-packages/meep-app-support-client/model_app_termination_notification_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_app_termination_notification_subscription__links.go b/go-packages/meep-app-support-client/model_app_termination_notification_subscription__links.go index a2225d1f1..9c76ae268 100644 --- a/go-packages/meep-app-support-client/model_app_termination_notification_subscription__links.go +++ b/go-packages/meep-app-support-client/model_app_termination_notification_subscription__links.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_current_time.go b/go-packages/meep-app-support-client/model_current_time.go index 299d3b491..163ed5eec 100644 --- a/go-packages/meep-app-support-client/model_current_time.go +++ b/go-packages/meep-app-support-client/model_current_time.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_destination_interface.go b/go-packages/meep-app-support-client/model_destination_interface.go index 91787a083..6c98f5efa 100644 --- a/go-packages/meep-app-support-client/model_destination_interface.go +++ b/go-packages/meep-app-support-client/model_destination_interface.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_dns_rule.go b/go-packages/meep-app-support-client/model_dns_rule.go index a9ffc534f..cfcb809fb 100644 --- a/go-packages/meep-app-support-client/model_dns_rule.go +++ b/go-packages/meep-app-support-client/model_dns_rule.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_link_type.go b/go-packages/meep-app-support-client/model_link_type.go index d76c998e6..8686c606f 100644 --- a/go-packages/meep-app-support-client/model_link_type.go +++ b/go-packages/meep-app-support-client/model_link_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_subscription_link_list.go b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list.go similarity index 85% rename from go-packages/meep-app-support-client/model_subscription_link_list.go rename to go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list.go index 0415bcdd5..cc4f643ec 100644 --- a/go-packages/meep-app-support-client/model_subscription_link_list.go +++ b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,6 +25,6 @@ package client // This type represents a list of links related to currently existing subscriptions for a MEC application instance. This information is returned when sending a request to receive current subscriptions. -type SubscriptionLinkList struct { - Links *SubscriptionLinkListLinks `json:"_links"` +type MecAppSuptApiSubscriptionLinkList struct { + Links *MecAppSuptApiSubscriptionLinkListLinks `json:"_links"` } diff --git a/go-packages/meep-app-support-client/model_subscription_link_list__links.go b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_links.go similarity index 82% rename from go-packages/meep-app-support-client/model_subscription_link_list__links.go rename to go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_links.go index 674a0d4a5..90589cc96 100644 --- a/go-packages/meep-app-support-client/model_subscription_link_list__links.go +++ b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_links.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,8 +25,8 @@ package client // Self-referring URI. -type SubscriptionLinkListLinks struct { +type MecAppSuptApiSubscriptionLinkListLinks struct { Self *LinkType `json:"self"` // The MEC application instance's subscriptions - Subscriptions []SubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"` + Subscriptions []MecAppSuptApiSubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"` } diff --git a/go-packages/meep-app-support-client/model_subscription_link_list__links_subscriptions.go b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_subscription.go similarity index 88% rename from go-packages/meep-app-support-client/model_subscription_link_list__links_subscriptions.go rename to go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_subscription.go index 08a903492..e77fe4113 100644 --- a/go-packages/meep-app-support-client/model_subscription_link_list__links_subscriptions.go +++ b/go-packages/meep-app-support-client/model_mec_app_supt_api_subscription_link_list_subscription.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ @@ -25,7 +25,7 @@ package client // A link to a subscription. -type SubscriptionLinkListLinksSubscriptions struct { +type MecAppSuptApiSubscriptionLinkListLinksSubscriptions struct { // URI referring to a resource Href string `json:"href"` // Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different Mp1 event subscription data type. diff --git a/go-packages/meep-app-support-client/model_operation_action_type.go b/go-packages/meep-app-support-client/model_operation_action_type.go index 6425ca714..1c8a81714 100644 --- a/go-packages/meep-app-support-client/model_operation_action_type.go +++ b/go-packages/meep-app-support-client/model_operation_action_type.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_problem_details.go b/go-packages/meep-app-support-client/model_problem_details.go index eb4dfd62d..b793089d9 100644 --- a/go-packages/meep-app-support-client/model_problem_details.go +++ b/go-packages/meep-app-support-client/model_problem_details.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_timing_caps.go b/go-packages/meep-app-support-client/model_timing_caps.go index 3e7f4b4f6..d31db748d 100644 --- a/go-packages/meep-app-support-client/model_timing_caps.go +++ b/go-packages/meep-app-support-client/model_timing_caps.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_timing_caps_ntp_servers.go b/go-packages/meep-app-support-client/model_timing_caps_ntp_servers.go index ffcff1677..ba793aad2 100644 --- a/go-packages/meep-app-support-client/model_timing_caps_ntp_servers.go +++ b/go-packages/meep-app-support-client/model_timing_caps_ntp_servers.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_timing_caps_ptp_masters.go b/go-packages/meep-app-support-client/model_timing_caps_ptp_masters.go index 09c09cf41..4da44e789 100644 --- a/go-packages/meep-app-support-client/model_timing_caps_ptp_masters.go +++ b/go-packages/meep-app-support-client/model_timing_caps_ptp_masters.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_timing_caps_time_stamp.go b/go-packages/meep-app-support-client/model_timing_caps_time_stamp.go index 0deb482cf..e5784882e 100644 --- a/go-packages/meep-app-support-client/model_timing_caps_time_stamp.go +++ b/go-packages/meep-app-support-client/model_timing_caps_time_stamp.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_traffic_filter.go b/go-packages/meep-app-support-client/model_traffic_filter.go index fb75939f3..c28a04c2c 100644 --- a/go-packages/meep-app-support-client/model_traffic_filter.go +++ b/go-packages/meep-app-support-client/model_traffic_filter.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_traffic_rule.go b/go-packages/meep-app-support-client/model_traffic_rule.go index 3236a00e4..64843e2b8 100644 --- a/go-packages/meep-app-support-client/model_traffic_rule.go +++ b/go-packages/meep-app-support-client/model_traffic_rule.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/model_tunnel_info.go b/go-packages/meep-app-support-client/model_tunnel_info.go index b463de0d5..826b1fb69 100644 --- a/go-packages/meep-app-support-client/model_tunnel_info.go +++ b/go-packages/meep-app-support-client/model_tunnel_info.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-packages/meep-app-support-client/response.go b/go-packages/meep-app-support-client/response.go index e8787ca6f..1c81ce16d 100644 --- a/go-packages/meep-app-support-client/response.go +++ b/go-packages/meep-app-support-client/response.go @@ -15,9 +15,9 @@ * * AdvantEDGE MEC Application Support API * - * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.01.01_60/gs_MEC011v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). + * MEC Application Support Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC011 Application Enablement API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/02.02.01_60/gs_MEC011v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-app-enablement](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-app-enablement/server/app-support)

**Type & Usage**
Edge Service used by edge applications that want to get information about applications in the network

**Note**
AdvantEDGE supports a selected subset of Application Support API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ -- GitLab From cf9269f70fc5cc9c8516a6ada67d74b2535465b1 Mon Sep 17 00:00:00 2001 From: garciay Date: Fri, 10 Jun 2022 15:55:30 +0200 Subject: [PATCH 176/183] Build demo3 appliction --- examples/demo3/src/backend/api/swagger.yaml | 61 +++++++++++-------- .../demo3/src/backend/server/demo3_service.go | 25 +++++--- .../src/backend/server/model_associate_id.go | 4 +- .../server/model_communication_interface.go | 2 +- ...el_communication_interface_ip_addresses.go | 15 +++++ .../model_mobility_procedure_notification.go | 14 ++--- ..._mobility_procedure_notification__links.go | 15 +++++ ..._procedure_notification_target_app_info.go | 3 +- .../backend/server/model_mobility_status.go | 20 ++++++ .../demo3/src/backend/server/model_type.go | 21 +++++++ go-apps/meep-ams/server/ams_test.go | 2 +- go-packages/meep-ams-client/client.go | 13 +--- go-packages/meep-ams-client/go.sum | 26 ++++++++ .../model_InlineSubscription.go | 43 +++++++++++++ ...el_adjacent_app_info_subscription_links.go | 15 +++++ .../model_app_mobility_service_level.go | 20 ++++++ .../model_context_transfer_state.go | 19 ++++++ ..._mobility_procedure_notification__links.go | 15 +++++ ...l_mobility_procedure_subscription_links.go | 14 +++++ .../meep-ams-client/model_mobility_status.go | 20 ++++++ .../model_subscription_link_list_links.go | 17 ++++++ .../model_subscription_type.go | 21 +++++++ go-packages/meep-ams-client/model_type.go | 21 +++++++ .../model_websock_notif_config.go | 17 ++++++ 24 files changed, 386 insertions(+), 57 deletions(-) create mode 100644 examples/demo3/src/backend/server/model_communication_interface_ip_addresses.go create mode 100644 examples/demo3/src/backend/server/model_mobility_procedure_notification__links.go create mode 100644 examples/demo3/src/backend/server/model_mobility_status.go create mode 100644 examples/demo3/src/backend/server/model_type.go create mode 100644 go-packages/meep-ams-client/go.sum create mode 100644 go-packages/meep-ams-client/model_InlineSubscription.go create mode 100644 go-packages/meep-ams-client/model_adjacent_app_info_subscription_links.go create mode 100644 go-packages/meep-ams-client/model_app_mobility_service_level.go create mode 100644 go-packages/meep-ams-client/model_context_transfer_state.go create mode 100644 go-packages/meep-ams-client/model_mobility_procedure_notification__links.go create mode 100644 go-packages/meep-ams-client/model_mobility_procedure_subscription_links.go create mode 100644 go-packages/meep-ams-client/model_mobility_status.go create mode 100644 go-packages/meep-ams-client/model_subscription_link_list_links.go create mode 100644 go-packages/meep-ams-client/model_subscription_type.go create mode 100644 go-packages/meep-ams-client/model_type.go create mode 100644 go-packages/meep-ams-client/model_websock_notif_config.go diff --git a/examples/demo3/src/backend/api/swagger.yaml b/examples/demo3/src/backend/api/swagger.yaml index 3b1c7817c..2bc77cdaf 100644 --- a/examples/demo3/src/backend/api/swagger.yaml +++ b/examples/demo3/src/backend/api/swagger.yaml @@ -489,36 +489,29 @@ components: href: http://example.com/aeiou callbackReference: http://example.com/aeiou MobilityProcedureNotification: + title: MobilityProcedureNotification required: + - associateId + - links - mobilityStatus - notificationType - type: object properties: + notificationType: + type: string + description: Shall be set to "MobilityProcedureNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' associateId: - minItems: 0 type: array - description: 0 to N identifiers to associate the information for specific - UE(s) and flow(s). + description: 1 to N identifiers to associate the information for specific items: $ref: '#/components/schemas/AssociateId' - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId mobilityStatus: - type: integer - description: "Indicate the status of the UE mobility. Values are defined\ - \ as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED.\ - \ 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved." - x-etsi-mec-cardinality: "1" - notificationType: - type: string - description: Shall be set to \"MobilityProcedureNotification\". - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String + $ref: '#/components/schemas/MobilityStatus' targetAppInfo: $ref: '#/components/schemas/MobilityProcedureNotification_targetAppInfo' - timeStamp: - $ref: '#/components/schemas/TimeStamp' - x-etsi-ref: 7.4.2 + _links: + $ref: '#/components/schemas/LinkType' TimeStamp: required: - nanoSeconds @@ -552,24 +545,42 @@ components: $ref: '#/components/schemas/CommunicationInterface' description: Identifiers to associate the information of target application instance. + MobilityProcedureNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Object containing hyperlinks related to the resource. CommunicationInterface: properties: ipAddresses: type: string AssociateId: + title: AssociateId + required: + - type + - value + type: object properties: type: - type: integer - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/Type' value: type: string description: Value for the identifier. - x-etsi-mec-cardinality: "1" - x-etsi-mec-origin-type: String example: - type: 0 + type: UE_IPv4_ADDRESS value: value + Type: + title: Type + type: string + description: Numeric value (0-255) corresponding to specified type of identifier + enum: + - UE_IPv4_ADDRESS + - UE_IPV6_ADDRESS + - NATED_IP_ADDRESS + - GTP_TEID AppTerminationSubscription__links: required: - self diff --git a/examples/demo3/src/backend/server/demo3_service.go b/examples/demo3/src/backend/server/demo3_service.go index b8abf5f61..466abd9a2 100644 --- a/examples/demo3/src/backend/server/demo3_service.go +++ b/examples/demo3/src/backend/server/demo3_service.go @@ -640,6 +640,13 @@ func demo3DeleteAmsDevice(w http.ResponseWriter, r *http.Request) { http.Error(w, "Failed to retrieve ams subscription", http.StatusInternalServerError) return } + if amsSubscriptionResp.SubscriptionType == "AdjacentAppInfoSubscription" { + statusCode = "400" + appActivityLogs = append(appActivityLogs, "Remove "+device+" to AMS resource ["+statusCode+"]") + log.Error("AdjacentAppInfoSubscription not suported", err.Error()) + http.Error(w, "AdjacentAppInfoSubscription not suported", http.StatusBadRequest) + return + } for i, v := range amsSubscriptionResp.FilterCriteria.AssociateId { if v.Value == device { @@ -829,7 +836,7 @@ func amsNotificationCallback(w http.ResponseWriter, r *http.Request) { } // Update AMS Resource - _, amsUpdateError := amsUpdateDevice(amsResourceId, amsResource, amsNotification.AssociateId[0].Value, 1) + _, amsUpdateError := amsUpdateDevice(amsResourceId, amsResource, amsNotification.AssociateId[0].Value, ams.USER_CONTEXT_TRANSFER_COMPLETED) if amsUpdateError != nil { w.WriteHeader(http.StatusInternalServerError) fmt.Fprintf(w, "Could not update ams") @@ -941,8 +948,9 @@ func updateAmsSubscription(subscriptionId string, device string, inlineSubscript return inLineSubscriptionResp, nil } + var t_ ams.ModelType = ams.UE_I_PV4_ADDRESS associateId := ams.AssociateId{ - Type_: 1, + Type_: &t_, Value: device, } inlineSubscription.FilterCriteria.AssociateId = append(inlineSubscription.FilterCriteria.AssociateId, associateId) @@ -1013,12 +1021,14 @@ func amsSendService(appInstanceId string, device string) (string, error) { // Return ams id for update ams func amsAddDevice(amsId string, registerationBody ams.RegistrationInfo, device string) (ams.RegistrationInfo, error) { var associateId ams.AssociateId - associateId.Type_ = 1 + var t_ ams.ModelType = ams.UE_I_PV4_ADDRESS + associateId.Type_ = &t_ associateId.Value = device + var appMobilityServiceLevel ams.AppMobilityServiceLevel = "WITHOUT_CONFIRMATION" registerationBody.DeviceInformation = append(registerationBody.DeviceInformation, ams.RegistrationInfoDeviceInformation{ AssociateId: &associateId, - AppMobilityServiceLevel: 3, + AppMobilityServiceLevel: &appMobilityServiceLevel, }) registerationInfo, _, err := amsClient.AmsiApi.AppMobilityServiceByIdPUT(context.TODO(), registerationBody, amsId) @@ -1032,10 +1042,10 @@ func amsAddDevice(amsId string, registerationBody ams.RegistrationInfo, device s // Update context state in ams resource to 0 or 1 // Return ams id for update ams -func amsUpdateDevice(amsId string, registerationBody ams.RegistrationInfo, device string, contextState int32) (ams.RegistrationInfo, error) { +func amsUpdateDevice(amsId string, registerationBody ams.RegistrationInfo, device string, contextState ams.ContextTransferState) (ams.RegistrationInfo, error) { for _, v := range registerationBody.DeviceInformation { if v.AssociateId.Value == device { - v.ContextTransferState = contextState + v.ContextTransferState = &contextState } } @@ -1080,7 +1090,8 @@ func amsSendSubscription(appInstanceId string, device string, callBackUrl string // Default tracking ue set to 10.100.0.3 var associateId ams.AssociateId - associateId.Type_ = 1 + var t_ ams.ModelType = ams.UE_I_PV4_ADDRESS + associateId.Type_ = &t_ associateId.Value = device // Filter criteria diff --git a/examples/demo3/src/backend/server/model_associate_id.go b/examples/demo3/src/backend/server/model_associate_id.go index 611ce79fc..f7856778e 100644 --- a/examples/demo3/src/backend/server/model_associate_id.go +++ b/examples/demo3/src/backend/server/model_associate_id.go @@ -23,7 +23,7 @@ package server type AssociateId struct { - Type_ int32 `json:"type,omitempty"` + Type_ *ModelType `json:"type"` // Value for the identifier. - Value string `json:"value,omitempty"` + Value string `json:"value"` } diff --git a/examples/demo3/src/backend/server/model_communication_interface.go b/examples/demo3/src/backend/server/model_communication_interface.go index d85fd6f03..d883c7af6 100644 --- a/examples/demo3/src/backend/server/model_communication_interface.go +++ b/examples/demo3/src/backend/server/model_communication_interface.go @@ -23,5 +23,5 @@ package server type CommunicationInterface struct { - IpAddresses string `json:"ipAddresses,omitempty"` + IpAddresses []CommunicationInterfaceIpAddresses `json:"ipAddresses,omitempty"` } diff --git a/examples/demo3/src/backend/server/model_communication_interface_ip_addresses.go b/examples/demo3/src/backend/server/model_communication_interface_ip_addresses.go new file mode 100644 index 000000000..39527aa80 --- /dev/null +++ b/examples/demo3/src/backend/server/model_communication_interface_ip_addresses.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +type CommunicationInterfaceIpAddresses struct { + Host string `json:"host"` + Port int32 `json:"port"` +} diff --git a/examples/demo3/src/backend/server/model_mobility_procedure_notification.go b/examples/demo3/src/backend/server/model_mobility_procedure_notification.go index 663bc0096..08bb551b1 100644 --- a/examples/demo3/src/backend/server/model_mobility_procedure_notification.go +++ b/examples/demo3/src/backend/server/model_mobility_procedure_notification.go @@ -23,14 +23,12 @@ package server type MobilityProcedureNotification struct { - // 0 to N identifiers to associate the information for specific UE(s) and flow(s). - AssociateId []AssociateId `json:"associateId,omitempty"` - // Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. - MobilityStatus int32 `json:"mobilityStatus"` - // Shall be set to \\\"MobilityProcedureNotification\\\". + // Shall be set to \"MobilityProcedureNotification\". NotificationType string `json:"notificationType"` - - TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + // 1 to N identifiers to associate the information for specific + AssociateId []AssociateId `json:"associateId"` + MobilityStatus *MobilityStatus `json:"mobilityStatus"` + TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links,omitempty"` } diff --git a/examples/demo3/src/backend/server/model_mobility_procedure_notification__links.go b/examples/demo3/src/backend/server/model_mobility_procedure_notification__links.go new file mode 100644 index 000000000..d0d9b2e6b --- /dev/null +++ b/examples/demo3/src/backend/server/model_mobility_procedure_notification__links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// Object containing hyperlinks related to the resource. +type MobilityProcedureNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go b/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go index 1ea4278cc..1ffe92ebd 100644 --- a/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go +++ b/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go @@ -25,7 +25,6 @@ package server // Identifiers to associate the information of target application instance. type MobilityProcedureNotificationTargetAppInfo struct { // Identifiers of the target application instance. - AppInstanceId string `json:"appInstanceId,omitempty"` - + AppInstanceId string `json:"appInstanceId"` CommInterface *CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/examples/demo3/src/backend/server/model_mobility_status.go b/examples/demo3/src/backend/server/model_mobility_status.go new file mode 100644 index 000000000..ff2935771 --- /dev/null +++ b/examples/demo3/src/backend/server/model_mobility_status.go @@ -0,0 +1,20 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// MobilityStatus : Indicate the status of the UE mobility +type MobilityStatus string + +// List of MobilityStatus +const ( + TRIGGERED MobilityStatus = "INTERHOST_MOVEOUT_TRIGGERED" + COMPLETED MobilityStatus = "INTERHOST_MOVEOUT_COMPLETED" + FAILED MobilityStatus = "INTERHOST_MOVEOUT_FAILED" +) diff --git a/examples/demo3/src/backend/server/model_type.go b/examples/demo3/src/backend/server/model_type.go new file mode 100644 index 000000000..efa8fbf00 --- /dev/null +++ b/examples/demo3/src/backend/server/model_type.go @@ -0,0 +1,21 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package server + +// ModelType : Numeric value (0-255) corresponding to specified type of identifier +type ModelType string // Stf 625: Change Type into ModelType + +// List of Type +const ( + UE_I_PV4_ADDRESS ModelType = "UE_IPv4_ADDRESS" + UE_IPV6_ADDRESS ModelType = "UE_IPV6_ADDRESS" + NATED_IP_ADDRESS ModelType = "NATED_IP_ADDRESS" + GTP_TEID ModelType = "GTP_TEID" +) diff --git a/go-apps/meep-ams/server/ams_test.go b/go-apps/meep-ams/server/ams_test.go index 38004ead1..fb6824e67 100644 --- a/go-apps/meep-ams/server/ams_test.go +++ b/go-apps/meep-ams/server/ams_test.go @@ -1744,7 +1744,7 @@ func TestAdjGet(t *testing.T) { // ****************************** // * request body section - // ****************************** + // **************1.1.1.**************** // ****************************** // * request queries section diff --git a/go-packages/meep-ams-client/client.go b/go-packages/meep-ams-client/client.go index 71d229293..33199651f 100644 --- a/go-packages/meep-ams-client/client.go +++ b/go-packages/meep-ams-client/client.go @@ -60,13 +60,7 @@ type APIClient struct { // API Services - AppMobSerApi *AppMobSerApiService - - LocationApi *LocationApiService - - NotificationsApi *NotificationsApiService - - SubscriptionsApi *SubscriptionsApiService + AmsiApi *AmsiApiService UnsupportedApi *UnsupportedApiService } @@ -87,10 +81,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.common.client = c // API Services - c.AppMobSerApi = (*AppMobSerApiService)(&c.common) - c.LocationApi = (*LocationApiService)(&c.common) - c.NotificationsApi = (*NotificationsApiService)(&c.common) - c.SubscriptionsApi = (*SubscriptionsApiService)(&c.common) + c.AmsiApi = (*AmsiApiService)(&c.common) c.UnsupportedApi = (*UnsupportedApiService)(&c.common) return c diff --git a/go-packages/meep-ams-client/go.sum b/go-packages/meep-ams-client/go.sum new file mode 100644 index 000000000..ff21fb236 --- /dev/null +++ b/go-packages/meep-ams-client/go.sum @@ -0,0 +1,26 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0-20211012135439-29644864b026 h1:YFADWZghbg8ASHxm9Z+BN+oXEQodK+DMCBBojZUlDQ8= +github.com/InterDigitalInc/AdvantEDGE/go-packages/meep-logger v0.0.0-20211012135439-29644864b026/go.mod h1:Xy2Z6nc9m0DRQRj9g0+/4E6OkDlCkFYySa65JoQ2d8g= +github.com/antihax/optional v1.0.0 h1:xK2lYat7ZLaVVcIuj82J8kIro4V6kDe0AUDFboUCwcg= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/go-packages/meep-ams-client/model_InlineSubscription.go b/go-packages/meep-ams-client/model_InlineSubscription.go new file mode 100644 index 000000000..55fef7d32 --- /dev/null +++ b/go-packages/meep-ams-client/model_InlineSubscription.go @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020 InterDigital Communications, Inc + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). + * + * API version: 2.2.1 + * Contact: AdvantEDGE@InterDigital.com + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + + package client + + type InlineSubscription struct { + /* Discriminator */ + SubscriptionType string `json:"subscriptionType"` + + /* Common */ + Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` + CallbackReference string `json:"callbackReference"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + + /* MobilityProcedureSubscription */ + FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` + + /* AdjacentAppInfoSubscription */ + // NOTE: to avoid json parameter conflict, use superset filterCriteria from MobilityProcedure + // FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` + } + \ No newline at end of file diff --git a/go-packages/meep-ams-client/model_adjacent_app_info_subscription_links.go b/go-packages/meep-ams-client/model_adjacent_app_info_subscription_links.go new file mode 100644 index 000000000..e6d36ebbd --- /dev/null +++ b/go-packages/meep-ams-client/model_adjacent_app_info_subscription_links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. +type AdjacentAppInfoSubscriptionLinks struct { + Self *LinkType `json:"self"` +} diff --git a/go-packages/meep-ams-client/model_app_mobility_service_level.go b/go-packages/meep-ams-client/model_app_mobility_service_level.go new file mode 100644 index 000000000..56ee16a3f --- /dev/null +++ b/go-packages/meep-ams-client/model_app_mobility_service_level.go @@ -0,0 +1,20 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// AppMobilityServiceLevel : This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host. +type AppMobilityServiceLevel string + +// List of AppMobilityServiceLevel +const ( + NOT_ALLOWED AppMobilityServiceLevel = "APP_MOBILITY_NOT_ALLOWED" + WITH_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITH_CONFIRMATION" + WITHOUT_CONFIRMATION AppMobilityServiceLevel = "APP_MOBILITY_WITHOUT_CONFIRMATION" +) diff --git a/go-packages/meep-ams-client/model_context_transfer_state.go b/go-packages/meep-ams-client/model_context_transfer_state.go new file mode 100644 index 000000000..9efdec319 --- /dev/null +++ b/go-packages/meep-ams-client/model_context_transfer_state.go @@ -0,0 +1,19 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// ContextTransferState : If present, it represents the state of transferring the user context to another application instance. +type ContextTransferState string // STF 625: Change contextTransferState into ContextTransferState + +// List of contextTransferState +const ( + NOT_TRANSFERRED ContextTransferState = "NOT_TRANSFERRED" + USER_CONTEXT_TRANSFER_COMPLETED ContextTransferState = "USER_CONTEXT_TRANSFER_COMPLETED" +) diff --git a/go-packages/meep-ams-client/model_mobility_procedure_notification__links.go b/go-packages/meep-ams-client/model_mobility_procedure_notification__links.go new file mode 100644 index 000000000..d91a0aef3 --- /dev/null +++ b/go-packages/meep-ams-client/model_mobility_procedure_notification__links.go @@ -0,0 +1,15 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// Object containing hyperlinks related to the resource. +type MobilityProcedureNotificationLinks struct { + Subscription *LinkType `json:"subscription"` +} diff --git a/go-packages/meep-ams-client/model_mobility_procedure_subscription_links.go b/go-packages/meep-ams-client/model_mobility_procedure_subscription_links.go new file mode 100644 index 000000000..6ae2e34e5 --- /dev/null +++ b/go-packages/meep-ams-client/model_mobility_procedure_subscription_links.go @@ -0,0 +1,14 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type MobilityProcedureSubscriptionLinks struct { + Self *LinkType `json:"self"` +} diff --git a/go-packages/meep-ams-client/model_mobility_status.go b/go-packages/meep-ams-client/model_mobility_status.go new file mode 100644 index 000000000..a2dab5bb2 --- /dev/null +++ b/go-packages/meep-ams-client/model_mobility_status.go @@ -0,0 +1,20 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// MobilityStatus : Indicate the status of the UE mobility +type MobilityStatus string + +// List of MobilityStatus +const ( + TRIGGERED MobilityStatus = "INTERHOST_MOVEOUT_TRIGGERED" + COMPLETED MobilityStatus = "INTERHOST_MOVEOUT_COMPLETED" + FAILED MobilityStatus = "INTERHOST_MOVEOUT_FAILED" +) diff --git a/go-packages/meep-ams-client/model_subscription_link_list_links.go b/go-packages/meep-ams-client/model_subscription_link_list_links.go new file mode 100644 index 000000000..4a80c93b0 --- /dev/null +++ b/go-packages/meep-ams-client/model_subscription_link_list_links.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// List of hyperlinks related to the resource. +type SubscriptionLinkListLinks struct { + Self *LinkType `json:"self"` + // The service consumer’s subscriptions. + Subscription []SubscriptionLinkListSubscription `json:"subscription,omitempty"` +} diff --git a/go-packages/meep-ams-client/model_subscription_type.go b/go-packages/meep-ams-client/model_subscription_type.go new file mode 100644 index 000000000..f6f2c1715 --- /dev/null +++ b/go-packages/meep-ams-client/model_subscription_type.go @@ -0,0 +1,21 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// SubscriptionType : Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. +type SubscriptionType string // STF 625: Change subscriptionType into SubscriptionType +// STF 625: Change int32 into string + +// List of subscriptionType +const ( // STF 625: Rename const names + SubscriptionType_RESERVED SubscriptionType = "0" + SubscriptionType_MOBILITY_PROCEDURE_ SubscriptionType = "1" + SubscriptionType_ADJACENT_APPINFO SubscriptionType = "2" +) diff --git a/go-packages/meep-ams-client/model_type.go b/go-packages/meep-ams-client/model_type.go new file mode 100644 index 000000000..bea934b7c --- /dev/null +++ b/go-packages/meep-ams-client/model_type.go @@ -0,0 +1,21 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +// ModelType : Numeric value (0-255) corresponding to specified type of identifier +type ModelType string // Stf 625: Change Type into ModelType + +// List of Type +const ( + UE_I_PV4_ADDRESS ModelType = "UE_IPv4_ADDRESS" + UE_IPV6_ADDRESS ModelType = "UE_IPV6_ADDRESS" + NATED_IP_ADDRESS ModelType = "NATED_IP_ADDRESS" + GTP_TEID ModelType = "GTP_TEID" +) diff --git a/go-packages/meep-ams-client/model_websock_notif_config.go b/go-packages/meep-ams-client/model_websock_notif_config.go new file mode 100644 index 000000000..eb5b97af8 --- /dev/null +++ b/go-packages/meep-ams-client/model_websock_notif_config.go @@ -0,0 +1,17 @@ +/* + * ETSI GS MEC 021 Application Mobility Service API + * + * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * + * API version: 2.2.1 + * Contact: cti_support@etsi.org + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package client + +type WebsockNotifConfig struct { + // Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. + WebsocketUri string `json:"websocketUri,omitempty"` + // Set to true by the service consumer to indicate that Websocket delivery is requested. + RequestWebsocketUri bool `json:"requestWebsocketUri,omitempty"` +} -- GitLab From 69dc542da9bba34553e1125859115a288195694b Mon Sep 17 00:00:00 2001 From: garciay Date: Sun, 12 Jun 2022 08:04:37 +0200 Subject: [PATCH 177/183] Bug fixed in demo3 after updating MEC-021 to v2.2.1 --- .../demo3/src/backend/server/demo3_service.go | 4 +++ go-packages/meep-ams-client/api_amsi.go | 16 +++-------- .../model_InlineSubscription.go | 27 ++++++++++--------- 3 files changed, 21 insertions(+), 26 deletions(-) diff --git a/examples/demo3/src/backend/server/demo3_service.go b/examples/demo3/src/backend/server/demo3_service.go index 466abd9a2..1a28b0974 100644 --- a/examples/demo3/src/backend/server/demo3_service.go +++ b/examples/demo3/src/backend/server/demo3_service.go @@ -1104,6 +1104,10 @@ func amsSendSubscription(appInstanceId string, device string, callBackUrl string inlineSubscription := ams.ConvertMobilityProcedureSubscriptionToInlineSubscription(&mobilityProcedureSubscription) mobilitySubscription, resp, err := amsClient.AmsiApi.SubPOST(context.TODO(), *inlineSubscription) + if err != nil { + log.Error(err.Error()) + return "", err + } hRefLink := mobilitySubscription.Links.Self.Href // Find subscription id from response diff --git a/go-packages/meep-ams-client/api_amsi.go b/go-packages/meep-ams-client/api_amsi.go index 150ae57af..c32012027 100644 --- a/go-packages/meep-ams-client/api_amsi.go +++ b/go-packages/meep-ams-client/api_amsi.go @@ -1371,7 +1371,7 @@ func (a *AmsiApiService) SubGET(ctx context.Context, localVarOptionals *SubGETOp ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/" + localVarPath := a.client.cfg.BasePath + "/subscriptions" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1528,7 +1528,7 @@ func (a *AmsiApiService) SubPOST(ctx context.Context, body InlineSubscription) ( ) // create path and map variables - localVarPath := a.client.cfg.BasePath + "/subscriptions/" + localVarPath := a.client.cfg.BasePath + "/subscriptions" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1560,6 +1560,7 @@ func (a *AmsiApiService) SubPOST(ctx context.Context, body InlineSubscription) ( localVarHttpResponse, err := a.client.callAPI(r) if err != nil || localVarHttpResponse == nil { + fmt.Println("SubPOST: In error: ", err.Error()) return localVarReturnValue, localVarHttpResponse, err } @@ -1583,17 +1584,6 @@ func (a *AmsiApiService) SubPOST(ctx context.Context, body InlineSubscription) ( error: localVarHttpResponse.Status, } - if localVarHttpResponse.StatusCode == 201 { - var v InlineSubscription - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) diff --git a/go-packages/meep-ams-client/model_InlineSubscription.go b/go-packages/meep-ams-client/model_InlineSubscription.go index 55fef7d32..3bd835649 100644 --- a/go-packages/meep-ams-client/model_InlineSubscription.go +++ b/go-packages/meep-ams-client/model_InlineSubscription.go @@ -25,19 +25,20 @@ package client type InlineSubscription struct { - /* Discriminator */ - SubscriptionType string `json:"subscriptionType"` + /* Discriminator */ + SubscriptionType string `json:"subscriptionType"` - /* Common */ - Links *AdjacentAppInfoSubscriptionLinks `json:"_links,omitempty"` - CallbackReference string `json:"callbackReference"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + /* Common */ + Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` + CallbackReference string `json:"callbackReference"` + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - /* MobilityProcedureSubscription */ - FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` + /* MobilityProcedureSubscription */ + FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` - /* AdjacentAppInfoSubscription */ - // NOTE: to avoid json parameter conflict, use superset filterCriteria from MobilityProcedure - // FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` - } - \ No newline at end of file + /* AdjacentAppInfoSubscription */ + // NOTE: to avoid json parameter conflict, use superset filterCriteria from MobilityProcedure + // FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` +} -- GitLab From b26fbc5bae6724059be4d3f3d589136bb1653e76 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 13 Jun 2022 08:23:11 +0200 Subject: [PATCH 178/183] Bug fixed in demo3 --- examples/demo3/src/backend/server/demo3_service.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/demo3/src/backend/server/demo3_service.go b/examples/demo3/src/backend/server/demo3_service.go index 1a28b0974..38af3ecc0 100644 --- a/examples/demo3/src/backend/server/demo3_service.go +++ b/examples/demo3/src/backend/server/demo3_service.go @@ -1025,10 +1025,12 @@ func amsAddDevice(amsId string, registerationBody ams.RegistrationInfo, device s associateId.Type_ = &t_ associateId.Value = device - var appMobilityServiceLevel ams.AppMobilityServiceLevel = "WITHOUT_CONFIRMATION" + var appMobilityServiceLevel ams.AppMobilityServiceLevel = ams.WITHOUT_CONFIRMATION + var contextTransferState ams.ContextTransferState = ams.NOT_TRANSFERRED registerationBody.DeviceInformation = append(registerationBody.DeviceInformation, ams.RegistrationInfoDeviceInformation{ AssociateId: &associateId, AppMobilityServiceLevel: &appMobilityServiceLevel, + ContextTransferState: &contextTransferState, }) registerationInfo, _, err := amsClient.AmsiApi.AppMobilityServiceByIdPUT(context.TODO(), registerationBody, amsId) -- GitLab From 0ab3c9084cec3b6b73e64b54d8a9585c0f4dd4ec Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 13 Jun 2022 12:04:35 +0500 Subject: [PATCH 179/183] update links and license information for AMS --- go-apps/meep-ams/server/README.md | 6 +++--- go-apps/meep-ams/server/api_amsi.go | 4 ++-- go-apps/meep-ams/server/api_unsupported.go | 4 ++-- go-apps/meep-ams/server/logger.go | 4 ++-- .../model_adjacent_app_info_notification.go | 20 ++++++++++++++++--- ...app_info_notification_adjacent_app_info.go | 20 ++++++++++++++++--- .../model_adjacent_app_info_subscription.go | 20 ++++++++++++++++--- ...t_app_info_subscription_filter_criteria.go | 20 ++++++++++++++++--- ...el_adjacent_app_info_subscription_links.go | 20 ++++++++++++++++--- .../model_adjacent_app_instance_info.go | 20 ++++++++++++++++--- .../model_app_mobility_service_level.go | 20 ++++++++++++++++--- .../model_app_termination_notification.go | 20 ++++++++++++++++--- ...del_app_termination_notification__links.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_associate_id.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_body.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_body_1.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_body_2.go | 20 ++++++++++++++++--- .../server/model_communication_interface.go | 20 ++++++++++++++++--- ...el_communication_interface_ip_addresses.go | 20 ++++++++++++++++--- .../server/model_context_transfer_state.go | 20 ++++++++++++++++--- .../server/model_expiry_notification.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_link_type.go | 20 ++++++++++++++++--- .../server/model_mec_host_information.go | 20 ++++++++++++++++--- .../model_mobility_procedure_notification.go | 20 ++++++++++++++++--- ..._mobility_procedure_notification__links.go | 20 ++++++++++++++++--- ..._procedure_notification_target_app_info.go | 20 ++++++++++++++++--- .../model_mobility_procedure_subscription.go | 20 ++++++++++++++++--- ..._procedure_subscription_filter_criteria.go | 20 ++++++++++++++++--- ...l_mobility_procedure_subscription_links.go | 20 ++++++++++++++++--- .../meep-ams/server/model_mobility_status.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_one_ofbody.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_one_ofbody_1.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_one_ofbody_2.go | 20 ++++++++++++++++--- .../server/model_operation_action_type.go | 20 ++++++++++++++++--- .../meep-ams/server/model_problem_details.go | 20 ++++++++++++++++--- .../server/model_registration_info.go | 20 ++++++++++++++++--- ...el_registration_info_device_information.go | 20 ++++++++++++++++--- ...l_registration_info_service_consumer_id.go | 20 ++++++++++++++++--- .../server/model_subscription_link_list.go | 20 ++++++++++++++++--- .../model_subscription_link_list_links.go | 20 ++++++++++++++++--- ...del_subscription_link_list_subscription.go | 20 ++++++++++++++++--- .../server/model_subscription_type.go | 20 ++++++++++++++++--- .../server/model_test_notification.go | 20 ++++++++++++++++--- .../server/model_test_notification__links.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_time_stamp.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/model_type.go | 20 ++++++++++++++++--- .../server/model_websock_notif_config.go | 20 ++++++++++++++++--- go-apps/meep-ams/server/routers.go | 4 ++-- 48 files changed, 742 insertions(+), 140 deletions(-) diff --git a/go-apps/meep-ams/server/README.md b/go-apps/meep-ams/server/README.md index d1c55ba52..c05cf0e77 100644 --- a/go-apps/meep-ams/server/README.md +++ b/go-apps/meep-ams/server/README.md @@ -1,11 +1,11 @@ # Go API Server for server -ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. +Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). ## Overview This server was generated by the [swagger-codegen] -(https://github.com/swagger-api/swagger-codegen) project. -By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub. +(https://github.com/swagger-api/swagger-codegen) project. +By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub. - To see how to make this your own, look here: diff --git a/go-apps/meep-ams/server/api_amsi.go b/go-apps/meep-ams/server/api_amsi.go index 148ec8565..35228da0a 100644 --- a/go-apps/meep-ams/server/api_amsi.go +++ b/go-apps/meep-ams/server/api_amsi.go @@ -15,9 +15,9 @@ * * AdvantEDGE Application Mobility API * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-ams/server/api_unsupported.go b/go-apps/meep-ams/server/api_unsupported.go index b6493c517..8be893661 100644 --- a/go-apps/meep-ams/server/api_unsupported.go +++ b/go-apps/meep-ams/server/api_unsupported.go @@ -15,10 +15,10 @@ * * AdvantEDGE Application Mobility API * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/logger.go b/go-apps/meep-ams/server/logger.go index 1a22b28a5..c39963d9a 100644 --- a/go-apps/meep-ams/server/logger.go +++ b/go-apps/meep-ams/server/logger.go @@ -15,10 +15,10 @@ * * AdvantEDGE Application Mobility API * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go index 730ba9e2e..62ca70e0f 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go index e258a3d85..406cb2510 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go index 9289f8f6f..e1918f6c3 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go index 5cc506443..2c638e6c9 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go index 8ede0641b..6d7398f92 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go index a7bec688b..34afc383f 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_app_mobility_service_level.go b/go-apps/meep-ams/server/model_app_mobility_service_level.go index f81f0c74d..7b000cd46 100644 --- a/go-apps/meep-ams/server/model_app_mobility_service_level.go +++ b/go-apps/meep-ams/server/model_app_mobility_service_level.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_app_termination_notification.go b/go-apps/meep-ams/server/model_app_termination_notification.go index 3771cd533..81ee499ca 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification.go +++ b/go-apps/meep-ams/server/model_app_termination_notification.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_app_termination_notification__links.go b/go-apps/meep-ams/server/model_app_termination_notification__links.go index 68df3ee78..ef45d0312 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification__links.go +++ b/go-apps/meep-ams/server/model_app_termination_notification__links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_associate_id.go b/go-apps/meep-ams/server/model_associate_id.go index 7b74b6eb6..35d8c9e75 100644 --- a/go-apps/meep-ams/server/model_associate_id.go +++ b/go-apps/meep-ams/server/model_associate_id.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_body.go b/go-apps/meep-ams/server/model_body.go index 340684815..c00fd1592 100644 --- a/go-apps/meep-ams/server/model_body.go +++ b/go-apps/meep-ams/server/model_body.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_body_1.go b/go-apps/meep-ams/server/model_body_1.go index cfbfa6aed..e110a1cb1 100644 --- a/go-apps/meep-ams/server/model_body_1.go +++ b/go-apps/meep-ams/server/model_body_1.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_body_2.go b/go-apps/meep-ams/server/model_body_2.go index ade830cfd..2b0907b18 100644 --- a/go-apps/meep-ams/server/model_body_2.go +++ b/go-apps/meep-ams/server/model_body_2.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_communication_interface.go b/go-apps/meep-ams/server/model_communication_interface.go index c62891f4c..051065f4d 100644 --- a/go-apps/meep-ams/server/model_communication_interface.go +++ b/go-apps/meep-ams/server/model_communication_interface.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go index 8d839c94b..26dd1735a 100644 --- a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go +++ b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_context_transfer_state.go b/go-apps/meep-ams/server/model_context_transfer_state.go index 99d4468c6..ed855d0bc 100644 --- a/go-apps/meep-ams/server/model_context_transfer_state.go +++ b/go-apps/meep-ams/server/model_context_transfer_state.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_expiry_notification.go b/go-apps/meep-ams/server/model_expiry_notification.go index fad03d9a1..b84662dee 100644 --- a/go-apps/meep-ams/server/model_expiry_notification.go +++ b/go-apps/meep-ams/server/model_expiry_notification.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_link_type.go b/go-apps/meep-ams/server/model_link_type.go index 61f17493e..3233b6534 100644 --- a/go-apps/meep-ams/server/model_link_type.go +++ b/go-apps/meep-ams/server/model_link_type.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mec_host_information.go b/go-apps/meep-ams/server/model_mec_host_information.go index 7a37ee3c8..d6b298b34 100644 --- a/go-apps/meep-ams/server/model_mec_host_information.go +++ b/go-apps/meep-ams/server/model_mec_host_information.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification.go b/go-apps/meep-ams/server/model_mobility_procedure_notification.go index 151f9aefe..cc9b1f0b2 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go index d0d9b2e6b..3f991f48e 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go index 65e56e618..59a2e339d 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go index 8fc050305..57bd366df 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go index 7ee76c7df..5480e4aec 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go index b7da0d870..6fe0e7621 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_mobility_status.go b/go-apps/meep-ams/server/model_mobility_status.go index ff2935771..ae6195e0a 100644 --- a/go-apps/meep-ams/server/model_mobility_status.go +++ b/go-apps/meep-ams/server/model_mobility_status.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_one_ofbody.go b/go-apps/meep-ams/server/model_one_ofbody.go index 5e89aa10f..4ce4d80ab 100644 --- a/go-apps/meep-ams/server/model_one_ofbody.go +++ b/go-apps/meep-ams/server/model_one_ofbody.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_one_ofbody_1.go b/go-apps/meep-ams/server/model_one_ofbody_1.go index 02ff25ca3..26f3df6a5 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_1.go +++ b/go-apps/meep-ams/server/model_one_ofbody_1.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_one_ofbody_2.go b/go-apps/meep-ams/server/model_one_ofbody_2.go index 553ca5875..3d3fd858b 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_2.go +++ b/go-apps/meep-ams/server/model_one_ofbody_2.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_operation_action_type.go b/go-apps/meep-ams/server/model_operation_action_type.go index b7941d4b6..b796ab01b 100644 --- a/go-apps/meep-ams/server/model_operation_action_type.go +++ b/go-apps/meep-ams/server/model_operation_action_type.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_problem_details.go b/go-apps/meep-ams/server/model_problem_details.go index d650d906e..7a5744977 100644 --- a/go-apps/meep-ams/server/model_problem_details.go +++ b/go-apps/meep-ams/server/model_problem_details.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_registration_info.go b/go-apps/meep-ams/server/model_registration_info.go index 1933e9b79..299c42b60 100644 --- a/go-apps/meep-ams/server/model_registration_info.go +++ b/go-apps/meep-ams/server/model_registration_info.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_registration_info_device_information.go b/go-apps/meep-ams/server/model_registration_info_device_information.go index ac7344607..f27ef991e 100644 --- a/go-apps/meep-ams/server/model_registration_info_device_information.go +++ b/go-apps/meep-ams/server/model_registration_info_device_information.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go index fe0441ac8..e60808d85 100644 --- a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go +++ b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_subscription_link_list.go b/go-apps/meep-ams/server/model_subscription_link_list.go index a2fbc2e4b..02eea450c 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list.go +++ b/go-apps/meep-ams/server/model_subscription_link_list.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_subscription_link_list_links.go b/go-apps/meep-ams/server/model_subscription_link_list_links.go index 6e0312713..93cdc9d16 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_links.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go index bff85fcdd..8ec4b814d 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_subscription_type.go b/go-apps/meep-ams/server/model_subscription_type.go index 9b95ec7f7..1b7c3956c 100644 --- a/go-apps/meep-ams/server/model_subscription_type.go +++ b/go-apps/meep-ams/server/model_subscription_type.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_test_notification.go b/go-apps/meep-ams/server/model_test_notification.go index 6d705d325..eee80a562 100644 --- a/go-apps/meep-ams/server/model_test_notification.go +++ b/go-apps/meep-ams/server/model_test_notification.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_test_notification__links.go b/go-apps/meep-ams/server/model_test_notification__links.go index 0d36d7b4e..66f53a051 100644 --- a/go-apps/meep-ams/server/model_test_notification__links.go +++ b/go-apps/meep-ams/server/model_test_notification__links.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_time_stamp.go b/go-apps/meep-ams/server/model_time_stamp.go index de51915cb..1df948f92 100644 --- a/go-apps/meep-ams/server/model_time_stamp.go +++ b/go-apps/meep-ams/server/model_time_stamp.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_type.go b/go-apps/meep-ams/server/model_type.go index efa8fbf00..9a9f1ba02 100644 --- a/go-apps/meep-ams/server/model_type.go +++ b/go-apps/meep-ams/server/model_type.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/model_websock_notif_config.go b/go-apps/meep-ams/server/model_websock_notif_config.go index 5a0b2cf56..d92320429 100644 --- a/go-apps/meep-ams/server/model_websock_notif_config.go +++ b/go-apps/meep-ams/server/model_websock_notif_config.go @@ -1,10 +1,24 @@ /* - * ETSI GS MEC 021 Application Mobility Service API + * Copyright (c) 2020 InterDigital Communications, Inc * - * ETSI GS MEC 021 Application Mobility Service API described using OpenAPI. + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * AdvantEDGE Application Mobility API + * + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports all of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server diff --git a/go-apps/meep-ams/server/routers.go b/go-apps/meep-ams/server/routers.go index 8f853f5fb..0c37aab76 100644 --- a/go-apps/meep-ams/server/routers.go +++ b/go-apps/meep-ams/server/routers.go @@ -15,10 +15,10 @@ * * AdvantEDGE Application Mobility API * - * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). + * Application Mobility Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams)

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below). * * API version: 2.2.1 - * Contact: cti_support@etsi.org + * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package server -- GitLab From b9e3d7d53e8347ddda1f47567c8f32aa9e71ef77 Mon Sep 17 00:00:00 2001 From: "M. Rehan Abbasi" Date: Mon, 13 Jun 2022 12:31:02 +0500 Subject: [PATCH 180/183] update swagger.yaml file for AMS --- go-apps/meep-ams/api/swagger.yaml | 2312 ++++++++++++++++++----------- 1 file changed, 1410 insertions(+), 902 deletions(-) diff --git a/go-apps/meep-ams/api/swagger.yaml b/go-apps/meep-ams/api/swagger.yaml index f924c98ee..bd25ca987 100644 --- a/go-apps/meep-ams/api/swagger.yaml +++ b/go-apps/meep-ams/api/swagger.yaml @@ -1,1104 +1,1612 @@ openapi: 3.0.0 info: title: AdvantEDGE Application Mobility API - version: 2.1.1 - description: "Application Mobility Service is AdvantEDGE's implementation of - [ETSI MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_MEC021v020101p.pdf) -

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) -

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams) -

**Type & Usage**
Edge Service used by edge applications that want to get information about application mobility in the network -

**Note**
AdvantEDGE supports a selected subset of Application Mobility API endpoints (see below)." - license: - name: "Apache 2.0" - url: "https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE" + description: Application Mobility Service is AdvantEDGE's implementation of [ETSI + MEC ISG MEC021 Application Mobility API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_MEC021v020201p.pdf) +

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) +

**Micro-service**
[meep-ams](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-ams) +

**Type & Usage**
Edge Service used by edge applications that want to get + information about application mobility in the network

**Note**
AdvantEDGE + supports a selected subset of Application Mobility API endpoints (see below). contact: name: InterDigital AdvantEDGE Support email: AdvantEDGE@InterDigital.com + license: + name: Apache 2.0 + url: https://github.com/InterDigitalInc/AdvantEDGE/blob/master/LICENSE + version: 2.1.1 externalDocs: - description: "ETSI GS MEC 021 Application Mobility Service API, v2.1.1" - url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.01.01_60/gs_mec021v020101p.pdf' + description: ETSI GS MEC 021 Application Mobility Service API, v2.2.1 + url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/021/02.02.01_60/gs_mec021v020201p.pdf servers: - - url: 'https://localhost/sandboxname/amsi/v1' +- url: https://localhost/amsi/v1 tags: - - name: amsi - - name: unsupported +- name: amsi +- name: unsupported paths: + /queries/adjacent_app_instances: + get: + tags: + - unsupported + summary: Retrieve information about this subscription. + description: Retrieve information about this subscription. + operationId: adj_app_instGET + parameters: + - name: filter + in: query + description: Attribute-based filtering parameters according to ETSI GS MEC + 009 + required: false + style: form + explode: true + schema: + type: string + - name: all_fields + in: query + description: Include all complex attributes in the response. + required: false + style: form + explode: true + schema: + type: string + - name: fields + in: query + description: Complex attributes to be included into the response. See clause + 6.18 in ETSI GS MEC 009 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_fields + in: query + description: Complex attributes to be excluded from the response.See clause + 6.18 in ETSI GS MEC 009 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_default + in: query + description: Indicates to exclude the following complex attributes from the + response See clause 6.18 in ETSI GS MEC 011 for details. + required: false + style: form + explode: true + schema: + type: string + responses: + "200": + description: A response body containing zero or more adjacent application + instances + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/AdjacentAppInstanceInfo' + x-content-type: application/json + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /app_mobility_services: get: tags: - - 'amsi' - summary: ' Retrieve information about the registered application mobility service.' - description: ' Retrieve information about the registered application mobility service.' + - amsi + summary: Retrieve information about the registered application mobility service. + description: ' Retrieve information about the registered application mobility + service.' operationId: app_mobility_serviceGET parameters: - - in: query - name: filter - schema: - type: string - required: false - description: 'Attribute-based filtering parameters according to ETSI GS MEC 011' - - in: query - name: all_fields - schema: - type: string - required: false - description: 'Include all complex attributes in the response.' - - in: query - name: fields - schema: - type: string - required: false - description: 'Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011' - - in: query - name: exclude_fields - schema: - type: string - required: false - description: 'Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011' - - in: query - name: exclude_default - schema: - type: string - required: false - description: 'Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details.' + - name: filter + in: query + description: Attribute-based filtering parameters according to ETSI GS MEC + 011 + required: false + style: form + explode: true + schema: + type: string + - name: all_fields + in: query + description: Include all complex attributes in the response. + required: false + style: form + explode: true + schema: + type: string + - name: fields + in: query + description: Complex attributes to be included into the response. See clause + 6.18 in ETSI GS MEC 011 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_fields + in: query + description: Complex attributes to be excluded from the response.See clause + 6.18 in ETSI GS MEC 011 + required: false + style: form + explode: true + schema: + type: string + - name: exclude_default + in: query + description: Indicates to exclude the following complex attributes from the + response See clause 6.18 in ETSI GS MEC 011 for details. + required: false + style: form + explode: true + schema: + type: string responses: - '200': - description: 'Contains in an array the representations of zero or more application mobility services.' + "200": + description: Contains in an array the representations of zero or more application + mobility services. content: application/json: schema: type: array items: $ref: '#/components/schemas/RegistrationInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' + x-content-type: application/json + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false post: tags: - - 'amsi' - summary: 'Create a new application mobility service for the service requester.' - description: 'Create a new application mobility service for the service requester.' + - amsi + summary: Create a new application mobility service for the service requester. + description: Create a new application mobility service for the service requester. operationId: app_mobility_servicePOST + parameters: [] requestBody: description: Application mobility service to be created - required: true content: application/json: schema: - $ref: '#/components/schemas/RegistrationInfo' - example: - deviceInformation: - - appMobilityServiceLevel: 3 - associateId: - type: 1 - value: '10.100.0.3' - contextTransferState: 0 - serviceConsumerId: - appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8' + $ref: '#/components/schemas/RegistrationInfo' + required: true responses: - '201': + "201": description: Successful response for application mobility service creation content: application/json: schema: $ref: '#/components/schemas/RegistrationInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /app_mobility_services/{appMobilityServiceId}: - parameters: - - in: path - name: appMobilityServiceId - schema: - type: string - required: true - description: 'It uniquely identifies the created individual application mobility service' get: tags: - - 'amsi' - summary: 'Retrieve information about this individual application mobility service' - description: 'Retrieve information about this individual application mobility service' - operationId: app_mobility_service_by_idGET + - amsi + summary: Retrieve information about this individual application mobility service + description: Retrieve information about this individual application mobility + service + operationId: app_mobility_service_by_idGET + parameters: + - name: appMobilityServiceId + in: path + description: It uniquely identifies the created individual application mobility + service + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - description: 'Contains a representation of the application mobility service.' + "200": + description: Contains a representation of the application mobility service. content: application/json: schema: $ref: '#/components/schemas/RegistrationInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - put: - tags: - - 'amsi' - summary: ' update the existing individual application mobility service' - description: ' update the existing individual application mobility service' - operationId: app_mobility_service_by_idPUT - requestBody: + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false + put: + tags: + - amsi + summary: ' update the existing individual application mobility service' + description: ' update the existing individual application mobility service' + operationId: app_mobility_service_by_idPUT + parameters: + - name: appMobilityServiceId + in: path + description: It uniquely identifies the created individual application mobility + service required: true + style: simple + explode: false + schema: + type: string + requestBody: content: application/json: schema: - $ref: '#/components/schemas/RegistrationInfo' - example: - appMobilityServiceId: "appMobilityServiceId" - deviceInformation: - - appMobilityServiceLevel: 3 - associateId: - type: 1 - value: '10.100.0.3' - contextTransferState: 0 - serviceConsumerId: - appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8' - responses: - '200': - description: 'Contains a data type describing the updated application mobility service.' + $ref: '#/components/schemas/RegistrationInfo' + required: true + responses: + "200": + description: Contains a data type describing the updated application mobility + service. content: application/json: schema: $ref: '#/components/schemas/RegistrationInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '412': - $ref: '#/components/responses/412' - '422': - $ref: '#/components/responses/422' - '429': - $ref: '#/components/responses/429' - delete: - tags: - - 'amsi' - summary: ' deregister the individual application mobility service' - description: ' deregister the individual application mobility service' - operationId: app_mobility_service_by_idDELETE - responses: - '204': - $ref: '#/components/responses/204' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '429': - $ref: '#/components/responses/429' - /app_mobility_services/{appMobilityServiceId}/deregister_task: - parameters: - - in: path - name: appMobilityServiceId - schema: - type: string - description: 'It uniquely identifies the created individual application mobility service' - required: true + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false + delete: + tags: + - amsi + summary: ' deregister the individual application mobility service' + description: ' deregister the individual application mobility service' + operationId: app_mobility_service_by_idDELETE + parameters: + - name: appMobilityServiceId + in: path + description: It uniquely identifies the created individual application mobility + service + required: true + style: simple + explode: false + schema: + type: string + responses: + "204": + description: No Content + content: {} + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false + /app_mobility_services/{appMobilityServiceId}/deregister_task: post: tags: - - 'unsupported' + - unsupported summary: ' deregister the individual application mobility service' description: ' deregister the individual application mobility service' operationId: app_mobility_service_derPOST + parameters: + - name: appMobilityServiceId + in: path + description: It uniquely identifies the created individual application mobility + service + required: true + style: simple + explode: false + schema: + type: string responses: - '204': - $ref: '#/components/responses/204' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - /subscriptions/: + "204": + description: No Content + content: {} + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false + /subscriptions: get: tags: - - 'amsi' - summary: 'Retrieve information about the subscriptions for this requestor.' - description: 'Retrieve information about the subscriptions for this requestor.' + - amsi + summary: Retrieve information about the subscriptions for this requestor. + description: Retrieve information about the subscriptions for this requestor. operationId: subGET parameters: - - in: query - name: subscriptionType - description: 'Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info' - schema: - type: string + - name: subscriptionType + in: query + description: 'Query parameter to filter on a specific subscription type. Permitted + values: mobility_proc or adj_app_info' + required: true + style: form + explode: true + schema: + type: string responses: - '200': - description: 'Contains the list of links to requestor subscriptions.' - content: - application/json: - schema: - $ref: '#/components/schemas/SubscriptionLinkList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' + "200": + description: Contains the list of links to requestor subscriptions. + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false post: tags: - - 'amsi' - summary: 'Create a new subscription to Application Mobility Service notifications.' - description: 'Create a new subscription to Application Mobility Service notifications.' + - amsi + summary: Create a new subscription to Application Mobility Service notifications. + description: Create a new subscription to Application Mobility Service notifications. operationId: subPOST + parameters: [] requestBody: - required: true content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' - example: - subscriptionType: MobilityProcedureSubscription - callbackReference: 'http://my.callback.com/amsi-mobility-procedure/some-id' - filterCriteria: - appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8' - associateId: - - type: 1 - value: '10.100.0.3' - - type: 1 - value: '10.100.0.1' + $ref: '#/components/schemas/body' + required: true responses: - '201': - description: 'Created subscription is described using the appropriate data type' - content: - application/json: - schema: - $ref: '#/components/schemas/InlineSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '415': - $ref: '#/components/responses/415' - '422': - $ref: '#/components/responses/422' - '429': - $ref: '#/components/responses/429' + "201": + description: Created subscription is described using the appropriate data + type + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "415": + description: 'Unsupported Media Type : used to indicate that the server + or the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' callbacks: notification: '{$request.body#/callbackReference}': post: - summary: 'Callback POST used to send a notification' - description: 'Notification from AMS with regards to adjacent application instances information or with regards mobility procedure.' + summary: delivers a notification from the AMS resource to the subscriber + description: delivers a notification from the AMS resource to the subscriber operationId: notificationPOST + parameters: [] requestBody: - description: Subscription notification - required: true content: application/json: schema: - $ref: '#/components/schemas/InlineNotification' + oneOf: + - $ref: '#/components/schemas/MobilityProcedureNotification' + - $ref: '#/components/schemas/AdjacentAppInfoNotification' + - $ref: '#/components/schemas/ExpiryNotification' responses: - '204': - $ref: '#/components/responses/204' + "204": + description: The notification was delivered successfully. The response + body shall be empty. + content: {} + "401": + description: It is used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: operation is not allowed given the current status of + the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: Used when a client provided a URI that cannot be mapped + to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: Used to indicate that the server cannot provide the + any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: Used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /subscriptions/{subscriptionId}: - parameters: - - in: path - name: subscriptionId - description: 'Refers to created subscription, where the AMS API allocates a unique resource name for this subscription' - schema: - type: string - required: true get: tags: - - 'amsi' - summary: 'Retrieve information about this subscription.' - description: 'Retrieve information about this subscription.' + - amsi + summary: Retrieve information about this subscription. + description: Retrieve information about this subscription. operationId: sub_byIdGET + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - '200': - description: 'A response body containing data type describing the specific RNI event subscription' - content: - application/json: - schema: - $ref: '#/components/schemas/InlineSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' + "200": + description: A response body containing data type describing the specific + RNI event subscription + content: + application/json: + schema: + $ref: '#/components/schemas/body' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false put: tags: - - 'amsi' - summary: 'update the existing individual subscription.' - description: 'update the existing individual subscription.' + - amsi + summary: update the existing individual subscription. + description: update the existing individual subscription. operationId: sub_byIdPUT - requestBody: + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription required: true + style: simple + explode: false + schema: + type: string + requestBody: content: application/json: schema: - $ref: '#/components/schemas/InlineSubscription' - example: - subscriptionType: MobilityProcedureSubscription - callbackReference: 'http://my.callback.com/amsi-mobility-procedure/some-id' - _links: - self: - href: 'http://meAppServer.example.com/amsi/v1/subscriptions/sub123' - filterCriteria: - appInstanceId: '9afdbca8-afac-405b-b220-4154828280b8' - associateId: - - type: 1 - value: '10.100.0.3' - - type: 1 - value: '10.100.0.1' + $ref: '#/components/schemas/body_1' + required: true responses: - '200': - description: ' a response body containing data type describing the updated subscription' - content: - application/json: - schema: - $ref: '#/components/schemas/InlineSubscription' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '412': - $ref: '#/components/responses/412' - '422': - $ref: '#/components/responses/422' - '429': - $ref: '#/components/responses/429' + "200": + description: a response body containing data type describing the updated + subscription + content: + application/json: + schema: + $ref: '#/components/schemas/body_1' + "400": + description: 'Bad Request : used to indicate that incorrect parameters were + passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "406": + description: 'Not Acceptable : used to indicate that the server cannot provide + the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "412": + description: 'Precondition failed : used when a condition has failed during + conditional requests, e.g. when using ETags to avoid write conflicts when + using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "422": + description: 'Unprocessable Entity : used to indicate that the server understands + the content type of the request entity and that the syntax of the request + entity is correct but that the server is unable to process the contained + instructions. This error condition can occur if an JSON request body is + syntactically correct but semantically incorrect, for example if the target + area for the request is considered too large. This error condition can + also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false delete: tags: - - 'amsi' - summary: 'cancel the existing individual subscription' - description: 'cancel the existing individual subscription' + - amsi + summary: cancel the existing individual subscription + description: cancel the existing individual subscription operationId: sub_byIdDELETE + parameters: + - name: subscriptionId + in: path + description: Refers to created subscription, where the AMS API allocates a + unique resource name for this subscription + required: true + style: simple + explode: false + schema: + type: string responses: - '204': - $ref: '#/components/responses/204' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '429': - $ref: '#/components/responses/429' + "204": + description: No Content + content: {} + "401": + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "403": + description: 'Forbidden : operation is not allowed given the current status + of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "404": + description: 'Not Found : used when a client provided a URI that cannot + be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + "429": + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + deprecated: false /notifications/mec011/appTermination: post: tags: - - 'amsi' - summary: 'MEC011 Application Termination notification for self termination' - description: 'Terminates itself.' + - amsi + summary: MEC011 Application Termination notification for self termination + description: Terminates itself. operationId: mec011AppTerminationPOST requestBody: - description: 'Termination notification details' - required: true + description: Termination notification details content: application/json: schema: $ref: '#/components/schemas/AppTerminationNotification' example: - notificationType: 'AppTerminationNotification' - operationAction: 'TERMINATING' - maxGracefulTimeout: 10 - links: - subscription: - href: 'http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123' - confirmTermination: - href: 'http://mec011Server.example.com/mec_app_support/v1/confirm_termination' + notificationType: AppTerminationNotification + operationAction: TERMINATING + maxGracefulTimeout: 10 + links: + subscription: + href: http://mec011Server.example.com/mec_app_support/v1/applications/appId1234/subscriptions/sub123 + confirmTermination: + href: http://mec011Server.example.com/mec_app_support/v1/confirm_termination + required: true responses: - '204': + "204": description: No Content - x-swagger-router-controller: 'notifications' - /queries/adjacent_app_instances: - get: - tags: - - 'unsupported' - summary: 'Retrieve information about this subscription.' - description: 'Retrieve information about this subscription.' - operationId: adj_app_instGET - parameters: - - in: query - name: filter - schema: - type: string - required: false - description: 'Attribute-based filtering parameters according to ETSI GS MEC 011' - - in: query - name: all_fields - schema: - type: string - required: false - description: 'Include all complex attributes in the response.' - - in: query - name: fields - schema: - type: string - required: false - description: 'Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011' - - in: query - name: exclude_fields - schema: - type: string - required: false - description: 'Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011' - - in: query - name: exclude_default - schema: - type: string - required: false - description: 'Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details.' - responses: - '200': - description: 'A response body containing zero or more adjacent application instances ' - content: - application/json: - schema: - type: array - minItems: 0 - items: - $ref: '#/components/schemas/AdjacentAppInstanceInfo' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '406': - $ref: '#/components/responses/406' - '429': - $ref: '#/components/responses/429' - + x-swagger-router-controller: notifications components: schemas: + AdjacentAppInfoSubscription.links: + title: AdjacentAppInfoSubscription.links + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. This shall be only included + in the HTTP responses and in HTTP PUT requests. + AdjacentAppInfoSubscription.filterCriteria: + title: AdjacentAppInfoSubscription.filterCriteria + type: object + properties: + appInstanceId: + type: string + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. AdjacentAppInfoSubscription: + title: AdjacentAppInfoSubscription + required: + - callbackReference + - filterCriteria + - subscriptionType + type: object + properties: + _links: + $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' + callbackReference: + type: string + description: URI selected by the service consumer to receive notifications + on the subscribed Application Mobility Service. This shall be included + both in the request and in response. + format: uri + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test + notification via HTTP on the callbackReference URI, specified in ETSI + GS MEC 009, as described in clause 6.12a. + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' + expiryDeadline: + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/AdjacentAppInfoSubscription.filterCriteria' + subscriptionType: + type: string + description: Shall be set to "AdjacentAppInfoSubscription". + example: '["AdjacentAppInfoSubscription"]' + AdjacentAppInstanceInfo: + title: AdjacentAppInstanceInfo + required: + - appDId + - appInstanceCommLink + - appInstanceId + type: object + properties: + appDId: + type: string + description: Identifier of the application descriptor. + appInstanceCommLink: + type: array + description: It specifies the communication interface of application instance. + items: + $ref: '#/components/schemas/CommunicationInterface' + appInstanceId: + type: string + description: Identifier of the application instance. + mecHostInformation: + $ref: '#/components/schemas/MECHostInformation' + registeredInstanceId: + type: string + description: dentifier of the application instance that registers to the + AMS, which is instantiated from the application descriptor identified + by the attribute "appDId". + example: + appInstanceId: appInstanceId + registeredInstanceId: registeredInstanceId + appInstanceCommLink: + - ipAddresses: + - port: 0 + host: host + - port: 0 + host: host + - ipAddresses: + - port: 0 + host: host + - port: 0 + host: host + appDId: appDId + mecHostInformation: + hostName: hostName + hostId: + key: {} + AppMobilityServiceLevel: + title: AppMobilityServiceLevel + type: string + description: This attribute provides an option for the application instance + (server) to communicate with the application client before relocating this + application instance to another MEC host. + example: '["APP_MOBILITY_NOT_ALLOWED"]' + enum: + - APP_MOBILITY_NOT_ALLOWED + - APP_MOBILITY_WITH_CONFIRMATION + - APP_MOBILITY_WITHOUT_CONFIRMATION + CommunicationInterface.IpAddresses: + title: CommunicationInterface.IpAddresses + required: + - host + - port + type: object + properties: + host: + type: string + port: + type: integer + example: + port: 0 + host: host + CommunicationInterface: + title: CommunicationInterface + type: object + properties: + ipAddresses: + type: array + items: + $ref: '#/components/schemas/CommunicationInterface.IpAddresses' + example: + ipAddresses: + - port: 0 + host: host + - port: 0 + host: host + MobilityProcedureSubscription.links: + title: MobilityProcedureSubscription.links + required: + - self + type: object + properties: + self: + $ref: '#/components/schemas/LinkType' + MobilityProcedureSubscription.filterCriteria: + title: MobilityProcedureSubscription.filterCriteria + type: object + properties: + appInstanceId: + type: string + description: Identifier of the application instance that registers the Application + Mobility Service. + associateId: + type: array + description: 0 to N identifiers to associate the information for specific + UE(s) and flow(s). + items: + $ref: '#/components/schemas/AssociateId' + mobilityStatus: + type: array + description: In case mobilityStatus is not included in the subscription + request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be + used and included in the response. + items: + $ref: '#/components/schemas/MobilityStatus' + description: List of filtering criteria for the subscription. Any filtering + criteria from below, which is included in the request, shall also be included + in the response. + WebsockNotifConfig: + type: object + properties: + websocketUri: + type: string + description: Set by AMS to indicate to the service consumer the Websocket + URI to be used for delivering notifications. + format: uri + requestWebsocketUri: + type: boolean + description: Set to true by the service consumer to indicate that Websocket + delivery is requested. + MobilityProcedureSubscription: + title: MobilityProcedureSubscription + required: + - filterCriteria + - subscriptionType + type: object properties: _links: - properties: - self: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - type: object + $ref: '#/components/schemas/MobilityProcedureSubscription.links' callbackReference: - description: URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. - format: uri type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI + description: URI selected by the service consumer to receive notifications + on the subscribed Application Mobility Service. This shall be included + both in the request and in response. + format: uri + requestTestNotification: + type: boolean + description: Shall be set to TRUE by the service consumer to request a test + notification via HTTP on the callbackReference URI, specified in ETSI + GS MEC 009, as described in clause 6.12a. + websockNotifConfig: + $ref: '#/components/schemas/WebsockNotifConfig' expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' filterCriteria: - properties: - appInstanceId: - type: string - type: object - x-etsi-mec-cardinality: '1' + $ref: '#/components/schemas/MobilityProcedureSubscription.filterCriteria' subscriptionType: - description: Shall be set to "AdjacentAppInfoSubscription". type: string - enum: - - AdjacentAppInfoSubscription - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String + description: Shall be set to "MobilityProcedureSubscription". + example: '["MobilityProcedureSubscription"]' + MobilityProcedureNotification: + title: MobilityProcedureNotification required: - - subscriptionType - - callbackReference - - filterCriteria - type: object - x-etsi-ref: 7.3.3 - AdjacentAppInstanceInfo: + - associateId + - links + - mobilityStatus + - notificationType properties: - appDId: - description: Identifier of the application descriptor. + notificationType: type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - appInstanceCommLink: - description: It specifies the communication interface of application instance. + description: Shall be set to "MobilityProcedureNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + associateId: type: array + description: 1 to N identifiers to associate the information for specific items: - $ref: '#/components/schemas/CommunicationInterface' - minItems: 1 - #x-etsi-mec-cardinality: 1..N - #x-etsi-mec-origin-type: CommunicationInterface - appInstanceId: - description: Identifier of the application instance. + $ref: '#/components/schemas/AssociateId' + mobilityStatus: + $ref: '#/components/schemas/MobilityStatus' + targetAppInfo: + $ref: '#/components/schemas/MobilityProcedureNotification_targetAppInfo' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' + AdjacentAppInfoNotification: + title: AdjacentAppInfoNotification + required: + - _links + - notificationType + properties: + notificationType: type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - mecHostInformation: - #description: The MEC host where the application instance is running on. - $ref: '#/components/schemas/MECHostInformation' - #minItems: 1 - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': MECHostInformation + description: Shall be set to "AdjacentAppInfoNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + associateId: + type: array + description: 1 to N identifiers to associate the information for specific + items: + $ref: '#/components/schemas/AssociateId' + adjacentAppInfo: + required: + - appInstanceId + - commInterface + type: array + items: + $ref: '#/components/schemas/AdjacentAppInfoNotificationAdjacentAppInfo' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' + AdjacentAppInfoNotificationAdjacentAppInfo: required: - appInstanceId - - appDId - - appInstanceCommLink type: object - x-etsi-ref: 7.2.3 - AppMobilityServiceLevel: - description: 'This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host. Applicable values are: 1 = APP_MOBILITY_NOT_ALLOWED, 2 = APP_MOBILITY_WITH_CONFIRMATION, 3 = APP_MOBILITY_WITHOUT_CONFIRMATION.' - type: integer - x-etsi-notes: "APP_MOBILITY_NOT_ALLOWED: the current serving application instance continues to deliver the service to the device. The AMS will inform the MEP to perform the traffic steering to the device when the UE moves cross MEC hosts. \u2212 APP_MOBILITY_WITH_CONFIRMATION: the serving application instance is allowed to change with the confirmation by the application once the device mobility happens. The AMS then will inform the MEP to update the traffic routing to the target application instance and clean up the previous resource allocated to the application instance serving to the device after the serving application instance has been changed. \u2212 APP_MOBILITY_WITHOUT_CONFIRMATION: the serving application instance is allowed to change without confirmation from the application instance when the device mobility happens. The AMS will notify to the MEP to update the traffic routing to the target application instance and clean up the previous resource allocated to the application instance serving to the device after the serving application instance has been changed." - CommunicationInterface: properties: - ipAddresses: + appInstanceId: + type: string + description: Identifier of the adjacent application instance. + commInterface: type: array + description: If present, it represents the communication interface(s) information + of the application instance. items: - properties: - host: - type: string - port: - type: integer - required: - - host - - port - MobilityProcedureSubscription: - type: object - x-etsi-ref: 7.3.2 + $ref: '#/components/schemas/CommunicationInterface' + ExpiryNotification: + title: ExpiryNotification + required: + - _links + - expiryDeadline + - notificationType properties: - _links: - properties: - self: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - type: object - #x-etsi-mec-cardinality: 0..1 - callbackReference: - description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. - format: uri + notificationType: type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI + description: Shall be set to "ExpiryNotification". + timeStamp: + $ref: '#/components/schemas/TimeStamp' + _links: + $ref: '#/components/schemas/MobilityProcedureNotification__links' expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp $ref: '#/components/schemas/TimeStamp' - filterCriteria: - properties: - appInstanceId: - description: Identifier of the application instance that registers the application mobility service. - type: string - x-etsi-mec-cardinality: 0..1 - #x-etsi-mec-origin-type: String - associateId: - description: 0 to N identifiers to associate the information for specific UE(s) and flow(s). - items: - $ref: '#/components/schemas/AssociateId' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - #x-etsi-mec-origin-type: AssociateId - mobilityStatus: - description: 'In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response.' - items: - $ref: '#/components/schemas/MobilityStatus' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - type: object - subscriptionType: - description: Shall be set to "MobilityProcedureSubscription". - type: string - enum: - - MobilityProcedureSubscription - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String + TestNotification: + title: TestNotification required: - - subscriptionType - - callbackReference - - filterCriteria + - _links + - notificationType + properties: + notificationType: + type: string + description: Shall be set to "TestNotification". + _links: + $ref: '#/components/schemas/TestNotification__links' MobilityStatus: - description: 'Indicate the status of the UE mobility. Values are: 1 = INTERHOST_MOVEOUT_TRIGGERED, 2 = INTERHOST_MOVEOUT_COMPLETED, 3 = INTERHOST_MOVEOUT_FAILED' - type: integer + title: MobilityStatus + type: string + description: Indicate the status of the UE mobility + example: '["INTERHOST_MOVEOUT_TRIGGERED"]' + enum: + - INTERHOST_MOVEOUT_TRIGGERED + - INTERHOST_MOVEOUT_COMPLETED + - INTERHOST_MOVEOUT_FAILED + RegistrationInfo.deviceInformation: + title: RegistrationInfo.deviceInformation + required: + - associateId + type: object + properties: + associateId: + $ref: '#/components/schemas/AssociateId' + appMobilityServiceLevel: + $ref: '#/components/schemas/AppMobilityServiceLevel' + contextTransferState: + $ref: '#/components/schemas/contextTransferState' + example: + associateId: + type: '["UE_IPv4_ADDRESS"]' + value: value + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' + RegistrationInfo.serviceConsumerId: + title: RegistrationInfo.serviceConsumerId + type: object + properties: + appInstanceId: + type: string + description: If present, it represents the identifier of the application + instance registering the Application Mobility Service. + mepId: + type: string + description: If present, it represents the identifier of the MEC platform + registering the Application Mobility Service. + description: The identifier of service consumer requesting the application mobility + service, i.e. either the application instance ID or the MEC platform ID. + example: + appInstanceId: appInstanceId + mepId: mepId RegistrationInfo: + title: RegistrationInfo + required: + - serviceConsumerId type: object properties: appMobilityServiceId: - description: 'The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise.' type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String + description: The identifier of registered application mobility service. + Shall be absent in POST requests, and present otherwise. deviceInformation: - description: 'If present, it specifies the device served by the application instance which is registering the application mobility service.' type: array + description: If present, it specifies the device served by the application + instance which is registering is registering the Application Mobility + Service. items: - type: object - properties: - associateId: - $ref: '#/components/schemas/AssociateId' - # description': Represents the identifier of the device. See note. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': AssociateId - appMobilityServiceLevel: - # description': If the application is stateful, this attribute shall be included. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': AppMobilityServiceLevel - $ref: '#/components/schemas/AppMobilityServiceLevel' - contextTransferState: - #description: 'If present, it represents the state of transferring the user context to another application instance.' - #x-etsi-mec-cardinality: 0..N - $ref: '#/components/schemas/ContextTransferState' - required: - - associateId - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) + $ref: '#/components/schemas/RegistrationInfo.deviceInformation' expiryTime: - description: 'If present, it indicates the time of application mobility service expiration from the time of registration accepted.The value "0" means infinite time, i.e. no expiration.The unit of expiry time is one second.' - format: Uint32 type: integer - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 + description: If present, it indicates the time of Application Mobility Service + expiration from the time of registration accepted.The value "0" means + infinite time, i.e. no expiration.The unit of expiry time is one second. + serviceConsumerId: + $ref: '#/components/schemas/RegistrationInfo.serviceConsumerId' + example: + appMobilityServiceId: appMobilityServiceId + deviceInformation: + - associateId: + type: '["UE_IPv4_ADDRESS"]' + value: value + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' + - associateId: + type: '["UE_IPv4_ADDRESS"]' + value: value + appMobilityServiceLevel: '["APP_MOBILITY_NOT_ALLOWED"]' + contextTransferState: '["NOT_TRANSFERRED"]' + expiryTime: 0 serviceConsumerId: - description: The identifier of service consumer requesting the application mobility service, i.e. either the application instance ID or the MEC platform ID. - properties: - appInstanceId: - description: If present, it represents the identifier of the application instance registering the application mobility service. - type: string - x-etsi-mec-cardinality: 0..1 - #x-etsi-mec-origin-type: String - mepId: - description: If present, it represents the identifier of the MEC platform registering the application mobility service. - type: string - x-etsi-mec-cardinality: 0..1 - #x-etsi-mec-origin-type: String + appInstanceId: appInstanceId + mepId: mepId + SubscriptionLinkList.links: + title: SubscriptionLinkList.links required: - - serviceConsumerId - x-etsi-notes: "NOTE:\tThe data type of AssociateId is defined in ETSI GS MEC 012 [6]." - x-etsi-ref: 7.2.2 - SubscriptionLinkList: + - self + type: object properties: - _links: - description: List of hyperlinks related to the resource. - properties: - self: - # description': '' - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': LinkType - $ref: '#/components/schemas/LinkType' - required: - - self - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) + self: + $ref: '#/components/schemas/LinkType' subscription: - description: A link to a subscription. - items: - type: object - properties: - href: - description: The URI referring to the subscription. - format: uri - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI - subscriptionType: - description: 'Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. ' - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum (inlined) - minItems: 0 - required: - - href - - subscriptionType type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: Structure (inlined) + description: The service consumer’s subscriptions. + items: + $ref: '#/components/schemas/SubscriptionLinkList.subscription' + description: List of hyperlinks related to the resource. + example: + self: + href: href + subscription: + - subscriptionType: 0 + href: href + - subscriptionType: 0 + href: href + SubscriptionLinkList.subscription: + title: SubscriptionLinkList.subscription + required: + - href + - subscriptionType + type: object + properties: + href: + type: string + description: The URI referring to the subscription. + subscriptionType: + $ref: '#/components/schemas/subscriptionType' + example: + subscriptionType: 0 + href: href + SubscriptionLinkList: + title: SubscriptionLinkList required: - _links type: object - x-etsi-ref: 7.3.4 - ContextTransferState: - description: 'If present, it represents the state of transferring the user context to another application instance. The applicable values are: 0 = NOT_TRANSFERRED, 1= USER_CONTEXT_TRANSEFR_COMPLETED.' + properties: + _links: + $ref: '#/components/schemas/SubscriptionLinkList.links' + example: + _links: + self: + href: href + subscription: + - subscriptionType: 0 + href: href + - subscriptionType: 0 + href: href + contextTransferState: + title: contextTransferState + type: string + description: If present, it represents the state of transferring the user context + to another application instance. + example: '["NOT_TRANSFERRED"]' + enum: + - NOT_TRANSFERRED + - USER_CONTEXT_TRANSFER_COMPLETED + subscriptionType: + title: subscriptionType type: integer - HostName: - description: >- - Human-readable name of MEC host. - type: string - KeyValuePairs: - description: >- - 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' - type: object + description: 'Numeric value (0 - 255) corresponding to specified type of subscription + as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO.' + enum: + - 0 + - 1 + - 2 AssociateId: + title: AssociateId + required: + - type + - value + type: object properties: type: - description: 'Numeric value (0-255) corresponding to specified type of identifier as following:

0 = reserved.

1 = UE_IPv4_ADDRESS.

2 = UE_IPV6_ADDRESS.

3 = NATED_IP_ADDRESS.

4 = GTP_TEID.' - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Enum + $ref: '#/components/schemas/Type' value: - description: Value for the identifier. type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String + description: Value for the identifier. + example: + type: '["UE_IPv4_ADDRESS"]' + value: value LinkType: + title: LinkType + required: + - href + type: object properties: href: - description: URI referring to a resource - format: uri type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI + description: The URI referring to the subscription. + description: '''This data type represents a type of link''' + example: + href: href + TimeStamp: + title: TimeStamp required: - - href + - nanoSeconds + - seconds type: object - TimeStamp: properties: - nanoSeconds: - description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. - format: int32 - type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Uint32 seconds: - description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. - format: int32 type: integer - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Uint32 - required: - - seconds - - nanoSeconds + description: '''The seconds part of the Time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC.''' + nanoSeconds: + type: integer + description: '''The nanoseconds part of the Time. Time is defined as Unix-time + since January 1, 1970, 00:00:00 UTC.''' + description: '''This data type represents the time stamp as Unix-time since + January 1, 1970, 00:00:00 UTC''' + KeyValuePairs: type: object + additionalProperties: + type: object + x-schema-name: KeyValuePairs MECHostInformation: - description: >- - 'The data type represents the parameters of MEC host information.' - type: object + title: MECHostInformation required: - - hostId + - hostId + type: object properties: hostName: - $ref: '#/components/schemas/HostName' + type: string + description: Human-readable name of MEC host. hostId: - description: >- - 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' - type: object - #$ref: '#/components/schemas/KeyValuePairs' - ExpiryNotification: - properties: - _links: - description: List of hyperlinks related to the resource. - properties: - self: - description: Self referring URI. This shall be included in the response from the AMS. The URI shall be unique within the AMS API as it acts as an ID for the subscription. - format: uri - type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: URI - required: - - self - type: object - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: Structure (inlined) - expiryDeadline: - # description': Time stamp. - # x-etsi-mec-cardinality': '1' - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - timeStamp: - # description': Time stamp. - # x-etsi-mec-cardinality': 0..1 - # x-etsi-mec-origin-type': TimeStamp - $ref: '#/components/schemas/TimeStamp' - required: - - _links - - expiryDeadline + $ref: '#/components/schemas/KeyValuePairs' + example: + hostName: hostName + hostId: + key: {} + ProblemDetails: + title: ProblemDetails type: object - x-etsi-ref: 7.4.4 - MobilityProcedureNotification: properties: - associateId: - description: 0 to N identifiers to associate the information for specific UE(s) and flow(s). - items: - $ref: '#/components/schemas/AssociateId' - minItems: 0 - type: array - x-etsi-mec-cardinality: 0..N - x-etsi-mec-origin-type: AssociateId - mobilityStatus: - description: 'Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved.' + detail: + type: string + description: A human-readable explanation specific to this occurrence of + the problem + instance: + type: string + description: A URI reference that identifies the specific occurrence of + the problem + status: type: integer - x-etsi-mec-cardinality: '1' - notificationType: - description: 'Shall be set to \"MobilityProcedureNotification\".' + description: The HTTP status code for this occurrence of the problem + title: type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - targetAppInfo: - description: Identifiers to associate the information of target application instance. - properties: - appInstanceId: - description: Identifiers of the target application instance. - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - commInterface: - # description: If present, it specifies the communication interface of the application instance. - # x-etsi-mec-cardinality: 0..1 - # x-etsi-mec-origin-type: CommunicationInterface - $ref: '#/components/schemas/CommunicationInterface' - type: object - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Structure (inlined) - timeStamp: - # description: Time stamp. - # x-etsi-mec-cardinality: 0..1 - # x-etsi-mec-origin-type: TimeStamp - $ref: '#/components/schemas/TimeStamp' - required: - - notificationType - - mobilityStatus - type: object - x-etsi-ref: 7.4.2 - AdjacentAppInfoNotification: - properties: - notificationType: - description: 'Shall be set to \"AdjacentAppInfoNotification\".' + description: A short, human-readable summary of the problem type + type: type: string - x-etsi-mec-cardinality: '1' - x-etsi-mec-origin-type: String - adjacentAppInfo: - items: - type: object - description: Identifiers to associate the information of target application instance. - properties: - appInstanceId: - description: Identifiers of the target application instance. - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - commInterface: - # description: If present, it specifies the communication interface of the application instance. - # x-etsi-mec-cardinality: 0..1 - # x-etsi-mec-origin-type: CommunicationInterface - $ref: '#/components/schemas/CommunicationInterface' - x-etsi-mec-cardinality: 0..N - required: - - appInstanceId - minItems: 0 - type: array - timeStamp: - # description: Time stamp. - # x-etsi-mec-cardinality: 0..1 - # x-etsi-mec-origin-type: TimeStamp - $ref: '#/components/schemas/TimeStamp' + description: A URI reference according to IETF RFC 3986 that identifies + the problem type + Type: + title: Type + type: string + description: Numeric value (0-255) corresponding to specified type of identifier + example: '["UE_IPv4_ADDRESS"]' + enum: + - UE_IPv4_ADDRESS + - UE_IPV6_ADDRESS + - NATED_IP_ADDRESS + - GTP_TEID + AppTerminationNotification: required: + - _links + - maxGracefulTimeout - notificationType - - mobilityStatus - type: object - x-etsi-ref: 7.4.2 - AppTerminationNotification: - description: >- - This type represents the information that the MEC platform - notifies the subscribed application instance about the corresponding - application instance termination/stop. + - operationAction type: object - required: - - notificationType - - operationAction - - maxGracefulTimeout - - _links properties: notificationType: - description: Shall be set to AppTerminationNotification. type: string + description: Shall be set to AppTerminationNotification. operationAction: $ref: '#/components/schemas/OperationActionType' maxGracefulTimeout: - description: >- - Maximum timeout value in seconds for graceful termination or graceful - stop of an application instance. type: integer + description: Maximum timeout value in seconds for graceful termination or + graceful stop of an application instance. format: uint32 _links: - description: >- - Object containing hyperlinks related to the resource. - type: object - required: - - subscription - properties: - subscription: - $ref: '#/components/schemas/LinkType' - confirmTermination: - $ref: '#/components/schemas/LinkType' + $ref: '#/components/schemas/AppTerminationNotification__links' + description: This type represents the information that the MEC platform notifies + the subscribed application instance about the corresponding application instance + termination/stop. OperationActionType: - description: Operation that is being performed on the MEC application instance. type: string + description: Operation that is being performed on the MEC application instance. enum: - - STOPPING - - TERMINATING - ProblemDetails: - properties: - detail: - description: A human-readable explanation specific to this occurrence of the problem - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - instance: - description: A URI reference that identifies the specific occurrence of the problem - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI - status: - description: The HTTP status code for this occurrence of the problem - format: uint32 - type: integer - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: Uint32 - title: - description: A short, human-readable summary of the problem type - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: String - type: - description: A URI reference according to IETF RFC 3986 that identifies the problem type - format: uri - type: string - x-etsi-mec-cardinality: 0..1 - x-etsi-mec-origin-type: URI + - STOPPING + - TERMINATING + AppTerminationNotification__links: + required: + - subscription type: object - InlineSubscription: + properties: + subscription: + $ref: '#/components/schemas/LinkType' + confirmTermination: + $ref: '#/components/schemas/LinkType' + body: oneOf: - - $ref: '#/components/schemas/MobilityProcedureSubscription' - - $ref: '#/components/schemas/AdjacentAppInfoSubscription' - discriminator: - propertyName: subscriptionType - InlineNotification: + - $ref: '#/components/schemas/MobilityProcedureSubscription' + - $ref: '#/components/schemas/AdjacentAppInfoSubscription' + body_1: oneOf: - - $ref: '#/components/schemas/MobilityProcedureNotification' - - $ref: '#/components/schemas/AdjacentAppInfoNotification' - discriminator: - propertyName: notificationType - responses: - 204: - description: No Content - 206: - description: Partial content - 400: - description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 401: - description: 'Unauthorized : used when the client did not submit credentials.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 403: - description: 'Forbidden : operation is not allowed given the current status of the resource.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 404: - description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 406: - description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 409: - description: 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 412: - description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 415: - description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 422: - description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - 429: - description: 'Too Many Requests : used when a rate limiter has triggered.' - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - + - $ref: '#/components/schemas/MobilityProcedureSubscription' + - $ref: '#/components/schemas/AdjacentAppInfoSubscription' + MobilityProcedureNotification_targetAppInfo: + required: + - appInstanceId + type: object + properties: + appInstanceId: + type: string + description: Identifiers of the target application instance. + commInterface: + $ref: '#/components/schemas/CommunicationInterface' + MobilityProcedureNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Object containing hyperlinks related to the resource. + TestNotification__links: + required: + - subscription + type: object + properties: + subscription: + $ref: '#/components/schemas/LinkType' + description: Hyperlink related to the resource. -- GitLab From 9a347c80389baa0cdab5d2323c172bc25b006168 Mon Sep 17 00:00:00 2001 From: garciay Date: Mon, 13 Jun 2022 11:52:54 +0200 Subject: [PATCH 181/183] Update MEC-021 docs --- docs/api-ams/.openapi-generator/FILES | 15 ++++++++-- docs/api-ams/Apis/AmsiApi.md | 28 +++++++++---------- docs/api-ams/Apis/UnsupportedApi.md | 8 +++--- .../Models/AdjacentAppInfoNotification.md | 6 ++-- ...acentAppInfoNotificationAdjacentAppInfo.md | 4 +-- .../Models/AdjacentAppInfoSubscription.md | 8 ++++-- .../AdjacentAppInfoSubscriptionLinks.md | 2 +- .../api-ams/Models/AdjacentAppInstanceInfo.md | 1 + ...ionLinks.md => AppMobilityServiceLevel.md} | 3 +- docs/api-ams/Models/AssociateId.md | 4 +-- docs/api-ams/Models/CommunicationInterface.md | 2 +- .../CommunicationInterfaceIpAddresses.md | 10 +++++++ docs/api-ams/Models/ContextTransferState.md | 8 ++++++ docs/api-ams/Models/ExpiryNotification.md | 5 ++-- docs/api-ams/Models/InlineNotification.md | 14 ---------- docs/api-ams/Models/InlineSubscription.md | 13 --------- docs/api-ams/Models/LinkType.md | 2 +- docs/api-ams/Models/MECHostInformation.md | 2 +- .../Models/MobilityProcedureNotification.md | 9 +++--- .../MobilityProcedureNotificationLinks.md | 9 ++++++ ...ilityProcedureNotificationTargetAppInfo.md | 2 +- .../Models/MobilityProcedureSubscription.md | 8 ++++-- ...lityProcedureSubscriptionFilterCriteria.md | 4 +-- .../MobilityProcedureSubscriptionLinks.md | 9 ++++++ docs/api-ams/Models/MobilityStatus.md | 8 ++++++ docs/api-ams/Models/ProblemDetails.md | 4 +-- docs/api-ams/Models/RegistrationInfo.md | 6 ++-- .../RegistrationInfoDeviceInformation.md | 4 +-- .../RegistrationInfoServiceConsumerId.md | 10 +++++++ docs/api-ams/Models/SubscriptionLinkList.md | 3 +- .../Models/SubscriptionLinkListLinks.md | 1 + .../SubscriptionLinkListSubscription.md | 4 +-- docs/api-ams/Models/SubscriptionType.md | 8 ++++++ docs/api-ams/Models/TestNotification.md | 10 +++++++ docs/api-ams/Models/TestNotificationLinks.md | 9 ++++++ docs/api-ams/Models/TimeStamp.md | 4 +-- docs/api-ams/Models/Type.md | 8 ++++++ docs/api-ams/Models/WebsockNotifConfig.md | 10 +++++++ docs/api-ams/README.md | 23 ++++++++++----- 39 files changed, 193 insertions(+), 95 deletions(-) rename docs/api-ams/Models/{ExpiryNotificationLinks.md => AppMobilityServiceLevel.md} (53%) create mode 100644 docs/api-ams/Models/CommunicationInterfaceIpAddresses.md create mode 100644 docs/api-ams/Models/ContextTransferState.md delete mode 100644 docs/api-ams/Models/InlineNotification.md delete mode 100644 docs/api-ams/Models/InlineSubscription.md create mode 100644 docs/api-ams/Models/MobilityProcedureNotificationLinks.md create mode 100644 docs/api-ams/Models/MobilityProcedureSubscriptionLinks.md create mode 100644 docs/api-ams/Models/MobilityStatus.md create mode 100644 docs/api-ams/Models/RegistrationInfoServiceConsumerId.md create mode 100644 docs/api-ams/Models/SubscriptionType.md create mode 100644 docs/api-ams/Models/TestNotification.md create mode 100644 docs/api-ams/Models/TestNotificationLinks.md create mode 100644 docs/api-ams/Models/Type.md create mode 100644 docs/api-ams/Models/WebsockNotifConfig.md diff --git a/docs/api-ams/.openapi-generator/FILES b/docs/api-ams/.openapi-generator/FILES index 1c2bb7a60..8afddf841 100644 --- a/docs/api-ams/.openapi-generator/FILES +++ b/docs/api-ams/.openapi-generator/FILES @@ -7,26 +7,35 @@ Models/AdjacentAppInfoSubscription.md Models/AdjacentAppInfoSubscriptionFilterCriteria.md Models/AdjacentAppInfoSubscriptionLinks.md Models/AdjacentAppInstanceInfo.md +Models/AppMobilityServiceLevel.md Models/AppTerminationNotification.md Models/AppTerminationNotificationLinks.md Models/AssociateId.md Models/CommunicationInterface.md +Models/CommunicationInterfaceIpAddresses.md +Models/ContextTransferState.md Models/ExpiryNotification.md -Models/ExpiryNotificationLinks.md -Models/InlineNotification.md -Models/InlineSubscription.md Models/LinkType.md Models/MECHostInformation.md Models/MobilityProcedureNotification.md +Models/MobilityProcedureNotificationLinks.md Models/MobilityProcedureNotificationTargetAppInfo.md Models/MobilityProcedureSubscription.md Models/MobilityProcedureSubscriptionFilterCriteria.md +Models/MobilityProcedureSubscriptionLinks.md +Models/MobilityStatus.md Models/OperationActionType.md Models/ProblemDetails.md Models/RegistrationInfo.md Models/RegistrationInfoDeviceInformation.md +Models/RegistrationInfoServiceConsumerId.md Models/SubscriptionLinkList.md Models/SubscriptionLinkListLinks.md Models/SubscriptionLinkListSubscription.md +Models/SubscriptionType.md +Models/TestNotification.md +Models/TestNotificationLinks.md Models/TimeStamp.md +Models/Type.md +Models/WebsockNotifConfig.md README.md diff --git a/docs/api-ams/Apis/AmsiApi.md b/docs/api-ams/Apis/AmsiApi.md index cb879b94e..cd01ce0d8 100644 --- a/docs/api-ams/Apis/AmsiApi.md +++ b/docs/api-ams/Apis/AmsiApi.md @@ -1,20 +1,20 @@ # AmsiApi -All URIs are relative to *https://localhost/sandboxname/amsi/v1* +All URIs are relative to *https://localhost/amsi/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**appMobilityServiceByIdDELETE**](AmsiApi.md#appMobilityServiceByIdDELETE) | **DELETE** /app_mobility_services/{appMobilityServiceId} | deregister the individual application mobility service [**appMobilityServiceByIdGET**](AmsiApi.md#appMobilityServiceByIdGET) | **GET** /app_mobility_services/{appMobilityServiceId} | Retrieve information about this individual application mobility service [**appMobilityServiceByIdPUT**](AmsiApi.md#appMobilityServiceByIdPUT) | **PUT** /app_mobility_services/{appMobilityServiceId} | update the existing individual application mobility service -[**appMobilityServiceGET**](AmsiApi.md#appMobilityServiceGET) | **GET** /app_mobility_services | Retrieve information about the registered application mobility service. +[**appMobilityServiceGET**](AmsiApi.md#appMobilityServiceGET) | **GET** /app_mobility_services | Retrieve information about the registered application mobility service. [**appMobilityServicePOST**](AmsiApi.md#appMobilityServicePOST) | **POST** /app_mobility_services | Create a new application mobility service for the service requester. [**mec011AppTerminationPOST**](AmsiApi.md#mec011AppTerminationPOST) | **POST** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination [**subByIdDELETE**](AmsiApi.md#subByIdDELETE) | **DELETE** /subscriptions/{subscriptionId} | cancel the existing individual subscription [**subByIdGET**](AmsiApi.md#subByIdGET) | **GET** /subscriptions/{subscriptionId} | Retrieve information about this subscription. [**subByIdPUT**](AmsiApi.md#subByIdPUT) | **PUT** /subscriptions/{subscriptionId} | update the existing individual subscription. -[**subGET**](AmsiApi.md#subGET) | **GET** /subscriptions/ | Retrieve information about the subscriptions for this requestor. -[**subPOST**](AmsiApi.md#subPOST) | **POST** /subscriptions/ | Create a new subscription to Application Mobility Service notifications. +[**subGET**](AmsiApi.md#subGET) | **GET** /subscriptions | Retrieve information about the subscriptions for this requestor. +[**subPOST**](AmsiApi.md#subPOST) | **POST** /subscriptions | Create a new subscription to Application Mobility Service notifications. @@ -103,7 +103,7 @@ No authorization required # **appMobilityServiceGET** > List appMobilityServiceGET(filter, all\_fields, fields, exclude\_fields, exclude\_default) - Retrieve information about the registered application mobility service. +Retrieve information about the registered application mobility service. Retrieve information about the registered application mobility service. @@ -213,7 +213,7 @@ No authorization required # **subByIdGET** -> InlineSubscription subByIdGET(subscriptionId) +> oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription> subByIdGET(subscriptionId) Retrieve information about this subscription. @@ -227,7 +227,7 @@ Name | Type | Description | Notes ### Return type -[**InlineSubscription**](../Models/InlineSubscription.md) +[**oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>**](../Models/oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>.md) ### Authorization @@ -240,7 +240,7 @@ No authorization required # **subByIdPUT** -> InlineSubscription subByIdPUT(subscriptionId, InlineSubscription) +> oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription> subByIdPUT(subscriptionId, UNKNOWN\_BASE\_TYPE) update the existing individual subscription. @@ -251,11 +251,11 @@ update the existing individual subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **subscriptionId** | **String**| Refers to created subscription, where the AMS API allocates a unique resource name for this subscription | [default to null] - **InlineSubscription** | [**InlineSubscription**](../Models/InlineSubscription.md)| | + **UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| | ### Return type -[**InlineSubscription**](../Models/InlineSubscription.md) +[**oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>**](../Models/oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>.md) ### Authorization @@ -278,7 +278,7 @@ Retrieve information about the subscriptions for this requestor. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **subscriptionType** | **String**| Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info | [optional] [default to null] + **subscriptionType** | **String**| Query parameter to filter on a specific subscription type. Permitted values: mobility_proc or adj_app_info | [default to null] ### Return type @@ -295,7 +295,7 @@ No authorization required # **subPOST** -> InlineSubscription subPOST(InlineSubscription) +> oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription> subPOST(UNKNOWN\_BASE\_TYPE) Create a new subscription to Application Mobility Service notifications. @@ -305,11 +305,11 @@ Create a new subscription to Application Mobility Service notifications. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **InlineSubscription** | [**InlineSubscription**](../Models/InlineSubscription.md)| | + **UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| | ### Return type -[**InlineSubscription**](../Models/InlineSubscription.md) +[**oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>**](../Models/oneOf<MobilityProcedureSubscription,AdjacentAppInfoSubscription>.md) ### Authorization diff --git a/docs/api-ams/Apis/UnsupportedApi.md b/docs/api-ams/Apis/UnsupportedApi.md index b84b5fbc7..f657e2469 100644 --- a/docs/api-ams/Apis/UnsupportedApi.md +++ b/docs/api-ams/Apis/UnsupportedApi.md @@ -1,6 +1,6 @@ # UnsupportedApi -All URIs are relative to *https://localhost/sandboxname/amsi/v1* +All URIs are relative to *https://localhost/amsi/v1* Method | HTTP request | Description ------------- | ------------- | ------------- @@ -20,10 +20,10 @@ Retrieve information about this subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| Attribute-based filtering parameters according to ETSI GS MEC 011 | [optional] [default to null] + **filter** | **String**| Attribute-based filtering parameters according to ETSI GS MEC 009 | [optional] [default to null] **all\_fields** | **String**| Include all complex attributes in the response. | [optional] [default to null] - **fields** | **String**| Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011 | [optional] [default to null] - **exclude\_fields** | **String**| Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011 | [optional] [default to null] + **fields** | **String**| Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 009 | [optional] [default to null] + **exclude\_fields** | **String**| Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 009 | [optional] [default to null] **exclude\_default** | **String**| Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details. | [optional] [default to null] ### Return type diff --git a/docs/api-ams/Models/AdjacentAppInfoNotification.md b/docs/api-ams/Models/AdjacentAppInfoNotification.md index d72b3d3e6..a5b89588a 100644 --- a/docs/api-ams/Models/AdjacentAppInfoNotification.md +++ b/docs/api-ams/Models/AdjacentAppInfoNotification.md @@ -3,9 +3,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**notificationType** | [**String**](string.md) | Shall be set to \\\"AdjacentAppInfoNotification\\\". | [default to null] -**adjacentAppInfo** | [**List**](AdjacentAppInfoNotification_adjacentAppInfo.md) | | [optional] [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"AdjacentAppInfoNotification\". | [default to null] **timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**associateId** | [**List**](AssociateId.md) | 1 to N identifiers to associate the information for specific | [optional] [default to null] +**adjacentAppInfo** | [**List**](AdjacentAppInfoNotificationAdjacentAppInfo.md) | | [optional] [default to null] +**\_links** | [**MobilityProcedureNotification__links**](MobilityProcedureNotification__links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/AdjacentAppInfoNotificationAdjacentAppInfo.md b/docs/api-ams/Models/AdjacentAppInfoNotificationAdjacentAppInfo.md index 9efb7c5a1..2bee18487 100644 --- a/docs/api-ams/Models/AdjacentAppInfoNotificationAdjacentAppInfo.md +++ b/docs/api-ams/Models/AdjacentAppInfoNotificationAdjacentAppInfo.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**appInstanceId** | [**String**](string.md) | Identifiers of the target application instance. | [default to null] -**commInterface** | [**CommunicationInterface**](CommunicationInterface.md) | | [optional] [default to null] +**appInstanceId** | [**String**](string.md) | Identifier of the adjacent application instance. | [default to null] +**commInterface** | [**List**](CommunicationInterface.md) | If present, it represents the communication interface(s) information of the application instance. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/AdjacentAppInfoSubscription.md b/docs/api-ams/Models/AdjacentAppInfoSubscription.md index e9495a899..a543ebb49 100644 --- a/docs/api-ams/Models/AdjacentAppInfoSubscription.md +++ b/docs/api-ams/Models/AdjacentAppInfoSubscription.md @@ -3,10 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**\_links** | [**AdjacentAppInfoSubscription__links**](AdjacentAppInfoSubscription__links.md) | | [optional] [default to null] -**callbackReference** | [**URI**](URI.md) | URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. | [default to null] +**\_links** | [**AdjacentAppInfoSubscription.links**](AdjacentAppInfoSubscription.links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. | [optional] [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] **expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**filterCriteria** | [**AdjacentAppInfoSubscription_filterCriteria**](AdjacentAppInfoSubscription_filterCriteria.md) | | [default to null] +**filterCriteria** | [**AdjacentAppInfoSubscription.filterCriteria**](AdjacentAppInfoSubscription.filterCriteria.md) | | [default to null] **subscriptionType** | [**String**](string.md) | Shall be set to \"AdjacentAppInfoSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/AdjacentAppInfoSubscriptionLinks.md b/docs/api-ams/Models/AdjacentAppInfoSubscriptionLinks.md index d7d2594b4..9edf2fb2a 100644 --- a/docs/api-ams/Models/AdjacentAppInfoSubscriptionLinks.md +++ b/docs/api-ams/Models/AdjacentAppInfoSubscriptionLinks.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**self** | [**LinkType**](LinkType.md) | | [optional] [default to null] +**self** | [**LinkType**](LinkType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/AdjacentAppInstanceInfo.md b/docs/api-ams/Models/AdjacentAppInstanceInfo.md index 7a4d0541a..70cc7c463 100644 --- a/docs/api-ams/Models/AdjacentAppInstanceInfo.md +++ b/docs/api-ams/Models/AdjacentAppInstanceInfo.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **appInstanceCommLink** | [**List**](CommunicationInterface.md) | It specifies the communication interface of application instance. | [default to null] **appInstanceId** | [**String**](string.md) | Identifier of the application instance. | [default to null] **mecHostInformation** | [**MECHostInformation**](MECHostInformation.md) | | [optional] [default to null] +**registeredInstanceId** | [**String**](string.md) | dentifier of the application instance that registers to the AMS, which is instantiated from the application descriptor identified by the attribute \"appDId\". | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/ExpiryNotificationLinks.md b/docs/api-ams/Models/AppMobilityServiceLevel.md similarity index 53% rename from docs/api-ams/Models/ExpiryNotificationLinks.md rename to docs/api-ams/Models/AppMobilityServiceLevel.md index 5ab22fc2c..62cf203c1 100644 --- a/docs/api-ams/Models/ExpiryNotificationLinks.md +++ b/docs/api-ams/Models/AppMobilityServiceLevel.md @@ -1,9 +1,8 @@ -# ExpiryNotificationLinks +# AppMobilityServiceLevel ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**self** | [**URI**](URI.md) | Self referring URI. This shall be included in the response from the AMS. The URI shall be unique within the AMS API as it acts as an ID for the subscription. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/AssociateId.md b/docs/api-ams/Models/AssociateId.md index d3bef7791..d8cf476b8 100644 --- a/docs/api-ams/Models/AssociateId.md +++ b/docs/api-ams/Models/AssociateId.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | [**Integer**](integer.md) | Numeric value (0-255) corresponding to specified type of identifier as following: <p>0 = reserved. <p>1 = UE_IPv4_ADDRESS. <p>2 = UE_IPV6_ADDRESS. <p>3 = NATED_IP_ADDRESS. <p>4 = GTP_TEID. | [optional] [default to null] -**value** | [**String**](string.md) | Value for the identifier. | [optional] [default to null] +**type** | [**Type**](Type.md) | | [default to null] +**value** | [**String**](string.md) | Value for the identifier. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/CommunicationInterface.md b/docs/api-ams/Models/CommunicationInterface.md index 33fa8879a..32945f0bb 100644 --- a/docs/api-ams/Models/CommunicationInterface.md +++ b/docs/api-ams/Models/CommunicationInterface.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ipAddresses** | [**List**](object.md) | | [optional] [default to null] +**ipAddresses** | [**List**](CommunicationInterface.IpAddresses.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/CommunicationInterfaceIpAddresses.md b/docs/api-ams/Models/CommunicationInterfaceIpAddresses.md new file mode 100644 index 000000000..497a49c58 --- /dev/null +++ b/docs/api-ams/Models/CommunicationInterfaceIpAddresses.md @@ -0,0 +1,10 @@ +# CommunicationInterfaceIpAddresses +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**host** | [**String**](string.md) | | [default to null] +**port** | [**Integer**](integer.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/ContextTransferState.md b/docs/api-ams/Models/ContextTransferState.md new file mode 100644 index 000000000..a3d1d25c0 --- /dev/null +++ b/docs/api-ams/Models/ContextTransferState.md @@ -0,0 +1,8 @@ +# ContextTransferState +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/ExpiryNotification.md b/docs/api-ams/Models/ExpiryNotification.md index 128552397..21d99c3e5 100644 --- a/docs/api-ams/Models/ExpiryNotification.md +++ b/docs/api-ams/Models/ExpiryNotification.md @@ -3,9 +3,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**\_links** | [**ExpiryNotification__links**](ExpiryNotification__links.md) | | [default to null] -**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"ExpiryNotification\". | [default to null] **timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**\_links** | [**MobilityProcedureNotification__links**](MobilityProcedureNotification__links.md) | | [default to null] +**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/InlineNotification.md b/docs/api-ams/Models/InlineNotification.md deleted file mode 100644 index cca99af1a..000000000 --- a/docs/api-ams/Models/InlineNotification.md +++ /dev/null @@ -1,14 +0,0 @@ -# InlineNotification -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**associateId** | [**List**](AssociateId.md) | 0 to N identifiers to associate the information for specific UE(s) and flow(s). | [optional] [default to null] -**mobilityStatus** | [**Integer**](integer.md) | Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. | [default to null] -**notificationType** | [**String**](string.md) | Shall be set to \\\"AdjacentAppInfoNotification\\\". | [default to null] -**targetAppInfo** | [**MobilityProcedureNotification_targetAppInfo**](MobilityProcedureNotification_targetAppInfo.md) | | [optional] [default to null] -**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**adjacentAppInfo** | [**List**](AdjacentAppInfoNotification_adjacentAppInfo.md) | | [optional] [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/api-ams/Models/InlineSubscription.md b/docs/api-ams/Models/InlineSubscription.md deleted file mode 100644 index 8976ca7cf..000000000 --- a/docs/api-ams/Models/InlineSubscription.md +++ /dev/null @@ -1,13 +0,0 @@ -# InlineSubscription -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**\_links** | [**AdjacentAppInfoSubscription__links**](AdjacentAppInfoSubscription__links.md) | | [optional] [default to null] -**callbackReference** | [**URI**](URI.md) | URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response. | [default to null] -**expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**filterCriteria** | [**AdjacentAppInfoSubscription_filterCriteria**](AdjacentAppInfoSubscription_filterCriteria.md) | | [default to null] -**subscriptionType** | [**String**](string.md) | Shall be set to \"AdjacentAppInfoSubscription\". | [default to null] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - diff --git a/docs/api-ams/Models/LinkType.md b/docs/api-ams/Models/LinkType.md index e88290b41..ac554593f 100644 --- a/docs/api-ams/Models/LinkType.md +++ b/docs/api-ams/Models/LinkType.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**href** | [**URI**](URI.md) | URI referring to a resource | [default to null] +**href** | [**String**](string.md) | The URI referring to the subscription. | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MECHostInformation.md b/docs/api-ams/Models/MECHostInformation.md index 457687375..236cdcb48 100644 --- a/docs/api-ams/Models/MECHostInformation.md +++ b/docs/api-ams/Models/MECHostInformation.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hostName** | [**String**](string.md) | Human-readable name of MEC host. | [optional] [default to null] -**hostId** | [**Object**](.md) | 'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259' | [default to null] +**hostId** | [**Map**](object.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MobilityProcedureNotification.md b/docs/api-ams/Models/MobilityProcedureNotification.md index 134c3d495..17344b559 100644 --- a/docs/api-ams/Models/MobilityProcedureNotification.md +++ b/docs/api-ams/Models/MobilityProcedureNotification.md @@ -3,11 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**associateId** | [**List**](AssociateId.md) | 0 to N identifiers to associate the information for specific UE(s) and flow(s). | [optional] [default to null] -**mobilityStatus** | [**Integer**](integer.md) | Indicate the status of the UE mobility. Values are defined as following: 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED. Other values are reserved. | [default to null] -**notificationType** | [**String**](string.md) | Shall be set to \\\"MobilityProcedureNotification\\\". | [default to null] -**targetAppInfo** | [**MobilityProcedureNotification_targetAppInfo**](MobilityProcedureNotification_targetAppInfo.md) | | [optional] [default to null] +**notificationType** | [**String**](string.md) | Shall be set to \"MobilityProcedureNotification\". | [default to null] **timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] +**associateId** | [**List**](AssociateId.md) | 1 to N identifiers to associate the information for specific | [default to null] +**mobilityStatus** | [**MobilityStatus**](MobilityStatus.md) | | [default to null] +**targetAppInfo** | [**MobilityProcedureNotification_targetAppInfo**](MobilityProcedureNotification_targetAppInfo.md) | | [optional] [default to null] +**\_links** | [**MobilityProcedureNotification__links**](MobilityProcedureNotification__links.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MobilityProcedureNotificationLinks.md b/docs/api-ams/Models/MobilityProcedureNotificationLinks.md new file mode 100644 index 000000000..15df91159 --- /dev/null +++ b/docs/api-ams/Models/MobilityProcedureNotificationLinks.md @@ -0,0 +1,9 @@ +# MobilityProcedureNotificationLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscription** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/MobilityProcedureNotificationTargetAppInfo.md b/docs/api-ams/Models/MobilityProcedureNotificationTargetAppInfo.md index be95e9d18..df205ba40 100644 --- a/docs/api-ams/Models/MobilityProcedureNotificationTargetAppInfo.md +++ b/docs/api-ams/Models/MobilityProcedureNotificationTargetAppInfo.md @@ -3,7 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**appInstanceId** | [**String**](string.md) | Identifiers of the target application instance. | [optional] [default to null] +**appInstanceId** | [**String**](string.md) | Identifiers of the target application instance. | [default to null] **commInterface** | [**CommunicationInterface**](CommunicationInterface.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MobilityProcedureSubscription.md b/docs/api-ams/Models/MobilityProcedureSubscription.md index 5d3eecff8..1fde221e4 100644 --- a/docs/api-ams/Models/MobilityProcedureSubscription.md +++ b/docs/api-ams/Models/MobilityProcedureSubscription.md @@ -3,10 +3,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**\_links** | [**AdjacentAppInfoSubscription__links**](AdjacentAppInfoSubscription__links.md) | | [optional] [default to null] -**callbackReference** | [**URI**](URI.md) | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [default to null] +**\_links** | [**MobilityProcedureSubscription.links**](MobilityProcedureSubscription.links.md) | | [optional] [default to null] +**callbackReference** | [**URI**](URI.md) | URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall be included both in the request and in response. | [optional] [default to null] +**requestTestNotification** | [**Boolean**](boolean.md) | Shall be set to TRUE by the service consumer to request a test notification via HTTP on the callbackReference URI, specified in ETSI GS MEC 009, as described in clause 6.12a. | [optional] [default to null] +**websockNotifConfig** | [**WebsockNotifConfig**](WebsockNotifConfig.md) | | [optional] [default to null] **expiryDeadline** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null] -**filterCriteria** | [**MobilityProcedureSubscription_filterCriteria**](MobilityProcedureSubscription_filterCriteria.md) | | [default to null] +**filterCriteria** | [**MobilityProcedureSubscription.filterCriteria**](MobilityProcedureSubscription.filterCriteria.md) | | [default to null] **subscriptionType** | [**String**](string.md) | Shall be set to \"MobilityProcedureSubscription\". | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MobilityProcedureSubscriptionFilterCriteria.md b/docs/api-ams/Models/MobilityProcedureSubscriptionFilterCriteria.md index ef75fe788..788301814 100644 --- a/docs/api-ams/Models/MobilityProcedureSubscriptionFilterCriteria.md +++ b/docs/api-ams/Models/MobilityProcedureSubscriptionFilterCriteria.md @@ -3,9 +3,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**appInstanceId** | [**String**](string.md) | Identifier of the application instance that registers the application mobility service. | [optional] [default to null] +**appInstanceId** | [**String**](string.md) | Identifier of the application instance that registers the Application Mobility Service. | [optional] [default to null] **associateId** | [**List**](AssociateId.md) | 0 to N identifiers to associate the information for specific UE(s) and flow(s). | [optional] [default to null] -**mobilityStatus** | [**List**](integer.md) | In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. | [optional] [default to null] +**mobilityStatus** | [**List**](MobilityStatus.md) | In case mobilityStatus is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/MobilityProcedureSubscriptionLinks.md b/docs/api-ams/Models/MobilityProcedureSubscriptionLinks.md new file mode 100644 index 000000000..c1bc2b7d2 --- /dev/null +++ b/docs/api-ams/Models/MobilityProcedureSubscriptionLinks.md @@ -0,0 +1,9 @@ +# MobilityProcedureSubscriptionLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**self** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/MobilityStatus.md b/docs/api-ams/Models/MobilityStatus.md new file mode 100644 index 000000000..4613be6a7 --- /dev/null +++ b/docs/api-ams/Models/MobilityStatus.md @@ -0,0 +1,8 @@ +# MobilityStatus +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/ProblemDetails.md b/docs/api-ams/Models/ProblemDetails.md index 840b6dc7f..2d620191b 100644 --- a/docs/api-ams/Models/ProblemDetails.md +++ b/docs/api-ams/Models/ProblemDetails.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **detail** | [**String**](string.md) | A human-readable explanation specific to this occurrence of the problem | [optional] [default to null] -**instance** | [**URI**](URI.md) | A URI reference that identifies the specific occurrence of the problem | [optional] [default to null] +**instance** | [**String**](string.md) | A URI reference that identifies the specific occurrence of the problem | [optional] [default to null] **status** | [**Integer**](integer.md) | The HTTP status code for this occurrence of the problem | [optional] [default to null] **title** | [**String**](string.md) | A short, human-readable summary of the problem type | [optional] [default to null] -**type** | [**URI**](URI.md) | A URI reference according to IETF RFC 3986 that identifies the problem type | [optional] [default to null] +**type** | [**String**](string.md) | A URI reference according to IETF RFC 3986 that identifies the problem type | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/RegistrationInfo.md b/docs/api-ams/Models/RegistrationInfo.md index b7104bdd9..f17fff18f 100644 --- a/docs/api-ams/Models/RegistrationInfo.md +++ b/docs/api-ams/Models/RegistrationInfo.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **appMobilityServiceId** | [**String**](string.md) | The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise. | [optional] [default to null] -**deviceInformation** | [**List**](RegistrationInfo_deviceInformation.md) | If present, it specifies the device served by the application instance which is registering the application mobility service. | [optional] [default to null] -**expiryTime** | [**Integer**](integer.md) | If present, it indicates the time of application mobility service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. | [optional] [default to null] -**serviceConsumerId** | [**Object**](object.md) | The identifier of service consumer requesting the application mobility service, i.e. either the application instance ID or the MEC platform ID. | [default to null] +**deviceInformation** | [**List**](RegistrationInfo.deviceInformation.md) | If present, it specifies the device served by the application instance which is registering is registering the Application Mobility Service. | [optional] [default to null] +**expiryTime** | [**Integer**](integer.md) | If present, it indicates the time of Application Mobility Service expiration from the time of registration accepted.The value \"0\" means infinite time, i.e. no expiration.The unit of expiry time is one second. | [optional] [default to null] +**serviceConsumerId** | [**RegistrationInfo.serviceConsumerId**](RegistrationInfo.serviceConsumerId.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/RegistrationInfoDeviceInformation.md b/docs/api-ams/Models/RegistrationInfoDeviceInformation.md index b82e87a18..ea4eca300 100644 --- a/docs/api-ams/Models/RegistrationInfoDeviceInformation.md +++ b/docs/api-ams/Models/RegistrationInfoDeviceInformation.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **associateId** | [**AssociateId**](AssociateId.md) | | [default to null] -**appMobilityServiceLevel** | [**Integer**](integer.md) | This attribute provides an option for the application instance (server) to communicate with the application client before relocating this application instance to another MEC host. Applicable values are: 1 = APP_MOBILITY_NOT_ALLOWED, 2 = APP_MOBILITY_WITH_CONFIRMATION, 3 = APP_MOBILITY_WITHOUT_CONFIRMATION. | [optional] [default to null] -**contextTransferState** | [**Integer**](integer.md) | If present, it represents the state of transferring the user context to another application instance. The applicable values are: 0 = NOT_TRANSFERRED, 1= USER_CONTEXT_TRANSEFR_COMPLETED. | [optional] [default to null] +**appMobilityServiceLevel** | [**AppMobilityServiceLevel**](AppMobilityServiceLevel.md) | | [optional] [default to null] +**contextTransferState** | [**contextTransferState**](contextTransferState.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/RegistrationInfoServiceConsumerId.md b/docs/api-ams/Models/RegistrationInfoServiceConsumerId.md new file mode 100644 index 000000000..1933393de --- /dev/null +++ b/docs/api-ams/Models/RegistrationInfoServiceConsumerId.md @@ -0,0 +1,10 @@ +# RegistrationInfoServiceConsumerId +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**appInstanceId** | [**String**](string.md) | If present, it represents the identifier of the application instance registering the Application Mobility Service. | [optional] [default to null] +**mepId** | [**String**](string.md) | If present, it represents the identifier of the MEC platform registering the Application Mobility Service. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/SubscriptionLinkList.md b/docs/api-ams/Models/SubscriptionLinkList.md index 113558683..7344a86a3 100644 --- a/docs/api-ams/Models/SubscriptionLinkList.md +++ b/docs/api-ams/Models/SubscriptionLinkList.md @@ -3,8 +3,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**\_links** | [**SubscriptionLinkList__links**](SubscriptionLinkList__links.md) | | [default to null] -**subscription** | [**List**](SubscriptionLinkList_subscription.md) | A link to a subscription. | [optional] [default to null] +**\_links** | [**SubscriptionLinkList.links**](SubscriptionLinkList.links.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/SubscriptionLinkListLinks.md b/docs/api-ams/Models/SubscriptionLinkListLinks.md index 311feccaa..00cf3ff9a 100644 --- a/docs/api-ams/Models/SubscriptionLinkListLinks.md +++ b/docs/api-ams/Models/SubscriptionLinkListLinks.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **self** | [**LinkType**](LinkType.md) | | [default to null] +**subscription** | [**List**](SubscriptionLinkList.subscription.md) | The service consumer’s subscriptions. | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/SubscriptionLinkListSubscription.md b/docs/api-ams/Models/SubscriptionLinkListSubscription.md index 9d1693978..ed27d258a 100644 --- a/docs/api-ams/Models/SubscriptionLinkListSubscription.md +++ b/docs/api-ams/Models/SubscriptionLinkListSubscription.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**href** | [**URI**](URI.md) | The URI referring to the subscription. | [default to null] -**subscriptionType** | [**Integer**](integer.md) | Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO. | [default to null] +**href** | [**String**](string.md) | The URI referring to the subscription. | [default to null] +**subscriptionType** | [**subscriptionType**](subscriptionType.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/SubscriptionType.md b/docs/api-ams/Models/SubscriptionType.md new file mode 100644 index 000000000..905734c37 --- /dev/null +++ b/docs/api-ams/Models/SubscriptionType.md @@ -0,0 +1,8 @@ +# SubscriptionType +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/TestNotification.md b/docs/api-ams/Models/TestNotification.md new file mode 100644 index 000000000..a6b23295e --- /dev/null +++ b/docs/api-ams/Models/TestNotification.md @@ -0,0 +1,10 @@ +# TestNotification +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**notificationType** | [**String**](string.md) | Shall be set to \"TestNotification\". | [default to null] +**\_links** | [**TestNotification__links**](TestNotification__links.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/TestNotificationLinks.md b/docs/api-ams/Models/TestNotificationLinks.md new file mode 100644 index 000000000..118582a62 --- /dev/null +++ b/docs/api-ams/Models/TestNotificationLinks.md @@ -0,0 +1,9 @@ +# TestNotificationLinks +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscription** | [**LinkType**](LinkType.md) | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/TimeStamp.md b/docs/api-ams/Models/TimeStamp.md index a86b6d00d..7e39e1f2f 100644 --- a/docs/api-ams/Models/TimeStamp.md +++ b/docs/api-ams/Models/TimeStamp.md @@ -3,8 +3,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**nanoSeconds** | [**Integer**](integer.md) | The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. | [default to null] -**seconds** | [**Integer**](integer.md) | The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. | [default to null] +**seconds** | [**Integer**](integer.md) | 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' | [default to null] +**nanoSeconds** | [**Integer**](integer.md) | 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.' | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/api-ams/Models/Type.md b/docs/api-ams/Models/Type.md new file mode 100644 index 000000000..47a93fd89 --- /dev/null +++ b/docs/api-ams/Models/Type.md @@ -0,0 +1,8 @@ +# Type +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/Models/WebsockNotifConfig.md b/docs/api-ams/Models/WebsockNotifConfig.md new file mode 100644 index 000000000..31db3e834 --- /dev/null +++ b/docs/api-ams/Models/WebsockNotifConfig.md @@ -0,0 +1,10 @@ +# WebsockNotifConfig +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**websocketUri** | [**URI**](URI.md) | Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. | [optional] [default to null] +**requestWebsocketUri** | [**Boolean**](boolean.md) | Set to true by the service consumer to indicate that Websocket delivery is requested. | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/docs/api-ams/README.md b/docs/api-ams/README.md index 07866b485..77d28b885 100644 --- a/docs/api-ams/README.md +++ b/docs/api-ams/README.md @@ -3,21 +3,21 @@ ## Documentation for API Endpoints -All URIs are relative to *https://localhost/sandboxname/amsi/v1* +All URIs are relative to *https://localhost/amsi/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *AmsiApi* | [**appMobilityServiceByIdDELETE**](Apis/AmsiApi.md#appmobilityservicebyiddelete) | **DELETE** /app_mobility_services/{appMobilityServiceId} | deregister the individual application mobility service *AmsiApi* | [**appMobilityServiceByIdGET**](Apis/AmsiApi.md#appmobilityservicebyidget) | **GET** /app_mobility_services/{appMobilityServiceId} | Retrieve information about this individual application mobility service *AmsiApi* | [**appMobilityServiceByIdPUT**](Apis/AmsiApi.md#appmobilityservicebyidput) | **PUT** /app_mobility_services/{appMobilityServiceId} | update the existing individual application mobility service -*AmsiApi* | [**appMobilityServiceGET**](Apis/AmsiApi.md#appmobilityserviceget) | **GET** /app_mobility_services | Retrieve information about the registered application mobility service. +*AmsiApi* | [**appMobilityServiceGET**](Apis/AmsiApi.md#appmobilityserviceget) | **GET** /app_mobility_services | Retrieve information about the registered application mobility service. *AmsiApi* | [**appMobilityServicePOST**](Apis/AmsiApi.md#appmobilityservicepost) | **POST** /app_mobility_services | Create a new application mobility service for the service requester. *AmsiApi* | [**mec011AppTerminationPOST**](Apis/AmsiApi.md#mec011appterminationpost) | **POST** /notifications/mec011/appTermination | MEC011 Application Termination notification for self termination *AmsiApi* | [**subByIdDELETE**](Apis/AmsiApi.md#subbyiddelete) | **DELETE** /subscriptions/{subscriptionId} | cancel the existing individual subscription *AmsiApi* | [**subByIdGET**](Apis/AmsiApi.md#subbyidget) | **GET** /subscriptions/{subscriptionId} | Retrieve information about this subscription. *AmsiApi* | [**subByIdPUT**](Apis/AmsiApi.md#subbyidput) | **PUT** /subscriptions/{subscriptionId} | update the existing individual subscription. -*AmsiApi* | [**subGET**](Apis/AmsiApi.md#subget) | **GET** /subscriptions/ | Retrieve information about the subscriptions for this requestor. -*AmsiApi* | [**subPOST**](Apis/AmsiApi.md#subpost) | **POST** /subscriptions/ | Create a new subscription to Application Mobility Service notifications. +*AmsiApi* | [**subGET**](Apis/AmsiApi.md#subget) | **GET** /subscriptions | Retrieve information about the subscriptions for this requestor. +*AmsiApi* | [**subPOST**](Apis/AmsiApi.md#subpost) | **POST** /subscriptions | Create a new subscription to Application Mobility Service notifications. *UnsupportedApi* | [**adjAppInstGET**](Apis/UnsupportedApi.md#adjappinstget) | **GET** /queries/adjacent_app_instances | Retrieve information about this subscription. *UnsupportedApi* | [**appMobilityServiceDerPOST**](Apis/UnsupportedApi.md#appmobilityservicederpost) | **POST** /app_mobility_services/{appMobilityServiceId}/deregister_task | deregister the individual application mobility service @@ -31,28 +31,37 @@ Class | Method | HTTP request | Description - [AdjacentAppInfoSubscriptionFilterCriteria](./Models/AdjacentAppInfoSubscriptionFilterCriteria.md) - [AdjacentAppInfoSubscriptionLinks](./Models/AdjacentAppInfoSubscriptionLinks.md) - [AdjacentAppInstanceInfo](./Models/AdjacentAppInstanceInfo.md) + - [AppMobilityServiceLevel](./Models/AppMobilityServiceLevel.md) - [AppTerminationNotification](./Models/AppTerminationNotification.md) - [AppTerminationNotificationLinks](./Models/AppTerminationNotificationLinks.md) - [AssociateId](./Models/AssociateId.md) - [CommunicationInterface](./Models/CommunicationInterface.md) + - [CommunicationInterfaceIpAddresses](./Models/CommunicationInterfaceIpAddresses.md) + - [ContextTransferState](./Models/ContextTransferState.md) - [ExpiryNotification](./Models/ExpiryNotification.md) - - [ExpiryNotificationLinks](./Models/ExpiryNotificationLinks.md) - - [InlineNotification](./Models/InlineNotification.md) - - [InlineSubscription](./Models/InlineSubscription.md) - [LinkType](./Models/LinkType.md) - [MECHostInformation](./Models/MECHostInformation.md) - [MobilityProcedureNotification](./Models/MobilityProcedureNotification.md) + - [MobilityProcedureNotificationLinks](./Models/MobilityProcedureNotificationLinks.md) - [MobilityProcedureNotificationTargetAppInfo](./Models/MobilityProcedureNotificationTargetAppInfo.md) - [MobilityProcedureSubscription](./Models/MobilityProcedureSubscription.md) - [MobilityProcedureSubscriptionFilterCriteria](./Models/MobilityProcedureSubscriptionFilterCriteria.md) + - [MobilityProcedureSubscriptionLinks](./Models/MobilityProcedureSubscriptionLinks.md) + - [MobilityStatus](./Models/MobilityStatus.md) - [OperationActionType](./Models/OperationActionType.md) - [ProblemDetails](./Models/ProblemDetails.md) - [RegistrationInfo](./Models/RegistrationInfo.md) - [RegistrationInfoDeviceInformation](./Models/RegistrationInfoDeviceInformation.md) + - [RegistrationInfoServiceConsumerId](./Models/RegistrationInfoServiceConsumerId.md) - [SubscriptionLinkList](./Models/SubscriptionLinkList.md) - [SubscriptionLinkListLinks](./Models/SubscriptionLinkListLinks.md) - [SubscriptionLinkListSubscription](./Models/SubscriptionLinkListSubscription.md) + - [SubscriptionType](./Models/SubscriptionType.md) + - [TestNotification](./Models/TestNotification.md) + - [TestNotificationLinks](./Models/TestNotificationLinks.md) - [TimeStamp](./Models/TimeStamp.md) + - [Type](./Models/Type.md) + - [WebsockNotifConfig](./Models/WebsockNotifConfig.md) -- GitLab From bb04dc8c0e7a345a001f459f495d225d34d1402c Mon Sep 17 00:00:00 2001 From: muhammadh Date: Mon, 13 Jun 2022 16:03:21 +0500 Subject: [PATCH 182/183] update the copyright year and api version in the remaining files --- go-apps/meep-rnis/server/api_rni.go | 6 +++--- go-apps/meep-rnis/server/api_unsupported.go | 6 +++--- go-apps/meep-rnis/server/convert.go | 2 +- go-apps/meep-rnis/server/logger.go | 6 +++--- go-apps/meep-rnis/server/rnis.go | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/go-apps/meep-rnis/server/api_rni.go b/go-apps/meep-rnis/server/api_rni.go index d616aa505..499334a1c 100644 --- a/go-apps/meep-rnis/server/api_rni.go +++ b/go-apps/meep-rnis/server/api_rni.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/api_unsupported.go b/go-apps/meep-rnis/server/api_unsupported.go index 1d5e533c8..11444d51a 100644 --- a/go-apps/meep-rnis/server/api_unsupported.go +++ b/go-apps/meep-rnis/server/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/convert.go b/go-apps/meep-rnis/server/convert.go index dfef8ab18..55e9c6a90 100755 --- a/go-apps/meep-rnis/server/convert.go +++ b/go-apps/meep-rnis/server/convert.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-rnis/server/logger.go b/go-apps/meep-rnis/server/logger.go index 26c998e7d..ccd00a0d8 100644 --- a/go-apps/meep-rnis/server/logger.go +++ b/go-apps/meep-rnis/server/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -15,9 +15,9 @@ * * AdvantEDGE Radio Network Information Service REST API * - * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_MEC012v020101p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription + * Radio Network Information Service is AdvantEDGE's implementation of [ETSI MEC ISG MEC012 RNI API](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf)

[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt)

**Micro-service**
[meep-rnis](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-rnis)

**Type & Usage**
Edge Service used by edge applications that want to get information about radio conditions in the network

**Note**
AdvantEDGE supports a selected subset of RNI API endpoints (see below) and a subset of subscription types.

Supported subscriptions:

- CellChangeSubscription

- RabEstSubscription

- RabRelSubscription

- MeasRepUeSubscription

- NrMeasRepUeSubscription * - * API version: 2.1.1 + * API version: 2.2.1 * Contact: AdvantEDGE@InterDigital.com * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ diff --git a/go-apps/meep-rnis/server/rnis.go b/go-apps/meep-rnis/server/rnis.go index 2462ac03c..a5b2e96e9 100644 --- a/go-apps/meep-rnis/server/rnis.go +++ b/go-apps/meep-rnis/server/rnis.go @@ -202,7 +202,7 @@ type PlmnInfoResp struct { PlmnInfoList []PlmnInfo } -const serviceAppVersion = "2.1.1" +const serviceAppVersion = "2.2.1" var serviceAppInstanceId string -- GitLab From 8c72f132bfa8d0476227ecd0403c2bb32d26e25a Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 15 Jun 2022 14:42:51 +0200 Subject: [PATCH 183/183] Update Copyright for AMS; Update README files for AMS; Add support of ProblemDetails for AMS --- .meepctl-repocfg.yaml | 10 +- examples/demo3/src/backend/main.go | 2 +- .../demo3/src/backend/server/api_frontend.go | 2 +- .../src/backend/server/api_notification.go | 2 +- examples/demo3/src/backend/server/logger.go | 2 +- .../model_app_termination_subscription.go | 2 +- ...del_app_termination_subscription__links.go | 2 +- .../server/model_application_context_state.go | 2 +- .../server/model_application_instance.go | 2 +- ...ion_instance_ams_link_list_subscription.go | 2 +- ...n_instance_app_termination_subscription.go | 2 +- ...pplication_instance_discovered_services.go | 2 +- ...el_application_instance_offered_service.go | 2 +- ...del_application_instance_offeredservice.go | 2 +- ..._instance_ser_availability_subscription.go | 2 +- .../model_application_instance_services.go | 2 +- ...odel_application_instance_subscriptions.go | 2 +- .../src/backend/server/model_associate_id.go | 2 +- .../server/model_communication_interface.go | 2 +- .../src/backend/server/model_link_type.go | 2 +- .../src/backend/server/model_locality_type.go | 2 +- .../model_mobility_procedure_notification.go | 14 +- ..._procedure_notification_target_app_info.go | 4 +- ...model_service_availability_notification.go | 2 +- ...ability_notification_service_references.go | 2 +- .../src/backend/server/model_service_info.go | 2 +- .../src/backend/server/model_service_state.go | 2 +- .../src/backend/server/model_subscription.go | 2 +- .../src/backend/server/model_time_stamp.go | 2 +- examples/demo3/src/backend/server/routers.go | 2 +- go-apps/meep-ams/api/swagger.yaml | 3 + go-apps/meep-ams/main.go | 2 +- go-apps/meep-ams/server/ams.go | 123 ++++++++++-------- go-apps/meep-ams/server/api_amsi.go | 2 +- go-apps/meep-ams/server/api_unsupported.go | 2 +- go-apps/meep-ams/server/convert.go | 11 +- go-apps/meep-ams/server/logger.go | 2 +- .../model_adjacent_app_info_notification.go | 2 +- ...app_info_notification_adjacent_app_info.go | 2 +- .../model_adjacent_app_info_subscription.go | 2 +- ...t_app_info_subscription_filter_criteria.go | 2 +- ...el_adjacent_app_info_subscription_links.go | 2 +- .../model_adjacent_app_instance_info.go | 2 +- .../model_app_mobility_service_level.go | 2 +- .../model_app_termination_notification.go | 2 +- ...del_app_termination_notification__links.go | 2 +- go-apps/meep-ams/server/model_associate_id.go | 2 +- go-apps/meep-ams/server/model_body.go | 2 +- go-apps/meep-ams/server/model_body_1.go | 2 +- go-apps/meep-ams/server/model_body_2.go | 2 +- .../server/model_communication_interface.go | 2 +- ...el_communication_interface_ip_addresses.go | 2 +- .../server/model_context_transfer_state.go | 2 +- .../server/model_expiry_notification.go | 2 +- go-apps/meep-ams/server/model_link_type.go | 2 +- .../server/model_mec_host_information.go | 2 +- .../model_mobility_procedure_notification.go | 2 +- ..._mobility_procedure_notification__links.go | 2 +- ..._procedure_notification_target_app_info.go | 2 +- .../model_mobility_procedure_subscription.go | 2 +- ..._procedure_subscription_filter_criteria.go | 2 +- ...l_mobility_procedure_subscription_links.go | 2 +- .../meep-ams/server/model_mobility_status.go | 2 +- go-apps/meep-ams/server/model_one_ofbody.go | 2 +- go-apps/meep-ams/server/model_one_ofbody_1.go | 2 +- go-apps/meep-ams/server/model_one_ofbody_2.go | 2 +- .../server/model_operation_action_type.go | 2 +- .../meep-ams/server/model_problem_details.go | 6 +- .../server/model_registration_info.go | 2 +- ...el_registration_info_device_information.go | 2 +- ...l_registration_info_service_consumer_id.go | 2 +- .../server/model_subscription_link_list.go | 2 +- .../model_subscription_link_list_links.go | 2 +- ...del_subscription_link_list_subscription.go | 2 +- .../server/model_subscription_type.go | 2 +- .../server/model_test_notification.go | 2 +- .../server/model_test_notification__links.go | 2 +- go-apps/meep-ams/server/model_time_stamp.go | 2 +- go-apps/meep-ams/server/model_type.go | 2 +- .../server/model_websock_notif_config.go | 2 +- go-apps/meep-ams/server/routers.go | 2 +- go-packages/meep-ams-client/api/swagger.yaml | 3 + go-packages/meep-ams-client/api_amsi.go | 2 +- .../meep-ams-client/api_unsupported.go | 29 ++--- go-packages/meep-ams-client/client.go | 2 +- go-packages/meep-ams-client/configuration.go | 2 +- go-packages/meep-ams-client/convert.go | 2 +- .../model_InlineSubscription.go | 22 ++-- .../meep-ams-client/model_problem_details.go | 4 +- go-packages/meep-ams-client/response.go | 2 +- 90 files changed, 206 insertions(+), 181 deletions(-) diff --git a/.meepctl-repocfg.yaml b/.meepctl-repocfg.yaml index 0fc4e008b..47d97101f 100644 --- a/.meepctl-repocfg.yaml +++ b/.meepctl-repocfg.yaml @@ -38,7 +38,7 @@ repo: # platform ingress configuration ingress: # host name - host: my-platform-fqdn + host: mec-platform.etsi.org # enable https only (redirect http requests to https port) https-only: false # bind to host ports (true) or node ports (false) @@ -48,9 +48,9 @@ repo: # https config https-port: 443 # certificate authority (none|self-signed|lets-encrypt) default: none - ca: self-signed + ca: lets-encrypt # lets-encrypt production server (true) or staging server (false) - le-server-prod: false + le-server-prod: true # authentication & authorization config auth: @@ -73,7 +73,7 @@ repo: # access token url token-url: https://github.com/login/oauth/access_token # OAuth redirect URI - redirect-uri: https://my-platform-fqdn/auth/v1/authorize + redirect-uri: https://mec-platform.etsi.org/auth/v1/authorize # OAuth k8s secret (data: client-id, secret) secret: meep-oauth-github # GitLab OAuth provider config @@ -85,7 +85,7 @@ repo: # access token url token-url: https://gitlab.com/oauth/token # OAuth redirect URI - redirect-uri: https://my-platform-fqdn/auth/v1/authorize + redirect-uri: https://mec-platform.etsi.org/auth/v1/authorize # GitLab api url # api-url: https://gitlab.com # OAuth k8s secret (data: client-id, secret) diff --git a/examples/demo3/src/backend/main.go b/examples/demo3/src/backend/main.go index 27aaa7956..b534255b8 100644 --- a/examples/demo3/src/backend/main.go +++ b/examples/demo3/src/backend/main.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/api_frontend.go b/examples/demo3/src/backend/server/api_frontend.go index cb61818a7..cc9665a7b 100644 --- a/examples/demo3/src/backend/server/api_frontend.go +++ b/examples/demo3/src/backend/server/api_frontend.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/api_notification.go b/examples/demo3/src/backend/server/api_notification.go index 87b4b7010..5ec3761cf 100644 --- a/examples/demo3/src/backend/server/api_notification.go +++ b/examples/demo3/src/backend/server/api_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/logger.go b/examples/demo3/src/backend/server/logger.go index 2210f170c..945f39895 100644 --- a/examples/demo3/src/backend/server/logger.go +++ b/examples/demo3/src/backend/server/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_app_termination_subscription.go b/examples/demo3/src/backend/server/model_app_termination_subscription.go index 2175ef2b6..edcf2cbfa 100644 --- a/examples/demo3/src/backend/server/model_app_termination_subscription.go +++ b/examples/demo3/src/backend/server/model_app_termination_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_app_termination_subscription__links.go b/examples/demo3/src/backend/server/model_app_termination_subscription__links.go index a7949beb3..d7ed38817 100644 --- a/examples/demo3/src/backend/server/model_app_termination_subscription__links.go +++ b/examples/demo3/src/backend/server/model_app_termination_subscription__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_context_state.go b/examples/demo3/src/backend/server/model_application_context_state.go index 658d98a66..f0a9e6b4b 100644 --- a/examples/demo3/src/backend/server/model_application_context_state.go +++ b/examples/demo3/src/backend/server/model_application_context_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance.go b/examples/demo3/src/backend/server/model_application_instance.go index b82a49d61..a64441449 100644 --- a/examples/demo3/src/backend/server/model_application_instance.go +++ b/examples/demo3/src/backend/server/model_application_instance.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_ams_link_list_subscription.go b/examples/demo3/src/backend/server/model_application_instance_ams_link_list_subscription.go index c4e6d2341..3b5df9d25 100644 --- a/examples/demo3/src/backend/server/model_application_instance_ams_link_list_subscription.go +++ b/examples/demo3/src/backend/server/model_application_instance_ams_link_list_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_app_termination_subscription.go b/examples/demo3/src/backend/server/model_application_instance_app_termination_subscription.go index e4a64d3ef..8ca0bac7c 100644 --- a/examples/demo3/src/backend/server/model_application_instance_app_termination_subscription.go +++ b/examples/demo3/src/backend/server/model_application_instance_app_termination_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_discovered_services.go b/examples/demo3/src/backend/server/model_application_instance_discovered_services.go index a1bca0d2a..fbdeae505 100644 --- a/examples/demo3/src/backend/server/model_application_instance_discovered_services.go +++ b/examples/demo3/src/backend/server/model_application_instance_discovered_services.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_offered_service.go b/examples/demo3/src/backend/server/model_application_instance_offered_service.go index ec453fe7f..ec075cd39 100644 --- a/examples/demo3/src/backend/server/model_application_instance_offered_service.go +++ b/examples/demo3/src/backend/server/model_application_instance_offered_service.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_offeredservice.go b/examples/demo3/src/backend/server/model_application_instance_offeredservice.go index 6b1ac5a04..5aa5c4bde 100644 --- a/examples/demo3/src/backend/server/model_application_instance_offeredservice.go +++ b/examples/demo3/src/backend/server/model_application_instance_offeredservice.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_ser_availability_subscription.go b/examples/demo3/src/backend/server/model_application_instance_ser_availability_subscription.go index b587b5806..4db879fe4 100644 --- a/examples/demo3/src/backend/server/model_application_instance_ser_availability_subscription.go +++ b/examples/demo3/src/backend/server/model_application_instance_ser_availability_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_services.go b/examples/demo3/src/backend/server/model_application_instance_services.go index 1ff481878..9a7fb64db 100644 --- a/examples/demo3/src/backend/server/model_application_instance_services.go +++ b/examples/demo3/src/backend/server/model_application_instance_services.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_application_instance_subscriptions.go b/examples/demo3/src/backend/server/model_application_instance_subscriptions.go index ba9a76aa5..8d150ba6a 100644 --- a/examples/demo3/src/backend/server/model_application_instance_subscriptions.go +++ b/examples/demo3/src/backend/server/model_application_instance_subscriptions.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_associate_id.go b/examples/demo3/src/backend/server/model_associate_id.go index f7856778e..6b912d877 100644 --- a/examples/demo3/src/backend/server/model_associate_id.go +++ b/examples/demo3/src/backend/server/model_associate_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_communication_interface.go b/examples/demo3/src/backend/server/model_communication_interface.go index d883c7af6..cc101f6a7 100644 --- a/examples/demo3/src/backend/server/model_communication_interface.go +++ b/examples/demo3/src/backend/server/model_communication_interface.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_link_type.go b/examples/demo3/src/backend/server/model_link_type.go index 28535e5c2..61b608554 100644 --- a/examples/demo3/src/backend/server/model_link_type.go +++ b/examples/demo3/src/backend/server/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_locality_type.go b/examples/demo3/src/backend/server/model_locality_type.go index 225a0cb0c..e4372eab1 100644 --- a/examples/demo3/src/backend/server/model_locality_type.go +++ b/examples/demo3/src/backend/server/model_locality_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_mobility_procedure_notification.go b/examples/demo3/src/backend/server/model_mobility_procedure_notification.go index 08bb551b1..6b5f82983 100644 --- a/examples/demo3/src/backend/server/model_mobility_procedure_notification.go +++ b/examples/demo3/src/backend/server/model_mobility_procedure_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -24,11 +24,11 @@ package server type MobilityProcedureNotification struct { // Shall be set to \"MobilityProcedureNotification\". - NotificationType string `json:"notificationType"` - TimeStamp *TimeStamp `json:"timeStamp,omitempty"` + NotificationType string `json:"notificationType"` + TimeStamp *TimeStamp `json:"timeStamp,omitempty"` // 1 to N identifiers to associate the information for specific - AssociateId []AssociateId `json:"associateId"` - MobilityStatus *MobilityStatus `json:"mobilityStatus"` - TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` - Links *MobilityProcedureNotificationLinks `json:"_links,omitempty"` + AssociateId []AssociateId `json:"associateId"` + MobilityStatus *MobilityStatus `json:"mobilityStatus"` + TargetAppInfo *MobilityProcedureNotificationTargetAppInfo `json:"targetAppInfo,omitempty"` + Links *MobilityProcedureNotificationLinks `json:"_links,omitempty"` } diff --git a/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go b/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go index 1ffe92ebd..38ed96aaa 100644 --- a/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go +++ b/examples/demo3/src/backend/server/model_mobility_procedure_notification_target_app_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -25,6 +25,6 @@ package server // Identifiers to associate the information of target application instance. type MobilityProcedureNotificationTargetAppInfo struct { // Identifiers of the target application instance. - AppInstanceId string `json:"appInstanceId"` + AppInstanceId string `json:"appInstanceId"` CommInterface *CommunicationInterface `json:"commInterface,omitempty"` } diff --git a/examples/demo3/src/backend/server/model_service_availability_notification.go b/examples/demo3/src/backend/server/model_service_availability_notification.go index 1cc6790d0..cdf56f523 100644 --- a/examples/demo3/src/backend/server/model_service_availability_notification.go +++ b/examples/demo3/src/backend/server/model_service_availability_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_service_availability_notification_service_references.go b/examples/demo3/src/backend/server/model_service_availability_notification_service_references.go index 4ce26718c..258632d2b 100644 --- a/examples/demo3/src/backend/server/model_service_availability_notification_service_references.go +++ b/examples/demo3/src/backend/server/model_service_availability_notification_service_references.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_service_info.go b/examples/demo3/src/backend/server/model_service_info.go index abfae7491..e5bcd59d3 100644 --- a/examples/demo3/src/backend/server/model_service_info.go +++ b/examples/demo3/src/backend/server/model_service_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_service_state.go b/examples/demo3/src/backend/server/model_service_state.go index 84cd1a9bd..bfa1cd0f4 100644 --- a/examples/demo3/src/backend/server/model_service_state.go +++ b/examples/demo3/src/backend/server/model_service_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_subscription.go b/examples/demo3/src/backend/server/model_subscription.go index abe0c99a1..91a298f5f 100644 --- a/examples/demo3/src/backend/server/model_subscription.go +++ b/examples/demo3/src/backend/server/model_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/model_time_stamp.go b/examples/demo3/src/backend/server/model_time_stamp.go index 5044ab438..5469d3512 100644 --- a/examples/demo3/src/backend/server/model_time_stamp.go +++ b/examples/demo3/src/backend/server/model_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/examples/demo3/src/backend/server/routers.go b/examples/demo3/src/backend/server/routers.go index cf9c362e2..cee50f12e 100644 --- a/examples/demo3/src/backend/server/routers.go +++ b/examples/demo3/src/backend/server/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/api/swagger.yaml b/go-apps/meep-ams/api/swagger.yaml index bd25ca987..fa312fcb1 100644 --- a/go-apps/meep-ams/api/swagger.yaml +++ b/go-apps/meep-ams/api/swagger.yaml @@ -1508,6 +1508,9 @@ components: key: {} ProblemDetails: title: ProblemDetails + required: + - status + - detail type: object properties: detail: diff --git a/go-apps/meep-ams/main.go b/go-apps/meep-ams/main.go index 5bfdd7862..3b1ed2a41 100644 --- a/go-apps/meep-ams/main.go +++ b/go-apps/meep-ams/main.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/ams.go b/go-apps/meep-ams/server/ams.go index ec8fa7a12..faa4b0465 100644 --- a/go-apps/meep-ams/server/ams.go +++ b/go-apps/meep-ams/server/ams.go @@ -671,7 +671,7 @@ func mec011AppTerminationPost(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, ¬ification) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -828,7 +828,7 @@ func subscriptionsGet(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -846,7 +846,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &discriminator) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } subscriptionType := discriminator.SubscriptionType @@ -860,24 +860,24 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &mobProcSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate subscription if mobProcSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if mobProcSub.FilterCriteria == nil { log.Error("FilterCriteria should not be null for this subscription type") - http.Error(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) return } if mobProcSub.FilterCriteria.AppInstanceId == "" { log.Error("FilterCriteria AppInstanceId should not be null for this subscription type") - http.Error(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) return } @@ -888,7 +888,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { appId := mobProcSub.FilterCriteria.AppInstanceId _, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -913,7 +913,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { _, err = subMgr.CreateSubscription(subCfg, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -925,24 +925,24 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &adjAppInfoSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate subscription if adjAppInfoSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } if adjAppInfoSub.FilterCriteria == nil { log.Error("FilterCriteria should not be null for this subscription type") - http.Error(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) return } if adjAppInfoSub.FilterCriteria.AppInstanceId == "" { log.Error("FilterCriteria AppInstanceId should not be null for this subscription type") - http.Error(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) return } @@ -953,7 +953,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { appId := adjAppInfoSub.FilterCriteria.AppInstanceId _, err := getApp(appId) if err != nil { - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -973,7 +973,7 @@ func subscriptionsPost(w http.ResponseWriter, r *http.Request) { _, err = subMgr.CreateSubscription(subCfg, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -1002,7 +1002,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, &discriminator) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } subscriptionType := discriminator.SubscriptionType @@ -1011,7 +1011,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -1024,37 +1024,37 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &mobProcSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate subscription if mobProcSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } link := mobProcSub.Links if link == nil || link.Self == nil { log.Error("Mandatory Link parameter not present") - http.Error(w, "Mandatory Link parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Link parameter not present", http.StatusBadRequest) return } selfUrl := strings.Split(link.Self.Href, "/") subsIdStr := selfUrl[len(selfUrl)-1] if subsIdStr != subId { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } if mobProcSub.FilterCriteria == nil { log.Error("FilterCriteria should not be null for this subscription type") - http.Error(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) return } if mobProcSub.FilterCriteria.AppInstanceId == "" { log.Error("FilterCriteria AppInstanceId should not be null for this subscription type") - http.Error(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) return } @@ -1065,7 +1065,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { appId := mobProcSub.FilterCriteria.AppInstanceId if appId != sub.Cfg.AppId { log.Error("AppInstanceId does not match stored subscription") - http.Error(w, "AppInstanceId does not match stored subscription", http.StatusBadRequest) + errHandlerProblemDetails(w, "AppInstanceId does not match stored subscription", http.StatusBadRequest) return } @@ -1074,7 +1074,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = subMgr.UpdateSubscription(sub) if err != nil { log.Error("Failed to update subscription") - http.Error(w, "Failed to update subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to update subscription", http.StatusInternalServerError) return } @@ -1088,7 +1088,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = subMgr.SetSubscriptionJson(sub, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -1097,37 +1097,37 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = json.Unmarshal(bodyBytes, &adjAppInfoSub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // Validate subscription if adjAppInfoSub.CallbackReference == "" { log.Error("Mandatory CallbackReference parameter not present") - http.Error(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory CallbackReference parameter not present", http.StatusBadRequest) return } link := adjAppInfoSub.Links if link == nil || link.Self == nil { log.Error("Mandatory Link parameter not present") - http.Error(w, "Mandatory Link parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Mandatory Link parameter not present", http.StatusBadRequest) return } selfUrl := strings.Split(link.Self.Href, "/") subsIdStr := selfUrl[len(selfUrl)-1] if subsIdStr != subId { log.Error("SubscriptionId in endpoint and in body not matching") - http.Error(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) + errHandlerProblemDetails(w, "SubscriptionId in endpoint and in body not matching", http.StatusBadRequest) return } if adjAppInfoSub.FilterCriteria == nil { log.Error("FilterCriteria should not be null for this subscription type") - http.Error(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria should not be null for this subscription type", http.StatusBadRequest) return } if adjAppInfoSub.FilterCriteria.AppInstanceId == "" { log.Error("FilterCriteria AppInstanceId should not be null for this subscription type") - http.Error(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) + errHandlerProblemDetails(w, "FilterCriteria AppInstanceId should not be null for this subscription type", http.StatusBadRequest) return } @@ -1138,7 +1138,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { appId := adjAppInfoSub.FilterCriteria.AppInstanceId if appId != sub.Cfg.AppId { log.Error("AppInstanceId does not match stored subscription") - http.Error(w, "AppInstanceId does not match stored subscription", http.StatusBadRequest) + errHandlerProblemDetails(w, "AppInstanceId does not match stored subscription", http.StatusBadRequest) return } @@ -1147,7 +1147,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = subMgr.UpdateSubscription(sub) if err != nil { log.Error("Failed to update subscription") - http.Error(w, "Failed to update subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to update subscription", http.StatusInternalServerError) return } @@ -1156,7 +1156,7 @@ func subscriptionsPut(w http.ResponseWriter, r *http.Request) { err = subMgr.SetSubscriptionJson(sub, jsonSub) if err != nil { log.Error("Failed to create subscription") - http.Error(w, "Failed to create subscription", http.StatusInternalServerError) + errHandlerProblemDetails(w, "Failed to create subscription", http.StatusInternalServerError) return } @@ -1181,7 +1181,7 @@ func subscriptionsDelete(w http.ResponseWriter, r *http.Request) { sub, err := subMgr.GetSubscription(subId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -1189,7 +1189,7 @@ func subscriptionsDelete(w http.ResponseWriter, r *http.Request) { err = subMgr.DeleteSubscription(sub) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1239,7 +1239,7 @@ func subscriptionLinkListSubscriptionsGet(w http.ResponseWriter, r *http.Request subList, err := subMgr.GetFilteredSubscriptions("", subscriptionType) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1278,27 +1278,27 @@ func appMobilityServicePOST(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, ®Info) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // validate registration info if regInfo.ServiceConsumerId == nil { log.Error("Service Consumer Id parameter not present") - http.Error(w, "Service Consumer Id parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Service Consumer Id parameter not present", http.StatusBadRequest) return } appId := regInfo.ServiceConsumerId.AppInstanceId mepId := regInfo.ServiceConsumerId.MepId if (appId == "" && mepId == "") || (appId != "" && mepId != "") { log.Error("Service Consumer Id parameter should contain either AppInstanceId or MepId") - http.Error(w, "Service Consumer Id parameter should contain either AppInstanceId or MepId", http.StatusBadRequest) + errHandlerProblemDetails(w, "Service Consumer Id parameter should contain either AppInstanceId or MepId", http.StatusBadRequest) return } for _, deviceInfo := range regInfo.DeviceInformation { if deviceInfo.AssociateId == nil { log.Error("AssociateId is a mandatory parameter if deviceInformation is present.") - http.Error(w, "AssociateId is a mandatory parameter if deviceInformation is present.", http.StatusBadRequest) + errHandlerProblemDetails(w, "AssociateId is a mandatory parameter if deviceInformation is present.", http.StatusBadRequest) return } } @@ -1313,7 +1313,7 @@ func appMobilityServicePOST(w http.ResponseWriter, r *http.Request) { appInfo, err := getApp(appId) if err != nil { log.Error("App Instance Id does not exist.") - http.Error(w, "App Instance Id does not exist.", http.StatusBadRequest) + errHandlerProblemDetails(w, "App Instance Id does not exist.", http.StatusBadRequest) return } @@ -1321,7 +1321,7 @@ func appMobilityServicePOST(w http.ResponseWriter, r *http.Request) { svcId, err := generateRand(12) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } regInfo.AppMobilityServiceId = svcId @@ -1330,7 +1330,7 @@ func appMobilityServicePOST(w http.ResponseWriter, r *http.Request) { err = createService(appId, ®Info) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1368,26 +1368,26 @@ func appMobilityServiceByIdPUT(w http.ResponseWriter, r *http.Request) { err := json.Unmarshal(bodyBytes, ®Info) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } // validate registration info if regInfo.ServiceConsumerId == nil { log.Error("Service Consumer Id parameter not present") - http.Error(w, "Service Consumer Id parameter not present", http.StatusBadRequest) + errHandlerProblemDetails(w, "Service Consumer Id parameter not present", http.StatusBadRequest) return } appId := regInfo.ServiceConsumerId.AppInstanceId mepId := regInfo.ServiceConsumerId.MepId if (appId == "" && mepId == "") || (appId != "" && mepId != "") { log.Error("Service Consumer Id parameter should contain either AppInstanceId or MepId") - http.Error(w, "Service Consumer Id parameter should contain either AppInstanceId or MepId", http.StatusBadRequest) + errHandlerProblemDetails(w, "Service Consumer Id parameter should contain either AppInstanceId or MepId", http.StatusBadRequest) return } if regInfo.AppMobilityServiceId != svcId { log.Error("ServiceId passed in parameters not matching the serviceId in the RegistrationInfo") - http.Error(w, "ServiceId passed in parameters not matching the serviceId in the RegistrationInfo", http.StatusBadRequest) + errHandlerProblemDetails(w, "ServiceId passed in parameters not matching the serviceId in the RegistrationInfo", http.StatusBadRequest) return } @@ -1401,7 +1401,7 @@ func appMobilityServiceByIdPUT(w http.ResponseWriter, r *http.Request) { appInfo, err := getApp(appId) if err != nil { log.Error("App Instance Id does not exist.") - http.Error(w, "App Instance Id does not exist.", http.StatusBadRequest) + errHandlerProblemDetails(w, "App Instance Id does not exist.", http.StatusBadRequest) return } @@ -1409,7 +1409,7 @@ func appMobilityServiceByIdPUT(w http.ResponseWriter, r *http.Request) { statusCode, err := deleteServiceById(svcId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), statusCode) + errHandlerProblemDetails(w, err.Error(), statusCode) return } @@ -1417,7 +1417,7 @@ func appMobilityServiceByIdPUT(w http.ResponseWriter, r *http.Request) { err = createService(appId, ®Info) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1441,7 +1441,7 @@ func appMobilityServiceByIdDELETE(w http.ResponseWriter, r *http.Request) { regInfo, err := getRegInfo(svcId) if err != nil || regInfo == nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusNotFound) + errHandlerProblemDetails(w, err.Error(), http.StatusNotFound) return } @@ -1460,7 +1460,7 @@ func appMobilityServiceByIdDELETE(w http.ResponseWriter, r *http.Request) { statusCode, err := deleteServiceById(svcId) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), statusCode) + errHandlerProblemDetails(w, err.Error(), statusCode) return } @@ -1480,7 +1480,7 @@ func appMobilityServiceGET(w http.ResponseWriter, r *http.Request) { err := rc.ForEachJSONEntry(key, populateRegInfoList, ®InfoList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -1488,7 +1488,7 @@ func appMobilityServiceGET(w http.ResponseWriter, r *http.Request) { jsonResponse, err := json.Marshal(regInfoList) if err != nil { log.Error(err.Error()) - http.Error(w, err.Error(), http.StatusInternalServerError) + errHandlerProblemDetails(w, err.Error(), http.StatusInternalServerError) return } @@ -2355,3 +2355,14 @@ func generateRand(n int) (string, error) { } return base64.URLEncoding.EncodeToString(data), nil } + +func errHandlerProblemDetails(w http.ResponseWriter, error string, code int) { + var pd ProblemDetails + pd.Detail = error + pd.Status = int32(code) + + jsonResponse := convertProblemDetailstoJson(&pd) + + w.WriteHeader(code) + fmt.Fprint(w, jsonResponse) +} diff --git a/go-apps/meep-ams/server/api_amsi.go b/go-apps/meep-ams/server/api_amsi.go index 35228da0a..14e8d0678 100644 --- a/go-apps/meep-ams/server/api_amsi.go +++ b/go-apps/meep-ams/server/api_amsi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/api_unsupported.go b/go-apps/meep-ams/server/api_unsupported.go index 8be893661..a8ed9158e 100644 --- a/go-apps/meep-ams/server/api_unsupported.go +++ b/go-apps/meep-ams/server/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/convert.go b/go-apps/meep-ams/server/convert.go index 449a4a080..b5d8fd34c 100644 --- a/go-apps/meep-ams/server/convert.go +++ b/go-apps/meep-ams/server/convert.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -114,6 +114,15 @@ func convertDevInfoToJson(obj *DevInfo) string { return string(jsonInfo) } +func convertProblemDetailstoJson(probdetails *ProblemDetails) string { + jsonInfo, err := json.Marshal(*probdetails) + if err != nil { + log.Error(err.Error()) + return "" + } + return string(jsonInfo) +} + // func convertJsonToDevInfo(jsonInfo string) *DevInfo { // var obj DevInfo // err := json.Unmarshal([]byte(jsonInfo), &obj) diff --git a/go-apps/meep-ams/server/logger.go b/go-apps/meep-ams/server/logger.go index c39963d9a..bd7374a71 100644 --- a/go-apps/meep-ams/server/logger.go +++ b/go-apps/meep-ams/server/logger.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go index 62ca70e0f..c5400ff0b 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go index 406cb2510..aa243bc38 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_notification_adjacent_app_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go index e1918f6c3..988687762 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go index 2c638e6c9..027366169 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go index 6d7398f92..211658dec 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go +++ b/go-apps/meep-ams/server/model_adjacent_app_info_subscription_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go index 34afc383f..726f46338 100644 --- a/go-apps/meep-ams/server/model_adjacent_app_instance_info.go +++ b/go-apps/meep-ams/server/model_adjacent_app_instance_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_app_mobility_service_level.go b/go-apps/meep-ams/server/model_app_mobility_service_level.go index 7b000cd46..ba61ba665 100644 --- a/go-apps/meep-ams/server/model_app_mobility_service_level.go +++ b/go-apps/meep-ams/server/model_app_mobility_service_level.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_app_termination_notification.go b/go-apps/meep-ams/server/model_app_termination_notification.go index 81ee499ca..98a22d3c1 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification.go +++ b/go-apps/meep-ams/server/model_app_termination_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_app_termination_notification__links.go b/go-apps/meep-ams/server/model_app_termination_notification__links.go index ef45d0312..6618129e8 100644 --- a/go-apps/meep-ams/server/model_app_termination_notification__links.go +++ b/go-apps/meep-ams/server/model_app_termination_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_associate_id.go b/go-apps/meep-ams/server/model_associate_id.go index 35d8c9e75..0391b7b8d 100644 --- a/go-apps/meep-ams/server/model_associate_id.go +++ b/go-apps/meep-ams/server/model_associate_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_body.go b/go-apps/meep-ams/server/model_body.go index c00fd1592..14259c24f 100644 --- a/go-apps/meep-ams/server/model_body.go +++ b/go-apps/meep-ams/server/model_body.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_body_1.go b/go-apps/meep-ams/server/model_body_1.go index e110a1cb1..51d777436 100644 --- a/go-apps/meep-ams/server/model_body_1.go +++ b/go-apps/meep-ams/server/model_body_1.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_body_2.go b/go-apps/meep-ams/server/model_body_2.go index 2b0907b18..ccd002bce 100644 --- a/go-apps/meep-ams/server/model_body_2.go +++ b/go-apps/meep-ams/server/model_body_2.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_communication_interface.go b/go-apps/meep-ams/server/model_communication_interface.go index 051065f4d..d4ced1cbb 100644 --- a/go-apps/meep-ams/server/model_communication_interface.go +++ b/go-apps/meep-ams/server/model_communication_interface.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go index 26dd1735a..3f4be3dc9 100644 --- a/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go +++ b/go-apps/meep-ams/server/model_communication_interface_ip_addresses.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_context_transfer_state.go b/go-apps/meep-ams/server/model_context_transfer_state.go index ed855d0bc..13351fd47 100644 --- a/go-apps/meep-ams/server/model_context_transfer_state.go +++ b/go-apps/meep-ams/server/model_context_transfer_state.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_expiry_notification.go b/go-apps/meep-ams/server/model_expiry_notification.go index b84662dee..42f6e0473 100644 --- a/go-apps/meep-ams/server/model_expiry_notification.go +++ b/go-apps/meep-ams/server/model_expiry_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_link_type.go b/go-apps/meep-ams/server/model_link_type.go index 3233b6534..c369d2067 100644 --- a/go-apps/meep-ams/server/model_link_type.go +++ b/go-apps/meep-ams/server/model_link_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mec_host_information.go b/go-apps/meep-ams/server/model_mec_host_information.go index d6b298b34..60c3fb403 100644 --- a/go-apps/meep-ams/server/model_mec_host_information.go +++ b/go-apps/meep-ams/server/model_mec_host_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification.go b/go-apps/meep-ams/server/model_mobility_procedure_notification.go index cc9b1f0b2..05d2cbc32 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go index 3f991f48e..106cffb51 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go index 59a2e339d..f6aa96d2f 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_notification_target_app_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go index 57bd366df..62e831a6f 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go index 5480e4aec..aa8af101c 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_filter_criteria.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go index 6fe0e7621..d84d9cf7b 100644 --- a/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go +++ b/go-apps/meep-ams/server/model_mobility_procedure_subscription_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_mobility_status.go b/go-apps/meep-ams/server/model_mobility_status.go index ae6195e0a..f11d9b124 100644 --- a/go-apps/meep-ams/server/model_mobility_status.go +++ b/go-apps/meep-ams/server/model_mobility_status.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_one_ofbody.go b/go-apps/meep-ams/server/model_one_ofbody.go index 4ce4d80ab..8636e81e4 100644 --- a/go-apps/meep-ams/server/model_one_ofbody.go +++ b/go-apps/meep-ams/server/model_one_ofbody.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_one_ofbody_1.go b/go-apps/meep-ams/server/model_one_ofbody_1.go index 26f3df6a5..71d7cfbf7 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_1.go +++ b/go-apps/meep-ams/server/model_one_ofbody_1.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_one_ofbody_2.go b/go-apps/meep-ams/server/model_one_ofbody_2.go index 3d3fd858b..aa4734d05 100644 --- a/go-apps/meep-ams/server/model_one_ofbody_2.go +++ b/go-apps/meep-ams/server/model_one_ofbody_2.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_operation_action_type.go b/go-apps/meep-ams/server/model_operation_action_type.go index b796ab01b..33e0fa0c0 100644 --- a/go-apps/meep-ams/server/model_operation_action_type.go +++ b/go-apps/meep-ams/server/model_operation_action_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_problem_details.go b/go-apps/meep-ams/server/model_problem_details.go index 7a5744977..31c0023f8 100644 --- a/go-apps/meep-ams/server/model_problem_details.go +++ b/go-apps/meep-ams/server/model_problem_details.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -25,11 +25,11 @@ package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type diff --git a/go-apps/meep-ams/server/model_registration_info.go b/go-apps/meep-ams/server/model_registration_info.go index 299c42b60..c2e72cda8 100644 --- a/go-apps/meep-ams/server/model_registration_info.go +++ b/go-apps/meep-ams/server/model_registration_info.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_registration_info_device_information.go b/go-apps/meep-ams/server/model_registration_info_device_information.go index f27ef991e..0f1227648 100644 --- a/go-apps/meep-ams/server/model_registration_info_device_information.go +++ b/go-apps/meep-ams/server/model_registration_info_device_information.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go index e60808d85..c9a77fc5d 100644 --- a/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go +++ b/go-apps/meep-ams/server/model_registration_info_service_consumer_id.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_subscription_link_list.go b/go-apps/meep-ams/server/model_subscription_link_list.go index 02eea450c..b62daf01d 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list.go +++ b/go-apps/meep-ams/server/model_subscription_link_list.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_subscription_link_list_links.go b/go-apps/meep-ams/server/model_subscription_link_list_links.go index 93cdc9d16..b3db9c2e2 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_links.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go index 8ec4b814d..19ab92c4f 100644 --- a/go-apps/meep-ams/server/model_subscription_link_list_subscription.go +++ b/go-apps/meep-ams/server/model_subscription_link_list_subscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_subscription_type.go b/go-apps/meep-ams/server/model_subscription_type.go index 1b7c3956c..f1484962b 100644 --- a/go-apps/meep-ams/server/model_subscription_type.go +++ b/go-apps/meep-ams/server/model_subscription_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_test_notification.go b/go-apps/meep-ams/server/model_test_notification.go index eee80a562..0bb8cf730 100644 --- a/go-apps/meep-ams/server/model_test_notification.go +++ b/go-apps/meep-ams/server/model_test_notification.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_test_notification__links.go b/go-apps/meep-ams/server/model_test_notification__links.go index 66f53a051..7caaf23dc 100644 --- a/go-apps/meep-ams/server/model_test_notification__links.go +++ b/go-apps/meep-ams/server/model_test_notification__links.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_time_stamp.go b/go-apps/meep-ams/server/model_time_stamp.go index 1df948f92..28f825520 100644 --- a/go-apps/meep-ams/server/model_time_stamp.go +++ b/go-apps/meep-ams/server/model_time_stamp.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_type.go b/go-apps/meep-ams/server/model_type.go index 9a9f1ba02..8de2b6c26 100644 --- a/go-apps/meep-ams/server/model_type.go +++ b/go-apps/meep-ams/server/model_type.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/model_websock_notif_config.go b/go-apps/meep-ams/server/model_websock_notif_config.go index d92320429..cf6ae7029 100644 --- a/go-apps/meep-ams/server/model_websock_notif_config.go +++ b/go-apps/meep-ams/server/model_websock_notif_config.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-apps/meep-ams/server/routers.go b/go-apps/meep-ams/server/routers.go index 0c37aab76..65448d906 100644 --- a/go-apps/meep-ams/server/routers.go +++ b/go-apps/meep-ams/server/routers.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-packages/meep-ams-client/api/swagger.yaml b/go-packages/meep-ams-client/api/swagger.yaml index cd98ef15e..e20d655b2 100644 --- a/go-packages/meep-ams-client/api/swagger.yaml +++ b/go-packages/meep-ams-client/api/swagger.yaml @@ -1510,6 +1510,9 @@ components: key: {} ProblemDetails: title: ProblemDetails + required: + - status + - detail type: object properties: detail: diff --git a/go-packages/meep-ams-client/api_amsi.go b/go-packages/meep-ams-client/api_amsi.go index c32012027..43a07bb81 100644 --- a/go-packages/meep-ams-client/api_amsi.go +++ b/go-packages/meep-ams-client/api_amsi.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-packages/meep-ams-client/api_unsupported.go b/go-packages/meep-ams-client/api_unsupported.go index 670f41540..908cc9b71 100644 --- a/go-packages/meep-ams-client/api_unsupported.go +++ b/go-packages/meep-ams-client/api_unsupported.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -130,7 +130,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode < 300 { // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err == nil { return localVarReturnValue, localVarHttpResponse, err } @@ -144,7 +144,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 200 { var v []AdjacentAppInstanceInfo - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -155,7 +155,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 400 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -166,7 +166,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -177,7 +177,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -188,7 +188,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -199,7 +199,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -210,7 +210,7 @@ func (a *UnsupportedApiService) AdjAppInstGET(ctx context.Context, localVarOptio if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHttpResponse, newErr @@ -239,7 +239,6 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a localVarPostBody interface{} localVarFileName string localVarFileBytes []byte - ) // create path and map variables @@ -291,7 +290,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 401 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -302,7 +301,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 403 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -313,7 +312,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 404 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -324,7 +323,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 406 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr @@ -335,7 +334,7 @@ func (a *UnsupportedApiService) AppMobilityServiceDerPOST(ctx context.Context, a if localVarHttpResponse.StatusCode == 429 { var v ProblemDetails - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHttpResponse, newErr diff --git a/go-packages/meep-ams-client/client.go b/go-packages/meep-ams-client/client.go index 33199651f..25614c37c 100644 --- a/go-packages/meep-ams-client/client.go +++ b/go-packages/meep-ams-client/client.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-packages/meep-ams-client/configuration.go b/go-packages/meep-ams-client/configuration.go index 1b8225dad..c7bb1d0b3 100644 --- a/go-packages/meep-ams-client/configuration.go +++ b/go-packages/meep-ams-client/configuration.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. diff --git a/go-packages/meep-ams-client/convert.go b/go-packages/meep-ams-client/convert.go index 195515ebb..32031c67a 100755 --- a/go-packages/meep-ams-client/convert.go +++ b/go-packages/meep-ams-client/convert.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/go-packages/meep-ams-client/model_InlineSubscription.go b/go-packages/meep-ams-client/model_InlineSubscription.go index 3bd835649..e6aaff103 100644 --- a/go-packages/meep-ams-client/model_InlineSubscription.go +++ b/go-packages/meep-ams-client/model_InlineSubscription.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. @@ -22,22 +22,22 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ - package client +package client - type InlineSubscription struct { +type InlineSubscription struct { /* Discriminator */ SubscriptionType string `json:"subscriptionType"` - + /* Common */ - Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` - CallbackReference string `json:"callbackReference"` - RequestTestNotification bool `json:"requestTestNotification,omitempty"` - WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` - ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` - + Links *MobilityProcedureSubscriptionLinks `json:"_links,omitempty"` + CallbackReference string `json:"callbackReference"` + RequestTestNotification bool `json:"requestTestNotification,omitempty"` + WebsockNotifConfig *WebsockNotifConfig `json:"websockNotifConfig,omitempty"` + ExpiryDeadline *TimeStamp `json:"expiryDeadline,omitempty"` + /* MobilityProcedureSubscription */ FilterCriteria *MobilityProcedureSubscriptionFilterCriteria `json:"filterCriteria"` - + /* AdjacentAppInfoSubscription */ // NOTE: to avoid json parameter conflict, use superset filterCriteria from MobilityProcedure // FilterCriteria *AdjacentAppInfoSubscriptionFilterCriteria `json:"filterCriteria"` diff --git a/go-packages/meep-ams-client/model_problem_details.go b/go-packages/meep-ams-client/model_problem_details.go index 7593251cd..bf318eebf 100644 --- a/go-packages/meep-ams-client/model_problem_details.go +++ b/go-packages/meep-ams-client/model_problem_details.go @@ -11,11 +11,11 @@ package client type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem - Detail string `json:"detail,omitempty"` + Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem - Status int32 `json:"status,omitempty"` + Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type diff --git a/go-packages/meep-ams-client/response.go b/go-packages/meep-ams-client/response.go index 67845463c..31892a3af 100644 --- a/go-packages/meep-ams-client/response.go +++ b/go-packages/meep-ams-client/response.go @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 InterDigital Communications, Inc + * Copyright (c) 2022 InterDigital Communications, Inc * * Licensed under the Apache License, Version 2.0 (the \"License\"); * you may not use this file except in compliance with the License. -- GitLab