Commit 05805d1e authored by Ubuntu's avatar Ubuntu
Browse files

Updated proto3 file notation from camel case to snake case and enum variables name format.

parent 5ea3fc08
Pipeline #5173 passed with stage
in 0 seconds
......@@ -18,17 +18,17 @@ import public "models/time_stamp.proto";
message AdjacentAppInfoSubscription {
AdjacentAppInfoSubscriptionLinks Underscorelinks = 1;
AdjacentAppInfoSubscriptionLinks underscorelinks = 1;
// 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.
string callbackReference = 2;
string callback_reference = 2;
TimeStamp expiryDeadline = 3;
TimeStamp expiry_deadline = 3;
AdjacentAppInfoSubscriptionFilterCriteria filterCriteria = 4;
AdjacentAppInfoSubscriptionFilterCriteria filter_criteria = 4;
// Shall be set to \"AdjacentAppInfoSubscription\".
enum subscriptionType {
enum SUBSCRIPTION_TYPE {
ADJACENTAPPINFOSUBSCRIPTION = 0;
}
......
......@@ -15,6 +15,6 @@ package mec021;
message AdjacentAppInfoSubscriptionFilterCriteria {
string appInstanceId = 1;
string app_instance_id = 1;
}
......@@ -18,14 +18,14 @@ import public "models/mec_host_information.proto";
message AdjacentAppInstanceInfo {
// Identifier of the application descriptor.
string appDId = 1;
string appd_id = 1;
// It specifies the communication interface of application instance.
repeated CommunicationInterface appInstanceCommLink = 2;
repeated CommunicationInterface app_instance_comm_link = 2;
// Identifier of the application instance.
string appInstanceId = 3;
string app_instance_id = 3;
MECHostInformation mecHostInformation = 4;
MECHostInformation mec_host_information = 4;
}
......@@ -16,9 +16,9 @@ package mec021;
//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. The applicable values of this attribute are: 1 = APP_MOBILITY_NOT_ALLOWED 2 = APP_MOBILITY_WITH_CONFIRMATION 3 = APP_MOBILITY_WITHOUT_CONFIRMATION.
message AppMobilityServiceLevel {
enum TypeEnum {
_1 = 0;
_2 = 1;
_3 = 2;
APP_MOBILITY_SERVICE_LEVEL_TYPE_ENUM_1 = 0;
APP_MOBILITY_SERVICE_LEVEL_TYPE_ENUM_2 = 1;
APP_MOBILITY_SERVICE_LEVEL_TYPE_ENUM_3 = 2;
}
TypeEnum type = 1;
......
......@@ -17,11 +17,11 @@ message AssociateId {
// 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.
enum TypeEnum {
_0 = 0;
_1 = 1;
_2 = 2;
_3 = 3;
_4 = 4;
ASSOCIATE_ID_TYPE_ENUM_0 = 0;
ASSOCIATE_ID_TYPE_ENUM_1 = 1;
ASSOCIATE_ID_TYPE_ENUM_2 = 2;
ASSOCIATE_ID_TYPE_ENUM_3 = 3;
ASSOCIATE_ID_TYPE_ENUM_4 = 4;
}
TypeEnum type = 1;
......
......@@ -16,6 +16,6 @@ import public "models/communication_interface_ip_addresses.proto";
message CommunicationInterface {
repeated CommunicationInterfaceIpAddresses ipAddresses = 1;
repeated CommunicationInterfaceIpAddresses ip_addresses = 1;
}
......@@ -16,8 +16,8 @@ package mec021;
message ContextTransferState{
enum TypeEnum {
_0 = 0;
_1 = 1;
CONTEXT_TRANSFER_STATE_TYPE_ENUM_0 = 0;
CONTEXT_TRANSFER_STATE_TYPE_ENUM_1 = 1;
}
TypeEnum type = 1;
......
......@@ -16,9 +16,9 @@ import "google/protobuf/any.proto";
message MECHostInformation {
// Human-readable name of MEC host.
string hostName = 1;
string host_name = 1;
// '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'
map <string, google.protobuf.Any> hostId = 2;
map <string, google.protobuf.Any> host_id = 2;
}
......@@ -21,11 +21,11 @@ message MobilityProcedureSubscription {
MobilityProcedureSubscriptionLinks Underscorelinks = 1;
// 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.
string callbackReference = 2;
string callback_reference = 2;
TimeStamp expiryDeadline = 3;
TimeStamp expiry_deadline = 3;
MobilityProcedureSubscriptionFilterCriteria filterCriteria = 4;
MobilityProcedureSubscriptionFilterCriteria filter_criteria = 4;
// Shall be set to \"MobilityProcedureSubscription\".
enum subscriptionType {
......
......@@ -18,12 +18,12 @@ import public "models/mobility_status.proto";
message MobilityProcedureSubscriptionFilterCriteria {
// Identifier of the application instance that registers the application mobility service.
string appInstanceId = 1;
string app_instance_id = 1;
// 0 to N identifiers to associate the information for specific UE(s) and flow(s).
repeated AssociateId associateId = 2;
repeated AssociateId associate_id = 2;
// 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.
repeated MobilityStatus mobilityStatus = 3;
// In case mobility_status is not included in the subscription request, the default value 1 = INTER_HOST_MOBILITY_TRIGGERED shall be used and included in the response.
repeated MobilityStatus mobility_status = 3;
}
......@@ -15,9 +15,9 @@ package mec021;
//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. 1 = INTERHOST_MOVEOUT_TRIGGERED. 2 = INTERHOST_MOVEOUT_COMPLETED. 3 = INTERHOST_MOVEOUT_FAILED.
message MobilityStatus{
enum TypeEnum {
_1 = 0;
_2 = 1;
_3 = 2;
MOBILITY_STATUS_TYPE_ENUM_1 = 0;
MOBILITY_STATUS_TYPE_ENUM_2 = 1;
MOBILITY_STATUS_TYPE_ENUM_3 = 2;
}
TypeEnum type = 1;
......
......@@ -18,14 +18,14 @@ 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 appMobilityServiceId = 1;
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 deviceInformation = 2;
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 expiryTime = 3;
int32 expiry_time = 3;
RegistrationInfoServiceConsumerId serviceConsumerId = 4;
RegistrationInfoServiceConsumerId service_consumer_id = 4;
}
......@@ -18,10 +18,10 @@ import public "models/context_transfer_state.proto";
message RegistrationInfoDeviceInformation {
AssociateId associateId = 1;
AssociateId associate_id = 1;
AppMobilityServiceLevel appMobilityServiceLevel = 2;
AppMobilityServiceLevel app_mobility_service_level = 2;
ContextTransferState contextTransferState = 3;
ContextTransferState context_transfer_state = 3;
}
......@@ -16,9 +16,9 @@ package mec021;
message RegistrationInfoServiceConsumerId {
// If present, it represents the identifier of the application instance registering the application mobility service.
string appInstanceId = 1;
string app_instance_id = 1;
// If present, it represents the identifier of the MEC platform registering the application mobility service.
string mepId = 2;
string mep_id = 2;
}
......@@ -17,7 +17,7 @@ import public "models/adjacent_app_info_subscription.proto";
message Subscription {
oneof subscription {
MobilityProcedureSubscription mobilityProcedureSubscription = 1;
AdjacentAppInfoSubscription adjacentAppInfoSubscription = 2;
MobilityProcedureSubscription mobility_procedure_subscription = 1;
AdjacentAppInfoSubscription adjacent_app_info_subscription = 2;
}
}
......@@ -19,6 +19,6 @@ message SubscriptionLinkListSubscription {
// The URI referring to the subscription.
string href = 1;
SubscriptionType subscriptionType = 2;
SubscriptionType subscription_type = 2;
}
......@@ -15,9 +15,9 @@ 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 {
_0 = 0;
_1 = 1;
_2 = 2;
SUBSCRIPTION_TYPE_TYPE_ENUM_0 = 0;
SUBSCRIPTION_TYPE_TYPE_ENUM_1 = 1;
SUBSCRIPTION_TYPE_TYPE_ENUM_2 = 2;
}
TypeEnum type = 1;
......
......@@ -19,6 +19,6 @@ message TimeStamp {
int32 seconds = 1;
// 'The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.'
int32 nanoSeconds = 2;
int32 nano_seconds = 2;
}
......@@ -25,13 +25,13 @@ message AdjAppInstGETRequest {
// Attribute-based filtering parameters according to ETSI GS MEC 011
string filter = 1;
// Include all complex attributes in the response.
string allFields = 2;
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 excludeFields = 4;
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 excludeDefault = 5;
string exclude_default = 5;
}
......
......@@ -21,7 +21,7 @@ service AppMobSerDerService {
}
message AppMobilityServiceDerPOSTRequest {
string appMobilityServiceId = 1;
string app_mobility_service_id = 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