Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
81567ec0
Commit
81567ec0
authored
Jan 31, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update APIs
parent
7d47f5f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/api-server/api/SMContextsCollectionApi.h
src/api-server/api/SMContextsCollectionApi.h
+1
-1
src/api-server/impl/SMContextsCollectionApiImpl.cpp
src/api-server/impl/SMContextsCollectionApiImpl.cpp
+7
-1
No files found.
src/api-server/api/SMContextsCollectionApi.h
View file @
81567ec0
...
...
@@ -42,7 +42,7 @@ public:
virtual
~
SMContextsCollectionApi
()
{}
void
init
();
const
std
::
string
base
=
"/nsmf-pdusession/v
1
"
;
const
std
::
string
base
=
"/nsmf-pdusession/v
2
"
;
private:
void
setupRoutes
();
...
...
src/api-server/impl/SMContextsCollectionApiImpl.cpp
View file @
81567ec0
...
...
@@ -95,7 +95,7 @@ void SMContextsCollectionApiImpl::post_sm_contexts(const SmContextMessage &smCon
Logger
::
smf_api_server
().
debug
(
"SmContextCreateData, PDU SessionID %d
\n
"
,
smContextCreateData
.
getPduSessionId
());
sm_context_req_msg
.
set_pdu_session_id
(
smContextCreateData
.
getPduSessionId
());
//AMF ID
//AMF ID
(ServingNFId)
Logger
::
smf_api_server
().
debug
(
"SmContextCreateDatea, ServingNfId %s
\n
"
,
smContextCreateData
.
getServingNfId
().
c_str
());
sm_context_req_msg
.
set_serving_nf_id
(
smContextCreateData
.
getServingNfId
().
c_str
());
//TODO: should be verified that AMF ID is stored in GUAMI or ServingNfId
...
...
@@ -109,6 +109,12 @@ void SMContextsCollectionApiImpl::post_sm_contexts(const SmContextMessage &smCon
// PEI
// GPSI
// UE presence in LADN service area
//Guami
//servingNetwork
//anType
//UETimeZone
//SMContextStatusUri
//PCFId
// DNN Selection Mode
Logger
::
smf_api_server
().
debug
(
"SmContextCreateData, SelMode %s
\n
"
,
smContextCreateData
.
getSelMode
().
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