Sebastian Sdorra
9525cba06b
suppress sonarqube nio performance warning
2019-12-05 15:20:47 +01:00
Rene Pfeuffer
503bd8fa16
Enhance error handling
2019-12-05 10:10:26 +01:00
Rene Pfeuffer
b2bbd1d9b5
Enhance error handling
2019-12-05 10:06:17 +01:00
Rene Pfeuffer
791437a905
Use copy on write in repository db
2019-12-05 07:57:47 +01:00
Rene Pfeuffer
9ca2a57667
Fix unit test
2019-12-05 07:43:26 +01:00
Rene Pfeuffer
c4ed6f917d
Use copy on write in JAXB store implementations
2019-12-04 17:16:17 +01:00
Rene Pfeuffer
3e3ab69b14
Create function for copy on write
2019-12-04 17:04:46 +01:00
Rene Pfeuffer
516bbe6f26
Prepare for next development iteration
2019-12-02 15:15:34 +01:00
Rene Pfeuffer
2d08ba4adc
Release version 2.0.0-rc1
2019-12-02 12:52:33 +01:00
Sebastian Sdorra
312fb9bb05
fix sonarqube warning about xxe processing
2019-11-28 10:45:57 +01:00
Sebastian Sdorra
854e42a609
merge with default branch
2019-11-27 15:01:09 +01:00
Rene Pfeuffer
3e2c8b7c4b
Remove archive flag
2019-08-20 14:23:52 +02:00
Eduard Heimbuch
97c10a867c
merged
2019-07-05 08:03:55 +02:00
René Pfeuffer
c35363b79f
Store repository id in git config for each repository
...
This is needed after migration from v1 to v2 and is done in
GitV1UpdateStep.java. Therefore we hat to make the 'forAllPaths' method
in PathBasedRepositoryLocationResolver available in the interface of
RepositoryLocationResolver.
2019-07-03 07:48:06 +02:00
René Pfeuffer
7db3350439
Migrate git LFS blob directory
2019-07-01 14:17:32 +02:00
Eduard Heimbuch
8e0063e4b7
cleanup
2019-06-25 09:33:56 +02:00
Eduard Heimbuch
de8f15abf5
fix renameGlobalConfigFile / add Test
2019-06-25 09:12:57 +02:00
René Pfeuffer
56996395f1
Close file stream
2019-06-21 15:04:45 +02:00
René Pfeuffer
75cd5165e3
Add file tools for v1 xml stores
2019-06-21 14:35:57 +02:00
René Pfeuffer
9581bf946b
Enable plugins to create config stores for repository config
...
Therefore we have to
- add an API to create stores for repository ids, not only for
repositories,
- make v1 properties available in scm-core
- make sure that properties are extracted from repositories before the
update step of a plugin runs (this is done by sorting the update steps
in a way so that "core" update steps are executed before plugin update
steps with the same version)
2019-06-20 16:12:16 +02:00
René Pfeuffer
4991c2ad31
Merge with 2.0.0-m3
2019-06-13 06:34:52 +02:00
René Pfeuffer
046ccfb2a0
Merge with 2.0.0-m3
2019-06-11 15:02:02 +02:00
René Pfeuffer
72f3334afe
Merge with 2.0.0-m3
2019-06-11 13:55:43 +02:00
René Pfeuffer
815c531220
Use file system class to create repository directory
2019-06-06 13:42:57 +02:00
René Pfeuffer
77a1ad50fe
Refresh repository dao after repository.xml file was renamed
...
Without this, the XmlRepositoryDAO will be initialized at a time
where there is no repository-paths.xml file. Therefore the dao cannot
initialize with the existing repositories whose paths are kept in
repositories.xml at that time.
In this commit we trigger a refresh after the file was renamed, so
that the PathBasedRepositoryLocationResolver can read the moved
repository-paths.xml file and all repositories will be found.
2019-06-06 10:45:56 +02:00
René Pfeuffer
b274952fa9
Create explicit method to create new repository locations
2019-06-05 14:27:35 +02:00
René Pfeuffer
a5c65b4e2c
Store absolute path for directly set repository locations
2019-06-05 10:45:41 +02:00
René Pfeuffer
e52518a12b
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
2019-06-05 08:21:37 +02:00
René Pfeuffer
d88b300ac8
Add update step to rename repositories.xml -> repository-paths.xml
2019-05-24 11:55:32 +02:00
René Pfeuffer
1674bc2e7d
Bootstrap migration strategies
2019-05-22 14:28:53 +02:00
René Pfeuffer
3d28f800be
Adapt unit test
2019-05-21 17:26:02 +02:00
René Pfeuffer
64fcdde749
Create v2 repository entities for old v1 repositories
2019-05-21 13:09:33 +02:00
René Pfeuffer
dad8ea5fa1
Merge with 2.0.0-m3
2019-05-20 08:51:59 +02:00
René Pfeuffer
93025629e6
Migrate verbs to roles if possible
2019-05-15 15:57:18 +02:00
René Pfeuffer
a5f1a5deaa
Merge custom roles with migration
2019-05-15 15:01:17 +02:00
René Pfeuffer
0f0401b4dd
Update modification date of repository database
2019-05-14 10:42:50 +02:00
René Pfeuffer
749c90d465
Fix missing test file
2019-05-14 10:32:46 +02:00
René Pfeuffer
e0ad5c76a7
Cleanup tests for repository dao
2019-05-14 10:08:45 +02:00
René Pfeuffer
c63510536a
Cleanup repository dao
2019-05-10 16:32:14 +02:00
René Pfeuffer
e1625bf92f
Make LocationResolver create directories
2019-05-10 15:47:57 +02:00
René Pfeuffer
a83e2813a3
Fix path computation and resolving
2019-05-10 13:26:06 +02:00
René Pfeuffer
7f4792ec49
Remove PathBasedRepositoryDAO
...
The computation of the file path for the repository is done by
RepositoryLocationResolver.
2019-05-10 08:06:36 +02:00
René Pfeuffer
c44d38cc61
Introduce abstraction for repository location
2019-05-09 14:08:18 +02:00
René Pfeuffer
c5b20566c1
Fix bugs with integration test
2019-05-07 09:20:19 +02:00
René Pfeuffer
c0760688e9
Join repository roles from the system and from the database
2019-05-03 14:47:49 +02:00
René Pfeuffer
232102716c
Create DAO for repository roles
2019-05-03 14:19:33 +02:00
Sebastian Sdorra
8bf82213b8
remove unused imports
2019-01-30 14:48:37 +01:00
Philipp Czora
38172fb8a1
Fixed test
2019-01-29 11:12:49 +01:00
Philipp Czora
ec4fd48e1e
Minor cleanup / typo fixes
2019-01-29 09:34:27 +01:00
René Pfeuffer
d011c82def
Fix unit test
2019-01-23 10:13:21 +01:00