Commit df50bcb6 authored by Elian Kraja's avatar Elian Kraja
Browse files

Merge branch 'stf593' into 'develop'

STF593 - Final draft merged to develop

See merge request !1
parents 1e353498 70ca800f
Pipeline #5364 passed with stage
in 0 seconds
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/registration_info_device_information.proto";
import public "models/registration_info_service_consumer_id.proto";
message RegistrationInfo {
// The identifier of registered application mobility service. Shall be absent in POST requests, and present otherwise.
string app_mobility_service_id = 1;
// If present, it specifies the device served by the application instance which is registering the application mobility service.
repeated RegistrationInfoDeviceInformation device_information = 2;
// 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.
int32 expiry_time = 3;
RegistrationInfoServiceConsumerId service_consumer_id = 4;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/app_mobility_service_level.proto";
import public "models/associate_id.proto";
import public "models/context_transfer_state.proto";
message RegistrationInfoDeviceInformation {
AssociateId associate_id = 1;
AppMobilityServiceLevel app_mobility_service_level = 2;
ContextTransferState context_transfer_state = 3;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
message RegistrationInfoServiceConsumerId {
// If present, it represents the identifier of the application instance registering the application mobility service.
string app_instance_id = 1;
// If present, it represents the identifier of the MEC platform registering the application mobility service.
string mep_id = 2;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/mobility_procedure_subscription.proto";
import public "models/adjacent_app_info_subscription.proto";
message Subscription {
oneof subscription {
MobilityProcedureSubscription mobility_procedure_subscription = 1;
AdjacentAppInfoSubscription adjacent_app_info_subscription = 2;
}
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/subscription_link_list_links.proto";
import public "models/subscription_link_list_subscription.proto";
message SubscriptionLinkList {
SubscriptionLinkListLinks underscorelinks = 1;
// A link to a subscription.
repeated SubscriptionLinkListSubscription subscription = 2;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/link_type.proto";
message SubscriptionLinkListLinks {
LinkType self = 1;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/subscription_type.proto";
message SubscriptionLinkListSubscription {
// The URI referring to the subscription.
string href = 1;
SubscriptionType subscription_type = 2;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
//Numeric value (0 - 255) corresponding to specified type of subscription as following: 0 = RESERVED. 1 = MOBILITY_PROCEDURE. 2 = ADJACENT_APPINFO.
message SubscriptionType{
enum TypeEnum {
SUBSCRIPTION_TYPE_TYPE_ENUM_0 = 0;
SUBSCRIPTION_TYPE_TYPE_ENUM_1 = 1;
SUBSCRIPTION_TYPE_TYPE_ENUM_2 = 2;
}
TypeEnum type = 1;
// Value for the identifier.
string value = 2;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
message TimeStamp {
// 'The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.'
int32 seconds = 1;
// 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.'
int32 nano_seconds = 2;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import public "models/adjacent_app_instance_info.proto";
import public "models/problem_details.proto";
service AdjAppInstService {
rpc AdjAppInstGET (AdjAppInstGETRequest) returns (AdjAppInstGETResponse);
}
message AdjAppInstGETRequest {
// Attribute-based filtering parameters according to ETSI GS MEC 011
string filter = 1;
// Include all complex attributes in the response.
string all_fields = 2;
// Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011
string fields = 3;
// Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011
string exclude_fields = 4;
// Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details.
string exclude_default = 5;
}
message AdjAppInstGETResponse {
repeated AdjacentAppInstanceInfo data = 1;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import "google/protobuf/empty.proto";
import public "models/problem_details.proto";
service AppMobSerDerService {
rpc AppMobilityServiceDerPOST (AppMobilityServiceDerPOSTRequest) returns (google.protobuf.Empty);
}
message AppMobilityServiceDerPOSTRequest {
string app_mobility_service_id = 1;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import "google/protobuf/empty.proto";
import public "models/problem_details.proto";
import public "models/registration_info.proto";
service AppMobSerService {
rpc AppMobilityServiceByIdDELETE (AppMobilityServiceByIdDELETERequest) returns (google.protobuf.Empty);
rpc AppMobilityServiceByIdGET (AppMobilityServiceByIdGETRequest) returns (RegistrationInfo);
rpc AppMobilityServiceByIdPUT (AppMobilityServiceByIdPUTRequest) returns (RegistrationInfo);
rpc AppMobilityServiceGET (AppMobilityServiceGETRequest) returns (AppMobilityServiceGETResponse);
rpc AppMobilityServicePOST (AppMobilityServicePOSTRequest) returns (RegistrationInfo);
}
message AppMobilityServiceByIdDELETERequest {
// Identifier of the created individual application mobility service.
string app_mobility_service_id = 1;
}
message AppMobilityServiceByIdGETRequest {
// Identifier of the created individual application mobility service.
string app_mobility_service_id = 1;
}
message AppMobilityServiceByIdPUTRequest {
// Identifier of the created individual application mobility service.
string app_mobility_service_id = 1;
RegistrationInfo registration_info = 2;
}
message AppMobilityServiceGETRequest {
// Attribute-based filtering parameters according to ETSI GS MEC 011
string filter = 1;
// Include all complex attributes in the response.
string all_fields = 2;
// Complex attributes to be included into the response. See clause 6.18 in ETSI GS MEC 011
string fields = 3;
// Complex attributes to be excluded from the response.See clause 6.18 in ETSI GS MEC 011
string exclude_fields = 4;
// Indicates to exclude the following complex attributes from the response See clause 6.18 in ETSI GS MEC 011 for details.
string exclude_default = 5;
}
message AppMobilityServiceGETResponse {
repeated RegistrationInfo data = 1;
}
message AppMobilityServicePOSTRequest {
// Application mobility service to be created
RegistrationInfo registration_info = 1;
}
/*
ETSI GS MEC 021 Application Mobility Service API
ETSI GS MEC 021 Application Mobility Service API described using OpenAPI.
The version of the OpenAPI document: 2.1.1
Generated by OpenAPI Generator: https://openapi-generator.tech
*/
syntax = "proto3";
package mec021;
import "google/protobuf/empty.proto";
import public "models/problem_details.proto";
import public "models/subscription_link_list.proto";
import public "models/subscription.proto";
service SubscriptionsService {
rpc SubByIdDELETE (SubByIdDELETERequest) returns (google.protobuf.Empty);
rpc SubByIdGET (SubByIdGETRequest) returns (Subscription);
rpc SubByIdPUT (SubByIdPUTRequest) returns (Subscription);
rpc SubGET (SubGETRequest) returns (SubscriptionLinkList);
rpc SubPOST (SubPOSTRequest) returns (Subscription);
}
message SubByIdDELETERequest {
string subscription_id = 1;
}
message SubByIdGETRequest {
string subscription_id = 1;
}
message SubByIdPUTRequest {
string subscription_id = 1;
Subscription subscription = 2;
}
message SubGETRequest {
string subscription_type = 1;
}
message SubPOSTRequest {
Subscription subscription = 1;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment