mirror of https://git.48k.eu/ogserver
#915 Add test for POST "image/create/incremental" command
This test covers correction of the command.master
parent
43c7da8a72
commit
45f414e32c
|
@ -0,0 +1 @@
|
|||
{"clients":["192.168.56.11"], "disk":"1", "partition":"1", "id":"3", "name":"basica1", "repository":"192.168.56.10", "sync_params":{"sync":"1", "path":"", "diff":"0", "diff_id":"4", "diff_name":"p2", "remove":"1", "compress":"0", "cleanup":"0", "cache":"0", "cleanup_cache":"0", "remove_dst":"0"}}
|
|
@ -16,4 +16,5 @@ curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create -d
|
|||
curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/restore -d @restore_image.json
|
||||
curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/setup -d @setup_image.json
|
||||
curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create/basic -d @create_basic_image.json
|
||||
curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/create/incremental -d @create_incremental_image.json
|
||||
curl -X POST -H "Authorization: $API_KEY" http://127.0.0.1:8888/image/restore/basic -d @restore_basic_image.json
|
||||
|
|
Loading…
Reference in New Issue