Skip to content
Snippets Groups Projects

Remove app instances on base removal

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -97,7 +97,7 @@ public class ApplicationBaseServiceImpl implements ApplicationBaseService {
.findAny()
.ifPresent(appVersion -> appVersion.setState(state));
appBase.validate();
appBaseRepository.save(appBase);
appBaseRepository.save(appBase);
if (state.equals(ApplicationState.ACTIVE)) {
eventPublisher.publishEvent(new ApplicationActivatedEvent(this, name, version));
}
Loading