use of com.instaclustr.esop.impl.backup.BackupModules.BackupModule in project esop by instaclustr.
the class BackupApplication method run.
@Override
public void run() {
Esop.logCommandVersionInformation(spec);
final List<Module> appSpecificModules = singletonList(new BackupModule());
Esop.init(this, jmxSpec, hashSpec, request, logger, appSpecificModules);
final Operation<?> operation = operationsService.submitOperationRequest(request);
await().forever().until(() -> operation.state.isTerminalState());
if (operation.state == FAILED) {
throw new IllegalStateException(format("Backup operation %s was not successful.", operation.id));
}
}
Aggregations