Commit Graph

1903 Commits

Author SHA1 Message Date
René Pfeuffer
d307ce6df0 Set version and add logging 2019-05-24 11:55:04 +02:00
René Pfeuffer
0a0fd17448 Verify that migration strategies are set before migration starts 2019-05-23 17:37:58 +02:00
Eduard Heimbuch
4fbaf89e19 migrate users from v1 to v2 & migrate adminFlag to security.xml 2019-05-23 17:18:03 +02:00
Sebastian Sdorra
ecbc7b67e6 Merged in feature/migration (pull request #249)
Feature migration
2019-05-23 15:04:37 +00:00
Sebastian Sdorra
9abafb5354 use PluginLoader instead of DefaultPluginLoader and split large contextInitialized method 2019-05-23 15:45:58 +02:00
René Pfeuffer
035abef465 Assert that the existing repositories.xml file contains v1 data 2019-05-23 15:25:25 +02:00
René Pfeuffer
31e56a6672 Implement inline strategy 2019-05-23 15:06:40 +02:00
René Pfeuffer
3e46aefb4b Implement move strategy 2019-05-22 17:18:04 +02:00
René Pfeuffer
ac851d4e8a Implement copy strategy 2019-05-22 16:05:35 +02:00
René Pfeuffer
97ad3897ed Correct instance mocks 2019-05-22 15:31:35 +02:00
René Pfeuffer
1674bc2e7d Bootstrap migration strategies 2019-05-22 14:28:53 +02:00
René Pfeuffer
f000c944a6 Do not fail when v1 file does not exist 2019-05-21 16:59:17 +02:00
René Pfeuffer
f7e7e508d9 Merge with base migration branch 2019-05-21 13:28:08 +02:00
René Pfeuffer
64fcdde749 Create v2 repository entities for old v1 repositories 2019-05-21 13:09:33 +02:00
René Pfeuffer
be9ce826dc Move further listener modules to bootstrap module 2019-05-21 09:13:49 +02:00
René Pfeuffer
af468898b9 Reject permission requests with missing permissions 2019-05-20 14:30:57 +02:00
René Pfeuffer
ca36a0a5f4 Move event bus module to bootstrap context 2019-05-20 14:26:10 +02:00
René Pfeuffer
dad8ea5fa1 Merge with 2.0.0-m3 2019-05-20 08:51:59 +02:00
René Pfeuffer
89c09dc006 Merge with custom roles branch 2019-05-16 14:31:56 +02:00
Rene Pfeuffer
e34781789d Set role instead of collection of verbs for repository owner 2019-05-16 12:12:46 +02:00
René Pfeuffer
313666b0bb Organize imports 2019-05-16 10:04:36 +02:00
René Pfeuffer
93025629e6 Migrate verbs to roles if possible 2019-05-15 15:57:18 +02:00
René Pfeuffer
e7030538a7 Merge with migration 2019-05-15 15:53:22 +02:00
René Pfeuffer
561b56338a Remove redundant binding 2019-05-15 15:52:45 +02:00
René Pfeuffer
02471c49ff Merge with migration 2019-05-15 15:07:41 +02:00
René Pfeuffer
4f6ec5a86f Bind plugin loader in bootstrap module 2019-05-15 15:05:35 +02:00
René Pfeuffer
a5f1a5deaa Merge custom roles with migration 2019-05-15 15:01:17 +02:00
René Pfeuffer
ed7c2a01e7 Log steps for updates 2019-05-15 13:29:50 +02:00
René Pfeuffer
93dbaeae7c Run update steps only if they have not been run before 2019-05-14 15:52:05 +02:00
René Pfeuffer
bafc8ea668 Execute updates in order 2019-05-14 14:45:12 +02:00
René Pfeuffer
4e2ac426a0 Rename migration -> update 2019-05-14 14:17:11 +02:00
René Pfeuffer
46b1bb8869 Find update steps and execute them with bootstrap context 2019-05-14 14:12:08 +02:00
René Pfeuffer
bcd249a332 Cleanup modules 2019-05-14 11:54:25 +02:00
René Pfeuffer
58dcdaa24d Cleanup code 2019-05-14 11:19:45 +02:00
René Pfeuffer
02ee9425e0 Do not bind repository dao in bootstrap module 2019-05-14 11:17:45 +02:00
Eduard Heimbuch
7fa2898420 throw Exception when modify repo-role type 2019-05-10 13:23:01 +02:00
Eduard Heimbuch
a26f86d545 fix repositoryRole systemrole check 2019-05-10 09:29:38 +02:00
Eduard Heimbuch
163cdf7a6b update RepositoryRole-Model 2019-05-10 09:28:17 +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
d29fa32c8e First steps to create a bootstrap module for data migration 2019-05-09 10:36:27 +02:00
René Pfeuffer
798eb5a846 Replace wrong endpoint for repository roles with endpoint for verbs 2019-05-09 09:45:33 +02:00
René Pfeuffer
61844b917d Use camelCase for url 2019-05-08 12:36:41 +02:00
René Pfeuffer
6f1f74b208 Fix repository role manager 2019-05-08 12:36:22 +02:00
René Pfeuffer
c88654739b System roles should not be modifiable 2019-05-08 10:55:24 +02:00
René Pfeuffer
dd312308fa Add system roles to repository role REST resource 2019-05-08 10:13:01 +02:00
René Pfeuffer
5eb074dde2 Add index link for repository roles 2019-05-08 09:34:57 +02:00
René Pfeuffer
de59f5657f Remove duplicate verbs 2019-05-07 15:20:54 +02:00
René Pfeuffer
c5b20566c1 Fix bugs with integration test 2019-05-07 09:20:19 +02:00
René Pfeuffer
8645890758 Cleanup 2019-05-06 16:45:35 +02:00
René Pfeuffer
45ca558101 Get verbs from repository roles 2019-05-06 16:01:01 +02:00