public MigrationConfiguration loadMigrationConfiguration ( String migrationConfigurationId ) throws IOException , LightblueException { DataFindRequest findRequest = new DataFindRequest ( "migrationConfiguration" , null ) ; findRequest . where ( Query . withValue ( "_id" , Query . eq , migrationConfigurationId ) ) ; findRequest . select ( Projection . includeFieldRecursively ( "*" ) ) ; LOGGER . debug ( "Loading configuration" ) ; return lightblueClient . data ( findRequest , MigrationConfiguration . class ) ; }
Load migration configuration based on its id