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
4ad715ee
Commit
4ad715ee
authored
May 31, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix API version for AuthenticationData API
parent
c0548a66
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/api_server/api/AuthenticationDataDocumentApi.cpp
src/api_server/api/AuthenticationDataDocumentApi.cpp
+3
-1
src/udr_app/mysql_db.cpp
src/udr_app/mysql_db.cpp
+2
-0
No files found.
src/api_server/api/AuthenticationDataDocumentApi.cpp
View file @
4ad715ee
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
#include "logger.hpp"
#include "logger.hpp"
#include "udr_config.hpp"
#include "udr_config.hpp"
extern
oai
::
udr
::
config
::
udr_config
udr_cfg
;
namespace
oai
::
udr
::
api
{
namespace
oai
::
udr
::
api
{
using
namespace
oai
::
udr
::
helpers
;
using
namespace
oai
::
udr
::
helpers
;
...
@@ -56,7 +58,7 @@ void AuthenticationDataDocumentApi::setupRoutes() {
...
@@ -56,7 +58,7 @@ void AuthenticationDataDocumentApi::setupRoutes() {
Routes
::
Put
(
Routes
::
Put
(
*
router
,
*
router
,
base
+
base
+
udr_cfg
.
nudr
.
api_version
+
"/subscription-data/:ueId/authentication-data/"
"/subscription-data/:ueId/authentication-data/"
"authentication-subscription"
,
"authentication-subscription"
,
Routes
::
bind
(
Routes
::
bind
(
...
...
src/udr_app/mysql_db.cpp
View file @
4ad715ee
...
@@ -143,6 +143,8 @@ bool mysql_db::insert_authentication_subscription(
...
@@ -143,6 +143,8 @@ bool mysql_db::insert_authentication_subscription(
query
+=
",sequenceNumber='"
+
json_tmp
.
dump
()
+
"'"
;
query
+=
",sequenceNumber='"
+
json_tmp
.
dump
()
+
"'"
;
}
}
Logger
::
udr_mysql
().
info
(
"MySQL Query: %s"
,
query
.
c_str
());
if
(
mysql_real_query
(
if
(
mysql_real_query
(
&
mysql_connector
,
query
.
c_str
(),
(
unsigned
long
)
query
.
size
()))
{
&
mysql_connector
,
query
.
c_str
(),
(
unsigned
long
)
query
.
size
()))
{
Logger
::
udr_mysql
().
error
(
Logger
::
udr_mysql
().
error
(
...
...
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