]> source.dussan.org Git - sonarqube.git/commit
SONAR-5575 Fix missing parameter when creating and updating custom rule with empty...
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 9 Oct 2014 12:37:47 +0000 (14:37 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 9 Oct 2014 12:39:18 +0000 (14:39 +0200)
commitb0903c3790a72643840e147501a739604e3083de
tree089f2d23b8fd1338b1b50400190644680448e63e
parent8918e980c528553baf9c5ca015d3dbeeaf8132a7
SONAR-5575 Fix missing parameter when creating and updating custom rule with empty parameter
23 files changed:
server/sonar-server/src/main/java/org/sonar/server/db/migrations/DatabaseMigrations.java
server/sonar-server/src/main/java/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigration.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/rule/RuleCreator.java
server/sonar-server/src/main/java/org/sonar/server/rule/RuleUpdater.java
server/sonar-server/src/test/java/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/rule/RuleCreatorMediumTest.java
server/sonar-server/src/test/java/org/sonar/server/rule/RuleUpdaterMediumTest.java
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/execute-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/execute.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/execute_when_custom_rule_have_no_parameter-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/execute_when_custom_rule_have_no_parameter.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/no_changes.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v45/AddMissingCustomRuleParametersMigrationTest/schema.sql [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/601_add_missing_custom_rule_parameters.rb [new file with mode: 0644]
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/persistence/migration/v45/Migration45Mapper.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/migration/v45/Rule.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/migration/v45/RuleParameter.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/migration/v45/package-info.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/rule/RuleParamDto.java
sonar-core/src/main/resources/org/sonar/core/persistence/migration/v45/Migration45Mapper.xml [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql