Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDM
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-UDM
Commits
c8862d0d
Commit
c8862d0d
authored
Feb 08, 2021
by
xiangwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build issue
parent
34a3f169
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/impl/SliceSelectionSubscriptionDataRetrievalApiImpl.cpp
src/impl/SliceSelectionSubscriptionDataRetrievalApiImpl.cpp
+7
-1
No files found.
src/impl/SliceSelectionSubscriptionDataRetrievalApiImpl.cpp
View file @
c8862d0d
...
...
@@ -12,6 +12,12 @@
*/
#include "SliceSelectionSubscriptionDataRetrievalApiImpl.h"
#include "udm_config.hpp"
#include "logger.hpp"
#include "curl.hpp"
using
namespace
config
;
extern
config
::
udm_config
udm_cfg
;
namespace
oai
{
namespace
udm
{
...
...
@@ -52,7 +58,7 @@ void SliceSelectionSubscriptionDataRetrievalApiImpl::get_nssai(
response_data_json
=
nlohmann
::
json
::
parse
(
response_get
.
c_str
());
// TODO: 1. shall check if "singleNassai" is existing or not, if not, raise exception
// TODO: 2. return_response_data_json: need to check if here is required to allocate memory first. Or check json code to confirm, otherwise codedump might happen
return_response_data_json
[
"singleNssai"
]
=
response_data_json
[
"singleNssai"
]
return_response_data_json
[
"singleNssai"
]
=
response_data_json
[
"singleNssai"
]
;
}
catch
(
nlohmann
::
json
::
exception
&
e
)
{
Logger
::
udm_sdm
().
info
(
"Could not get json content from UDR response"
);
ProblemDetails
problem_details
;
...
...
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