gh-1832 Fix Deleting a workunit should remove from queues

This addresses an external users issue.  This shouldn't happen unless
the workunit state is no longer active, but it is somehow stuck in
the queue.

To test, one can simulate the issue by stopping the cluster, queueing
a workunit, setting the state to failed, then deleting the workunit.

Fixes gh-1832.
Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix don't delete published workunits

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix WsWorkunits incorrectly showing delete was successful

Also made minor changes to thrown exceptions for consistency.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Distribute the load when calling from WsEcl to Roxie

Allowing VIP to be set for ProcessClusters in WsEcl config.

Using smart socket to load balance even when there is no VIP.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix WsEcl form generates incorrect URL for getting xml results

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
gh-2013 - Enable LDAP pw checking in esp/ws_account/eclwatch

Update ESP to query password stats from LDAP, update ws_account to
make those stats available, and add new My Account page to eclwatch
to display account expiration date, number of days until expiration.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Merge pull request #2053 from afishbeck/wsecl_xml_url

Fix WsEcl form generates incorrect URL for getting xml results

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2046 from afishbeck/delete_error

Fix WsWorkunits incorrectly showing delete was successful

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2045 from afishbeck/delete_published_wu

Fix don't delete published workunits

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2041 from afishbeck/delete_wu_from_queue

gh-1832 Fix Deleting a workunit should remove from queues

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2037 from ghalliday/roxiemem-1

Better handling of out of memory reallocating a buffer

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2036 from ghalliday/maxfetch

Fix #2029 internal error optimizing max(fetch(),x)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2022 from ghalliday/joinleftsort

Mark left dataset of join sorted even if global

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2021 from ghalliday/failerror

Allow ERROR(ds, FAIL...) as well as FAIL(ds, FAIL...)

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2035 from RussWhitehead/ldap

gh-2013 - Enable LDAP pw checking in esp/ws_account/eclwatch

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add password expiration reminder to ESP

When LDAP security is set and a user launches an ESP UI,
ESP checks how many days the user's password will expired.
If the expiration days is less than a pre-defined limit (
this limit is defined by configmgr for all of users using
the ESP), ESP will popup a message about the expiration.
If the user chooses to change the password, a password
update window will be displayed. If the user chooses not
to change, ESP may repeat the whole process in the next
day.

This fix needs the fix in https://github.com/hpcc-systems/
HPCC-Platform/pull/2035.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
More revision

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Merge pull request #2055 from wangkx/password_expiration

Add password expiration reminder to ESP

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2052 from afishbeck/balance_wsecl2roxie

Fix distribute load when calling from WsEcl to Roxie

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>