tweak output formatting
This commit is contained in:
52
tests.json
52
tests.json
@@ -99,7 +99,7 @@
|
||||
},
|
||||
"test10": {
|
||||
"path": "/api/admin/unlock",
|
||||
"disabled": true,
|
||||
"disabled": false,
|
||||
"method": "POST",
|
||||
"description": "provide unlock key",
|
||||
"body": {
|
||||
@@ -115,7 +115,7 @@
|
||||
},
|
||||
"test11": {
|
||||
"path": "/api/admin/unlock",
|
||||
"disabled": true,
|
||||
"disabled": false,
|
||||
"method": "POST",
|
||||
"description": "repeat provide unlock key",
|
||||
"body": {
|
||||
@@ -129,6 +129,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"test12": {
|
||||
"path": "/api/secret/store",
|
||||
"disabled": true,
|
||||
"method": "POST",
|
||||
"description": "store first new secret",
|
||||
"body": {
|
||||
"safeId": 1,
|
||||
"deviceName": "avcp01.cdc.home",
|
||||
"deviceCategory": "appliance",
|
||||
"userName": "service@cdc.home",
|
||||
"secretValue": "TheWiggles"
|
||||
},
|
||||
"expect": {
|
||||
"header": {
|
||||
"contains": {
|
||||
"http_status": "200"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"test20": {
|
||||
"path": "/api/secret/list",
|
||||
"disabled": false,
|
||||
@@ -179,8 +199,30 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
"test23": {
|
||||
"path": "/api/secret/retrieve",
|
||||
"method": "POST",
|
||||
"description": "get updated secret",
|
||||
"body": {
|
||||
"deviceName": "adcp01.cdc.home",
|
||||
"deviceCategory": "windows-server",
|
||||
"userName": "dummy@cdc.home"
|
||||
},
|
||||
"expect": {
|
||||
"header": {
|
||||
"contains": {
|
||||
"http_status": "200"
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"contains": {
|
||||
"deviceName": "adcp01.cdc.home"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"test24": {
|
||||
"path": "/api/secret/delete",
|
||||
"method": "POST",
|
||||
"description": "delete existing secret",
|
||||
@@ -197,7 +239,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"test24": {
|
||||
"test25": {
|
||||
"path": "/api/secret/store",
|
||||
"method": "POST",
|
||||
"description": "store new secret",
|
||||
@@ -216,7 +258,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"test25": {
|
||||
"test26": {
|
||||
"path": "/api/secret/retrieve",
|
||||
"method": "POST",
|
||||
"description": "test retrieving the new secret",
|
||||
|
Reference in New Issue
Block a user