Support saving blueprints without workflows 29/143529/1
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Sat, 7 Mar 2026 08:26:55 +0000 (09:26 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Sat, 7 Mar 2026 08:26:55 +0000 (09:26 +0100)
commitc28008f1f3692734f9348598d37806fd89848595
treebfeec578667411916f724fa267d0c2671ae57d8b
parent7dd30e6661f0ddef4ae2e13d3769321902222fcb
Support saving blueprints without workflows

- saving blueprints without workflows failed with a generic
  internal server error due to a nullpointer exception
- allow saving blueprints without workflows
- enhance the global catalog exception handler to log an error
  message for `Exception`

Issue-ID: CCSDK-4178
Change-Id: I0869fb7ffd1f6a7593919aed39bf24b4501fac83
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
components/model-catalog/blueprint-model/test-blueprint/baseconfiguration-no-workflows/Definitions/empty-blueprint.json [new file with mode: 0644]
components/model-catalog/blueprint-model/test-blueprint/baseconfiguration-no-workflows/TOSCA-Metadata/TOSCA.meta [new file with mode: 0644]
ms/blueprintsprocessor/modules/commons/db-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/db/primary/service/BlueprintCatalogServiceImpl.kt
ms/blueprintsprocessor/modules/commons/db-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/db/BlueprintProcessorCatalogServiceImplTest.kt
ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogExceptionHandler.kt