finalize PrivateCloud, Cloud- and ManagedServer and ManagedWebspace Billingtems and HostingAssets #63

Merged
hsh-michaelhoennig merged 9 commits from cloud-server-and-webspace-billing-items-and-hosting-assets into master 2024-06-20 11:03:59 +02:00
No description provided.
hsh-michaelhoennig added 7 commits 2024-06-20 10:00:46 +02:00
hsh-michaelhoennig scheduled this pull request to auto merge when all checks succeed 2024-06-20 10:01:02 +02:00
hsh-marcsandlus reviewed 2024-06-20 10:16:44 +02:00
@ -17,0 +15,4 @@
integerProperty("CPUs") .min( 1) .max( 32) .required(),
integerProperty("RAM").unit("GB") .min( 1) .max( 128) .required(),
integerProperty("SSD").unit("GB") .min( 25) .max( 1000) .step(25).required(),

min(0) für Bestands-Cloud-Server

min(0) für Bestands-Cloud-Server
hsh-michaelhoennig marked this conversation as resolved
hsh-marcsandlus reviewed 2024-06-20 10:22:40 +02:00
@ -33,0 +35,4 @@
public void deferredInit(final ValidatableProperty<?>[] allProperties) {
if (deferredInit != null) {
if (this.values != null) {
throw new IllegalStateException("property " + toString() + " already values");

... has a value

... has a value
hsh-michaelhoennig marked this conversation as resolved
hsh-marcsandlus reviewed 2024-06-20 10:24:14 +02:00
@ -33,0 +44,4 @@
public ValidatableProperty<String> valuesFromProperties(final String propertyNamePrefix) {
this.deferredInit = (ValidatableProperty<?>[] allProperties) -> stream(allProperties)
.map(ValidatableProperty::propertyName)
.filter(name -> name.startsWith(propertyNamePrefix))

noch nötig?

noch nötig?
Author
Member

wird noch benötigt, um die installierten PHP-Versionen für die Auswahlliste beim Default herauszusuchen:
enumerationProperty("php-default").valuesFromProperties("software-php-").withDefault("8.2"),

wird noch benötigt, um die installierten PHP-Versionen für die Auswahlliste beim Default herauszusuchen: enumerationProperty("php-default").**valuesFromProperties**("software-php-").withDefault("8.2"),
hsh-michaelhoennig marked this conversation as resolved
hsh-marcsandlus approved these changes 2024-06-20 10:36:26 +02:00
hsh-michaelhoennig added 1 commit 2024-06-20 11:03:08 +02:00
hsh-michaelhoennig force-pushed cloud-server-and-webspace-billing-items-and-hosting-assets from 91b59cfd25 to 024227e73f 2024-06-20 11:03:43 +02:00 Compare
hsh-michaelhoennig merged commit d157730de7 into master 2024-06-20 11:03:59 +02:00
hsh-michaelhoennig deleted branch cloud-server-and-webspace-billing-items-and-hosting-assets 2024-06-20 11:03:59 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hostsharing/hs.hsadmin.ng#63
No description provided.