Findwise/Hydra

Stage configurations added by other means than Admin Service GUI cannot be edited with the Admin Service GUI

laserval opened this issue · 0 comments

It appears the Admin Service GUI uses a property called stageName that it expects to exist in the stage properties map. This property is not part of the Stage class in database, the database representation of a stage configuration. If a stage is added by some other means (hydra-inserter or manually in MongoDB), the Admin Service GUI will create a new stage and stage group called undefined in the pipeline.

The GUI also uses the non-database property stageGroup.

I think making sure that these two are added in the Stage map makes sense. Perhaps it's time to check if the hydra-inserter and the admin service has code that can be shared.