Skip to content

Commit faaabbe

Browse files
committed
wip
1 parent 492c7ed commit faaabbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

GaelO2/app/GaelO/Services/GaelOWsiProcessingService/GaelOWsiProcessingService.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ public function setParams(): void
2424
set_time_limit(3600);
2525
//Set address of Processing Server
2626
$url = $this->frameworkInterface->getConfig(SettingsConstants::GAELO_WSI_PROCESSING_URL);
27-
// $login = $this->frameworkInterface->getConfig(SettingsConstants::GAELO_WSI_PROCESSING_LOGIN);
28-
// $password = $this->frameworkInterface->getConfig(SettingsConstants::GAELO_WSI_PROCESSING_PASSWORD);
27+
$login = $this->frameworkInterface->getConfig(SettingsConstants::GAELO_WSI_PROCESSING_LOGIN);
28+
$password = $this->frameworkInterface->getConfig(SettingsConstants::GAELO_WSI_PROCESSING_PASSWORD);
2929
$this->httpClientInterface->setUrl($url);
30-
// $this->httpClientInterface->setBasicAuthentication($login, $password);
30+
$this->httpClientInterface->setBasicAuthentication($login, $password);
3131
}
3232

3333
public function getWelcomeGaeloWsiProcessing()
3434
{
35-
$request = $this->get("/");
35+
$request = $this->httpClientInterface->rawRequest("GET", "/", null, null);
3636
return $request->getBody();
3737
}
3838
}

0 commit comments

Comments
 (0)