Context
After the changes to the NodeMapperService making it async, as part of the migration to the DynamicCatalog, it's clear that we have some logic in the BaseVisualEntities that could be migrated to the NodeMapperService system.
Goal
We should create Route, Pipe, Kamelet, errorHandler, etc... mappers, so we don't need to enhance the vizNode in any BaseVisualEntity, effectively delegating it to the mapping workflow. This will bring the benefit of isolating the mapping logic from the base entity logic.
Originally posted by @lordrip in #3100
Context
After the changes to the
NodeMapperServicemaking itasync, as part of the migration to theDynamicCatalog, it's clear that we have some logic in theBaseVisualEntitiesthat could be migrated to theNodeMapperServicesystem.Goal
We should create
Route,Pipe,Kamelet,errorHandler, etc... mappers, so we don't need to enhance thevizNodein anyBaseVisualEntity, effectively delegating it to the mapping workflow. This will bring the benefit of isolating the mapping logic from the base entity logic.Originally posted by @lordrip in #3100