]> source.dussan.org Git - sonarqube.git/commit
* SONAR-2048: Add an option to define parent in quality profile settings
authorGodin <mandrikov@gmail.com>
Fri, 17 Dec 2010 00:05:04 +0000 (00:05 +0000)
committerGodin <mandrikov@gmail.com>
Fri, 17 Dec 2010 00:05:04 +0000 (00:05 +0000)
commitd79f46b3733b44ca62a1f92c576d68ddb28ec368
tree4c901a6ea4545069cad85549913dbf273b5f870b
parentdcbf1fc1630fa311fdbbe883e4e286d2fa74bd76
* SONAR-2048: Add an option to define parent in quality profile settings
* SONAR-1722: Provide a simple inheritance mechanism on Quality Profiles
** current implementation is some kind of synchronization between profiles
** only one level of inheritance supported, this constraint exists on UI side and not handled on Java side
** inherited rule can't be modified
22 files changed:
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/ui/JRubyFacade.java
sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/profile.rb
sonar-server/src/main/webapp/WEB-INF/app/models/rules_profile.rb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb
sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/index.html.erb
sonar-server/src/test/java/org/sonar/server/configuration/InheritedProfilesTest.java [new file with mode: 0644]
sonar-server/src/test/java/org/sonar/server/configuration/ProfilesManagerTest.java
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldActivateInChildren-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldActivateInChildren.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldChangeParent-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldChangeParent.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldDeactivateInChildren-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldDeactivateInChildren.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldRemoveParent-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldRemoveParent.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldSetParent-result.xml [new file with mode: 0644]
sonar-server/src/test/resources/org/sonar/server/configuration/InheritedProfilesTest/shouldSetParent.xml [new file with mode: 0644]