]> source.dussan.org Git - sonarqube.git/commit
SONAR-926 improve perf of the db migration 497
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Mar 2014 16:30:40 +0000 (17:30 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Mar 2014 16:30:41 +0000 (17:30 +0100)
commitfac55bf34a7a4bc24b4a5864a3ff6ff44a8431de
tree9fc6695df693aba7508356e7cbb1500f44a2440d
parent3e934474787351585471e30b512c61f0ccc3e223
SONAR-926 improve perf of the db migration 497
108 files changed:
sonar-server/src/main/java/org/sonar/server/db/migrations/DatabaseMigrations.java
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/DevelopmentCostMeasuresMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/IssueChangelogMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/IssueMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/WorkDurationConvertor.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/debt43/package-info.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/packageKeys42/PackageKeysMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/packageKeys42/package-info.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/Progress.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/Referentials.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/ViolationConverter.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/ViolationConverters.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/ViolationMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v36/package-info.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v42/PackageKeysMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v42/package-info.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/IssueChangelogMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/IssueMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigration.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/WorkDurationConvertor.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/package-info.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/Progress.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/Referentials.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/ViolationConverter.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/ViolationConverters.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/ViolationMigration.java [deleted file]
sonar-server/src/main/java/org/sonar/server/db/migrations/violation36/package-info.java [deleted file]
sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/401_migrate_violations_to_issues.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/490_migrate_package_keys.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/497_update_issue_message_by_rule_name_when_no_message.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/513_update_issue_debt_to_minutes.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/514_update_issue_changelog_debt_to_minutes.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/515_update_measures_debt_to_minutes.rb
sonar-server/src/main/webapp/WEB-INF/db/migrate/516_update_development_cost_to_minutes.rb
sonar-server/src/test/java/org/sonar/server/db/migrations/debt43/DebtMigrationExecutorTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/debt43/DevelopmentCostMeasuresMigrationTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/debt43/IssueChangelogMigrationTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/debt43/IssueMigrationTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/packageKeys42/PackageKeysMigrationTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/v36/ProgressTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v36/ViolationConvertersTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v36/ViolationMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v42/PackageKeysMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v43/DebtMigrationExecutorTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v43/IssueChangelogMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v43/IssueMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/db/migrations/violation36/ProgressTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/violation36/ViolationConvertersTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/db/migrations/violation36/ViolationMigrationTest.java [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/DevelopmentCostMeasuresMigrationTest/migrate_dev_cost_measures.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/DevelopmentCostMeasuresMigrationTest/migrate_dev_cost_measures_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/DevelopmentCostMeasuresMigrationTest/schema.sql [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueChangelogMigrationTest/migrate_issue_changelog_debt.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueChangelogMigrationTest/migrate_issue_changelog_debt_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueChangelogMigrationTest/schema.sql [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueMigrationTest/migrate_issues_debt.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueMigrationTest/migrate_issues_debt_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/IssueMigrationTest/schema.sql [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_new_technical_debt_measures.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_new_technical_debt_measures_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_sqale_measures.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_sqale_measures_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_technical_debt_measures.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/migrate_technical_debt_measures_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/debt43/TechnicalDebtMeasuresMigrationTest/schema.sql [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/packageKeys42/PackageKeysMigrationTest/convert_package_keys-result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/packageKeys42/PackageKeysMigrationTest/convert_package_keys.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/packageKeys42/PackageKeysMigrationTest/schema.sql [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v36/ViolationMigrationTest/migrate_violations.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v36/ViolationMigrationTest/migrate_violations_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v36/ViolationMigrationTest/no_violations_to_migrate.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v36/ViolationMigrationTest/no_violations_to_migrate_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v36/ViolationMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigrationTest/after.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigrationTest/before.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/PackageKeysMigrationTest/after.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/PackageKeysMigrationTest/before.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v42/PackageKeysMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigrationTest/migrate_dev_cost_measures.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigrationTest/migrate_dev_cost_measures_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueChangelogMigrationTest/migrate_issue_changelog_debt.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueChangelogMigrationTest/migrate_issue_changelog_debt_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueChangelogMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueMigrationTest/migrate_issues_debt.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueMigrationTest/migrate_issues_debt_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/IssueMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_new_technical_debt_measures.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_new_technical_debt_measures_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_sqale_measures.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_sqale_measures_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_technical_debt_measures.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/migrate_technical_debt_measures_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigrationTest/schema.sql [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/db/migrations/violation36/ViolationMigrationTest/migrate_violations.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/violation36/ViolationMigrationTest/migrate_violations_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/violation36/ViolationMigrationTest/no_violations_to_migrate.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/violation36/ViolationMigrationTest/no_violations_to_migrate_result.xml [deleted file]
sonar-server/src/test/resources/org/sonar/server/db/migrations/violation36/ViolationMigrationTest/schema.sql [deleted file]