]> source.dussan.org Git - sonarqube.git/commit
SONAR-19850 Add POST endpoint to set main branch
authorBenjamin Campomenosi <benjamin.campomenosi@sonarsource.com>
Thu, 6 Jul 2023 14:06:48 +0000 (16:06 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 19 Jul 2023 20:03:06 +0000 (20:03 +0000)
commit7867b6b333315e353456558add64e7d9a4392183
treef0b5a03e76eae23996593a217ef95c2e389a698c
parent2c34b53123edd9edb1a660fb3dbee010e73f27d3
SONAR-19850 Add POST endpoint to set main branch
13 files changed:
server/sonar-db-dao/src/it/java/org/sonar/db/component/BranchDaoIT.java
server/sonar-db-dao/src/main/java/org/sonar/db/component/BranchDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/component/BranchMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/component/BranchMapper.xml
server/sonar-webserver-api/src/main/java/org/sonar/server/project/ProjectLifeCycleListener.java
server/sonar-webserver-api/src/main/java/org/sonar/server/project/ProjectLifeCycleListeners.java
server/sonar-webserver-api/src/main/java/org/sonar/server/project/ProjectLifeCycleListenersImpl.java
server/sonar-webserver-api/src/test/java/org/sonar/server/project/ProjectLifeCycleListenersImplTest.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/branch/ws/SetMainBranchActionIT.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchWsModule.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/ProjectBranchesParameters.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/SetMainBranchAction.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/branch/ws/BranchWsModuleTest.java