Commit 48524165 authored by Raphael Defosseux's avatar Raphael Defosseux

style(app): formatting files

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent be4707bb
......@@ -44,8 +44,7 @@ SessionManagementSubscriptionDataApiImpl::
SessionManagementSubscriptionDataApiImpl(
std::shared_ptr<Pistache::Rest::Router> rtr, udr_app *udr_app_inst,
std::string address)
: SessionManagementSubscriptionDataApi(rtr),
m_udr_app(udr_app_inst),
: SessionManagementSubscriptionDataApi(rtr), m_udr_app(udr_app_inst),
m_address(address) {}
void SessionManagementSubscriptionDataApiImpl::query_sm_data(
......@@ -83,4 +82,4 @@ void SessionManagementSubscriptionDataApiImpl::query_sm_data(
response.send(code, response_data.dump().c_str());
}
} // namespace oai::udr::api
} // namespace oai::udr::api
......@@ -49,7 +49,7 @@ namespace udr {
namespace app {
class udr_app {
public:
public:
explicit udr_app(const std::string &config_file);
udr_app(udr_app const &) = delete;
void operator=(udr_app const &) = delete;
......@@ -249,10 +249,11 @@ class udr_app {
* @param [long code] code: HTTP response code
* @return void
*/
void handle_create_smf_context_non_3gpp(
const std::string &ue_id, const int32_t &pdu_session_id,
const SmfRegistration &smfRegistration, nlohmann::json &response_data,
long &code);
void
handle_create_smf_context_non_3gpp(const std::string &ue_id,
const int32_t &pdu_session_id,
const SmfRegistration &smfRegistration,
nlohmann::json &response_data, long &code);
/*
* Handle a request to delete SMFRegistration (SMFRegistrationDocumentApiImpl)
......@@ -303,12 +304,12 @@ class udr_app {
const std::string &serving_plmn_id,
nlohmann::json &response_data, long &code);
private:
private:
MYSQL mysql;
};
} // namespace app
} // namespace udr
} // namespace oai
} // namespace app
} // namespace udr
} // namespace oai
#include "udr_config.hpp"
#endif /* FILE_UDR_APP_HPP_SEEN */
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