diff options
author | 2020-08-05 10:12:04 +0100 | |
---|---|---|
committer | 2020-08-13 11:22:39 +0100 | |
commit | 38ccb471732faaad6a25defee0753c1c5ac60cf0 (patch) | |
tree | 6b8fd360895ec5cc621d89ab35af7c14a4c05caf /components/pm-subscription-handler/pmsh_service/mod/aai_event_handler.py | |
parent | 66f25c47daae80fe0ebc57bfec32596608d0be5d (diff) |
Refactor and bug fixes
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I8fe91bfdd2f1a2c8a6ca914e52d82dce04bffc0e
Issue-ID: DCAEGEN2-2146
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 | 3 |
1 files changed, 1 insertions, 2 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 f1e8cf27..60b69602 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 @@ -72,8 +72,7 @@ def _process_event(action, new_status, xnf_name, mr_pub, app_conf): local_xnf = NetworkFunction.get(xnf_name) if local_xnf is None: - logger.info(f'Activating subscription for network function {xnf_name}') - app_conf.subscription.process_subscription([NetworkFunction( + app_conf.subscription.activate_subscription([NetworkFunction( nf_name=xnf_name, orchestration_status=new_status)], mr_pub, app_conf) else: logger.debug(f"Update Event for network function {xnf_name} will not be processed " |