summaryrefslogtreecommitdiffstats
path: root/tests/run_schedule.json
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-10-25 11:44:55 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-10-25 14:12:09 +0200
commit2f7e9da5ab8b47ec66820b58a556b3fd8c0a8856 (patch)
tree639568d4f82e120873003089339d5fd7add1e75f /tests/run_schedule.json
parent61bbcd9251093a6359634f24b49427c72d633786 (diff)
#915 Add POST "run/schedule" command to REST API in ogAdmServer
This patch implements the command "run/schedule" that kicks in pending commands execution. Request: POST /run/schedule { "clients": ["192.168.56.11"] } Reply: 200 OK This patch also adds a simple test to cover correction of the command.
Diffstat (limited to 'tests/run_schedule.json')
-rw-r--r--tests/run_schedule.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run_schedule.json b/tests/run_schedule.json
new file mode 100644
index 0000000..60a1034
--- /dev/null
+++ b/tests/run_schedule.json
@@ -0,0 +1 @@
+{"clients":["192.168.56.11"]}