]> source.dussan.org Git - sonarqube.git/commit
SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 3 Feb 2011 16:37:34 +0000 (17:37 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 3 Feb 2011 16:37:34 +0000 (17:37 +0100)
commit31af09b42f8aafb2a56522e8670b574603cd9eee
tree8ad623c3a6a658b4cb45a755367ad24adf995747
parent68e772f2ce0b97b4c2cdb7f5d16c4bb6202b02d6
SONAR-2094 Do not delete ACTIVE_RULES rows when rules are disabled
25 files changed:
sonar-batch/src/main/java/org/sonar/batch/ProjectBatch.java
sonar-core/src/main/java/org/sonar/jpa/dao/RulesDao.java
sonar-core/src/test/java/org/sonar/jpa/dao/RulesDaoTest.java
sonar-core/src/test/resources/org/sonar/jpa/dao/RulesDaoTest/shouldAddActiveRulesToProfile-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/jpa/dao/RulesDaoTest/shouldAddActiveRulesToProfile.xml [deleted file]
sonar-core/src/test/resources/org/sonar/jpa/dao/RulesDaoTest/shouldSynchronizeRuleOfActiveRule.xml [deleted file]
sonar-deprecated/src/main/java/org/sonar/api/database/daos/RulesDao.java [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/profiles/RulesProfile.java
sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRule.java
sonar-server/src/main/java/org/sonar/server/configuration/ProfilesManager.java
sonar-server/src/main/java/org/sonar/server/platform/Platform.java
sonar-server/src/main/java/org/sonar/server/startup/ActivateDefaultProfiles.java
sonar-server/src/main/java/org/sonar/server/startup/EnableProfiles.java [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/startup/RegisterRules.java
sonar-server/src/main/webapp/WEB-INF/app/helpers/profiles_helper.rb
sonar-server/src/main/webapp/WEB-INF/app/models/active_rule_parameter.rb
sonar-server/src/main/webapp/WEB-INF/app/models/profile.rb
sonar-server/src/main/webapp/WEB-INF/app/views/profiles/index.html.erb
sonar-server/src/test/java/org/sonar/server/configuration/ProfilesBackupTest.java
sonar-server/src/test/java/org/sonar/server/startup/EnableProfilesTest.java [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/EnableProfilesTest/shouldDisableProfilesWithMissingLanguages-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/EnableProfilesTest/shouldDisableProfilesWithMissingLanguages.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/EnableProfilesTest/shouldEnableProfilesWithKnownLanguages-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/startup/EnableProfilesTest/shouldEnableProfilesWithKnownLanguages.xml [new file with mode: 0644]
tests/integration/tests/maven-projects/java-complexity/src/main/java/foo/AnonymousClass.java