Commit Graph

336 Commits

Author SHA1 Message Date
Rene Pfeuffer
8df43e7b4e Let background computations abort for browse command 2019-12-12 11:47:03 +01:00
Rene Pfeuffer
9caf6c0984 Update cache after each file 2019-12-11 14:01:17 +01:00
Rene Pfeuffer
093c0abb02 Add unit test for asynchronous browse 2019-12-11 13:32:05 +01:00
Rene Pfeuffer
a37df2c20b Fix test helper 2019-12-11 12:58:01 +01:00
Rene Pfeuffer
ce15b116bd Introduce SyncAsyncExecutor 2019-12-11 10:10:56 +01:00
Rene Pfeuffer
6e40f77973 Add exception to default exception mapper set 2019-12-06 13:33:37 +01:00
Rene Pfeuffer
d0f8e4ccf2 Rename utility class 2019-12-05 17:43:21 +01:00
Rene Pfeuffer
e363f057b2 Merge with bugfix/classloader_leak 2019-12-05 17:04:27 +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
854e42a609 merge with default branch 2019-11-27 15:01:09 +01:00
Rene Pfeuffer
6bf86fab8d Introduce abstraction layer for RESTeasy mock dispatcher 2019-11-25 17:04:58 +01:00
Sebastian Sdorra
e4c8783c61 return null if commit was not merged into requested branch 2019-11-04 11:46:27 +01:00
Rene Pfeuffer
20338c1bb6 Add integration tests for anonymous access 2019-10-17 11:53:23 +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
Eduard Heimbuch
841df69fc3 check RepoId in InMemoryConfigurationStoreFactory 2019-06-28 08:53:03 +02:00
René Pfeuffer
f8954846c4 Add test support for plugin migration 2019-06-21 11:09:41 +02:00
René Pfeuffer
d3b65ac3bd Check stored values instead of resulting xml files 2019-06-19 10:38:22 +02:00
René Pfeuffer
d43ad44da9 Enhance in-memory store factories for tests 2019-06-19 10:14:29 +02:00
René Pfeuffer
fae3de7b6c Extract update step test util 2019-06-19 09:31:56 +02:00
René Pfeuffer
b274952fa9 Create explicit method to create new repository locations 2019-06-05 14:27:35 +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
6244713970 Move constant to interface 2019-06-03 13:47:05 +02:00
René Pfeuffer
64fcdde749 Create v2 repository entities for old v1 repositories 2019-05-21 13:09:33 +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
Sebastian Sdorra
7c6bfdaaac removes admin role 2019-03-21 10:46:11 +01:00
René Pfeuffer
accd20538e Fix class loader for creation of vcs version string
Use UberClassLoader in
AbstractSimpleRepositoryHandler#getStringFromResource

Therefore pass through plugin loader
2019-02-04 14:35:51 +01:00
Sebastian Sdorra
b231499cd0 merge with branch 1.x 2019-01-29 09:42:03 +01:00
René Pfeuffer
ad65c8cd02 Use PermissionDescriptor instead of String 2019-01-17 13:21:20 +01:00
René Pfeuffer
ffa013de68 Merge with 2.0.0-m3 2018-12-20 10:44:44 +01:00
Sebastian Sdorra
13e3d54100 added constructor with predefined store 2018-12-18 14:55:38 +01:00
Sebastian Sdorra
3daf4f7674 implemented in-memory version of DataStore for testing 2018-12-17 14:58:51 +01:00
René Pfeuffer
dbbe467479 Remove old property for default branch 2018-12-12 17:30:23 +01:00
René Pfeuffer
6806a3bf6f Remove old TODO 2018-12-04 13:23:03 +01:00
René Pfeuffer
8952e755df Split up store parameters into typed and untyped 2018-12-04 09:23:12 +01:00
René Pfeuffer
3021bea65a Multiply floating store factories for type safety 2018-12-04 08:56:39 +01:00
René Pfeuffer
33f3216164 Make type optional 2018-12-03 16:30:19 +01:00
René Pfeuffer
44d99f55f2 Do no longer expose StoreParameters 2018-12-03 12:28:35 +01:00
René Pfeuffer
3638d3520f Use static method for new StoreParameters instance 2018-12-03 11:28:03 +01:00
René Pfeuffer
ab8b3bae42 Merge with 2.0.0-m3 2018-12-03 08:28:47 +01:00
Sebastian Sdorra
84dd6bf60f fix some code smells reported by sonarqube 2018-11-30 08:19:47 +01:00
Mohamed Karray
171f4e2f07 merge 2018-11-29 16:59:04 +01:00
Mohamed Karray
37f4a2b669 merge 2018-11-29 16:01:43 +01:00
Sebastian Sdorra
e9401624a7 re implement XmlRepositoryDAO 2018-11-28 19:49:55 +01:00
Mohamed Karray
fb79cbfd02 merge + refactor getStoreDirectory 2018-11-28 15:14:49 +01:00
René Pfeuffer
d4db39755f Harmonize repository resolution 2018-11-27 15:31:57 +01:00
Mohamed Karray
7a1de0f67b add the interface StoreFactory and refactor storeFactories 2018-11-27 11:35:02 +01:00
René Pfeuffer
095198cf74 Remove dead code 2018-11-26 12:48:41 +01:00