]> source.dussan.org Git - sonarqube.git/commit
SONAR-5056 Restore requirements columns and move migration of requirements data to...
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 12 Mar 2014 16:52:33 +0000 (17:52 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 12 Mar 2014 16:52:33 +0000 (17:52 +0100)
commit758fa16f59b26b5f6d0f4246bdac5b6d22737d76
tree4fc12c209c6c141cae2833fbfe83b30fb336d7d9
parent58cd42e65eb6c0d510f868b0d7fa8761de4651dc
SONAR-5056 Restore requirements columns and move migration of requirements data to rule form rails to a server task
32 files changed:
sonar-core/src/main/java/org/sonar/core/persistence/DaoUtils.java
sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java
sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
sonar-core/src/main/java/org/sonar/core/rule/RuleDao.java
sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java
sonar-core/src/main/java/org/sonar/core/technicaldebt/db/RequirementDao.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/technicaldebt/db/RequirementDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/technicaldebt/db/RequirementMapper.java [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql
sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl
sonar-core/src/main/resources/org/sonar/core/technicaldebt/db/RequirementMapper.xml [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/technicaldebt/db/CharacteristicDaoTest.java
sonar-core/src/test/java/org/sonar/core/technicaldebt/db/RequirementDaoTest.java [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/db/RequirementDaoTest/shared.xml [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/db/migrations/MassUpdater.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v42/CompleteIssueMessageMigration.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v42/PackageKeysMigration.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/DevelopmentCostMeasuresMigration.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/IssueChangelogMigration.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/IssueMigration.java
sonar-server/src/main/java/org/sonar/server/db/migrations/v43/TechnicalDebtMeasuresMigration.java
sonar-server/src/main/java/org/sonar/server/platform/Platform.java
sonar-server/src/main/java/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRules.java [new file with mode: 0644]
sonar-server/src/main/webapp/WEB-INF/db/migrate/521_copy_debt_to_rules.rb [deleted file]
sonar-server/src/main/webapp/WEB-INF/db/migrate/522_delete_requirements.rb [deleted file]
sonar-server/src/test/java/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest.java [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/copy_requirements_from_characteristics_to_rules.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/copy_requirements_from_characteristics_to_rules_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/remove_requirements_data_from_characteristics.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/remove_requirements_data_from_characteristics_result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/requirements.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/CopyRequirementsFromCharacteristicsToRulesTest/schema.sql [new file with mode: 0644]