Commit f2500ef9 authored by Raphael Defosseux's avatar Raphael Defosseux

style(clang-format): format modified files

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent bd3fe95d
......@@ -195,4 +195,4 @@ void AMF3GPPAccessRegistrationDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -57,14 +57,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AMF3GPPAccessRegistrationDocumentApi {
public:
public:
AMF3GPPAccessRegistrationDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AMF3GPPAccessRegistrationDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void amf_context3gpp_handler(const Pistache::Rest::Request &request,
......@@ -89,10 +89,11 @@ class AMF3GPPAccessRegistrationDocumentApi {
/// <param name="patchItem"></param>
/// <param name="supportedFeatures">Features required to be supported by the
/// target NF (optional, default to &quot;&quot;)</param>
virtual void amf_context3gpp(
const std::string &ueId, const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
amf_context3gpp(const std::string &ueId,
const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// To store the AMF context data of a UE using 3gpp access in the UDR
......@@ -102,10 +103,10 @@ class AMF3GPPAccessRegistrationDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="amf3GppAccessRegistration"> (optional)</param>
virtual void create_amf_context3gpp(
const std::string &ueId,
Amf3GppAccessRegistration &amf3GppAccessRegistration,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_amf_context3gpp(const std::string &ueId,
Amf3GppAccessRegistration &amf3GppAccessRegistration,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the AMF context data of a UE using 3gpp access
......@@ -125,6 +126,6 @@ class AMF3GPPAccessRegistrationDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AMF3GPPAccessRegistrationDocumentApi_H_ */
......@@ -192,4 +192,4 @@ void AMFNon3GPPAccessRegistrationDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -58,7 +58,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AMFNon3GPPAccessRegistrationDocumentApi {
public:
public:
AMFNon3GPPAccessRegistrationDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~AMFNon3GPPAccessRegistrationDocumentApi() {}
......@@ -66,17 +66,17 @@ class AMFNon3GPPAccessRegistrationDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void amf_context_non3gpp_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void create_amf_context_non3gpp_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_amf_context_non3gpp_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_amf_context_non3gpp_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query_amf_context_non3gpp_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void amf_non3_gpp_access_registration_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -93,10 +93,11 @@ class AMFNon3GPPAccessRegistrationDocumentApi {
/// <param name="patchItem"></param>
/// <param name="supportedFeatures">Features required to be supported by the
/// target NF (optional, default to &quot;&quot;)</param>
virtual void amf_context_non3gpp(
const std::string &ueId, const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
amf_context_non3gpp(const std::string &ueId,
const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// To store the AMF context data of a UE using non-3gpp access in the UDR
......@@ -129,6 +130,6 @@ class AMFNon3GPPAccessRegistrationDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AMFNon3GPPAccessRegistrationDocumentApi_H_ */
......@@ -202,4 +202,4 @@ void AccessAndMobilityDataApi::access_and_mobility_data_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,14 +54,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AccessAndMobilityDataApi {
public:
public:
AccessAndMobilityDataApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AccessAndMobilityDataApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_or_replace_access_and_mobility_data_handler(
......@@ -102,8 +102,9 @@ class AccessAndMobilityDataApi {
///
/// </remarks>
/// <param name="ueId">UE id</param>
virtual void delete_access_and_mobility_data(
const std::string &ueId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_access_and_mobility_data(const std::string &ueId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the access and mobility exposure data for a UE
......@@ -132,6 +133,6 @@ class AccessAndMobilityDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AccessAndMobilityDataApi_H_ */
......@@ -53,12 +53,12 @@ void AccessAndMobilityPolicyDataDocumentApi::init() { setupRoutes(); }
void AccessAndMobilityPolicyDataDocumentApi::setupRoutes() {
using namespace Pistache::Rest;
Routes::Get(
*router,
base + udr_cfg.nudr.api_version + "/policy-data/ues/:ueId/am-data",
Routes::bind(&AccessAndMobilityPolicyDataDocumentApi::
read_access_and_mobility_policy_data_handler,
this));
Routes::Get(*router,
base + udr_cfg.nudr.api_version +
"/policy-data/ues/:ueId/am-data",
Routes::bind(&AccessAndMobilityPolicyDataDocumentApi::
read_access_and_mobility_policy_data_handler,
this));
// Default handler, called when a route is not found
router->addCustomHandler(Routes::bind(
......@@ -98,4 +98,4 @@ void AccessAndMobilityPolicyDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AccessAndMobilityPolicyDataDocumentApi {
public:
public:
AccessAndMobilityPolicyDataDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~AccessAndMobilityPolicyDataDocumentApi() {}
......@@ -62,7 +62,7 @@ class AccessAndMobilityPolicyDataDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void read_access_and_mobility_policy_data_handler(
......@@ -85,6 +85,6 @@ class AccessAndMobilityPolicyDataDocumentApi {
const std::string &ueId, Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AccessAndMobilityPolicyDataDocumentApi_H_ */
......@@ -125,4 +125,4 @@ void AccessAndMobilitySubscriptionDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,7 +53,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AccessAndMobilitySubscriptionDataDocumentApi {
public:
public:
AccessAndMobilitySubscriptionDataDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~AccessAndMobilitySubscriptionDataDocumentApi() {}
......@@ -61,7 +61,7 @@ class AccessAndMobilitySubscriptionDataDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_am_data_handler(const Pistache::Rest::Request &request,
......@@ -97,6 +97,6 @@ class AccessAndMobilitySubscriptionDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AccessAndMobilitySubscriptionDataDocumentApi_H_ */
......@@ -115,4 +115,4 @@ void AmfSubscriptionInfoDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -56,19 +56,19 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AmfSubscriptionInfoDocumentApi {
public:
public:
AmfSubscriptionInfoDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AmfSubscriptionInfoDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void modify_amf_subscription_info_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
modify_amf_subscription_info_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void amf_subscription_info_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -93,6 +93,6 @@ class AmfSubscriptionInfoDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AmfSubscriptionInfoDocumentApi_H_ */
......@@ -137,4 +137,4 @@ void ApplicationDataSubscriptionsCollectionApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,7 +53,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class ApplicationDataSubscriptionsCollectionApi {
public:
public:
ApplicationDataSubscriptionsCollectionApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~ApplicationDataSubscriptionsCollectionApi() {}
......@@ -61,7 +61,7 @@ class ApplicationDataSubscriptionsCollectionApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_individual_application_data_subscription_handler(
......@@ -100,6 +100,6 @@ class ApplicationDataSubscriptionsCollectionApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* ApplicationDataSubscriptionsCollectionApi_H_ */
......@@ -151,4 +151,4 @@ void AuthenticationSoRDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,19 +53,19 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AuthenticationSoRDocumentApi {
public:
public:
AuthenticationSoRDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AuthenticationSoRDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_authentication_so_r_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_authentication_so_r_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_auth_so_r_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void authentication_so_r_document_api_default_handler(
......@@ -97,12 +97,12 @@ class AuthenticationSoRDocumentApi {
/// <param name="ueId">UE id</param>
/// <param name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void query_auth_so_r(
const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_auth_so_r(const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AuthenticationSoRDocumentApi_H_ */
......@@ -181,4 +181,4 @@ void AuthenticationStatusDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,26 +53,26 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AuthenticationStatusDocumentApi {
public:
public:
AuthenticationStatusDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AuthenticationStatusDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_authentication_status_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_authentication_status_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void delete_authentication_status_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_authentication_status_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
delete_authentication_status_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query_authentication_status_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void authentication_status_document_api_default_handler(
const Pistache::Rest::Request &request,
......@@ -88,11 +88,13 @@ class AuthenticationStatusDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="authEvent"> (optional)</param>
virtual void create_authentication_status(
const std::string &ueId, const AuthEvent &authEvent,
Pistache::Http::ResponseWriter &response) = 0;
virtual void delete_authentication_status(
const std::string &ueId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_authentication_status(const std::string &ueId,
const AuthEvent &authEvent,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_authentication_status(const std::string &ueId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void query_authentication_status(
const std::string &ueId,
const Pistache::Optional<std::vector<std::string>> &fields,
......@@ -100,6 +102,6 @@ class AuthenticationStatusDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AuthenticationStatusDocumentApi_H_ */
......@@ -155,4 +155,4 @@ void AuthenticationSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -56,7 +56,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AuthenticationSubscriptionDocumentApi {
public:
public:
AuthenticationSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~AuthenticationSubscriptionDocumentApi() {}
......@@ -64,7 +64,7 @@ class AuthenticationSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void modify_authentication_subscription_handler(
......@@ -99,6 +99,6 @@ class AuthenticationSubscriptionDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AuthenticationSubscriptionDocumentApi_H_ */
......@@ -150,4 +150,4 @@ void AuthenticationUPUDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,19 +53,19 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class AuthenticationUPUDocumentApi {
public:
public:
AuthenticationUPUDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~AuthenticationUPUDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_authentication_upu_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_authentication_upu_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_auth_upu_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void authentication_upu_document_api_default_handler(
......@@ -97,12 +97,12 @@ class AuthenticationUPUDocumentApi {
/// <param name="ueId">UE id</param>
/// <param name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void query_auth_upu(
const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_auth_upu(const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* AuthenticationUPUDocumentApi_H_ */
......@@ -104,4 +104,4 @@ void BdtDataStoreApi::bdt_data_store_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,21 +54,21 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class BdtDataStoreApi {
public:
public:
BdtDataStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~BdtDataStoreApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void read_bdt_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void bdt_data_store_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
bdt_data_store_api_default_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
......@@ -82,12 +82,12 @@ class BdtDataStoreApi {
/// default to std::vector&lt;std::string&gt;())</param> <param
/// name="suppFeat">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void read_bdt_data(
const Pistache::Optional<std::vector<std::string>> &bdtRefIds,
const Pistache::Optional<std::string> &suppFeat,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
read_bdt_data(const Pistache::Optional<std::vector<std::string>> &bdtRefIds,
const Pistache::Optional<std::string> &suppFeat,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* BdtDataStoreApi_H_ */
......@@ -114,4 +114,4 @@ void BdtPolicyDataStoreApi::bdt_policy_data_store_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,14 +54,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class BdtPolicyDataStoreApi {
public:
public:
BdtPolicyDataStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~BdtPolicyDataStoreApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void read_bdt_policy_data_handler(const Pistache::Rest::Request &request,
......@@ -91,6 +91,6 @@ class BdtPolicyDataStoreApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* BdtPolicyDataStoreApi_H_ */
......@@ -102,4 +102,4 @@ void CAGACKDocumentApi::cagack_document_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,21 +53,21 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class CAGACKDocumentApi {
public:
public:
CAGACKDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~CAGACKDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_cag_ack_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void cagack_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
cagack_document_api_default_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
std::shared_ptr<Pistache::Rest::Router> router;
......@@ -80,12 +80,12 @@ class CAGACKDocumentApi {
/// <param name="ueId">UE id</param>
/// <param name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void query_cag_ack(
const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_cag_ack(const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* CAGACKDocumentApi_H_ */
......@@ -109,4 +109,4 @@ void CAGUpdateAckDocumentApi::cag_update_ack_document_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class CAGUpdateAckDocumentApi {
public:
public:
CAGUpdateAckDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~CAGUpdateAckDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_cag_update_ack_handler(const Pistache::Rest::Request &request,
......@@ -87,6 +87,6 @@ class CAGUpdateAckDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* CAGUpdateAckDocumentApi_H_ */
......@@ -104,4 +104,4 @@ void Class5GVNGroupsInternalDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,19 +53,19 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class Class5GVNGroupsInternalDocumentApi {
public:
public:
Class5GVNGroupsInternalDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~Class5GVNGroupsInternalDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query5_g_vn_group_internal_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query5_g_vn_group_internal_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void class5_gvn_groups_internal_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -84,6 +84,6 @@ class Class5GVNGroupsInternalDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* Class5GVNGroupsInternalDocumentApi_H_ */
......@@ -100,4 +100,4 @@ void Class5GVNGroupsStoreApi::class5_gvn_groups_store_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class Class5GVNGroupsStoreApi {
public:
public:
Class5GVNGroupsStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~Class5GVNGroupsStoreApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query5_g_vn_group_handler(const Pistache::Rest::Request &request,
......@@ -79,11 +79,11 @@ class Class5GVNGroupsStoreApi {
/// </remarks>
/// <param name="gpsis">List of GPSIs (optional, default to
/// std::vector&lt;std::string&gt;())</param>
virtual void query5_g_vn_group(
const Pistache::Optional<std::vector<std::string>> &gpsis,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query5_g_vn_group(const Pistache::Optional<std::vector<std::string>> &gpsis,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* Class5GVNGroupsStoreApi_H_ */
......@@ -104,4 +104,4 @@ void Class5GVnGroupConfigurationDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class Class5GVnGroupConfigurationDocumentApi {
public:
public:
Class5GVnGroupConfigurationDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~Class5GVnGroupConfigurationDocumentApi() {}
......@@ -62,7 +62,7 @@ class Class5GVnGroupConfigurationDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create5_g_vn_group_handler(const Pistache::Rest::Request &request,
......@@ -81,12 +81,12 @@ class Class5GVnGroupConfigurationDocumentApi {
/// </remarks>
/// <param name="externalGroupId"></param>
/// <param name="r_5GVnGroupConfiguration"></param>
virtual void create5_g_vn_group(
const std::string &externalGroupId,
const _5GVnGroupConfiguration &r_5GVnGroupConfiguration,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create5_g_vn_group(const std::string &externalGroupId,
const _5GVnGroupConfiguration &r_5GVnGroupConfiguration,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* Class5GVnGroupConfigurationDocumentApi_H_ */
......@@ -103,4 +103,4 @@ void ContextDataDocumentApi::context_data_document_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,14 +54,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class ContextDataDocumentApi {
public:
public:
ContextDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~ContextDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_context_data_handler(const Pistache::Rest::Request &request,
......@@ -85,6 +85,6 @@ class ContextDataDocumentApi {
// Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* ContextDataDocumentApi_H_ */
......@@ -91,4 +91,4 @@ void Delete5GVnGroupApi::delete5_g_vn_group_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -50,14 +50,14 @@
namespace oai::udr::api {
class Delete5GVnGroupApi {
public:
public:
Delete5GVnGroupApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~Delete5GVnGroupApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete5_g_vn_group_handler(const Pistache::Rest::Request &request,
......@@ -79,6 +79,6 @@ class Delete5GVnGroupApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* Delete5GVnGroupApi_H_ */
......@@ -113,4 +113,4 @@ void EnhancedCoverageRestrictionDataApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EnhancedCoverageRestrictionDataApi {
public:
public:
EnhancedCoverageRestrictionDataApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~EnhancedCoverageRestrictionDataApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_coverage_restriction_data_handler(
......@@ -93,6 +93,6 @@ class EnhancedCoverageRestrictionDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EnhancedCoverageRestrictionDataApi_H_ */
......@@ -98,4 +98,4 @@ void EventAMFSubscriptionInfoDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -50,14 +50,14 @@
namespace oai::udr::api {
class EventAMFSubscriptionInfoDocumentApi {
public:
public:
EventAMFSubscriptionInfoDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventAMFSubscriptionInfoDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void remove_amf_subscriptions_info_handler(
......@@ -77,11 +77,12 @@ class EventAMFSubscriptionInfoDocumentApi {
/// </remarks>
/// <param name="ueId"></param>
/// <param name="subsId"></param>
virtual void remove_amf_subscriptions_info(
const std::string &ueId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
remove_amf_subscriptions_info(const std::string &ueId,
const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventAMFSubscriptionInfoDocumentApi_H_ */
......@@ -114,4 +114,4 @@ void EventExposureDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EventExposureDataDocumentApi {
public:
public:
EventExposureDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventExposureDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_ee_data_handler(const Pistache::Rest::Request &request,
......@@ -82,13 +82,13 @@ class EventExposureDataDocumentApi {
/// std::vector&lt;std::string&gt;())</param> <param
/// name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void query_ee_data(
const std::string &ueId,
const Pistache::Optional<std::vector<std::string>> &fields,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_ee_data(const std::string &ueId,
const Pistache::Optional<std::vector<std::string>> &fields,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventExposureDataDocumentApi_H_ */
......@@ -212,4 +212,4 @@ void EventExposureGroupSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -58,7 +58,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EventExposureGroupSubscriptionDocumentApi {
public:
public:
EventExposureGroupSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventExposureGroupSubscriptionDocumentApi() {}
......@@ -66,15 +66,15 @@ class EventExposureGroupSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void modify_ee_group_subscription_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_ee_group_subscription_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
modify_ee_group_subscription_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query_ee_group_subscription_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void remove_ee_group_subscriptions_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -112,9 +112,10 @@ class EventExposureGroupSubscriptionDocumentApi {
/// </remarks>
/// <param name="ueGroupId"></param>
/// <param name="subsId">Unique ID of the subscription to remove</param>
virtual void query_ee_group_subscription(
const std::string &ueGroupId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_ee_group_subscription(const std::string &ueGroupId,
const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Deletes a eeSubscription for a group of UEs or any UE
......@@ -124,9 +125,10 @@ class EventExposureGroupSubscriptionDocumentApi {
/// </remarks>
/// <param name="ueGroupId"></param>
/// <param name="subsId">Unique ID of the subscription to remove</param>
virtual void remove_ee_group_subscriptions(
const std::string &ueGroupId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
remove_ee_group_subscriptions(const std::string &ueGroupId,
const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Update an individual ee subscription of a group of UEs or any UE
......@@ -137,12 +139,13 @@ class EventExposureGroupSubscriptionDocumentApi {
/// <param name="ueGroupId"></param>
/// <param name="subsId"></param>
/// <param name="eeSubscription"> (optional)</param>
virtual void update_ee_group_subscriptions(
const std::string &ueGroupId, const std::string &subsId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
update_ee_group_subscriptions(const std::string &ueGroupId,
const std::string &subsId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventExposureGroupSubscriptionDocumentApi_H_ */
......@@ -142,4 +142,4 @@ void EventExposureGroupSubscriptionsCollectionApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,7 +53,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EventExposureGroupSubscriptionsCollectionApi {
public:
public:
EventExposureGroupSubscriptionsCollectionApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventExposureGroupSubscriptionsCollectionApi() {}
......@@ -61,15 +61,15 @@ class EventExposureGroupSubscriptionsCollectionApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_ee_group_subscriptions_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_ee_group_subscriptions_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query_ee_group_subscriptions_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void event_exposure_group_subscriptions_collection_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -84,9 +84,10 @@ class EventExposureGroupSubscriptionsCollectionApi {
/// </remarks>
/// <param name="ueGroupId">Group of UEs or any UE</param>
/// <param name="eeSubscription"></param>
virtual void create_ee_group_subscriptions(
const std::string &ueGroupId, const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_ee_group_subscriptions(const std::string &ueGroupId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the ee subscriptions of a group of UEs or any UE
......@@ -103,6 +104,6 @@ class EventExposureGroupSubscriptionsCollectionApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventExposureGroupSubscriptionsCollectionApi_H_ */
......@@ -206,4 +206,4 @@ void EventExposureSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -58,14 +58,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EventExposureSubscriptionDocumentApi {
public:
public:
EventExposureSubscriptionDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventExposureSubscriptionDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void modify_eesubscription_handler(const Pistache::Rest::Request &request,
......@@ -107,9 +107,9 @@ class EventExposureSubscriptionDocumentApi {
/// </remarks>
/// <param name="ueId"></param>
/// <param name="subsId">Unique ID of the subscription to remove</param>
virtual void queryee_subscription(
const std::string &ueId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
queryee_subscription(const std::string &ueId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Deletes a eeSubscription
......@@ -119,9 +119,9 @@ class EventExposureSubscriptionDocumentApi {
/// </remarks>
/// <param name="ueId"></param>
/// <param name="subsId">Unique ID of the subscription to remove</param>
virtual void removeee_subscriptions(
const std::string &ueId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
removeee_subscriptions(const std::string &ueId, const std::string &subsId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Update an individual ee subscriptions of a UE
......@@ -132,12 +132,12 @@ class EventExposureSubscriptionDocumentApi {
/// <param name="ueId"></param>
/// <param name="subsId"></param>
/// <param name="eeSubscription"> (optional)</param>
virtual void update_eesubscriptions(
const std::string &ueId, const std::string &subsId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
update_eesubscriptions(const std::string &ueId, const std::string &subsId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventExposureSubscriptionDocumentApi_H_ */
......@@ -140,4 +140,4 @@ void EventExposureSubscriptionsCollectionApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,7 +53,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class EventExposureSubscriptionsCollectionApi {
public:
public:
EventExposureSubscriptionsCollectionApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~EventExposureSubscriptionsCollectionApi() {}
......@@ -61,7 +61,7 @@ class EventExposureSubscriptionsCollectionApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_ee_subscriptions_handler(const Pistache::Rest::Request &request,
......@@ -82,9 +82,10 @@ class EventExposureSubscriptionsCollectionApi {
/// </remarks>
/// <param name="ueId">UE ID</param>
/// <param name="eeSubscription"></param>
virtual void create_ee_subscriptions(
const std::string &ueId, const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_ee_subscriptions(const std::string &ueId,
const EeSubscription &eeSubscription,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the ee subscriptions of a UE
......@@ -95,12 +96,12 @@ class EventExposureSubscriptionsCollectionApi {
/// <param name="ueId">UE id</param>
/// <param name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void queryeesubscriptions(
const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
queryeesubscriptions(const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* EventExposureSubscriptionsCollectionApi_H_ */
......@@ -101,4 +101,4 @@ void ExposureDataSubscriptionsCollectionApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -52,7 +52,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class ExposureDataSubscriptionsCollectionApi {
public:
public:
ExposureDataSubscriptionsCollectionApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~ExposureDataSubscriptionsCollectionApi() {}
......@@ -60,7 +60,7 @@ class ExposureDataSubscriptionsCollectionApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_individual_exposure_data_subscription_handler(
......@@ -84,6 +84,6 @@ class ExposureDataSubscriptionsCollectionApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* ExposureDataSubscriptionsCollectionApi_H_ */
......@@ -124,4 +124,4 @@ void GroupIdentifiersApi::group_identifiers_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class GroupIdentifiersApi {
public:
public:
GroupIdentifiersApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~GroupIdentifiersApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void get_group_identifiers_handler(const Pistache::Rest::Request &request,
......@@ -92,6 +92,6 @@ class GroupIdentifiersApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* GroupIdentifiersApi_H_ */
......@@ -209,4 +209,4 @@ void IPSMGWRegistrationDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -56,14 +56,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IPSMGWRegistrationDocumentApi {
public:
public:
IPSMGWRegistrationDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IPSMGWRegistrationDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_ip_sm_gw_context_handler(const Pistache::Rest::Request &request,
......@@ -88,9 +88,10 @@ class IPSMGWRegistrationDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="ipSmGwRegistration"> (optional)</param>
virtual void create_ip_sm_gw_context(
const std::string &ueId, const IpSmGwRegistration &ipSmGwRegistration,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_ip_sm_gw_context(const std::string &ueId,
const IpSmGwRegistration &ipSmGwRegistration,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// To remove the IP-SM-GW context data of a UE
......@@ -99,8 +100,9 @@ class IPSMGWRegistrationDocumentApi {
///
/// </remarks>
/// <param name="ueId">UE id</param>
virtual void delete_ip_sm_gw_context(
const std::string &ueId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_ip_sm_gw_context(const std::string &ueId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Modify the IP-SM-GW context data of a UE
......@@ -110,9 +112,10 @@ class IPSMGWRegistrationDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="patchItem"></param>
virtual void modify_ip_sm_gw_context(
const std::string &ueId, const std::vector<PatchItem> &patchItem,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
modify_ip_sm_gw_context(const std::string &ueId,
const std::vector<PatchItem> &patchItem,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the IP-SM-GW context data of a UE
......@@ -132,6 +135,6 @@ class IPSMGWRegistrationDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IPSMGWRegistrationDocumentApi_H_ */
......@@ -137,4 +137,4 @@ void IPTVConfigurationDataStoreApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,19 +55,19 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IPTVConfigurationDataStoreApi {
public:
public:
IPTVConfigurationDataStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IPTVConfigurationDataStoreApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void read_iptv_congifuration_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
read_iptv_congifuration_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void iptv_configuration_data_store_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -99,6 +99,6 @@ class IPTVConfigurationDataStoreApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IPTVConfigurationDataStoreApi_H_ */
......@@ -164,4 +164,4 @@ void IndividualApplicationDataSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualApplicationDataSubscriptionDocumentApi {
public:
public:
IndividualApplicationDataSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualApplicationDataSubscriptionDocumentApi() {}
......@@ -62,7 +62,7 @@ class IndividualApplicationDataSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete_individual_application_data_subscription_handler(
......@@ -114,6 +114,6 @@ class IndividualApplicationDataSubscriptionDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualApplicationDataSubscriptionDocumentApi_H_ */
......@@ -135,4 +135,4 @@ void IndividualAppliedBDTPolicyDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,7 +55,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualAppliedBDTPolicyDataDocumentApi {
public:
public:
IndividualAppliedBDTPolicyDataDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualAppliedBDTPolicyDataDocumentApi() {}
......@@ -63,7 +63,7 @@ class IndividualAppliedBDTPolicyDataDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete_individual_applied_bdt_policy_data_handler(
......@@ -107,6 +107,6 @@ class IndividualAppliedBDTPolicyDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualAppliedBDTPolicyDataDocumentApi_H_ */
......@@ -105,4 +105,4 @@ void IndividualBDTPolicyDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,14 +54,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualBDTPolicyDataDocumentApi {
public:
public:
IndividualBDTPolicyDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualBDTPolicyDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_individual_applied_bdt_policy_data_handler(
......@@ -87,6 +87,6 @@ class IndividualBDTPolicyDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualBDTPolicyDataDocumentApi_H_ */
......@@ -198,4 +198,4 @@ void IndividualBdtDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,28 +55,28 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualBdtDataDocumentApi {
public:
public:
IndividualBdtDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualBdtDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_individual_bdt_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void delete_individual_bdt_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void read_individual_bdt_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void update_individual_bdt_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_individual_bdt_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
delete_individual_bdt_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
read_individual_bdt_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
update_individual_bdt_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void individual_bdt_data_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -91,9 +91,10 @@ class IndividualBdtDataDocumentApi {
/// </remarks>
/// <param name="bdtReferenceId"></param>
/// <param name="bdtData"></param>
virtual void create_individual_bdt_data(
const std::string &bdtReferenceId, const BdtData &bdtData,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_individual_bdt_data(const std::string &bdtReferenceId,
const BdtData &bdtData,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Deletes an BDT data resource associated with an BDT reference Id
......@@ -102,9 +103,9 @@ class IndividualBdtDataDocumentApi {
///
/// </remarks>
/// <param name="bdtReferenceId"></param>
virtual void delete_individual_bdt_data(
const std::string &bdtReferenceId,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_individual_bdt_data(const std::string &bdtReferenceId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the BDT data information associated with a BDT reference Id
......@@ -115,10 +116,10 @@ class IndividualBdtDataDocumentApi {
/// <param name="bdtReferenceId"></param>
/// <param name="suppFeat">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void read_individual_bdt_data(
const std::string &bdtReferenceId,
const Pistache::Optional<std::string> &suppFeat,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
read_individual_bdt_data(const std::string &bdtReferenceId,
const Pistache::Optional<std::string> &suppFeat,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Modifies an BDT data resource associated with an BDT reference Id
......@@ -128,11 +129,12 @@ class IndividualBdtDataDocumentApi {
/// </remarks>
/// <param name="bdtReferenceId"></param>
/// <param name="bdtDataPatch"></param>
virtual void update_individual_bdt_data(
const std::string &bdtReferenceId, const BdtDataPatch &bdtDataPatch,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
update_individual_bdt_data(const std::string &bdtReferenceId,
const BdtDataPatch &bdtDataPatch,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualBdtDataDocumentApi_H_ */
......@@ -133,4 +133,4 @@ void IndividualExposureDataSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualExposureDataSubscriptionDocumentApi {
public:
public:
IndividualExposureDataSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualExposureDataSubscriptionDocumentApi() {}
......@@ -62,7 +62,7 @@ class IndividualExposureDataSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete_individual_exposure_data_subscription_handler(
......@@ -101,6 +101,6 @@ class IndividualExposureDataSubscriptionDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualExposureDataSubscriptionDocumentApi_H_ */
......@@ -106,4 +106,4 @@ void IndividualIPTVConfigurationDataApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,14 +55,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualIPTVConfigurationDataApi {
public:
public:
IndividualIPTVConfigurationDataApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualIPTVConfigurationDataApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void partial_replace_individual_iptv_configuration_data_handler(
......@@ -89,6 +89,6 @@ class IndividualIPTVConfigurationDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualIPTVConfigurationDataApi_H_ */
......@@ -136,4 +136,4 @@ void IndividualIPTVConfigurationDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualIPTVConfigurationDataDocumentApi {
public:
public:
IndividualIPTVConfigurationDataDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualIPTVConfigurationDataDocumentApi() {}
......@@ -62,7 +62,7 @@ class IndividualIPTVConfigurationDataDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_or_replace_individual_iptv_configuration_data_handler(
......@@ -104,6 +104,6 @@ class IndividualIPTVConfigurationDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualIPTVConfigurationDataDocumentApi_H_ */
......@@ -167,4 +167,4 @@ void IndividualInfluenceDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,14 +55,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualInfluenceDataDocumentApi {
public:
public:
IndividualInfluenceDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualInfluenceDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_or_replace_individual_influence_data_handler(
......@@ -120,6 +120,6 @@ class IndividualInfluenceDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualInfluenceDataDocumentApi_H_ */
......@@ -165,4 +165,4 @@ void IndividualInfluenceDataSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualInfluenceDataSubscriptionDocumentApi {
public:
public:
IndividualInfluenceDataSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualInfluenceDataSubscriptionDocumentApi() {}
......@@ -62,7 +62,7 @@ class IndividualInfluenceDataSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete_individual_influence_data_subscription_handler(
......@@ -118,6 +118,6 @@ class IndividualInfluenceDataSubscriptionDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualInfluenceDataSubscriptionDocumentApi_H_ */
......@@ -157,4 +157,4 @@ void IndividualPFDDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,25 +54,25 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualPFDDataDocumentApi {
public:
public:
IndividualPFDDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualPFDDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_or_replace_individual_pfd_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void delete_individual_pfd_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void read_individual_pfd_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
delete_individual_pfd_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
read_individual_pfd_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void individual_pfd_data_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -101,8 +101,9 @@ class IndividualPFDDataDocumentApi {
/// </remarks>
/// <param name="appId">Indicate the application identifier for the request
/// pfd(s). It shall apply the format of Data type ApplicationId.</param>
virtual void delete_individual_pfd_data(
const std::string &appId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_individual_pfd_data(const std::string &appId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieve the corresponding PFDs of the specified application identifier
......@@ -112,10 +113,11 @@ class IndividualPFDDataDocumentApi {
/// </remarks>
/// <param name="appId">Indicate the application identifier for the request
/// pfd(s). It shall apply the format of Data type ApplicationId.</param>
virtual void read_individual_pfd_data(
const std::string &appId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
read_individual_pfd_data(const std::string &appId,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualPFDDataDocumentApi_H_ */
......@@ -133,4 +133,4 @@ void IndividualPolicyDataSubscriptionDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class IndividualPolicyDataSubscriptionDocumentApi {
public:
public:
IndividualPolicyDataSubscriptionDocumentApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~IndividualPolicyDataSubscriptionDocumentApi() {}
......@@ -62,7 +62,7 @@ class IndividualPolicyDataSubscriptionDocumentApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void delete_individual_policy_data_subscription_handler(
......@@ -101,6 +101,6 @@ class IndividualPolicyDataSubscriptionDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* IndividualPolicyDataSubscriptionDocumentApi_H_ */
......@@ -139,4 +139,4 @@ void InfluenceDataStoreApi::influence_data_store_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,14 +55,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class InfluenceDataStoreApi {
public:
public:
InfluenceDataStoreApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~InfluenceDataStoreApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void read_influence_data_handler(const Pistache::Rest::Request &request,
......@@ -100,6 +100,6 @@ class InfluenceDataStoreApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* InfluenceDataStoreApi_H_ */
......@@ -163,4 +163,4 @@ void InfluenceDataSubscriptionsCollectionApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -55,7 +55,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class InfluenceDataSubscriptionsCollectionApi {
public:
public:
InfluenceDataSubscriptionsCollectionApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~InfluenceDataSubscriptionsCollectionApi() {}
......@@ -63,7 +63,7 @@ class InfluenceDataSubscriptionsCollectionApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_individual_influence_data_subscription_handler(
......@@ -108,6 +108,6 @@ class InfluenceDataSubscriptionsCollectionApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* InfluenceDataSubscriptionsCollectionApi_H_ */
......@@ -115,4 +115,4 @@ void LCSBroadcastAssistanceSubscriptionDataApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -54,7 +54,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class LCSBroadcastAssistanceSubscriptionDataApi {
public:
public:
LCSBroadcastAssistanceSubscriptionDataApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~LCSBroadcastAssistanceSubscriptionDataApi() {}
......@@ -62,7 +62,7 @@ class LCSBroadcastAssistanceSubscriptionDataApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_lcs_bca_data_handler(const Pistache::Rest::Request &request,
......@@ -95,6 +95,6 @@ class LCSBroadcastAssistanceSubscriptionDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* LCSBroadcastAssistanceSubscriptionDataApi_H_ */
......@@ -120,4 +120,4 @@ void LCSMobileOriginatedSubscriptionDataApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,7 +53,7 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class LCSMobileOriginatedSubscriptionDataApi {
public:
public:
LCSMobileOriginatedSubscriptionDataApi(
std::shared_ptr<Pistache::Rest::Router>);
virtual ~LCSMobileOriginatedSubscriptionDataApi() {}
......@@ -61,7 +61,7 @@ class LCSMobileOriginatedSubscriptionDataApi {
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_lcs_mo_data_handler(const Pistache::Rest::Request &request,
......@@ -96,6 +96,6 @@ class LCSMobileOriginatedSubscriptionDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* LCSMobileOriginatedSubscriptionDataApi_H_ */
......@@ -121,4 +121,4 @@ void LCSPrivacySubscriptionDataApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class LCSPrivacySubscriptionDataApi {
public:
public:
LCSPrivacySubscriptionDataApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~LCSPrivacySubscriptionDataApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_lcs_privacy_data_handler(const Pistache::Rest::Request &request,
......@@ -95,6 +95,6 @@ class LCSPrivacySubscriptionDataApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* LCSPrivacySubscriptionDataApi_H_ */
......@@ -209,4 +209,4 @@ void MessageWaitingDataDocumentApi::
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -56,28 +56,28 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class MessageWaitingDataDocumentApi {
public:
public:
MessageWaitingDataDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~MessageWaitingDataDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void create_message_waiting_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void delete_message_waiting_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void modify_message_waiting_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void query_message_waiting_data_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
create_message_waiting_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
delete_message_waiting_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
modify_message_waiting_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void
query_message_waiting_data_handler(const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
void message_waiting_data_document_api_default_handler(
const Pistache::Rest::Request &request,
Pistache::Http::ResponseWriter response);
......@@ -92,9 +92,10 @@ class MessageWaitingDataDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="messageWaitingData"> (optional)</param>
virtual void create_message_waiting_data(
const std::string &ueId, const MessageWaitingData &messageWaitingData,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
create_message_waiting_data(const std::string &ueId,
const MessageWaitingData &messageWaitingData,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// To remove the Message Waiting Data of the UE
......@@ -103,8 +104,9 @@ class MessageWaitingDataDocumentApi {
///
/// </remarks>
/// <param name="ueId">UE id</param>
virtual void delete_message_waiting_data(
const std::string &ueId, Pistache::Http::ResponseWriter &response) = 0;
virtual void
delete_message_waiting_data(const std::string &ueId,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Modify the Message Waiting Data of the UE
......@@ -114,9 +116,10 @@ class MessageWaitingDataDocumentApi {
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="patchItem"></param>
virtual void modify_message_waiting_data(
const std::string &ueId, const std::vector<PatchItem> &patchItem,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
modify_message_waiting_data(const std::string &ueId,
const std::vector<PatchItem> &patchItem,
Pistache::Http::ResponseWriter &response) = 0;
/// <summary>
/// Retrieves the Message Waiting Data of the UE
......@@ -136,6 +139,6 @@ class MessageWaitingDataDocumentApi {
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* MessageWaitingDataDocumentApi_H_ */
......@@ -107,4 +107,4 @@ void Modify5GVnGroupApi::modify5_g_vn_group_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -56,14 +56,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class Modify5GVnGroupApi {
public:
public:
Modify5GVnGroupApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~Modify5GVnGroupApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void modify5_g_vn_group_handler(const Pistache::Rest::Request &request,
......@@ -84,13 +84,13 @@ class Modify5GVnGroupApi {
/// <param name="patchItem"></param>
/// <param name="supportedFeatures">Features required to be supported by the
/// target NF (optional, default to &quot;&quot;)</param>
virtual void modify5_g_vn_group(
const std::string &externalGroupId,
const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
modify5_g_vn_group(const std::string &externalGroupId,
const std::vector<PatchItem> &patchItem,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* Modify5GVnGroupApi_H_ */
......@@ -103,4 +103,4 @@ void NSSAIACKDocumentApi::nssaiack_document_api_default_handler(
"The requested method does not exist");
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -53,14 +53,14 @@ namespace oai::udr::api {
using namespace oai::udr::model;
class NSSAIACKDocumentApi {
public:
public:
NSSAIACKDocumentApi(std::shared_ptr<Pistache::Rest::Router>);
virtual ~NSSAIACKDocumentApi() {}
void init();
const std::string base = "/nudr-dr/";
private:
private:
void setupRoutes();
void query_nssai_ack_handler(const Pistache::Rest::Request &request,
......@@ -80,12 +80,12 @@ class NSSAIACKDocumentApi {
/// <param name="ueId">UE id</param>
/// <param name="supportedFeatures">Supported Features (optional, default to
/// &quot;&quot;)</param>
virtual void query_nssai_ack(
const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
virtual void
query_nssai_ack(const std::string &ueId,
const Pistache::Optional<std::string> &supportedFeatures,
Pistache::Http::ResponseWriter &response) = 0;
};
} // namespace oai::udr::api
} // namespace oai::udr::api
#endif /* NSSAIACKDocumentApi_H_ */
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
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