diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-11-30 10:14:13 -0500 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-12-21 18:05:42 -0500 |
commit | a05bbfe4b578439411c58c2587cb28161af7a426 (patch) | |
tree | 41e45b645bbdda7647494a68584de63b0540a64c /deployment-configs/.gitignore | |
parent | ac72b81b53a366fbd6d38d4563d81dac26480f72 (diff) |
Use resource list for SkipCDSBuildingBlockListener
The listener was using a customizationId from the requestPayload.
Since the requestPayload is slightly different for VNF LCM requests,
this logic was inconsistent and not working properly.
By adding modelCustomizationId and modelVersionId to the Resource
class, the SkipCDSBuildingBlockListener can leverage this to perform
more reliable lookups for customization objects.
This also enables SkipCDSBuildingBlockListener to run for delete
requests. Previously this would have failed as the resourceKey is
instance-id in the delete case and customization-id in for create.
By using the explicit property of the resource object, there will
be no confusion.
Issue-ID: SO-3807
Change-Id: I0922e5e7373990d9b409651cb4365e11d5618558
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Diffstat (limited to 'deployment-configs/.gitignore')
0 files changed, 0 insertions, 0 deletions