Skip to content
Commit b3b8a174 authored by Sébastien Lesaint's avatar Sébastien Lesaint
Browse files

SONAR-6366 make Java WS available when DB migration is needed

introduce a new "level" in ServerComponents called safe-mode which is started in place of level3 and 4 when DB needs to be migrated
update ROR code so that Java WS are always started by ROR, even when DB needs an upgrade. In such case, only Java Webservices which supports DB to be in such state are now instanced
in addition, make sure the currentContainer is pointing at all times to a fully initialized container chain (one ending with level4 or safemode), this ensure there is always valid components to support the UI and WS calls
PlatformDatabaseMigration is part of level2 in order to have the same instance share between safe mode container and level3/4 containers therefor avoiding loosing the migration status once the migration is copmplete and the Platform#doStart() is called
refactor Platform code to separate current container switch from start/stop of containers
parent 9505d358
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment