Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AUSF
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-AUSF
Commits
a2682f1d
Commit
a2682f1d
authored
May 10, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update HTTP response for unsupported method
parent
745bfd31
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
src/api_server/impl/AuthenticationResultDeletionApiImpl.cpp
src/api_server/impl/AuthenticationResultDeletionApiImpl.cpp
+9
-2
src/api_server/impl/DefaultApiImpl.cpp
src/api_server/impl/DefaultApiImpl.cpp
+12
-3
No files found.
src/api_server/impl/AuthenticationResultDeletionApiImpl.cpp
View file @
a2682f1d
...
...
@@ -33,6 +33,7 @@
*/
#include "AuthenticationResultDeletionApiImpl.h"
#include "logger.hpp"
namespace
org
{
namespace
openapitools
{
...
...
@@ -50,11 +51,17 @@ AuthenticationResultDeletionApiImpl::AuthenticationResultDeletionApiImpl(
void
AuthenticationResultDeletionApiImpl
::
delete5g_aka_authentication_result
(
const
std
::
string
&
authCtxId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
Logger
::
ausf_server
().
info
(
"delete5g_aka_authentication_result"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Implemented
,
"delete5g_aka_authentication_result API has not been implemented yet!
\n
"
);
}
void
AuthenticationResultDeletionApiImpl
::
delete_eap_authentication_result
(
const
std
::
string
&
authCtxId
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
Logger
::
ausf_server
().
info
(
"delete_eap_authentication_result"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Implemented
,
"delete_eap_authentication_result API has not been implemented yet!
\n
"
);
}
}
// namespace api
...
...
src/api_server/impl/DefaultApiImpl.cpp
View file @
a2682f1d
...
...
@@ -91,13 +91,19 @@ DefaultApiImpl::DefaultApiImpl(
void
DefaultApiImpl
::
eap_auth_method
(
const
std
::
string
&
authCtxId
,
const
EapSession
&
eapSession
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
Logger
::
ausf_server
().
info
(
"eap_auth_method"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Implemented
,
"eap_auth_method API has not been implemented yet!
\n
"
);
}
void
DefaultApiImpl
::
rg_authentications_post
(
const
RgAuthenticationInfo
&
rgAuthenticationInfo
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
Logger
::
ausf_server
().
info
(
"rg_authentications_post"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Implemented
,
"rg_authentications_post API has not been implemented yet!
\n
"
);
}
void
DefaultApiImpl
::
ue_authentications_auth_ctx_id5g_aka_confirmation_put
(
...
...
@@ -252,7 +258,10 @@ void DefaultApiImpl::ue_authentications_auth_ctx_id5g_aka_confirmation_put(
void
DefaultApiImpl
::
ue_authentications_deregister_post
(
const
DeregistrationInfo
&
deregistrationInfo
,
Pistache
::
Http
::
ResponseWriter
&
response
)
{
response
.
send
(
Pistache
::
Http
::
Code
::
Ok
,
"Do some magic
\n
"
);
Logger
::
ausf_server
().
info
(
"ue_authentications_deregister_post"
);
response
.
send
(
Pistache
::
Http
::
Code
::
Not_Implemented
,
"ue_authentications_deregister_post API has not been implemented yet!
\n
"
);
}
void
DefaultApiImpl
::
ue_authentications_post
(
...
...
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