Skip to content

Commit d3e191c

Browse files
authored
Merge pull request #29 from CyberfusionNL/1.85.0
Version 1.85.0
2 parents 779bb19 + 25a17b1 commit d3e191c

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
this package and not the cluster API. See the changelog of the [cluster API](https://cluster-api.cyberfusion.nl/redoc#section/Changelog)
77
for detailed information.
88

9+
## [1.85.0]
10+
11+
### Removed
12+
13+
- Removed `databases_data_directory` from clusters.
14+
915
## [1.84.0]
1016

1117
### Added

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Client for the [Cyberfusion Cluster API](https://cluster-api.cyberfusion.nl/).
44

5-
This client was built for and tested on the **1.159.1** version of the API.
5+
This client was built for and tested on the **1.162** version of the API.
66

77
## Support
88

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Client implements ClientContract
2020
{
2121
private const CONNECT_TIMEOUT = 60;
2222
private const TIMEOUT = 180;
23-
private const VERSION = '1.84.0';
23+
private const VERSION = '1.85.0';
2424
private const USER_AGENT = 'cyberfusion-cluster-api-client/' . self::VERSION;
2525

2626
private Configuration $configuration;

src/Models/Cluster.php

-20
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class Cluster extends ClusterModel implements Model
1111
private string $name = '';
1212
private array $groups = [];
1313
private ?string $unixUsersHomeDirectory = null;
14-
private ?string $databasesDataDirectory = null;
1514
private array $phpVersions = [];
1615
private array $customPhpModulesNames = [];
1716
private ?bool $phpIoncubeEnabled = null;
@@ -74,23 +73,6 @@ public function setUnixUsersHomeDirectory(?string $unixUsersHomeDirectory): self
7473
return $this;
7574
}
7675

77-
public function getDatabasesDataDirectory(): ?string
78-
{
79-
return $this->databasesDataDirectory;
80-
}
81-
82-
public function setDatabasesDataDirectory(?string $databasesDataDirectory): self
83-
{
84-
Validator::value($databasesDataDirectory)
85-
->nullable()
86-
->path()
87-
->validate();
88-
89-
$this->databasesDataDirectory = $databasesDataDirectory;
90-
91-
return $this;
92-
}
93-
9476
public function getPhpVersions(): array
9577
{
9678
return $this->phpVersions;
@@ -294,7 +276,6 @@ public function fromArray(array $data): self
294276
->setName(Arr::get($data, 'name', ''))
295277
->setGroups(Arr::get($data, 'groups', []))
296278
->setUnixUsersHomeDirectory(Arr::get($data, 'unix_users_home_directory'))
297-
->setDatabasesDataDirectory(Arr::get($data, 'databases_data_directory'))
298279
->setPhpVersions(Arr::get($data, 'php_versions', []))
299280
->setCustomPhpModulesNames(Arr::get($data, 'custom_php_modules_names', []))
300281
->setPhpIoncubeEnabled(Arr::get($data, 'php_ioncube_enabled'))
@@ -318,7 +299,6 @@ public function toArray(): array
318299
'name' => $this->getName(),
319300
'groups' => $this->getGroups(),
320301
'unix_users_home_directory' => $this->getUnixUsersHomeDirectory(),
321-
'databases_data_directory' => $this->getDatabasesDataDirectory(),
322302
'php_versions' => $this->getPhpVersions(),
323303
'custom_php_modules_names' => $this->getCustomPhpModulesNames(),
324304
'php_ioncube_enabled' => $this->isPhpIoncubeEnabled(),

0 commit comments

Comments
 (0)