PatchHostingAsset

2

tests

0

failures

0

ignored

3.761s

duration

100%

successful

Tests

Test Duration Result
assetAdmin_canPatchAllUpdatablePropertiesOfAsset() 2.341s passed
globalAdmin_canPatchAllUpdatablePropertiesOfAsset() 1.420s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 2d0693c7-b420-4c6f-8a42-f892a2208941
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, aa091e43-b33d-407e-90bf-f4f2049531fd
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 13:33:41 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "aa091e43-b33d-407e-90bf-f4f2049531fd",
    "type": "MANAGED_SERVER",
    "identifier": "vm2001",
    "caption": "some test-asset",
    "alarmContact": {
        "uuid": "59f09cdc-cb9f-44e7-804e-56531d7cc5df",
        "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#aa091e43-b33d-407e-90bf-f4f2049531fd deleted 1 rows
DELETING temporary HsBookingItemRealEntity#2d0693c7-b420-4c6f-8a42-f892a2208941 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, 011c9a86-ed7b-47f2-80fb-e3d788f557df
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 13:33:42 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "011c9a86-ed7b-47f2-80fb-e3d788f557df",
    "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#011c9a86-ed7b-47f2-80fb-e3d788f557df deleted 1 rows
assetAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (after): 210 -> 210