mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 02:06:18 +01:00
Mark config entry stores explicitly in exports (#1545)
The default (XML) store of SCM-Manager does not distinguish between config and config entry stores in regards to storage locations. Nonetheless, we want to make a difference in export files, so that other store providers can handle these stores differently. To do so, this change adds an attribute to the top level xml element of config entry stores to mark them. In exports, these store files can now be exported in a different folder. To mark existing stores, this introduces an update step.
This commit is contained in:
@@ -66,9 +66,6 @@ public class AbstractTestBase
|
||||
|
||||
private File tempDirectory;
|
||||
|
||||
protected DefaultFileSystem fileSystem;
|
||||
|
||||
protected RepositoryDAO repositoryDAO = mock(RepositoryDAO.class);
|
||||
protected RepositoryLocationResolver repositoryLocationResolver;
|
||||
|
||||
@BeforeEach
|
||||
@@ -79,7 +76,6 @@ public class AbstractTestBase
|
||||
UUID.randomUUID().toString());
|
||||
assertTrue(tempDirectory.mkdirs());
|
||||
contextProvider = MockUtil.getSCMContextProvider(tempDirectory);
|
||||
fileSystem = new DefaultFileSystem();
|
||||
InitialRepositoryLocationResolver initialRepoLocationResolver = new InitialRepositoryLocationResolver();
|
||||
repositoryLocationResolver = new TempDirRepositoryLocationResolver(tempDirectory);
|
||||
postSetUp();
|
||||
|
||||
Reference in New Issue
Block a user