aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java/org/sonarqube/ws/client
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2023-10-12 16:12:01 +0200
committersonartech <sonartech@sonarsource.com>2023-10-20 20:02:40 +0000
commitb9ee3198bbbbf0c242a208855f6f7d906653baf2 (patch)
treee2b1de1fe5721a5c58e4767a1053384bfc89bfdc /sonar-ws/src/main/java/org/sonarqube/ws/client
parent6a8aa6c62e0ccf8918f76885796bd550665286de (diff)
downloadsonarqube-b9ee3198bbbbf0c242a208855f6f7d906653baf2.tar.gz
sonarqube-b9ee3198bbbbf0c242a208855f6f7d906653baf2.zip
SONAR-20640 removed 'organization' parameter from api/alm_integrations/import_github_project
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportGithubProjectRequest.java14
2 files changed, 0 insertions, 15 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java
index 43120ad451b..eb7cdea3c7e 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java
@@ -110,7 +110,6 @@ public class AlmIntegrationsService extends BaseService {
return call(
new PostRequest(path("import_github_project"))
.setParam("almSetting", request.getAlmSetting())
- .setParam("organization", request.getOrganization())
.setParam("repositoryKey", request.getRepositoryKey())
.setMediaType(MediaTypes.JSON),
Projects.CreateWsResponse.parser());
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportGithubProjectRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportGithubProjectRequest.java
index d6cfa80912b..6bf574f2dcf 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportGithubProjectRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ImportGithubProjectRequest.java
@@ -30,8 +30,6 @@ public class ImportGithubProjectRequest {
private String almSetting;
private String repositoryKey;
- private String organization;
-
/**
* This is a mandatory parameter.
*/
@@ -57,16 +55,4 @@ public class ImportGithubProjectRequest {
return this;
}
- public String getOrganization() {
- return organization;
- }
-
- /**
- * This is a mandatory parameter.
- */
- public ImportGithubProjectRequest setOrganization(String organization) {
- this.organization = organization;
- return this;
- }
-
}