Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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-UDR
Commits
6aa2fa65
Commit
6aa2fa65
authored
Jun 30, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
37341121
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
8 deletions
+4
-8
src/api_server/api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
...rver/api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
+0
-2
src/api_server/api/AuthenticationStatusDocumentApi.cpp
src/api_server/api/AuthenticationStatusDocumentApi.cpp
+0
-2
src/api_server/api/SMFRegistrationDocumentApi.cpp
src/api_server/api/SMFRegistrationDocumentApi.cpp
+2
-2
src/api_server/api/SMFSelectionSubscriptionDataDocumentApi.cpp
...pi_server/api/SMFSelectionSubscriptionDataDocumentApi.cpp
+2
-1
src/api_server/impl/SessionManagementSubscriptionDataApiImpl.cpp
..._server/impl/SessionManagementSubscriptionDataApiImpl.cpp
+0
-1
No files found.
src/api_server/api/AccessAndMobilitySubscriptionDataDocumentApi.cpp
View file @
6aa2fa65
...
...
@@ -74,8 +74,6 @@ void AccessAndMobilitySubscriptionDataDocumentApi::query_am_data_handler(
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
auto
servingPlmnId
=
request
.
param
(
":servingPlmnId"
).
as
<
std
::
string
>
();
// std::cout<<"********* servingPlmnId ********* "<<servingPlmnId<<std::endl;
// Getting the query params
auto
fieldsQuery
=
request
.
query
().
get
(
"fields"
);
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
fields
;
...
...
src/api_server/api/AuthenticationStatusDocumentApi.cpp
View file @
6aa2fa65
...
...
@@ -91,8 +91,6 @@ void AuthenticationStatusDocumentApi::create_authentication_status_handler(
AuthEvent
authEvent
;
// std::cout << request.body() << std::endl;
try
{
nlohmann
::
json
::
parse
(
request
.
body
()).
get_to
(
authEvent
);
this
->
create_authentication_status
(
ueId
,
authEvent
,
response
);
...
...
src/api_server/api/SMFRegistrationDocumentApi.cpp
View file @
6aa2fa65
...
...
@@ -114,7 +114,7 @@ void SMFRegistrationDocumentApi::create_smf_context_non3gpp_handler(
void
SMFRegistrationDocumentApi
::
delete_smf_context_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
Logger
::
udr_server
().
info
(
"SMFRegistration Method: DELETE!
"
);
Logger
::
udr_server
().
debug
(
"Handle Delete SMF Context Request
"
);
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
...
...
@@ -138,7 +138,7 @@ void SMFRegistrationDocumentApi::delete_smf_context_handler(
void
SMFRegistrationDocumentApi
::
query_smf_registration_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
Logger
::
udr_server
().
info
(
"SMFRegistration Method: GET!
"
);
Logger
::
udr_server
().
debug
(
"Handle Query SMF Registration
"
);
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
...
...
src/api_server/api/SMFSelectionSubscriptionDataDocumentApi.cpp
View file @
6aa2fa65
...
...
@@ -70,7 +70,8 @@ void SMFSelectionSubscriptionDataDocumentApi::setupRoutes() {
void
SMFSelectionSubscriptionDataDocumentApi
::
query_smf_select_data_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
Logger
::
udr_server
().
info
(
"SMFSelectionSubscriptionData Method: GET!"
);
Logger
::
udr_server
().
debug
(
"Handle Query SMF Select Data"
);
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
auto
servingPlmnId
=
request
.
param
(
":servingPlmnId"
).
as
<
std
::
string
>
();
...
...
src/api_server/impl/SessionManagementSubscriptionDataApiImpl.cpp
View file @
6aa2fa65
...
...
@@ -57,7 +57,6 @@ void SessionManagementSubscriptionDataApiImpl::query_sm_data(
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifNoneMatch
,
const
Pistache
::
Optional
<
Pistache
::
Http
::
Header
::
Raw
>
&
ifModifiedSince
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
// response.send(Pistache::Http::Code::Ok, "query_sm_data\n");
// servingPlmnId pattern: "^[0-9]{5,6}$"
Snssai
snssai
=
{};
...
...
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