SO-SDC distribution client shall not throw NPE, when a service model doesn`t contain a resource

Description

.6.3, SO-SDC-Client.
Use-case:
Service model distribution, SO consumes the CSAR, Service Model doesn`t contain any resources (composition empty). In such a case, SO throws an NPE, instead of logging an error.
An error shall be logged, if a Service Model contains no resources.

See log attached:

And specifically this shall be improved:

Environment

.6.3, ONAP Frankfurt RC2

Attachments

1

Activity

Show:

Former user September 21, 2020 at 7:57 AM

Former user September 1, 2020 at 4:53 PM
Edited

The relevant csar file can be found under /app/ADSC folder of the container.

I also need the distribution notification json. This will be included in the debug_date*.* under /app/logs/asdc folder where date is the date on which this issue is identified

Unless I have csar & distribution notification json I cannot build unit test case for the fix. Please provide it ASAP.

Former user August 31, 2020 at 3:03 PM

Hi , any updates on csar file?

Former user August 27, 2020 at 11:24 PM

Hi , can you please attach the csar associated with this defect? I'll need to build unit test case specific to this use case.

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created June 5, 2020 at 5:09 PM
Updated September 21, 2020 at 7:58 AM
Resolved September 21, 2020 at 7:58 AM