PatchHostingAsset

2

tests

0

failures

0

ignored

3.379s

duration

100%

successful

Tests

Test Duration Result
assetAdmin_canPatchAllUpdatablePropertiesOfAsset() 1.906s passed
globalAdmin_canPatchAllUpdatablePropertiesOfAsset() 1.473s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 28e2bf2e-f9a7-4944-b5f5-d669594a6a98
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 63b0959e-dda9-4693-a702-e3be9cb1b8ce
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 15:04:16 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "63b0959e-dda9-4693-a702-e3be9cb1b8ce",
    "type": "MANAGED_SERVER",
    "identifier": "vm2001",
    "caption": "some test-asset",
    "alarmContact": {
        "uuid": "03f1d6eb-1b47-4494-a517-9b06611aef46",
        "caption": "second contact",
        "postalAddress": {
            "country": "Germany"
        },
        "emailAddresses": {
            "main": "contact-admin@secondcontact.example.com"
        },
        "phoneNumbers": {
            "phone_office": "+49 123 1234567"
        }
    },
    "config": {
        "monit_min_free_ssd": 5,
        "monit_max_cpu_usage": 90,
        "monit_max_ram_usage": 70,
        "monit_max_ssd_usage": 85
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#63b0959e-dda9-4693-a702-e3be9cb1b8ce deleted 1 rows
DELETING temporary HsBookingItemRealEntity#28e2bf2e-f9a7-4944-b5f5-d669594a6a98 deleted 1 rows
globalAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
assetAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, b383ceff-796b-479a-b2c2-30b554bc10a6
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 15:04:17 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "b383ceff-796b-479a-b2c2-30b554bc10a6",
    "type": "UNIX_USER",
    "identifier": "fir01-temp",
    "caption": "some patched test-unix-user",
    "alarmContact": null,
    "config": {
        "shell": "/bin/bash",
        "homedir": "/home/pacs/fir01/users/temp"
    }
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#b383ceff-796b-479a-b2c2-30b554bc10a6 deleted 1 rows
assetAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (after): 210 -> 210