]> source.dussan.org Git - sonarqube.git/commit
SONAR-7789 Add and populate DB column RULES_PROFILES.LAST_USED 1060/head
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 22 Jun 2016 09:38:41 +0000 (11:38 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 24 Jun 2016 09:00:24 +0000 (11:00 +0200)
commit655df791c25001f56578ef00643fd0b5ae935357
tree51f946fc708a7a9f7ffe5bb28a915c8ff6b6e438
parent57ad62d14359412694fd43b74a363085a79fd68a
SONAR-7789 Add and populate DB column RULES_PROFILES.LAST_USED
27 files changed:
server/sonar-server/src/main/java/org/sonar/server/computation/step/ReportComputationSteps.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/UpdateQualityProfilesLastUsedDateStep.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/step/UpdateQualityProfilesLastUsedDateStepTest.java [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1246_add_last_used_column_to_rules_profiles.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1247_populate_last_used_of_rules_profiles.rb [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/qualityprofile/QualityProfileDao.java
sonar-db/src/main/java/org/sonar/db/qualityprofile/QualityProfileDto.java
sonar-db/src/main/java/org/sonar/db/qualityprofile/QualityProfileMapper.java
sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
sonar-db/src/main/java/org/sonar/db/version/MigrationStepModule.java
sonar-db/src/main/java/org/sonar/db/version/v60/AddLastUsedColumnToRulesProfiles.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/version/v60/PopulateLastUsedColumnOfRulesProfiles.java [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/qualityprofile/QualityProfileMapper.xml
sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl
sonar-db/src/test/java/org/sonar/db/qualityprofile/QualityProfileDaoTest.java
sonar-db/src/test/java/org/sonar/db/qualityprofile/QualityProfileDbTester.java
sonar-db/src/test/java/org/sonar/db/qualityprofile/QualityProfileTesting.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/version/MigrationStepModuleTest.java
sonar-db/src/test/java/org/sonar/db/version/v60/AddLastUsedColumnToRulesProfilesTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/version/v60/PopulateLastUsedColumnOfRulesProfilesTest.java [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/qualityprofile/QualityProfileDaoTest/delete-result.xml
sonar-db/src/test/resources/org/sonar/db/qualityprofile/QualityProfileDaoTest/insert-result.xml
sonar-db/src/test/resources/org/sonar/db/qualityprofile/QualityProfileDaoTest/shared.xml
sonar-db/src/test/resources/org/sonar/db/qualityprofile/QualityProfileDaoTest/update-result.xml
sonar-db/src/test/resources/org/sonar/db/version/v60/AddLastUsedColumnToRulesProfilesTest/rules_profiles.sql [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/version/v60/PopulateLastUsedColumnOfRulesProfilesTest/rules_profiles.sql [new file with mode: 0644]