Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
5ebe4c7b
Commit
5ebe4c7b
authored
Sep 15, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Location header sent to AMF
parent
bacd3d15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/api-server/impl/SMContextsCollectionApiImpl.cpp
src/api-server/impl/SMContextsCollectionApiImpl.cpp
+4
-1
No files found.
src/api-server/impl/SMContextsCollectionApiImpl.cpp
View file @
5ebe4c7b
...
...
@@ -37,6 +37,9 @@
#include "itti_msg_n11.hpp"
#include "3gpp_29.502.h"
#include <nghttp2/asio_http2_server.h>
#include "smf_config.hpp"
extern
smf
::
smf_config
smf_cfg
;
namespace
oai
{
namespace
smf_server
{
...
...
@@ -75,7 +78,7 @@ void SMContextsCollectionApiImpl::post_sm_contexts(
//set N1 SM Message
sm_context_req_msg
.
set_n1_sm_message
(
n1_sm_msg
);
//set api root to be used as location header in HTTP response
sm_context_req_msg
.
set_api_root
(
m_address
+
base
+
"/sm-contexts"
);
sm_context_req_msg
.
set_api_root
(
m_address
+
base
+
smf_cfg
.
sbi_api_version
+
"/sm-contexts"
);
//supi
supi_t
supi
=
{
.
length
=
0
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment