diff options
author | 2020-12-11 16:19:47 +0000 | |
---|---|---|
committer | 2021-01-12 11:35:09 +0000 | |
commit | 5e0e87f7e86f511511d37f90242300296e7b5dc4 (patch) | |
tree | d8ed3fc96a28cbdcd347565837e8a3fb6bcf2742 /components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py | |
parent | 1e6f4d9c7ea75302f4b902dbbe13642b6d20d716 (diff) |
[PMSH] Add retry mech for DELETE_FAILED NFs
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I3980f0bb43c67e192828172dafe4e7be102dcc98
Issue-ID: DCAEGEN2-2152
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py')
-rwxr-xr-x | components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py b/components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py index fd9f6252..46d52f12 100755 --- a/components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py +++ b/components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py @@ -77,7 +77,7 @@ def process_aai_events(mr_sub, mr_pub, app, app_conf): def _process_event(action, nf, mr_pub, app_conf): if action == AAIEvent.UPDATE.value: logger.info(f'Update event found for network function {nf.nf_name}') - app_conf.subscription.activate_subscription([nf], mr_pub, app_conf) + app_conf.subscription.create_subscription_on_nfs([nf], mr_pub, app_conf) elif action == AAIEvent.DELETE.value: logger.info(f'Delete event found for network function {nf.nf_name}') NetworkFunction.delete(nf_name=nf.nf_name) |