#2568 restructure ECL record definition parsing mechanism.
Include all optional modifiers per record field definition.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2568 changes based on code review
- removed superfluous trim call
- spelling changes

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
fixes gh-1633 modified Installing_and_RunningTheHPCCPlatform.xml
Fix ESP cores when WU ID not found

For several operations, ESP cores when WU ID is not found
by openWorkUnit(). The openWorkUnit() returns a NULL
pointer if Workunit ID cannot be found. ESP/WsWorkunits
should check the return of openWorkUnit() before using it.

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

Fix ESP cores when WU ID not found

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2603 from richardkchapman/RussWhitehead-jcompFix

FIX HPCC-Systems/LN#472 JComp incorrectly quotes source file name

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merge pull request #2586 from rpastrana/gh-2568_parse_optional_modifiers

fix 2568 parse optional modifiers

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2594 from g-pan/38_bug1633

fixes gh-1633 modified Installing_and_RunningTheHPCCPlatform.xml

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add pagesize property, defaults to 100
Don't fetch all files every time a single file's metadata is needed.
Cache individual file's metadata
Improve search logic in gettables and getcolumns
Fetch total HPCC logical file count
Add support for NE SQL operator.

Add test methods

Second commit squashed in:

upon access to a superfile, if it doesn't contain rec definition,
fetch and cache one subfiles until one is found with rec definition.
In case the subfiles.

Upon success, update the superfile's rec definition with newly cached subfile.

Also added paging size fetch for stored procs and on-demand stored proc fetch.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2540 changes based on code review.

New test case code.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Soft link to thorslave causing problems

On multislave (per node) setups, the link was causing problems, where
randomly some slaves failed to start, if unlucky enough to start as link
removed/rewritten.
There is no need for link anymore

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #2616 from jakesmith/start_slave-fix

Start slave fix

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2476 Cluster name cannot be hard coded

In the fix for gh-2476, the thor cluster name is hard
coded as 'thor' which is wrong.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Add pagesize property, defaults to 100
Don't fetch all files every time a single file's metadata is needed.
Cache individual file's metadata
Improve search logic in gettables and getcolumns
Fetch total HPCC logical file count
Add support for NE SQL operator.

Add test methods

Second commit squashed in:

upon access to a superfile, if it doesn't contain rec definition,
fetch and cache one subfiles until one is found with rec definition.
In case the subfiles.

Upon success, update the superfile's rec definition with newly cached subfile.

Also added paging size fetch for stored procs and on-demand stored proc fetch.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2540 changes based on code review.

New test case code.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Replace getDebugValue() with getLogs()

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

Fix gh-2476 Cluster name cannot be hard coded

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2618 from rpastrana/new-new-gh-2540_file_page_support

fix 2540 DFU File and HPCC query fetch limit

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
#2588 Reuse thread safe DocumentBuilderFactory object.

The HPCCDatabaseMetaData class no longer instantiates multiple
DocBuilderFactories. One is created at init time, and reused when
a new DocBuilder is needed.
Multithreaded test case added.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Improve Get Slave Log for Workunit

To get slave log from workunit Details page, a user may
enter a slave number or network address. FireFox disables
Backspace key and Allow keys. When a user types in a wrong
value, the user has to highlight the wrong value and
re-enter. This fix forces those keys enabled so that the
user may use them to modify the value. In addition, this
fix allows a user to get the log file using Enter key as
soon as the value is entered.

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