Browse Source

Wrong subscription notification URL

Subscription notifications contains /vnflcmv1/ in URL
    'vnfLcmOpOcc': {
        'href':
            '/vnflcmv1/vnf_lcm_op_occs/%s'
            % vnf_lcm_op_occs_id}}}

It impacts following operations
 - heal
 - terminate
 - instantiate
 - change_ext_conn

Also subscription notification data->href does
not contain host path.

Co-Authored-By: Navum Gupta <navum.gupta@india.nec.com>

Closes-Bug: #1923478
Change-Id: Idc146eed1b2b6a8ee3d4dd6c230324a8aef006f6
changes/55/790355/2
Sheel Rana 3 months ago
parent
commit
cf5150571b
  1. 10
      tacker/conductor/conductor_server.py

10
tacker/conductor/conductor_server.py

@ -1571,13 +1571,11 @@ class Conductor(manager.Manager):
'vnfLcmOpOccId': vnf_lcm_op_occs_id,
'_links': {
'vnfInstance': {
'href':
'/vnflcm/v1/vnf_instances/%s'
% vnf_instance_id},
'href': self._get_vnf_instance_href(
vnf_instance_id)},
'vnfLcmOpOcc': {
'href':
'/vnflcmv1/vnf_lcm_op_occs/%s'
% vnf_lcm_op_occs_id}}}
'href': self._get_vnf_lcm_op_occs_href(
vnf_lcm_op_occs_id)}}}
if(operation_state == fields.LcmOccsOperationState.COMPLETED or
operation_state == fields.LcmOccsOperationState.FAILED_TEMP or

Loading…
Cancel
Save