Skip to content

Commit

Permalink
Merge pull request #412 from dhruvigoyal25/demo3_fix
Browse files Browse the repository at this point in the history
Demo3 Fix
  • Loading branch information
dilallkx authored Dec 16, 2022
2 parents 9fae898 + 696a338 commit 36cd1b7
Show file tree
Hide file tree
Showing 129 changed files with 588 additions and 167 deletions.
6 changes: 4 additions & 2 deletions docs/api-ams/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ Models/AppMobilityServiceLevel.md
Models/AppTerminationNotification.md
Models/AppTerminationNotificationLinks.md
Models/AssociateId.md
Models/AssociateIdType.md
Models/CommunicationInterface.md
Models/CommunicationInterfaceIpAddresses.md
Models/ContextTransferState.md
Models/ExpiryNotification.md
Models/InlineNotification.md
Models/InlineSubscription.md
Models/Link.md
Models/LinkType.md
Models/MECHostInformation.md
Models/MobilityProcedureNotification.md
Models/MobilityProcedureNotificationLinks.md
Models/MobilityProcedureNotificationTargetAppInfo.md
Models/MobilityProcedureSubscription.md
Models/MobilityProcedureSubscriptionFilterCriteria.md
Expand All @@ -36,6 +39,5 @@ Models/SubscriptionType.md
Models/TestNotification.md
Models/TestNotificationLinks.md
Models/TimeStamp.md
Models/Type.md
Models/WebsockNotifConfig.md
README.md
18 changes: 9 additions & 9 deletions docs/api-ams/Apis/AmsiApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AmsiApi

All URIs are relative to *https://localhost/amsi/v1*
All URIs are relative to *https://localhost/sandboxname/amsi/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down Expand Up @@ -213,7 +213,7 @@ No authorization required

<a name="subByIdGET"></a>
# **subByIdGET**
> oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt; subByIdGET(subscriptionId)
> InlineSubscription subByIdGET(subscriptionId)
Retrieve information about this subscription.

Expand All @@ -227,7 +227,7 @@ Name | Type | Description | Notes

### Return type

[**oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;**](../Models/oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;.md)
[**InlineSubscription**](../Models/InlineSubscription.md)

### Authorization

Expand All @@ -240,7 +240,7 @@ No authorization required

<a name="subByIdPUT"></a>
# **subByIdPUT**
> oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt; subByIdPUT(subscriptionId, UNKNOWN\_BASE\_TYPE)
> InlineSubscription subByIdPUT(subscriptionId, InlineSubscription)
update the existing individual subscription.

Expand All @@ -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]
**UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| |
**InlineSubscription** | [**InlineSubscription**](../Models/InlineSubscription.md)| |

### Return type

[**oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;**](../Models/oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;.md)
[**InlineSubscription**](../Models/InlineSubscription.md)

### Authorization

Expand Down Expand Up @@ -295,7 +295,7 @@ No authorization required

<a name="subPOST"></a>
# **subPOST**
> oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt; subPOST(UNKNOWN\_BASE\_TYPE)
> InlineSubscription subPOST(InlineSubscription)
Create a new subscription to Application Mobility Service notifications.

Expand All @@ -305,11 +305,11 @@ Create a new subscription to Application Mobility Service notifications.

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**UNKNOWN\_BASE\_TYPE** | [**UNKNOWN_BASE_TYPE**](../Models/UNKNOWN_BASE_TYPE.md)| |
**InlineSubscription** | [**InlineSubscription**](../Models/InlineSubscription.md)| |

### Return type

[**oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;**](../Models/oneOf&lt;MobilityProcedureSubscription,AdjacentAppInfoSubscription&gt;.md)
[**InlineSubscription**](../Models/InlineSubscription.md)

### Authorization

Expand Down
30 changes: 29 additions & 1 deletion docs/api-ams/Apis/UnsupportedApi.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# UnsupportedApi

All URIs are relative to *https://localhost/amsi/v1*
All URIs are relative to *https://localhost/sandboxname/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
[**notificationPOST**](UnsupportedApi.md#notificationPOST) | **POST** /uri_provided_by_subscriber | delivers a notification from the AMS resource to the subscriber


<a name="adjAppInstGET"></a>
Expand Down Expand Up @@ -66,3 +67,30 @@ No authorization required
- **Content-Type**: Not defined
- **Accept**: application/json

<a name="notificationPOST"></a>
# **notificationPOST**
> notificationPOST(InlineNotification)
delivers a notification from the AMS resource to the subscriber

delivers a notification from the AMS resource to the subscriber

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**InlineNotification** | [**InlineNotification**](../Models/InlineNotification.md)| |

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

2 changes: 1 addition & 1 deletion docs/api-ams/Models/AdjacentAppInfoNotification.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**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]
**\_links** | [**Link**](Link.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)

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**commInterface** | [**List**](CommunicationInterface.md) | If present, it represents the communication interface(s) information of the application instance. | [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)

6 changes: 3 additions & 3 deletions docs/api-ams/Models/AdjacentAppInfoSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**\_links** | [**AdjacentAppInfoSubscription.links**](AdjacentAppInfoSubscription.links.md) | | [optional] [default to null]
**\_links** | [**AdjacentAppInfoSubscriptionLinks**](AdjacentAppInfoSubscriptionLinks.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]
**subscriptionType** | [**String**](string.md) | Shall be set to \&quot;AdjacentAppInfoSubscription\&quot;. | [default to null]
**filterCriteria** | [**AdjacentAppInfoSubscriptionFilterCriteria**](AdjacentAppInfoSubscriptionFilterCriteria.md) | | [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)

4 changes: 2 additions & 2 deletions docs/api-ams/Models/AssociateId.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | [**Type**](Type.md) | | [default to null]
**value** | [**String**](string.md) | Value for the identifier. | [default to null]
**type** | [**AssociateIdType**](AssociateIdType.md) | | [optional] [default to null]
**value** | [**String**](string.md) | Value for the identifier. | [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)

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Type
# AssociateIdType
## Properties

Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api-ams/Models/ExpiryNotification.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**notificationType** | [**String**](string.md) | Shall be set to \&quot;ExpiryNotification\&quot;. | [default to null]
**timeStamp** | [**TimeStamp**](TimeStamp.md) | | [optional] [default to null]
**\_links** | [**MobilityProcedureNotification__links**](MobilityProcedureNotification__links.md) | | [default to null]
**\_links** | [**Link**](Link.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)
Expand Down
16 changes: 16 additions & 0 deletions docs/api-ams/Models/InlineNotification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# InlineNotification
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**notificationType** | [**String**](string.md) | Shall be set to \&quot;ExpiryNotification\&quot;. | [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** | [**Link**](Link.md) | | [default to null]
**adjacentAppInfo** | [**List**](AdjacentAppInfoNotificationAdjacentAppInfo.md) | | [optional] [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)

15 changes: 15 additions & 0 deletions docs/api-ams/Models/InlineSubscription.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# InlineSubscription
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**\_links** | [**AdjacentAppInfoSubscriptionLinks**](AdjacentAppInfoSubscriptionLinks.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** | [**AdjacentAppInfoSubscriptionFilterCriteria**](AdjacentAppInfoSubscriptionFilterCriteria.md) | | [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)

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MobilityProcedureNotificationLinks
# Link
## Properties

Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api-ams/Models/MobilityProcedureNotification.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**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]
**\_links** | [**Link**](Link.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)

6 changes: 3 additions & 3 deletions docs/api-ams/Models/MobilityProcedureSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**\_links** | [**MobilityProcedureSubscription.links**](MobilityProcedureSubscription.links.md) | | [optional] [default to null]
**\_links** | [**MobilityProcedureSubscriptionLinks**](MobilityProcedureSubscriptionLinks.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]
**subscriptionType** | [**String**](string.md) | Shall be set to \&quot;MobilityProcedureSubscription\&quot;. | [default to null]
**filterCriteria** | [**MobilityProcedureSubscriptionFilterCriteria**](MobilityProcedureSubscriptionFilterCriteria.md) | | [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)

4 changes: 2 additions & 2 deletions docs/api-ams/Models/RegistrationInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 is registering the Application Mobility Service. | [optional] [default to null]
**deviceInformation** | [**List**](RegistrationInfoDeviceInformation.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 \&quot;0\&quot; 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]
**serviceConsumerId** | [**RegistrationInfoServiceConsumerId**](RegistrationInfoServiceConsumerId.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)

2 changes: 1 addition & 1 deletion docs/api-ams/Models/RegistrationInfoDeviceInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**associateId** | [**AssociateId**](AssociateId.md) | | [default to null]
**appMobilityServiceLevel** | [**AppMobilityServiceLevel**](AppMobilityServiceLevel.md) | | [optional] [default to null]
**contextTransferState** | [**contextTransferState**](contextTransferState.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)

2 changes: 1 addition & 1 deletion docs/api-ams/Models/SubscriptionLinkList.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**\_links** | [**SubscriptionLinkList.links**](SubscriptionLinkList.links.md) | | [default to null]
**\_links** | [**SubscriptionLinkListLinks**](SubscriptionLinkListLinks.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)

2 changes: 1 addition & 1 deletion docs/api-ams/Models/SubscriptionLinkListLinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +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]
**subscription** | [**List**](SubscriptionLinkListSubscription.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)

2 changes: 1 addition & 1 deletion docs/api-ams/Models/SubscriptionLinkListSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**href** | [**String**](string.md) | The URI referring to the subscription. | [default to null]
**subscriptionType** | [**subscriptionType**](subscriptionType.md) | | [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)

Loading

0 comments on commit 36cd1b7

Please sign in to comment.