Fix gh-2860 https connection to EclWatch failed

This only happens on Linux. The error comes from
openssl lib. Browser is trying to create multiple
SSL connections to ESP. ESP creates multiple threads
and each thread uses openssl lib to accept the
connections. To make openssl thread-safe, ESP has to
provide a callback fucntion: CRYPTO_set_id_callback().

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2888 add superfile operations to esp log

Superfile operations (add/remove) should be logged
into esp log. This fix also cleans ESP code for
superfile operations, including the method
SuperfileAddRaw() which has not been used for years.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Revised based on review.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2649 Configmgr - duplicate component
  - Add 'Duplicate Componenet/Service' to context menu
  - Duplicate components and assign unique name

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix for pull request #2593
- Fix for center context menu not accepting clicks

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix based on feedback.
- Removed ForEach loop since only 1 iteration is needed
- Cleaned up StringBuffer assignment
- Add check for NULL pointer and will throw an exception if encountered

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix and enhancement for configmgr pull request #2601 and for issue gh-2386
- Add highlight to indicate staged envrionment in table triggered from open
  environment button
- Fix IE specific display

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Fix for out of bounds array index based on feedback
Properly handling of multiple configuration files matching
staged configuration.  All will be highlighted.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Minor for-loop restructure based on feedback.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Not more than 10 files per log line

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Fix gh-2836 - buildindex var row,col_prefix fix

Building an index with COMPRESS(FIRST) and variable rows, caused excessive
amounts of memory to be used when reading the index. Because, the when the
nodes were unpacked, the max length * numRows was allocated and retained per
expanded node.

This commit encodes the row lengths in the compressed format

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
gh-2161 Only 1 package can be active per queryset / packagemap

Package add needs to make sure that there is only 1 active package
at a time for a queryset.  Roxie will only process the first active
package, so when adding a package (or activating an exisiting package)
the code needs to deactivate the currently active package first

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
gh-2161 Package add queryset shortcut parameter should be -qs

Signed-off-by: Stuart Ort <stuart.ort@lexisnexis.com>
minor changes

rename a couple of local vars for clarity
common up a couple of memcpy's for efficiency

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
gh-2998 Remove some getRecordSize(NULL) calls

Remove some calls to getRecordSize(NULL) in Roxie (all results were unused).

Note that I no longer pass the (code) record size to createKeyMerger - this
means that mismatches won't be deteced at this point, but Roxie should have
picked them up earlier anyway (with a full meta compare).

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Fix gh-2991 - hthor file published group name

Hthor was creating files without specifying the cluster name.
Consequently DFS used the ip group to form a temporary one.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Fix gh-2989, more null ptr
Merge pull request #3003 from jakesmith/hthor-write-filegroup

Fix gh-2991 - hthor file published group name

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #3004 from rengolin/esp

Fix gh-2989, more null ptr

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Add --no-reload option to ecl-publish and ecl-queries-copy

--no-reload will prevent signalling roxie to do an imediate reload
of queries.

--wait=0 will also not bother to reload since it would immediately
time out.

Fixes gh-2694

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