Commit 9ad05eee authored by yangjian's avatar yangjian

modify amf->smf: v2->v1

parent a66f8ee0
......@@ -358,7 +358,7 @@ void amf_n11::handle_pdu_session_initial_request(
// TODO: Remove hardcoded values
std::string remote_uri =
smf_addr + "/nsmf-pdusession/v2/sm-contexts"; // TODO
smf_addr + "/nsmf-pdusession/v1/sm-contexts"; // TODO
nlohmann::json pdu_session_establishment_request;
pdu_session_establishment_request["supi"] = supi.c_str();
pdu_session_establishment_request["pei"] = "imei-200000000000001";
......@@ -584,7 +584,7 @@ void amf_n11::curl_http_client(
curl_slist_free_all(headers);
curl_easy_cleanup(curl);
psc.get()->smf_context_location =
"/nsmf-pdusession/v2/sm-contexts/1"; // try to fix bugs for
"/nsmf-pdusession/v1/sm-contexts/1"; // try to fix bugs for
// no-response from SMF when
// requesting
// /nsmf-pdusession/v2/sm-contexts
......
......@@ -43,7 +43,7 @@ class N1N2MessageCollectionDocumentApi {
virtual ~N1N2MessageCollectionDocumentApi() {}
void init();
const std::string base = "/namf-comm/v2";
const std::string base = "/namf-comm/v1";
private:
void setupRoutes();
......
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