]> source.dussan.org Git - sonarqube.git/commit
[SONAR-18502] move validation of drop index param
authorSteve Marion <unknown>
Wed, 22 Feb 2023 11:03:09 +0000 (12:03 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 23 Feb 2023 20:03:01 +0000 (20:03 +0000)
commit463666b506ab69a004037a57cbef7dc66ce768f3
tree78e47a3b6eac30f318da334f683fafcbfaacf8bc
parent108b7a267c3a61ffe20c118cc11dc12e852ccedf
[SONAR-18502] move validation of drop index param

This is done to allow to run query based on an actual index name than may not be valid instead of expected one.
Refactor drop index structure to make it simpler and safer.
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DropIndexBuilder.java [deleted file]
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/DropIndexChange.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/step/DropIndexBuilderTest.java [deleted file]
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/step/DropIndexChangeTest.java [new file with mode: 0644]