eclipse-arrowhead / core-java-spring

Eclipse Public License 2.0
26 stars 51 forks source link

The orchestrator get endpoint, `/orchestrator/mgmt/store` stops working when deleting a provider system that has an orchestrator store entry. #450

Closed MrDweller closed 4 months ago

MrDweller commented 8 months ago

The issue

If there exists a application system that provides some service, and that provider system has an orchestrator store entry. If the provider system is deleted before the service or the consumer system, then the orchestrators get endpoint, /orchestrator/mgmt/store stops working. It is still possible to create orchestrator store entries and to use the orchestration-service. But no information about the orchestrator store entries can be received.

When executing the get /orchestrator/mgmt/store endpoint this is the error, image

The aitia management tool looks like this, image

Replicate the error

borditamas commented 8 months ago

Many thanks for reporting the issue, I can confirm its existance.

Unfortunatelly the main problem is coming from a design flaw, which is already addressed in version 5.0 specifications and could be fully resolved only with that release.

In the mean time, I have made a workaround which also solves the issue and will be released in v4.6.2 (planned for early February).

At the moment you have two options:

borditamas commented 4 months ago

v4.6.2 has been released