diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2023-10-12 16:12:01 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-10-20 20:02:40 +0000 |
commit | b9ee3198bbbbf0c242a208855f6f7d906653baf2 (patch) | |
tree | e2b1de1fe5721a5c58e4767a1053384bfc89bfdc /sonar-ws/src/main/java/org/sonarqube/ws/client | |
parent | 6a8aa6c62e0ccf8918f76885796bd550665286de (diff) | |
download | sonarqube-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')
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; - } - } |