22#include "data/LedgerCache.hpp"
23#include "migration/MigrationManagerInterface.hpp"
24#include "util/newconfig/ConfigDefinition.hpp"
44 std::string migratorName;
47 std::variant<Status, Migration> state;
78 std::shared_ptr<migration::MigrationManagerInterface> migrationManager_;
104 migrate(std::string
const& name);
The migration application class.
Definition MigrationApplication.hpp:76
MigratorApplication(util::config::ClioConfigDefinition const &config, MigrateSubCmd command)
Construct a new MigratorApplication object.
Definition MigrationApplication.cpp:39
int run()
Run the application.
Definition MigrationApplication.cpp:54
Cache for an entire ledger.
Definition LedgerCache.hpp:48
All the config data will be stored and extracted from this class.
Definition ConfigDefinition.hpp:54
Run a migration.
Definition MigrationApplication.hpp:43
Check the status of the migrations.
Definition MigrationApplication.hpp:39
The command to run for migration framework.
Definition MigrationApplication.hpp:35
static MigrateSubCmd migration(std::string const &name)
Helper function to create a migration command.
Definition MigrationApplication.hpp:67
static MigrateSubCmd status()
Helper function to create a status command.
Definition MigrationApplication.hpp:55