HPCC-10192 Add test case (could not reproduce issue)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10186 Better Java Support for JAR Files and the ClassPath

Support a :classpath('xx') on the IMPORT command to add additional class paths
per imported function.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9595 Implement generalized paging/cache for DFU files

This fix replaces the existing paging/no cache function for
browsing logical files with new paging/cache function. The
MDFS_ITERATE_FILTEREDFILES flag and processing code are added to
support more filters on dali server side. In ESP side, a new method
getLogicalFilesSorted() and supporting code are added to set/send
the MDFS_ITERATE_FILTEREDFILES request with filters to dali server,
read the response into IPropertyTreeIterator for sorting, and sort/
cache the logical files. The old paging code is moved into a new
method which will be called for legacy dali.

3 minor changes: (1) Inside the response, replace file attribute
IsKeyFile to ContentType. (2) In dfu.xslt, rename the sort field
'Size' to 'FileSize'. (3) In dfu_search.xslt, merge the Sort Filter
FirstNType with FileSize.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-8191: WsEcl support for building REST URLs (HTTP-GET)

Add a link to the Links tag to get an example (unpopulated) REST URL.

Also add support to the generated form to make calls using HTTP-GET
which can be used to build specific REST URLs with the provided
parameters filled in.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
HPCC-10699 Configuration: Add support for esp service plugins

  - add esp service plugin support to
     ./opt/HPCCSystems/componentfiles/plugins/<service_name>/<config files>

  - service plugins may require configuration files including:

      - buildset.xml : explicit services configured through ConfigMgr
         Installed into
         ./opt/HPCCSystems/componentfiles/configxml/plugins/<service_name>/

      - genenvrules.conf : explicit services that should not be
         generated by default. Installed into
         ./opt/HPCCSystems/componentfiles/configxml/plugins/<service_name>/

      - cgencomplist.xml : implicit services share an explicit service
         component name with a custom xsl, explict services define their
         own component name. Installed into
         ./opt/HPCCSystems/componentfiles/configxml/plugins/<service_name>/

      - esp_service_<service_name>.xsd : explicit services configured
         through ConfigMgr. Installed into
         ./opt/HPCCSystems/componentfiles/configxml/

      - esp_service_<service_name>.xsl : explicit and implicit services
         requires at a minimum binding info.  Refer to WS-SMC section in
         esp_service_WsSMC.xsl as an example of what is required.
         Installed into
         ./opt/HPCCSystems/componentfiles/configxml/atmark_temp/

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
HPCC-10838 Common up fileview2 code for writing xml

Update functions (Including: getXml, getXmlItem,
getResultCursorXml, and getResultXml) to use new IXmlWriter methods.

Remove old IStringVal specific code.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10775 Set job priority for multiple jobs in one ESP call

The existing code sets one job priority per ESP call. In the new
ECLWatch UI, multiple jobs may be selected to change job priority.
Multiple ESP calls have to be sent at about the same time. After
several successful calls, ESP does not respond. That is because
multiple threads try to access the same job queue at the same time.
One thread locks the job queue before previous thread updates the
priority and releases the lock. This fix moves the code of lock()
and updatePriority() into a critical section. A thread cannot
access the code before another thread leaves the code.

In this fix, I also add the code to support batch function which
allows to set job priority for multiple jobs in one ESP call.

This fix also depreciates two variables from SetJobPriority
request since they are not used.
HPCC-8191: Use jlib rather than stl for consistency in WsECL

Also fix typo in wsecl3_form.xsl

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10186 Better Java Support for JAR Files and the ClassPath

Fixes following code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-8191: Update based on code review

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10865 Activity Page Throws an Exception

If State is numeric there is an invalid call to indexOf.

Fixes HPCC-10865

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
HPCC-10696 Roxie should limit size of workunit outputs

Both a default limit (10Mb) and an overridable one via MAXSIZE attribute.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10749 Search WU/Query with non-existence of property/attr

Using the existing code, WUQuery?State=unknown does not return "unknown"
WUs. The "unknown" WUs are WUs which do not have the @state or @state =
"". We do not suport any xpath syntax that allow you to test for the non
-existence of a property or attribute. In this fix, the code is added to
filter ECL WUs (and DFU WU, Query) with non-existence of a property or
attribute.
HPCC-10749 Revise based on code review

1. Clone 'unknownAttributes'; 2. Use sortElements to avoid duplicated
code; 3. Move 'cSort sort' into block; 4. Use simple array lookup.
HPCC-10749 Rebase and remove extra checks, etc.
HPCC-10699 Configuration: Add support for esp service plugins

   - Fix dead-lock bug
   - Improve logging
   - Fix include issue in cmake files
   - Fix based on review
	- Use Macros for in cmake files
	- minor refactor

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
HPCC-10871 ECL helper version incompatible

Earlier changes in this file SHOULD have increased this version.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10775 Fix typo
HPCC-10838 Remove uneeded attrOnly flag in writeXmlText

The cases being checked should never happen.  The flag is confusing
and shouldn't be necessary.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10864: Command option to fail publish if query has foreign files

For roxie, add --no-foreign option to ecl-publish, ecl-queries-copy,
and ecl-packagemap-add to fail if foreign files are being referenced.

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