Add ecldirect to eclwatch

Add a default ecldirect to eclwatch to enable eclplayground and run ecl links on the same port as eclwatch.
Removed the standalone ecldirect esp service and esp service binding in the default environment and via wizard as it is no longer needed.

WIP #2219

Signed-off-by: Sridhar Meda <sridhar.meda@lexisnexis.com>
WIP gh-1846 Added support for CLIENTTOOLS_ONLY.

Added CLIENTTOOLS_ONLY configuration option (Defaulted OFF.)
Added HPCC_ADD_SUBDIRECTORY macro and set cmake files to use it.
Added if statement to change master project name.

TODO:
Refine the install scripts further to support a cleaner install for packages.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
move ECL Playground link setup from EclDirect to ws_workunits

Makes more sense because ws_workunits is a dependeny for ECL Playground,
and the link should not be present with standalone EclDirect.

Fixes gh-2422.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
wip gh-2448 moved to cleaner method of directory inclusion.

Changed HPCC_ADD_SUBDIRECTORY to take a flag name as a second arg.

This flag name is used to determine what directories to include at build time.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
wip gh-2448 Added better macro argument parsing.

Added PARSE_ARGUMENTS macro to allow for better arg parsing.

HPCC_ADD_SUBDIRECTORY:
  Added abillity to pass multiple flags
  Added abillity to pass no flags and force for all builds.

Cleaned up any usage of CLIENTTOOLS_ONLY outside of commonSetup.cmake.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
fixes gh-2448 Added plugins and corrected improper warnings on install.

Added plugins to build and install.

Cleaned up install-init and added needed .install files for non-clienttools
to clean up warnings on install.

Signed-off-by: Philip Schwartz <philip.schwartz@lexisnexis.com>
#2494 Create placeholder class for development
The placeholder "HPCCVersionTracker.java" class is overwritten by CMAKE
process with appropriate HPCC Version values.
The placeholder class allows development of the project outside of CMAKE.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
#2489 fix getprocs and getproccolumns

Remove superfluous set/getSQLType methods from columnmetadata.
Enable wildsearch in getprocs and getproccolumns
Enable queryset::publishedquery search
Assign Stored Proc return type based on definition.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Updated docs and images to reflect ECLwatch changes
Fix problem with inline dataset and packed records

The processing on ,PACKED on a record was being applied too soon
which meant that the records were reordered, but the values in
inline datsets were not reordered to match.

packed3.ecl illustrates  the problem.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Fix gh-2471 problems with multithor init scripts

In a multi-thor setup, with thors on same nodes, the stop scripts were inadvertenly killing all thor masters/slaves

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Ensure stop_slaves is build into package
Merge pull request #2498 from rpastrana/new-gh2489-SP_columnfix

#2489 fix getprocs and getproccolumns

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #2497 from rpastrana/gh-2494-create_placeholder

#2494 Create placeholder class for development

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Protect against a crash with invalid ECL

We had an example of a invalid query crashing ECLserver at this point.
I am yet to track down the cause, but this will allow an archive to be
created to enable it to be debugged properly.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
#2499 Implicit table alias support (regression fix)
Acknowledge table alias sans "AS" keyword.

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
Fix gh-2503 Truncated Archive when download

When a large workunit archive is downloaded through
WsWorkunits, it is truncated to 640k. This fix removes
the 640k limit for the file download.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
some changes to docs for gh#2025
ESP not logging failed permissions check

With the default ESP loglevel settings, a user who provides valid
credentials but is not allowed access to a resource gets nothing logged
about this state. Admins are falsely led to believe the given password
was invalid.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
Thor duplicate port check

Added a validation check to ensure that

a. no two thors have thor masters on the same node and share the same master port.
b. no two thors have thor slaves on the same node and share the same slave port.
The thor masterport and slaveport attributes are optional and are not generated by default. Empty master and slave ports also trigger
the validation error.

Fixes gh-1945

Signed-off-by: Sridhar Meda <sridhar.meda@lexisnexis.com>