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
96df5bca
Commit
96df5bca
authored
Jan 15, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Amf3GppAccessRegistration: add database
parent
fc26b322
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
252 additions
and
16 deletions
+252
-16
impl/AMF3GPPAccessRegistrationDocumentApiImpl.cpp
impl/AMF3GPPAccessRegistrationDocumentApiImpl.cpp
+243
-11
impl/AMF3GPPAccessRegistrationDocumentApiImpl.h
impl/AMF3GPPAccessRegistrationDocumentApiImpl.h
+8
-4
main-api-server.cpp
main-api-server.cpp
+1
-1
No files found.
impl/AMF3GPPAccessRegistrationDocumentApiImpl.cpp
View file @
96df5bca
This diff is collapsed.
Click to expand it.
impl/AMF3GPPAccessRegistrationDocumentApiImpl.h
View file @
96df5bca
/**
* Nudr_DataRepository API OpenAPI file
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
* Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 2.1.2
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
...
...
@@ -13,7 +13,7 @@
/*
* AMF3GPPAccessRegistrationDocumentApiImpl.h
*
*
*
*/
#ifndef AMF3_GPP_ACCESS_REGISTRATION_DOCUMENT_API_IMPL_H_
...
...
@@ -36,6 +36,8 @@
#include <string>
#include <vector>
#include <mysql/mysql.h>
namespace
org
{
namespace
openapitools
{
namespace
server
{
...
...
@@ -45,13 +47,15 @@ using namespace org::openapitools::server::model;
class
AMF3GPPAccessRegistrationDocumentApiImpl
:
public
org
::
openapitools
::
server
::
api
::
AMF3GPPAccessRegistrationDocumentApi
{
public:
AMF3GPPAccessRegistrationDocumentApiImpl
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
);
AMF3GPPAccessRegistrationDocumentApiImpl
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
,
MYSQL
*
mysql
);
~
AMF3GPPAccessRegistrationDocumentApiImpl
()
{}
void
amf_context3gpp
(
const
std
::
string
&
ueId
,
const
std
::
vector
<
PatchItem
>
&
patchItem
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
create_amf_context3gpp
(
const
std
::
string
&
ueId
,
const
Amf3GppAccessRegistration
&
amf3GppAccessRegistration
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
query_amf_context3gpp
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
);
private:
MYSQL
*
mysql_WitcommUDRDB
;
};
}
...
...
main-api-server.cpp
View file @
96df5bca
...
...
@@ -171,7 +171,7 @@ int main() {
}
AMF3GPPAccessRegistrationDocumentApiImpl
AMF3GPPAccessRegistrationDocumentApiserver
(
router
);
AMF3GPPAccessRegistrationDocumentApiImpl
AMF3GPPAccessRegistrationDocumentApiserver
(
router
,
&
mysql
);
AMF3GPPAccessRegistrationDocumentApiserver
.
init
();
AMFNon3GPPAccessRegistrationDocumentApiImpl
AMFNon3GPPAccessRegistrationDocumentApiserver
(
router
);
AMFNon3GPPAccessRegistrationDocumentApiserver
.
init
();
...
...
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