PatchHostingAsset

2

tests

0

failures

0

ignored

3.909s

duration

100%

successful

Tests

Test Duration Result
assetAdmin_canPatchAllUpdatablePropertiesOfAsset() 2.374s passed
globalAdmin_canPatchAllUpdatablePropertiesOfAsset() 1.535s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, d4fddb19-c1c1-4507-b1fe-7071c5e8838d
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 312e1684-f79e-40f5-8f45-c2f35f8d03fa
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 16:30:08 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "312e1684-f79e-40f5-8f45-c2f35f8d03fa",
    "type": "MANAGED_SERVER",
    "identifier": "vm2001",
    "caption": "some test-asset",
    "alarmContact": {
        "uuid": "6d2668dc-7bd8-4b92-a431-85b339828c77",
        "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#312e1684-f79e-40f5-8f45-c2f35f8d03fa deleted 1 rows
DELETING temporary HsBookingItemRealEntity#d4fddb19-c1c1-4507-b1fe-7071c5e8838d 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, 7cd90469-d533-409a-b3f2-ba7ac6580ed5
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 16:30:10 GMT
Keep-Alive: timeout=60
Connection: keep-alive

{
    "uuid": "7cd90469-d533-409a-b3f2-ba7ac6580ed5",
    "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#7cd90469-d533-409a-b3f2-ba7ac6580ed5 deleted 1 rows
assetAdmin_canPatchAllUpdatablePropertiesOfAsset(): TOTAL OBJECT COUNT (after): 210 -> 210