]> source.dussan.org Git - sonarqube.git/commit
SONAR-7641 refactor UserIndex
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 23 May 2016 15:21:30 +0000 (17:21 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 24 May 2016 21:12:58 +0000 (23:12 +0200)
commit3e2cf4f39b085260c82e9c7765306d6b29ec267f
treebccf4771bfa9fb5433de2171e08f2760b5827521
parent858e30100fa600ed10ac5b2cdf9f0ab9e3791bcd
SONAR-7641 refactor UserIndex

- remove unused method getByLogin()
- refactor tests to prepare removal of _id path (required for ES 2.3)
server/sonar-server/src/main/java/org/sonar/server/user/index/UserIndex.java
server/sonar-server/src/test/java/org/sonar/server/computation/issue/ScmAccountToUserLoaderTest.java
server/sonar-server/src/test/java/org/sonar/server/user/index/UserIndexTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/inactive-user.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user1.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user2-with-same-email-as-user1.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user2.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user3-with-same-email-as-user1.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/user/index/UserIndexTest/user4-with-same-email-as-user1.json [deleted file]