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
873ca5a7
Commit
873ca5a7
authored
Sep 15, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch to API v2 to test with dsTester
parent
557c5598
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
src/api-server/api/IndividualPDUSessionHSMFApi.h
src/api-server/api/IndividualPDUSessionHSMFApi.h
+1
-1
src/api-server/api/IndividualSMContextApi.h
src/api-server/api/IndividualSMContextApi.h
+1
-1
src/api-server/api/PDUSessionsCollectionApi.h
src/api-server/api/PDUSessionsCollectionApi.h
+1
-1
src/api-server/api/SMContextsCollectionApi.h
src/api-server/api/SMContextsCollectionApi.h
+1
-1
src/api-server/smf-http2-server.cpp
src/api-server/smf-http2-server.cpp
+1
-1
src/common/smf.h
src/common/smf.h
+4
-4
No files found.
src/api-server/api/IndividualPDUSessionHSMFApi.h
View file @
873ca5a7
...
...
@@ -43,7 +43,7 @@ class IndividualPDUSessionHSMFApi {
}
void
init
();
const
std
::
string
base
=
"/nsmf-pdusession/v
1
"
;
const
std
::
string
base
=
"/nsmf-pdusession/v
2
"
;
private:
void
setupRoutes
();
...
...
src/api-server/api/IndividualSMContextApi.h
View file @
873ca5a7
...
...
@@ -71,7 +71,7 @@ class IndividualSMContextApi {
}
void
init
();
const
std
::
string
base
=
"/nsmf-pdusession/v
1
"
;
const
std
::
string
base
=
"/nsmf-pdusession/v
2
"
;
private:
void
setupRoutes
();
...
...
src/api-server/api/PDUSessionsCollectionApi.h
View file @
873ca5a7
...
...
@@ -41,7 +41,7 @@ class PDUSessionsCollectionApi {
}
void
init
();
const
std
::
string
base
=
"/nsmf-pdusession/v
1
"
;
const
std
::
string
base
=
"/nsmf-pdusession/v
2
"
;
private:
void
setupRoutes
();
...
...
src/api-server/api/SMContextsCollectionApi.h
View file @
873ca5a7
...
...
@@ -62,7 +62,7 @@ class 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/smf-http2-server.cpp
View file @
873ca5a7
...
...
@@ -292,7 +292,7 @@ void smf_http2_server::create_sm_contexts_handler(
//set api root to be used as location header in HTTP response
sm_context_req_msg
.
set_api_root
(
m_address
+
":"
+
std
::
to_string
(
m_port
)
+
"/nsmf-pdusession/v
1
/sm-context"
);
+
"/nsmf-pdusession/v
2
/sm-context"
);
//supi
supi_t
supi
=
{
.
length
=
0
};
...
...
src/common/smf.h
View file @
873ca5a7
...
...
@@ -179,14 +179,14 @@ typedef struct qos_profile_s {
}
qos_profile_t
;
//URL, N1, N2 (may get from configuration file)
#define NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL "/namf-comm/v
1
/ue-contexts/{}/n1-n2-messages" //context id
#define NAMF_COMMUNICATION_N1N2_MESSAGE_TRANSFER_URL "/namf-comm/v
2
/ue-contexts/{}/n1-n2-messages" //context id
#define NUDM_SDM_GET_SM_DATA_URL "/nudm-sdm/v2/{}/sm-data" //ue Id
#define N1_SM_CONTENT_ID "n1SmMsg"
#define N1N2_MESSAGE_CLASS "SM"
#define N2_SM_CONTENT_ID "n2msg"
#define NSMF_CALLBACK_N1N2_MESSAGE_TRANSFER_FAILURE "/nsmf-pdusession/v
1
/callback/N1N2MsgTxfrFailureNotification/{}" //UE Id
#define NSMF_PDU_SESSION_SM_CONTEXT_CREATE_URL "/nsmf-pdusession/v
1
/sm-contexts"
#define NSMF_PDU_SESSION_SM_CONTEXT_UPDATE_URL "/nsmf-pdusession/v
1
/sm-contexts/"
#define NSMF_CALLBACK_N1N2_MESSAGE_TRANSFER_FAILURE "/nsmf-pdusession/v
2
/callback/N1N2MsgTxfrFailureNotification/{}" //UE Id
#define NSMF_PDU_SESSION_SM_CONTEXT_CREATE_URL "/nsmf-pdusession/v
2
/sm-contexts"
#define NSMF_PDU_SESSION_SM_CONTEXT_UPDATE_URL "/nsmf-pdusession/v
2
/sm-contexts/"
//for CURL
...
...
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