mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 22:06:31 +02:00
Cleanup
- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user