Sebastian Sdorra
43777f1e27
move bootstrapping of plugins into own class PluginBootstrap
2019-06-21 08:32:58 +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
Sebastian Sdorra
eec4b282e6
remove MBeanCleanUp step to avoid exception on restart
2019-06-20 15:09:12 +02:00
Sebastian Sdorra
d658a1a662
fix re registration of BootstrapContextFilter after restart
2019-06-20 14:58:32 +02:00
Sebastian Sdorra
cbe983b9f1
log name of eventbus, to make restarts more debuggable
2019-06-20 14:57:22 +02:00
Sebastian Sdorra
c02ac21b6a
merge repository heads
2019-06-19 13:07:53 +02:00
Sebastian Sdorra
33702e0e9d
added RestartStrategies to be able to swap the context recreation strategy
2019-06-19 11:53:58 +02:00
Sebastian Sdorra
f747be4331
create instance counter for EventBus, to improve visibility during restarts
2019-06-19 11:53:13 +02:00
Sebastian Sdorra
91fd259f07
use ClassLoaderLeakPreventor to reduce ClassLoaderLeaks of plugins
2019-06-19 11:52:20 +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
Sebastian Sdorra
bc8c89cbf8
fix sonar issue squid:S1989: Exceptions should not be thrown from servlet methods
2019-06-13 12:03:02 +02:00
René Pfeuffer
02616916af
Merge with 2.0.0-m3
2019-06-13 11:24:32 +02:00
René Pfeuffer
67a78fd3b2
Fix typo
2019-06-13 10:38:15 +02:00
René Pfeuffer
ffa4625e36
Merge with 2.0.0-m3
2019-06-13 10:06:38 +02:00
Sebastian Sdorra
3c5b7ab535
display error on startup, if previous version is older than 1.60
2019-06-13 09:58:30 +02:00
René Pfeuffer
a14a2060b6
Fix context
2019-06-13 06:41:46 +02:00
René Pfeuffer
4991c2ad31
Merge with 2.0.0-m3
2019-06-13 06:34:52 +02:00
René Pfeuffer
0dda448ac8
Heed peer review
2019-06-13 06:24:35 +02:00
Sebastian Sdorra
5c7ae749c2
create new error module, which displays errors before migration
2019-06-12 18:26:58 +02:00
Sebastian Sdorra
bc7402053a
remove outdated error module
2019-06-12 18:25:38 +02:00
Sebastian Sdorra
df3e4395b0
remove unused template from v1
2019-06-12 18:23:21 +02:00
Sebastian Sdorra
4c91ef0100
make PluginLoader dependency of MustacheTemplateEngine optional
2019-06-12 17:04:32 +02:00
Sebastian Sdorra
c491092c0c
use for..in loop instead of for..of to increase compatibility
2019-06-12 14:20:20 +02:00
Sebastian Sdorra
249ee68986
use Arrays.stream instead of Arrays.asList(..).stream()
2019-06-12 14:19:38 +02:00
Sebastian Sdorra
614c61a00c
keep select migration strategy in case of an error
2019-06-12 11:36:15 +02:00
Sebastian Sdorra
dd61ec8e0a
added favicon to migration wizard pages
2019-06-12 11:00:14 +02:00
Sebastian Sdorra
c159d209d6
increase compatibility of javascript migration code
...
* replace const with var
* replace forEach with a for of loop
* use === instead of ==
2019-06-12 10:51:57 +02:00
Sebastian Sdorra
24d91a4764
use mustache template inheritance to reduce duplications between templates
2019-06-12 10:39:49 +02:00
Sebastian Sdorra
001dd8eefe
listen to restart events in every stage, not only development
2019-06-12 08:29:28 +02:00
René Pfeuffer
046ccfb2a0
Merge with 2.0.0-m3
2019-06-11 15:02:02 +02:00
René Pfeuffer
a6caa03d86
Create migration module only if necessary
2019-06-11 14:34:44 +02:00
René Pfeuffer
7af5608aeb
Change target version to 2.0.0
2019-06-11 14:04:47 +02:00
René Pfeuffer
72f3334afe
Merge with 2.0.0-m3
2019-06-11 13:55:43 +02:00
René Pfeuffer
a456dd5e42
Check for null values
2019-06-11 13:39:14 +02:00
René Pfeuffer
d9fc1f9aee
Add "change all" button for strategies
2019-06-11 13:27:12 +02:00
René Pfeuffer
802fb3e0cf
Use manually entered namespace and name
2019-06-11 13:10:31 +02:00
René Pfeuffer
fdb8143b76
Validate new namespace and name on migration
2019-06-11 10:27:21 +02:00
Sebastian Sdorra
bfd22aa507
Merged in bugfix/refresh_repo_db_after_upgrade (pull request #264 )
...
Refresh repository dao after repository.xml file was renamed
2019-06-07 12:34:10 +00:00
René Pfeuffer
df9a3c12dd
First step to make name and namespace editable in migration
2019-06-07 14:16:23 +02:00
René Pfeuffer
70de4d7292
Organize imports
2019-06-07 13:59:50 +02:00
René Pfeuffer
e5809a6350
Sort repositories by type and name
2019-06-07 13:59:31 +02:00
René Pfeuffer
8a6b57e06c
Add new migration strategies "delete" and "ignore"
2019-06-07 13:52:54 +02:00
René Pfeuffer
20acd4ca64
Restructure migration page
2019-06-07 13:02:17 +02:00
René Pfeuffer
25bc48e349
Merge with 2.0.0-m3
2019-06-06 15:44:57 +02:00
René Pfeuffer
47413de44a
Try to load SCM-Manager after migration
2019-06-06 14:50:01 +02:00
René Pfeuffer
748043f537
Describe different migration strategies
2019-06-06 12:52:23 +02:00
René Pfeuffer
1065899e99
Add missing test
2019-06-06 12:52:10 +02:00
René Pfeuffer
ec538039f9
Cleanup
2019-06-06 12:47:32 +02:00