]> source.dussan.org Git - sonarqube.git/commit
SONAR-6226 Add ext identity columns in USERS table
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 19 Jan 2016 10:48:05 +0000 (11:48 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 25 Jan 2016 14:26:49 +0000 (15:26 +0100)
commit3a9d42f4075e23448349b2f96c332fe6eae7a55b
treeb2ea3a910e21c1ee20279645791ee19b300e8e30
parentd4b1a4c79d8a707e8b311bcc9cc73c466dcf0919
SONAR-6226 Add ext identity columns in USERS table
38 files changed:
server/sonar-server/src/main/java/org/sonar/server/user/NewUser.java
server/sonar-server/src/main/java/org/sonar/server/user/UserUpdater.java
server/sonar-server/src/test/java/org/sonar/server/user/NewUserTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/user/UserUpdaterTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/CreateActionTest.java
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/associate_default_groups_when_reactivating_user.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/associate_default_groups_when_updating_user.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/fail_to_create_user_when_scm_account_is_already_used.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/fail_to_create_user_when_scm_account_is_already_used_by_many_user.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/fail_to_reactivate_user_if_not_disabled.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/fail_to_update_user_when_scm_account_is_already_used.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/not_associate_default_group_when_updating_user_if_already_existing.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/reactivate_user.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/update_technical_user.xml
server/sonar-server/src/test/resources/org/sonar/server/user/UserUpdaterTest/update_user.xml
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1011_add_users_identity_columns.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1012_migrate_users_identity.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1013_add_unique_index_on_users_identity_columns.rb [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/user/UserDao.java
sonar-db/src/main/java/org/sonar/db/user/UserDto.java
sonar-db/src/main/java/org/sonar/db/user/UserMapper.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/v54/AddUsersIdentityColumns.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/version/v54/MigrateUsersIdentity.java [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/user/UserMapper.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/user/UserDaoTest.java
sonar-db/src/test/java/org/sonar/db/user/UserTesting.java
sonar-db/src/test/java/org/sonar/db/version/MigrationStepModuleTest.java
sonar-db/src/test/java/org/sonar/db/version/v54/AddUsersIdentityColumnsTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/version/v54/MigrateUsersIdentityTest.java [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/user/UserDaoTest/select_users_by_ext_identity.xml [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/version/v54/AddUsersIdentityColumnsTest/schema.sql [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/version/v54/MigrateUsersIdentityTest/migrate-result.xml [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/version/v54/MigrateUsersIdentityTest/migrate.xml [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/version/v54/MigrateUsersIdentityTest/schema.sql [new file with mode: 0644]