Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.6.x' into candidate-…
Browse files Browse the repository at this point in the history
…9.8.x

Signed-off-by: Gordon Smith <[email protected]>

# Conflicts:
#	helm/hpcc/Chart.yaml
#	helm/hpcc/templates/_helpers.tpl
#	helm/hpcc/templates/dafilesrv.yaml
#	helm/hpcc/templates/dali.yaml
#	helm/hpcc/templates/dfuserver.yaml
#	helm/hpcc/templates/eclagent.yaml
#	helm/hpcc/templates/eclccserver.yaml
#	helm/hpcc/templates/eclscheduler.yaml
#	helm/hpcc/templates/esp.yaml
#	helm/hpcc/templates/localroxie.yaml
#	helm/hpcc/templates/roxie.yaml
#	helm/hpcc/templates/sasha.yaml
#	helm/hpcc/templates/thor.yaml
#	version.cmake
  • Loading branch information
GordonSmith committed Jul 5, 2024
2 parents 0c2d1a3 + 8cb73d9 commit 216dca1
Show file tree
Hide file tree
Showing 22 changed files with 424 additions and 40 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-gh_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ jobs:
gnupg \
groff-base \
libtool \
pkg-config \
software-properties-common \
tar \
unzip \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-smoke-gh_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
description: 'Dependencies'
required: false
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline pkg-config libtool autotools-dev automake git cmake xmlstarlet'
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline libtool autotools-dev automake git cmake xmlstarlet'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-gh_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
description: 'Dependencies'
required: false
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline pkg-config libtool autotools-dev automake git cmake xmlstarlet'
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline libtool autotools-dev automake git cmake xmlstarlet'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unit-gh_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
description: 'Dependencies'
required: false
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline pkg-config libtool autotools-dev automake git cmake xmlstarlet'
default: 'bison flex build-essential binutils-dev curl lsb-release libcppunit-dev python3-dev default-jdk r-base-dev r-cran-rcpp r-cran-rinside r-cran-inline libtool autotools-dev automake git cmake xmlstarlet'

jobs:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ MyValue := (INTEGER) MAP(MyString = '1' =&gt; MyString, '0');
MySet := (SET OF INTEGER1) [1,2,3,4,5,6,7,8,9,10];
//casts from a SET OF INTEGER8 (the default) to SET OF INTEGER1

UTPUT(MyBoolean);
OUTPUT(MyBoolean);
OUTPUT(MyString);
OUTPUT(MyValue);
OUTPUT(MySet);
Expand Down
8 changes: 5 additions & 3 deletions esp/services/ws_workunits/ws_workunitsHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,15 @@ struct WUComponentLogOptions
}
else if (!isEmptyString(end))
{
if (isEmptyString(end))
if (isEmptyString(start))
throw makeStringException(ECLWATCH_INVALID_INPUT, "ZapLogFilter: Empty 'Absolute TimeRange Start' detected!");
}
else
{
if (relativeTimeBufferSecs > 0 )
wuLogSearchTimeBuffSecs = relativeTimeBufferSecs;
else
throw makeStringException(ECLWATCH_INVALID_INPUT, "ZapLogFilter: Invalid 'TimeRange' detected!");
}
}

Expand All @@ -208,9 +210,9 @@ struct WUComponentLogOptions
logDataFormat = logAccessFormatFromName(requestedLogDataFormat.str());

StringBuffer start; // Absolute query time range start in YYYY-DD-MMTHH:MM:SS
zapHttpRequest->getParameter("LogFilter_AbsoluteTimeRange_Start", start);
zapHttpRequest->getParameter("LogFilter_AbsoluteTimeRange_StartDate", start);
StringBuffer end; // Absolute query time range end in YYYY-DD-MMTHH:MM:SS
zapHttpRequest->getParameter("LogFilter_AbsoluteTimeRange_End", end);
zapHttpRequest->getParameter("LogFilter_AbsoluteTimeRange_EndDate", end);
// Query time range based on WU Time +- Buffer in seconds
unsigned bufferSecs = (unsigned)zapHttpRequest->getParameterInt("LogFilter_RelativeTimeRangeBuffer", 0);

Expand Down
1 change: 1 addition & 0 deletions esp/src/eclwatch/ShowIndividualPermissionsWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ define([
evt.preventDefault();
context.calcPermissionState(evt.cell.column.field, evt.value, evt.cell.row.data);
evt.grid.store.put(evt.cell.row.data);
const t = window.setTimeout(() => { context.grid.refresh(); window.clearTimeout(t); }, 100);
});
return retVal;
},
Expand Down
31 changes: 22 additions & 9 deletions esp/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esp/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@hpcc-js/chart": "2.83.3",
"@hpcc-js/codemirror": "2.62.0",
"@hpcc-js/common": "2.71.17",
"@hpcc-js/comms": "2.92.2",
"@hpcc-js/comms": "2.92.3",
"@hpcc-js/dataflow": "8.1.6",
"@hpcc-js/eclwatch": "2.74.5",
"@hpcc-js/graph": "2.85.15",
Expand Down
4 changes: 2 additions & 2 deletions esp/src/src-react/components/FileDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export const FileDetails: React.FunctionComponent<FileDetailsProps> = ({
}) => {
const [file] = useFile(cluster, logicalFile);
React.useEffect(() => {
if (file?.NodeGroup && cluster === undefined) {
if (file?.NodeGroup && cluster === undefined && !file?.isSuperfile) {
replaceUrl(`/files/${file.NodeGroup}/${logicalFile}`);
}
}, [cluster, file?.NodeGroup, logicalFile]);
}, [cluster, file?.NodeGroup, file?.isSuperfile, logicalFile]);
const [defFile] = useDefFile(cluster, logicalFile, WsDfu.DFUDefFileFormat.def);
const [xmlFile] = useDefFile(cluster, logicalFile, WsDfu.DFUDefFileFormat.xml);

Expand Down
2 changes: 1 addition & 1 deletion esp/src/src-react/components/LogicalFileSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const LogicalFileSummary: React.FunctionComponent<LogicalFileSummaryProps
<TableGroup fields={{
"Wuid": { label: nlsHPCC.Workunit, type: "link", value: file?.Wuid, href: `#/${isDFUWorkunit ? "dfu" : ""}workunits/${file?.Wuid}`, readonly: true, },
"Owner": { label: nlsHPCC.Owner, type: "string", value: file?.Owner, readonly: true },
"SuperOwner": { label: nlsHPCC.SuperFile, type: "links", links: file?.Superfiles?.DFULogicalFile?.map(row => ({ label: "", type: "link", value: row.Name, href: `#/files/${row.Name}` })) },
"SuperOwner": { label: nlsHPCC.SuperFile, type: "links", links: file?.Superfiles?.DFULogicalFile?.map(row => ({ label: "", type: "link", value: row.Name, href: `#/files/${row.NodeGroup !== null ? row.NodeGroup : undefined}/${row.Name}` })) },
"NodeGroup": { label: nlsHPCC.ClusterName, type: "string", value: file?.NodeGroup, readonly: true },
"Description": { label: nlsHPCC.Description, type: "string", value: description },
"JobName": { label: nlsHPCC.JobName, type: "string", value: file?.JobName, readonly: true },
Expand Down
1 change: 1 addition & 0 deletions esp/src/src-react/components/Metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ export const Metrics: React.FunctionComponent<MetricsProps> = ({
const propsTable2 = useConst(() => new Table()
.columns([nlsHPCC.Property, nlsHPCC.Value])
.columnWidth("auto")
.sortable(true)
);

const updatePropsTable2 = React.useCallback((selection: IScope[]) => {
Expand Down
1 change: 1 addition & 0 deletions esp/src/src-react/components/MetricsPropertiesTables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const MetricsPropertiesTables: React.FunctionComponent<MetricsPropertiesT
const propsTable = useConst(() => new Table()
.columns([nlsHPCC.Property, nlsHPCC.Value, "Avg", "Min", "Max", "Delta", "StdDev", "SkewMin", "SkewMax", "NodeMin", "NodeMax"])
.columnWidth("auto")
.sortable(true)
);

React.useEffect(() => {
Expand Down
Loading

0 comments on commit 216dca1

Please sign in to comment.