Fix gh-3070 superfile deleted when removing its subfiles

In existing EclWatch, removing all subfiles from a superfile
will delete the superfile itself.  This fix adds a checkbox
on Removing Subfiles page before a user deletes subfiles.
The checkbox will be enabled when a user is selected to
delete all of the subfiles. The user may choose to delete
(or not delete) the superfile using the checkbox.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-3081 Thor slave not shown when group name not set

The preflight does not see slave node after resizing/renaming
cluster. The problem also happens on Cluster Process page
(before the preflight page). It was due to empty group name
read from getClusterGroupName(). This fix checks the attribute
'nodeGroup', If it is emoty, use the attribute 'name' as group
name.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix ESP allowing JSON and XML responses to be redirected

Redirects direct the browser to another page and should not be allowed
when ESP methods are accessed as webservice APIs.

Fixes gh-3058.

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Add dictionary support to ECL

Initial work on adding dictionary support to ECL. Grammar changes to
support syntax checks of simple dictionary constructs.

ecl regression suite passes (no changes to existing parse structures).

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Fixed issues from code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
WIP: DICTIONARY support - lookup support

Call rtl helper function to lookup values in a dictionary.
Add _linkcounted_ support on row parameters, and use it to pass
default row to hash lookup function.

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

Added x IN dictionary
Added support for COUNT(DICTIONARY) without having to go via dataset
(counts the number of non-NULL entries in the table).

Also fixed some issues with empty dictionaries.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
WIP: DICTIONARY support - check => consistency

Check the consistency of => in dictionary initializers.

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

Add DICTIONARY(dataset, record) support.
Relax the record matching in several places to ignore payload
attribute, so that rows can be linked rather than copied more often.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
WIP: DICTIONARY support - add test cases

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
WIP: DICTIONARY support - support output from workunit

Add support in fileview for outputting stored dictionary values.

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

Add type_dictionary to type-tracing code.

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

Various code cleanup in response to code review.
Added proper type checks for ROW IN dict.

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

Remove test from ecl regression suite that uses (defunct) PAYLOAD
attribute.

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

IF(cond, dict1, dict2) now working (at least in simple cases).
Removed most isDictionary() tests from hqliproj as suggested in code
review.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
gh-3101 Give warning when DICTIONARY used as an identifier

Give a warning on any use of DICTIONARY as an identifier, to reduce the
chances of broken ECL when it becomes a keyword in 3.10

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3096 from afishbeck/json_redirect

Fix ESP allowing JSON and XML responses to be redirected

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3090 from ghalliday/minorpure

Add pure specifiers to some internal functions.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Added default chkconfig parameters

Added default chkconfig parameters to more easily enable auto-restart of
the HPCC processes after a reboot.

Updated to include recommendations for Provides: and Required-Start: parameters.
Added chkconfig info to dafilesrv script.

Signed-off-by: Dan S. Camper <camperd@dnb.com>

Commit comments cleaned up to meet guidelines, and dafilesrv priorities adjusted.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3087 from wangkx/gh3081

Fix gh-3081 Thor slave not shown when group name not set

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>