Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4634
Change-Id: Ib5785890d5cfa5b014cf5f4eef9d15855b7ff7e6
}
private List<AttributeDefinition> addImplicitAttributeValues(Resource originResource, UploadComponentInstanceInfo uploadComponentInstanceInfo) {
+ if (uploadComponentInstanceInfo.getAttributes() == null) {
+ return Collections.emptyList();
+ }
List<String> origAttributes = originResource.getAttributes().stream().map(AttributeDefinition::getName).collect(toList());
Map<String, UploadAttributeInfo> uploadAttributes = uploadComponentInstanceInfo.getAttributes();
List<String> newAttributesToAdd =