- Mark PathBasedRepositoryLocationResolver as singleton so that other
  users will get the same instance and will not overwrite the paths
  set by migration.
- Set path kept by InlineMigrationStrategy in location resolver to
  store the path.
- Add logging
- Add type of repository to migration web page
This commit is contained in:
René Pfeuffer
2019-06-05 08:21:37 +02:00
parent b253cd110d
commit e52518a12b
11 changed files with 93 additions and 17 deletions

View File

@@ -13,8 +13,9 @@ public abstract class RepositoryLocationResolver {
return create(type);
}
@FunctionalInterface
public interface RepositoryLocationResolverInstance<T> {
T getLocation(String repositoryId);
void setLocation(String repositoryId, T location);
}
}