Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OHRM5X-782: Installer Send Registration Data #1258

Merged
merged 6 commits into from
Apr 27, 2022

Conversation

SandeepaOHRM
Copy link
Contributor

@SandeepaOHRM SandeepaOHRM commented Apr 26, 2022

This PR contains:-

  • Installer Data registration
  • Removed lib/logs write permission check
  • Fix related to OHRM5X-1293 : - Not meeting the recommended boundaries for mysql server previously was warning and converted it into a blocker

@@ -35,7 +35,7 @@ class DataRegistrationService
private function getHttpClient(): Client
{
if (!isset($this->apiClient)) {
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was my mistake to commit beta url. I removed it.

@@ -35,7 +35,7 @@ class DataRegistrationService
private function getHttpClient(): Client
{
if (!isset($this->apiClient)) {
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]);
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_URL]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the beta url

@SandeepaOHRM SandeepaOHRM marked this pull request as ready for review April 26, 2022 11:49
];
}

protected function sendRegistrationData()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add doc comment

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is outdated. I have fixed it already

@@ -35,7 +35,7 @@ class DataRegistrationService
private function getHttpClient(): Client
{
if (!isset($this->apiClient)) {
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_BETA_URL]);
$this->apiClient = new Client(['base_uri' => Config::REGISTRATION_URL]);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactor the name into httpClient

@RajithaKumara RajithaKumara merged commit 80c7a3d into orangehrm:5.0 Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants