Unverified Commit c0ec0067 authored by Kevin Di Lallo's avatar Kevin Di Lallo Committed by GitHub
Browse files

Merge pull request #8 from dilallkx/kd_sp26_na610

Location Service notification REST API updates
parents 33a05964 dff40be1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ deployment:
image:
  repository: meep-loc-serv
  tag: latest
  pullPolicy: IfNotPresent
  pullPolicy: Always

service:
  type: NodePort
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ deployment:
image:
  repository: meep-metrics-engine
  tag: latest
  pullPolicy: IfNotPresent
  pullPolicy: Always

service:
  type: NodePort
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ All URIs are relative to *http://127.0.0.1:8086/v1*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*MeepDemoAppApi.EdgeAppInfoApi* | [**getEdgeInfo**](docs/EdgeAppInfoApi.md#getEdgeInfo) | **GET** /edge-app | Retrieve edge add info
*MeepDemoAppApi.NotificationsApi* | [**rcvTrackingNotification**](docs/NotificationsApi.md#rcvTrackingNotification) | **POST** /location_notifications/{subscriptionId} | This operation is used by the AdvantEDGE Location Service to issue a callback notification towards an ME application with a zonal or user tracking subscription
*MeepDemoAppApi.NotificationsApi* | [**postTrackingNotification**](docs/NotificationsApi.md#postTrackingNotification) | **POST** /location_notifications/{subscriptionId} | This operation is used by the AdvantEDGE Location Service to issue a callback notification towards an ME application with a zonal or user tracking subscription
*MeepDemoAppApi.StateTransferApi* | [**handleEvent**](docs/StateTransferApi.md#handleEvent) | **POST** /mg/event | Send event notification to registered Mobility Group Application
*MeepDemoAppApi.UELocationApi* | [**getUeLocation**](docs/UELocationApi.md#getUeLocation) | **GET** /location/{ueId} | Retrieves the UE location values
*MeepDemoAppApi.UEStateApi* | [**createUeState**](docs/UEStateApi.md#createUeState) | **POST** /ue/{ueId} | Registers the UE and starts a counter
+5 −5
Original line number Diff line number Diff line
@@ -4,12 +4,12 @@ All URIs are relative to *http://127.0.0.1:8086/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**rcvTrackingNotification**](NotificationsApi.md#rcvTrackingNotification) | **POST** /location_notifications/{subscriptionId} | This operation is used by the AdvantEDGE Location Service to issue a callback notification towards an ME application with a zonal or user tracking subscription
[**postTrackingNotification**](NotificationsApi.md#postTrackingNotification) | **POST** /location_notifications/{subscriptionId} | This operation is used by the AdvantEDGE Location Service to issue a callback notification towards an ME application with a zonal or user tracking subscription


<a name="rcvTrackingNotification"></a>
# **rcvTrackingNotification**
> rcvTrackingNotification(subscriptionId, notification)
<a name="postTrackingNotification"></a>
# **postTrackingNotification**
> postTrackingNotification(subscriptionId, notification)

This operation is used by the AdvantEDGE Location Service to issue a callback notification towards an ME application with a zonal or user tracking subscription

@@ -33,7 +33,7 @@ var callback = function(error, data, response) {
    console.log('API called successfully.');
  }
};
apiInstance.rcvTrackingNotification(subscriptionId, notification, callback);
apiInstance.postTrackingNotification(subscriptionId, notification, callback);
```

### Parameters
+6 −6
Original line number Diff line number Diff line
@@ -48,8 +48,8 @@


    /**
     * Callback function to receive the result of the rcvTrackingNotification operation.
     * @callback module:api/NotificationsApi~rcvTrackingNotificationCallback
     * Callback function to receive the result of the postTrackingNotification operation.
     * @callback module:api/NotificationsApi~postTrackingNotificationCallback
     * @param {String} error Error message, if any.
     * @param data This operation does not return a value.
     * @param {String} response The complete HTTP response.
@@ -60,19 +60,19 @@
     * Zonal or User location tracking subscription notification
     * @param {String} subscriptionId Identity of a notification subscription (user or zonal)
     * @param {module:model/TrackingNotification} notification Zonal or User Tracking Notification
     * @param {module:api/NotificationsApi~rcvTrackingNotificationCallback} callback The callback function, accepting three arguments: error, data, response
     * @param {module:api/NotificationsApi~postTrackingNotificationCallback} callback The callback function, accepting three arguments: error, data, response
     */
    this.rcvTrackingNotification = function(subscriptionId, notification, callback) {
    this.postTrackingNotification = function(subscriptionId, notification, callback) {
      var postBody = notification;

      // verify the required parameter 'subscriptionId' is set
      if (subscriptionId === undefined || subscriptionId === null) {
        throw new Error("Missing the required parameter 'subscriptionId' when calling rcvTrackingNotification");
        throw new Error("Missing the required parameter 'subscriptionId' when calling postTrackingNotification");
      }

      // verify the required parameter 'notification' is set
      if (notification === undefined || notification === null) {
        throw new Error("Missing the required parameter 'notification' when calling rcvTrackingNotification");
        throw new Error("Missing the required parameter 'notification' when calling postTrackingNotification");
      }


Loading