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
08efef26
Commit
08efef26
authored
Jan 07, 2021
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update AuthenticationStatus
parent
807452db
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
86 additions
and
293 deletions
+86
-293
api/AuthEventDocumentApi.cpp
api/AuthEventDocumentApi.cpp
+0
-109
api/AuthEventDocumentApi.h
api/AuthEventDocumentApi.h
+0
-83
api/AuthenticationStatusDocumentApi.cpp
api/AuthenticationStatusDocumentApi.cpp
+68
-1
api/AuthenticationStatusDocumentApi.h
api/AuthenticationStatusDocumentApi.h
+6
-0
impl/AuthEventDocumentApiImpl.cpp
impl/AuthEventDocumentApiImpl.cpp
+0
-37
impl/AuthEventDocumentApiImpl.h
impl/AuthEventDocumentApiImpl.h
+0
-59
impl/AuthenticationStatusDocumentApiImpl.cpp
impl/AuthenticationStatusDocumentApiImpl.cpp
+9
-1
impl/AuthenticationStatusDocumentApiImpl.h
impl/AuthenticationStatusDocumentApiImpl.h
+3
-0
main-api-server.cpp
main-api-server.cpp
+0
-3
No files found.
api/AuthEventDocumentApi.cpp
deleted
100644 → 0
View file @
807452db
/**
* Nudr_DataRepository API OpenAPI file
* 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
* Do not edit the class manually.
*/
#include "AuthEventDocumentApi.h"
#include "Helpers.h"
namespace
org
{
namespace
openapitools
{
namespace
server
{
namespace
api
{
using
namespace
org
::
openapitools
::
server
::
helpers
;
using
namespace
org
::
openapitools
::
server
::
model
;
AuthEventDocumentApi
::
AuthEventDocumentApi
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
rtr
)
{
router
=
rtr
;
}
void
AuthEventDocumentApi
::
init
()
{
setupRoutes
();
}
void
AuthEventDocumentApi
::
setupRoutes
()
{
using
namespace
Pistache
::
Rest
;
Routes
::
Delete
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthEventDocumentApi
::
delete_authentication_status_handler
,
this
));
Routes
::
Get
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthEventDocumentApi
::
query_authentication_status_handler
,
this
));
// Default handler, called when a route is not found
router
->
addCustomHandler
(
Routes
::
bind
(
&
AuthEventDocumentApi
::
auth_event_document_api_default_handler
,
this
));
}
void
AuthEventDocumentApi
::
delete_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
try
{
this
->
delete_authentication_status
(
ueId
,
response
);
}
catch
(
nlohmann
::
detail
::
exception
&
e
)
{
//send a 400 error
response
.
send
(
Pistache
::
Http
::
Code
::
Bad_Request
,
e
.
what
());
return
;
}
catch
(
Pistache
::
Http
::
HttpError
&
e
)
{
response
.
send
(
static_cast
<
Pistache
::
Http
::
Code
>
(
e
.
code
()),
e
.
what
());
return
;
}
catch
(
std
::
exception
&
e
)
{
//send a 500 error
response
.
send
(
Pistache
::
Http
::
Code
::
Internal_Server_Error
,
e
.
what
());
return
;
}
}
void
AuthEventDocumentApi
::
query_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
// Getting the query params
auto
fieldsQuery
=
request
.
query
().
get
(
"fields"
);
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
fields
;
if
(
!
fieldsQuery
.
isEmpty
()){
std
::
vector
<
std
::
string
>
valueQuery_instance
;
if
(
fromStringValue
(
fieldsQuery
.
get
(),
valueQuery_instance
)){
fields
=
Pistache
::
Some
(
valueQuery_instance
);
}
}
auto
supportedFeaturesQuery
=
request
.
query
().
get
(
"supported-features"
);
Pistache
::
Optional
<
std
::
string
>
supportedFeatures
;
if
(
!
supportedFeaturesQuery
.
isEmpty
()){
std
::
string
valueQuery_instance
;
if
(
fromStringValue
(
supportedFeaturesQuery
.
get
(),
valueQuery_instance
)){
supportedFeatures
=
Pistache
::
Some
(
valueQuery_instance
);
}
}
try
{
this
->
query_authentication_status
(
ueId
,
fields
,
supportedFeatures
,
response
);
}
catch
(
nlohmann
::
detail
::
exception
&
e
)
{
//send a 400 error
response
.
send
(
Pistache
::
Http
::
Code
::
Bad_Request
,
e
.
what
());
return
;
}
catch
(
Pistache
::
Http
::
HttpError
&
e
)
{
response
.
send
(
static_cast
<
Pistache
::
Http
::
Code
>
(
e
.
code
()),
e
.
what
());
return
;
}
catch
(
std
::
exception
&
e
)
{
//send a 500 error
response
.
send
(
Pistache
::
Http
::
Code
::
Internal_Server_Error
,
e
.
what
());
return
;
}
}
void
AuthEventDocumentApi
::
auth_event_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
,
Pistache
::
Http
::
ResponseWriter
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Found
,
"The requested method does not exist"
);
}
}
}
}
}
api/AuthEventDocumentApi.h
deleted
100644 → 0
View file @
807452db
/**
* Nudr_DataRepository API OpenAPI file
* 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
* Do not edit the class manually.
*/
/*
* AuthEventDocumentApi.h
*
*
*/
#ifndef AuthEventDocumentApi_H_
#define AuthEventDocumentApi_H_
#include <pistache/http.h>
#include <pistache/router.h>
#include <pistache/http_headers.h>
#include <pistache/optional.h>
#include "AuthEvent.h"
#include <string>
namespace
org
{
namespace
openapitools
{
namespace
server
{
namespace
api
{
using
namespace
org
::
openapitools
::
server
::
model
;
class
AuthEventDocumentApi
{
public:
AuthEventDocumentApi
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
);
virtual
~
AuthEventDocumentApi
()
{}
void
init
();
const
std
::
string
base
=
"/nudr-dr/v2"
;
private:
void
setupRoutes
();
void
delete_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
query_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
auth_event_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
router
;
/// <summary>
/// To remove the Authentication Status of a UE
/// </summary>
/// <remarks>
///
/// </remarks>
/// <param name="ueId">UE id</param>
virtual
void
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
/// <summary>
/// Retrieves the Authentication Status of a UE
/// </summary>
/// <remarks>
///
/// </remarks>
/// <param name="ueId">UE id</param>
/// <param name="fields">attributes to be retrieved (optional, default to std::vector<std::string>())</param>
/// <param name="supportedFeatures">Supported Features (optional, default to "")</param>
virtual
void
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
};
}
}
}
}
#endif
/* AuthEventDocumentApi_H_ */
api/AuthenticationStatusDocumentApi.cpp
View file @
08efef26
...
@@ -34,11 +34,16 @@ void AuthenticationStatusDocumentApi::setupRoutes() {
...
@@ -34,11 +34,16 @@ void AuthenticationStatusDocumentApi::setupRoutes() {
Routes
::
Put
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
create_authentication_status_handler
,
this
));
Routes
::
Put
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
create_authentication_status_handler
,
this
));
Routes
::
Delete
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
delete_authentication_status_handler
,
this
));
Routes
::
Get
(
*
router
,
base
+
"/subscription-data/:ueId/authentication-data/authentication-status"
,
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
query_authentication_status_handler
,
this
));
// Default handler, called when a route is not found
// Default handler, called when a route is not found
router
->
addCustomHandler
(
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
authentication_status_document_api_default_handler
,
this
));
router
->
addCustomHandler
(
Routes
::
bind
(
&
AuthenticationStatusDocumentApi
::
authentication_status_document_api_default_handler
,
this
));
}
}
void
AuthenticationStatusDocumentApi
::
create_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
void
AuthenticationStatusDocumentApi
::
create_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
// Getting the path params
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
...
@@ -64,6 +69,68 @@ void AuthenticationStatusDocumentApi::create_authentication_status_handler(const
...
@@ -64,6 +69,68 @@ void AuthenticationStatusDocumentApi::create_authentication_status_handler(const
}
}
void
AuthenticationStatusDocumentApi
::
delete_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
try
{
this
->
delete_authentication_status
(
ueId
,
response
);
}
catch
(
nlohmann
::
detail
::
exception
&
e
)
{
//send a 400 error
response
.
send
(
Pistache
::
Http
::
Code
::
Bad_Request
,
e
.
what
());
return
;
}
catch
(
Pistache
::
Http
::
HttpError
&
e
)
{
response
.
send
(
static_cast
<
Pistache
::
Http
::
Code
>
(
e
.
code
()),
e
.
what
());
return
;
}
catch
(
std
::
exception
&
e
)
{
//send a 500 error
response
.
send
(
Pistache
::
Http
::
Code
::
Internal_Server_Error
,
e
.
what
());
return
;
}
}
void
AuthenticationStatusDocumentApi
::
query_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
)
{
// Getting the path params
auto
ueId
=
request
.
param
(
":ueId"
).
as
<
std
::
string
>
();
// Getting the query params
auto
fieldsQuery
=
request
.
query
().
get
(
"fields"
);
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
fields
;
if
(
!
fieldsQuery
.
isEmpty
()){
std
::
vector
<
std
::
string
>
valueQuery_instance
;
if
(
fromStringValue
(
fieldsQuery
.
get
(),
valueQuery_instance
)){
fields
=
Pistache
::
Some
(
valueQuery_instance
);
}
}
auto
supportedFeaturesQuery
=
request
.
query
().
get
(
"supported-features"
);
Pistache
::
Optional
<
std
::
string
>
supportedFeatures
;
if
(
!
supportedFeaturesQuery
.
isEmpty
()){
std
::
string
valueQuery_instance
;
if
(
fromStringValue
(
supportedFeaturesQuery
.
get
(),
valueQuery_instance
)){
supportedFeatures
=
Pistache
::
Some
(
valueQuery_instance
);
}
}
try
{
this
->
query_authentication_status
(
ueId
,
fields
,
supportedFeatures
,
response
);
}
catch
(
nlohmann
::
detail
::
exception
&
e
)
{
//send a 400 error
response
.
send
(
Pistache
::
Http
::
Code
::
Bad_Request
,
e
.
what
());
return
;
}
catch
(
Pistache
::
Http
::
HttpError
&
e
)
{
response
.
send
(
static_cast
<
Pistache
::
Http
::
Code
>
(
e
.
code
()),
e
.
what
());
return
;
}
catch
(
std
::
exception
&
e
)
{
//send a 500 error
response
.
send
(
Pistache
::
Http
::
Code
::
Internal_Server_Error
,
e
.
what
());
return
;
}
}
void
AuthenticationStatusDocumentApi
::
authentication_status_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
,
Pistache
::
Http
::
ResponseWriter
response
)
{
void
AuthenticationStatusDocumentApi
::
authentication_status_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
,
Pistache
::
Http
::
ResponseWriter
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Found
,
"The requested method does not exist"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Found
,
"The requested method does not exist"
);
}
}
...
...
api/AuthenticationStatusDocumentApi.h
View file @
08efef26
...
@@ -47,6 +47,10 @@ private:
...
@@ -47,6 +47,10 @@ private:
void
setupRoutes
();
void
setupRoutes
();
void
create_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
create_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
delete_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
query_authentication_status_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
authentication_status_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
void
authentication_status_document_api_default_handler
(
const
Pistache
::
Rest
::
Request
&
request
,
Pistache
::
Http
::
ResponseWriter
response
);
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
router
;
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
router
;
...
@@ -60,6 +64,8 @@ private:
...
@@ -60,6 +64,8 @@ private:
/// <param name="ueId">UE id</param>
/// <param name="ueId">UE id</param>
/// <param name="authEvent"> (optional)</param>
/// <param name="authEvent"> (optional)</param>
virtual
void
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
virtual
void
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
virtual
void
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
virtual
void
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
)
=
0
;
};
};
...
...
impl/AuthEventDocumentApiImpl.cpp
deleted
100644 → 0
View file @
807452db
/**
* Nudr_DataRepository API OpenAPI file
* 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
* Do not edit the class manually.
*/
#include "AuthEventDocumentApiImpl.h"
namespace
org
{
namespace
openapitools
{
namespace
server
{
namespace
api
{
using
namespace
org
::
openapitools
::
server
::
model
;
AuthEventDocumentApiImpl
::
AuthEventDocumentApiImpl
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
rtr
)
:
AuthEventDocumentApi
(
rtr
)
{
}
void
AuthEventDocumentApiImpl
::
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
}
void
AuthEventDocumentApiImpl
::
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
}
}
}
}
}
impl/AuthEventDocumentApiImpl.h
deleted
100644 → 0
View file @
807452db
/**
* Nudr_DataRepository API OpenAPI file
* 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
* Do not edit the class manually.
*/
/*
* AuthEventDocumentApiImpl.h
*
*
*/
#ifndef AUTH_EVENT_DOCUMENT_API_IMPL_H_
#define AUTH_EVENT_DOCUMENT_API_IMPL_H_
#include <pistache/endpoint.h>
#include <pistache/http.h>
#include <pistache/router.h>
#include <memory>
#include <AuthEventDocumentApi.h>
#include <pistache/optional.h>
#include "AuthEvent.h"
#include <string>
namespace
org
{
namespace
openapitools
{
namespace
server
{
namespace
api
{
using
namespace
org
::
openapitools
::
server
::
model
;
class
AuthEventDocumentApiImpl
:
public
org
::
openapitools
::
server
::
api
::
AuthEventDocumentApi
{
public:
AuthEventDocumentApiImpl
(
std
::
shared_ptr
<
Pistache
::
Rest
::
Router
>
);
~
AuthEventDocumentApiImpl
()
{}
void
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
);
};
}
}
}
}
#endif
\ No newline at end of file
impl/AuthenticationStatusDocumentApiImpl.cpp
View file @
08efef26
...
@@ -24,9 +24,17 @@ AuthenticationStatusDocumentApiImpl::AuthenticationStatusDocumentApiImpl(std::sh
...
@@ -24,9 +24,17 @@ AuthenticationStatusDocumentApiImpl::AuthenticationStatusDocumentApiImpl(std::sh
{
}
{
}
void
AuthenticationStatusDocumentApiImpl
::
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
void
AuthenticationStatusDocumentApiImpl
::
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"
Do some magic
\n
"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"
create_authentication_status
\n
"
);
}
}
void
AuthenticationStatusDocumentApiImpl
::
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"delete_authentication_status
\n
"
);
}
void
AuthenticationStatusDocumentApiImpl
::
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"query_authentication_status
\n
"
);
}
}
}
}
}
}
}
...
...
impl/AuthenticationStatusDocumentApiImpl.h
View file @
08efef26
...
@@ -45,6 +45,9 @@ public:
...
@@ -45,6 +45,9 @@ public:
~
AuthenticationStatusDocumentApiImpl
()
{}
~
AuthenticationStatusDocumentApiImpl
()
{}
void
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
create_authentication_status
(
const
std
::
string
&
ueId
,
const
AuthEvent
&
authEvent
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
delete_authentication_status
(
const
std
::
string
&
ueId
,
Pistache
::
Http
::
ResponseWriter
&
response
);
void
query_authentication_status
(
const
std
::
string
&
ueId
,
const
Pistache
::
Optional
<
std
::
vector
<
std
::
string
>>
&
fields
,
const
Pistache
::
Optional
<
std
::
string
>
&
supportedFeatures
,
Pistache
::
Http
::
ResponseWriter
&
response
);
};
};
...
...
main-api-server.cpp
View file @
08efef26
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include "AccessAndMobilitySubscriptionDataDocumentApiImpl.h"
#include "AccessAndMobilitySubscriptionDataDocumentApiImpl.h"
#include "AmfSubscriptionInfoDocumentApiImpl.h"
#include "AmfSubscriptionInfoDocumentApiImpl.h"
#include "ApplicationDataSubscriptionsCollectionApiImpl.h"
#include "ApplicationDataSubscriptionsCollectionApiImpl.h"
#include "AuthEventDocumentApiImpl.h"
#include "AuthenticationSoRDocumentApiImpl.h"
#include "AuthenticationSoRDocumentApiImpl.h"
#include "AuthenticationStatusDocumentApiImpl.h"
#include "AuthenticationStatusDocumentApiImpl.h"
#include "AuthenticationSubscriptionDocumentApiImpl.h"
#include "AuthenticationSubscriptionDocumentApiImpl.h"
...
@@ -176,8 +175,6 @@ int main() {
...
@@ -176,8 +175,6 @@ int main() {
AmfSubscriptionInfoDocumentApiserver
.
init
();
AmfSubscriptionInfoDocumentApiserver
.
init
();
ApplicationDataSubscriptionsCollectionApiImpl
ApplicationDataSubscriptionsCollectionApiserver
(
router
);
ApplicationDataSubscriptionsCollectionApiImpl
ApplicationDataSubscriptionsCollectionApiserver
(
router
);
ApplicationDataSubscriptionsCollectionApiserver
.
init
();
ApplicationDataSubscriptionsCollectionApiserver
.
init
();
AuthEventDocumentApiImpl
AuthEventDocumentApiserver
(
router
);
AuthEventDocumentApiserver
.
init
();
AuthenticationSoRDocumentApiImpl
AuthenticationSoRDocumentApiserver
(
router
);
AuthenticationSoRDocumentApiImpl
AuthenticationSoRDocumentApiserver
(
router
);
AuthenticationSoRDocumentApiserver
.
init
();
AuthenticationSoRDocumentApiserver
.
init
();
AuthenticationStatusDocumentApiImpl
AuthenticationStatusDocumentApiserver
(
router
);
AuthenticationStatusDocumentApiImpl
AuthenticationStatusDocumentApiserver
(
router
);
...
...
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