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-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>
HPCC-10874 Incorrect logic in deleteLRUPersists

Picked up by coverity scan - a continue that was intended to redo an outer
loop is in fact working on an inner loop. In practice, the difference is
likely to be undetectable.

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10875 Uninitialized member variables in ccdserver.cpp

All were in fact initialized before use, but this helps prevent warnings from
Eclipse and Coverity (and possible future errors).

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10876 Fix various issues highlighted by coverity scan

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-10864: change cli --no-foreign to --allow-foreign

Reverse logic of ecl-publish, ecl-queries-copy and ecl-packagemap-add
--no-foreign option to become --allow-foreign instead.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
HPCC-10861 Include XmlSchema in JSON formatted WsWorkunits::WUResult

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