Commit 560b64e8 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Remove Pistache lib

parent f4fb434c
......@@ -300,5 +300,5 @@ ENDIF(STATIC_LINKING)
# folly glog dl double-conversion for FB folly library
target_link_libraries (spgwu ${ASAN} -Wl,--start-group CN_UTILS SPGWU SPGW_SWITCH UDP GTPV1U PFCP 3GPP_COMMON_TYPES gflags glog dl double-conversion folly -Wl,--end-group
pthread m rt config++ event boost_system pistache curl)
pthread m rt config++ event boost_system curl)
......@@ -32,10 +32,7 @@
#include <stdexcept>
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <curl/curl.h>
#include <pistache/http.h>
#include <pistache/mime.h>
#include <nlohmann/json.hpp>
#include "itti.hpp"
......@@ -43,9 +40,6 @@
#include "3gpp_29.510.h"
#include "spgwu_config.hpp"
using namespace Pistache::Http;
using namespace Pistache::Http::Mime;
using namespace spgwu;
using json = nlohmann::json;
......@@ -276,7 +270,7 @@ void spgwu_nrf::send_deregister_nf_instance(std::string& url) {
void spgwu_nrf::generate_upf_profile() {
// generate UUID
generate_uuid();
//TODO: get hardcoded values from configuration file
// TODO: get hardcoded values from configuration file
upf_profile.set_nf_instance_id(upf_instance_id);
upf_profile.set_nf_instance_name("OAI-SMF");
upf_profile.set_nf_type("SMF");
......
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