hpcc-systems/HPCC-Platform — pull request #905 by afishbeck (2011-11-04 18:07:59+00:00)
Title: Refactor WsWorkunits Query and Alias actions

Fixes gh-793 This contains dependent commits from both

@jprichard -- EclWatch ui update to match changes below

and

@afishbeck

Refactor WsWorkunits Query and Alias actions
Adds new ecl command line commands "activate" and "deactivate".

ecl activate --queryset=<queryset> <queryid>
Options:
<queryid> queryid of query to activate
--queryset=<queryset> name of queryset containing query to activate
--server=<ip> ip of server running ecl services (eclwatch)
--port=<port> ecl services port
--username=<name> username for accessing ecl services
--password=<pw> password for accessing ecl services

ecl deactivate --queryset=<queryset> <alias>
Options:
<alias> alias to deactivate (delete)
queryset=<queryset> queryset containing alias to deactivate
--server=<ip> ip of server running ecl services (eclwatch)
--port=<port> ecl services port
--username=<name> username for accessing ecl services
--password=<pw> password for accessing ecl services

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>