Commit d08e316d authored by Yann Garcia's avatar Yann Garcia
Browse files

Merge branch 'STF678_Task1_2_MEC011_FSCOM' into 'STF678_Task1_2'

Add test scenarios for application support Subscriptions; change...

See merge request mec/AdvantEDGE!18
parents 473f6f2d 1d156dce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ image:
  env:
    MEEP_INSTANCE_ID: {{.InstanceId}}
    MEEP_SANDBOX_NAME: {{.SandboxName}}
    MEEP_SVC_PATH: /mec_app_support/v1
    MEEP_SVC_PATH: /mec_app_support/v2
    MEEP_HOST_URL: {{.HostUrl}}
    {{- if .IsMepService }}
    MEEP_MEP_NAME: {{.MepName}}
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ default:
#   #------------------------------
#   - name: 'meep-app-enablement'
#     api: 'mec_app_support'
#     path: '/mec_app_support/v1'
#     path: '/mec_app_support/v2'
#     sbox: true
#     default:
#       mode: 'allow'
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ services:
  #------------------------------
  - name: 'meep-app-enablement'
    api: 'mec_app_support'
    path: '/mec_app_support/v1'
    path: '/mec_app_support/v2'
    sbox: true
    default:
      mode: 'verify'
+56 −37
Original line number Diff line number Diff line
.openapi-generator-ignore
Apis/MecAppSupportApi.md
Apis/UnsupportedApi.md
Models/AppInfo.md
Models/AppProfile.md
Models/AppReadyConfirmation.md
Models/AppTerminationConfirmation.md
Models/AppTerminationNotification.md
Models/AppTerminationNotificationLinks.md
Models/AppTerminationNotificationSubscription.md
Models/CategoryRef.md
Models/CurrentTime.md
Models/DestinationInterface.md
Models/DestinationInterfaceInterfaceType.md
Models/DnsRule.md
Models/DnsRuleIpAddressType.md
Models/DnsRuleState.md
Models/EndPointInfoAddress.md
Models/EndPointInfoAddresses.md
Models/EndPointInfoAlternative.md
Models/EndPointInfoFqdn.md
Models/EndPointInfoUris.md
Models/FeatureDependency.md
Models/LinkType.md
Models/LinkTypeConfirmTermination.md
Models/MecAppSuptApiSubscriptionLinkList.md
Models/MecAppSuptApiSubscriptionLinkListLinks.md
Models/MecAppSuptApiSubscriptionLinkListSubscription.md
Models/OneOfAppInfoEndpoint.md
Models/OneOfAppProfileEndPt.md
Models/OperationActionType.md
Models/ProblemDetails.md
Models/SecurityInfo.md
Models/SecurityInfoOAuth2Info.md
Models/SecurityInfoOAuth2InfoGrantType.md
Models/Self.md
Models/SerializerType.md
Models/ServiceDependency.md
Models/TimeSourceStatus.md
Models/TimingCaps.md
Models/TimingCapsNtpServers.md
@@ -32,6 +48,9 @@ Models/TrafficRule.md
Models/TrafficRuleAction.md
Models/TrafficRuleFilterType.md
Models/TrafficRuleState.md
Models/TransportDependency.md
Models/TransportDescriptor.md
Models/TransportType.md
Models/TunnelInfo.md
Models/TunnelInfoTunnelType.md
README.md
 No newline at end of file
+349 −231
Original line number Diff line number Diff line
# MecAppSupportApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**applicationsConfirmReadyPOST**](MecAppSupportApi.md#applicationsConfirmReadyPOST) | **POST** /applications/{appInstanceId}/confirm_ready | 
[**applicationsConfirmTerminationPOST**](MecAppSupportApi.md#applicationsConfirmTerminationPOST) | **POST** /applications/{appInstanceId}/confirm_termination | 
[**ApplicationsRegistrationDELETE**](MecAppSupportApi.md#ApplicationsRegistrationDELETE) | **Delete** /registrations/{appInstanceId} |
[**ApplicationsRegistrationGET**](MecAppSupportApi.md#ApplicationsRegistrationGET) | **Get** /registrations/{appInstanceId} |
[**ApplicationsRegistrationPUT**](MecAppSupportApi.md#ApplicationsRegistrationPUT) | **Put** /registrations/{appInstanceId} |
[**ApplicationsRegistrationsPOST**](MecAppSupportApi.md#ApplicationsRegistrationsPOST) | **Post** /registrations |
[**applicationsSubscriptionDELETE**](MecAppSupportApi.md#applicationsSubscriptionDELETE) | **DELETE** /applications/{appInstanceId}/subscriptions/{subscriptionId} | 
[**applicationsSubscriptionGET**](MecAppSupportApi.md#applicationsSubscriptionGET) | **GET** /applications/{appInstanceId}/subscriptions/{subscriptionId} | 
[**applicationsSubscriptionsGET**](MecAppSupportApi.md#applicationsSubscriptionsGET) | **GET** /applications/{appInstanceId}/subscriptions | 
@@ -70,6 +74,120 @@ No authorization required
- **Content-Type**: application/json
- **Accept**: application/problem+json, text/plain

<a name="applicationsRegistrationDELETE"></a>
# **applicationsRegistrationDELETE**
> applicationsRegistrationDELETE(ctx, appInstanceId)



    This method may be used by the MEC application instance to notify the MEC platform that it is up and running. 

### Parameters

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. | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/problem+json, text/plain

<a name="applicationsRegistrationGET"></a>
# **applicationsRegistrationGET**
> AppInfo applicationsRegistrationGET(ctx, appInstanceId)



    The GET method may be used by the MEC application instance to retrieve information about the existing MEC application instance registration to the MEC platform.

### Parameters

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. | 

### Return type

[**AppInfo**](../Models/AppInfo.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json, application/problem+json, text/plain

<a name="applicationsRegistrationPUT"></a>
# **applicationsRegistrationPUT**
> AppInfo applicationsRegistrationPUT(ctx, body, appInstanceId)



    The PUT method may be used by the MEC application instance to update its registration to the MEC platform.

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
 **body** | [**AppInfo**](../Models/AppInfo.md)| Message content in the request contains the profile of the application, calling the MEC platform to update the existing MEC application instance registration. | 
 **appInstanceId** | **String**| Represents a MEC application instance. Note that the appInstanceId is allocated by the MEC platform manager. | 

### Return type

[**AppInfo**](../Models/AppInfo.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json, application/problem+json, text/plain

<a name="applicationsRegistrationsPOST"></a>
# **applicationsRegistrationsPOST**
> AppInfo applicationsRegistrationsPOST(ctx, body)



   The POST method may be used by the MEC application instance to request its registration to the MEC platform.

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
  **body** | [**AppInfo**](../Models/AppInfo.md)| Entity body in the request contains BwInfo to be created. | 

### Return type

[**AppInfo**](../Models/AppInfo.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json, application/problem+json, text/plain


<a name="applicationsSubscriptionDELETE"></a>
# **applicationsSubscriptionDELETE**
> applicationsSubscriptionDELETE(appInstanceId, subscriptionId)
@@ -96,7 +214,7 @@ No authorization required
### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/problem+json, text/plain, 
- **Accept**: application/problem+json, text/plain

<a name="applicationsSubscriptionGET"></a>
# **applicationsSubscriptionGET**
Loading