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
85f6af11
Commit
85f6af11
authored
Jan 30, 2021
by
HFJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add resynchronizationInfo request
parent
2a07047a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
23 deletions
+15
-23
src/CMakeLists.txt
src/CMakeLists.txt
+2
-23
src/impl/DefaultApiImpl.cpp
src/impl/DefaultApiImpl.cpp
+13
-0
No files found.
src/CMakeLists.txt
View file @
85f6af11
...
...
@@ -9,12 +9,12 @@ include(ExternalProject)
set
(
EXTERNAL_INSTALL_LOCATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/external
)
ExternalProject_Add
(
PISTACHE
#
GIT_REPOSITORY https://github.com/oktal/pistache.git
GIT_REPOSITORY https://github.com/oktal/pistache.git
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
EXTERNAL_INSTALL_LOCATION
}
)
ExternalProject_Add
(
NLOHMANN
#
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_REPOSITORY https://github.com/nlohmann/json.git
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
EXTERNAL_INSTALL_LOCATION
}
)
...
...
@@ -93,24 +93,3 @@ file(GLOB SRCS
add_executable
(
${
PROJECT_NAME
}
${
SRCS
}
)
add_dependencies
(
${
PROJECT_NAME
}
PISTACHE NLOHMANN
)
target_link_libraries
(
${
PROJECT_NAME
}
LOG OPTIONS pistache pthread gmp config++
${
NETTLE_LIBRARIES
}
curl
)
################################### not used##################################
#include_directories(utils)
#include_directories(utils/bstr)
# ${CMAKE_CURRENT_SOURCE_DIR}/utils/*.c
# ${CMAKE_CURRENT_SOURCE_DIR}/utils/*.cpp
# ${CMAKE_CURRENT_SOURCE_DIR}/utils/bstr/*.c
####### for contexts ###########
#include_directories(contexts)
#include_directories(utils)
#include_directories(utils/bstr)
#include_directories(contexts)
#include_directories(nas/ies)
#include_directories(nas/common)
#include_directories(nas/msgs)
#include_directories(nas/utils)
#add_library (CONTEXTS STATIC
# ${CMAKE_CURRENT_SOURCE_DIR}/contexts/nas_context.cpp
#)
################################
\ No newline at end of file
src/impl/DefaultApiImpl.cpp
View file @
85f6af11
...
...
@@ -243,6 +243,19 @@ void DefaultApiImpl::ue_authentications_post(
AuthInfo
[
"servingNetworkName"
]
=
snn
;
AuthInfo
[
"ausfInstanceId"
]
=
"400346f4-087e-40b1-a4cd-00566953999d"
;
//fixed, may need to change
if
(
authenticationInfo
.
resynchronizationInfoIsSet
())
//set ResynchronizationInfo
{
ResynchronizationInfo
resynInfo
=
authenticationInfo
.
getResynchronizationInfo
();
AuthInfo
[
"resynchronizationInfo"
][
"rand"
]
=
resynInfo
.
getRand
();
AuthInfo
[
"resynchronizationInfo"
][
"auts"
]
=
resynInfo
.
getAuts
();
Logger
::
ausf_server
().
info
(
"received authInfo from amf with ResynchronizationInfo"
);
}
else
{
Logger
::
ausf_server
().
info
(
"received normal authInfo from amf"
);
}
Curl
::
curl_http_client
(
udmUri
,
Method
,
AuthInfo
.
dump
()
,
Response
);
Logger
::
ausf_server
().
error
(
"response: %s"
,
Response
.
c_str
());
...
...
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