Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
715c9a18
Commit
715c9a18
authored
Oct 01, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
1be6e65d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/sbi/amf_server/AMFApiServer.cpp
src/sbi/amf_server/AMFApiServer.cpp
+1
-1
src/sbi/amf_server/amf-http2-server.cpp
src/sbi/amf_server/amf-http2-server.cpp
+2
-2
No files found.
src/sbi/amf_server/AMFApiServer.cpp
View file @
715c9a18
...
...
@@ -19,7 +19,7 @@ void AMFApiServer::init(size_t thr) {
m_nonUEN2MessagesSubscriptionsCollectionDocumentApiImpl
->
init
();
m_subscriptionsCollectionDocumentApiImpl
->
init
();
m_subscriptionsCollectionDocumentApiImplEventExposure
->
init
();
Logger
::
amf_server
().
debug
(
"Initiate AMF
server e
ndpoints done!"
);
Logger
::
amf_server
().
debug
(
"Initiate AMF
Server E
ndpoints done!"
);
}
void
AMFApiServer
::
start
()
{
...
...
src/sbi/amf_server/amf-http2-server.cpp
View file @
715c9a18
...
...
@@ -132,7 +132,7 @@ void amf_http2_server::start() {
res
,
parts
[
2
].
body
);
}
catch
(
nlohmann
::
detail
::
exception
&
e
)
{
Logger
::
amf_server
().
warn
(
"Can
not parse the json
data (error: %s)!"
,
e
.
what
());
"Can
not parse the JSON
data (error: %s)!"
,
e
.
what
());
res
.
write_head
(
static_cast
<
uint32_t
>
(
http_response_codes_e
::
HTTP_RESPONSE_CODE_BAD_REQUEST
));
res
.
end
();
...
...
@@ -177,7 +177,7 @@ void amf_http2_server::n1_n2_message_transfer_handler(
if
(
!
m_amf_app
->
find_pdu_session_context
(
supi
,
(
uint8_t
)
n1N2MessageTransferReqData
.
getPduSessionId
(),
psc
))
{
Logger
::
amf_server
().
error
(
"Cannot get
pdu_session_c
ontext with SUPI (%s)"
,
supi
.
c_str
());
"Cannot get
PDU Session C
ontext with SUPI (%s)"
,
supi
.
c_str
());
// Send response to the NF Service Consumer (e.g., SMF)
res
.
write_head
(
static_cast
<
uint32_t
>
(
http_response_codes_e
::
HTTP_RESPONSE_CODE_BAD_REQUEST
));
...
...
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