HPCC-8860 Ecl packagemap needs to return an error for invalid dali ip

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
Merge pull request #4015 from stuartort/pkgadd_incorrectdali

HPCC-8860 Ecl packagemap needs to return an error for invalid dali ip

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8817 Fix hthor running WU not shown on Activity page

Using existing code, running hthor WU is not shown on EclWatch
Activity page since EclWatch trys to read the WU from /Status/
Servers/Server/@name='a_hthor.agent' and the WU is not list there.
But, the WU is list under /Status/Servers/Server/@name='ECLagent'.
This fix reads a WU from /Status/Servers/Server/@name='ECLagent',
find out whether the WUID has been included on the Activity page.
If not, find out @ClusterName of the WU. Using the ClusterName,
find out the cluster type and queue name, and show the WU under
that cluster.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 More changes based on new request

The changes in this commit are based on the following suggestions.
1. Activity page should indicate which WU is running on an ECLagent
and which WU is 'really' running on a cluster. For the WU running
on an ECLagent, '(on ECLagent)' will be displayed inside its State
column. 2. The WUs running on an ECLagent should be list after
queued WUs under a cluster.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 Revise based on review comments

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 add overview notes based on review

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 more changes based on comments on hpcc-8817

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 Change notes based on the last review comment

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 Add code to handle AgentQueue for Thor

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8817 Revise based on review

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8875 Enable core files for eclccserver

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge branch 'h8817' into candidate-3.10.4

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4020 from ghalliday/issue8875

HPCC-8875 Enable core files for eclccserver

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8855 - Expose some options to #option

Expose some job options that were previously only avilable
as global Thor config options, as per job options (#option)

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #4021 from jakesmith/hpcc-8855

HPCC-8855 - Expose some options to #option

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8866 Allow PackageId match to query name without version

Existing packages use the root query name (without version) as
the PackageId.  Package matching will now use the following logic
to maintain new functionality but still be backward compatible with
package ids that are not query version specific.

1. make exact packageid match against queryname with version.
2. make exact packageid match against queryname without version.
3. fuzzy match using "queries" attribute against queryname with version.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Merge branch 'PackageIdAnyVersionQuery8866' into candidate-3.10.4

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Community Edition 3.10.4-3rc Release Candidate 3

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8556 Refactor const char * query functions from helpers

Return roxiemem-allocated strings rather than having to store in context in
order to release.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8556 Refactor const char * query functions from helpers

Rename some queryXXX functions to getXXX and support values that are not
compile-time constant.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>