Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
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-NRF
Commits
fec2ddcd
Commit
fec2ddcd
authored
Sep 23, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send notification only including active NF profiles to the subscribed NFs
parent
19ba2a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/nrf_app/nrf_app.cpp
src/nrf_app/nrf_app.cpp
+2
-1
No files found.
src/nrf_app/nrf_app.cpp
View file @
fec2ddcd
...
@@ -849,7 +849,8 @@ void nrf_app::find_nf_profiles(
...
@@ -849,7 +849,8 @@ void nrf_app::find_nf_profiles(
nf_type_t
nf_type
=
api_conv
::
string_to_nf_type
(
sub_condition
.
nf_type
);
nf_type_t
nf_type
=
api_conv
::
string_to_nf_type
(
sub_condition
.
nf_type
);
for
(
auto
profile
:
instance_id2nrf_profile
)
{
for
(
auto
profile
:
instance_id2nrf_profile
)
{
if
(
profile
.
second
.
get
()
->
get_nf_type
()
==
nf_type
)
{
if
((
profile
.
second
.
get
()
->
get_nf_type
()
==
nf_type
)
and
profile
.
second
->
is_nf_active
())
{
profiles
.
push_back
(
profile
.
second
);
profiles
.
push_back
(
profile
.
second
);
}
}
}
}
...
...
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