ping @frobini, once you find that this work answer to your expectation then you can merge it. you should just rebuild the platform without cache in order to retrieve framework dependencies.
After you need into viadeo-platform override the bean SagaManager in the spring configuration PlatformSagaConfiguration as follow:
@Bean
public SagaManager sagaManager(final MetricRegistry metricRegistry, final SagaFactoryProvider sagaFactoryProvider, final SagaRepository repository, final StepProcessor operationProcessor) {
return new SagaManager(sagaFactoryProvider, repository, operationProcessor) {
@Override
protected <SAGA extends Saga> SagaExecutor<SAGA> createSagaExecutor(Class<SAGA> sagaClass, SagaFactory factory, Set<Step> steps) {
return new MeasuredSagaExecutor<>(metricRegistry, sagaClass, steps, factory, repository);
}
};
}
ping @frobini, once you find that this work answer to your expectation then you can merge it. you should just rebuild the platform without cache in order to retrieve framework dependencies.
After you need into viadeo-platform override the bean
SagaManager
in the spring configurationPlatformSagaConfiguration
as follow: