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
6f9f2097
Commit
6f9f2097
authored
Sep 07, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for base for Namf-event-exposure
parent
b9aaf768
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
src/sbi/amf_server/api/IndividualSubscriptionDocumentApiEventExposure.h
...rver/api/IndividualSubscriptionDocumentApiEventExposure.h
+1
-1
src/sbi/amf_server/impl/IndividualSubscriptionDocumentApiImplEventExposure.cpp
...pl/IndividualSubscriptionDocumentApiImplEventExposure.cpp
+0
-1
src/sbi/amf_server/impl/SubscriptionsCollectionDocumentApiImplEventExposure.cpp
...l/SubscriptionsCollectionDocumentApiImplEventExposure.cpp
+1
-1
No files found.
src/sbi/amf_server/api/IndividualSubscriptionDocumentApiEventExposure.h
View file @
6f9f2097
...
...
@@ -46,7 +46,7 @@ class IndividualSubscriptionDocumentApiEventExposure {
virtual
~
IndividualSubscriptionDocumentApiEventExposure
()
=
default
;
void
init
();
const
std
::
string
base
=
"/namf-
comm
/"
;
const
std
::
string
base
=
"/namf-
evts
/"
;
private:
void
setupRoutes
();
...
...
src/sbi/amf_server/impl/IndividualSubscriptionDocumentApiImplEventExposure.cpp
View file @
6f9f2097
...
...
@@ -33,7 +33,6 @@ void IndividualSubscriptionDocumentApiImplEventExposure::delete_subscription(
"SubscriptionsCollectionDocumentApiImplEventExposure::delete_"
"subscription"
);
// Create a message and store the necessary information
Logger
::
amf_server
().
debug
(
"Delete a subscription with ID %s"
,
subscriptionId
.
c_str
());
...
...
src/sbi/amf_server/impl/SubscriptionsCollectionDocumentApiImplEventExposure.cpp
View file @
6f9f2097
...
...
@@ -68,7 +68,7 @@ void SubscriptionsCollectionDocumentApiImplEventExposure::create_subscription(
std
::
string
location
=
std
::
string
(
inet_ntoa
(
*
((
struct
in_addr
*
)
&
amf_cfg
.
n11
.
addr4
)))
+
":"
+
std
::
to_string
(
amf_cfg
.
n11
.
port
)
+
base
+
amf_cfg
.
sbi_api_version
+
"/namf
_event-exposure
/"
+
std
::
to_string
(
sub_id
);
"/namf
-evts
/"
+
std
::
to_string
(
sub_id
);
json_data
[
"subscriptionId"
]
=
location
;
response
.
headers
().
add
<
Pistache
::
Http
::
Header
::
Location
>
(
...
...
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