Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.8.x'
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Jul 5, 2024
2 parents 1f81c92 + 216dca1 commit 0920e87
Show file tree
Hide file tree
Showing 32 changed files with 482 additions and 85 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@ jobs:
name: docs
documentation: true
- os: ubuntu-20.04
- os: centos-8
- os: centos-7
cmake_options_extra: "-DVCPKG_TARGET_TRIPLET=x64-centos-7-dynamic"
- os: amazonlinux
cmake_options_extra: "-DVCPKG_TARGET_TRIPLET=x64-amazonlinux-dynamic"
- os: rockylinux-8
- os: ubuntu-22.04
name: LN k8s
Expand All @@ -121,22 +116,10 @@ jobs:
- os: ubuntu-20.04
name: LN
ln: true
- os: centos-8
name: LN
cmake_options_extra: ""
ln: true
- os: centos-7
name: LN
cmake_options_extra: "-DVCPKG_TARGET_TRIPLET=x64-centos-7-dynamic"
ln: true
- os: rockylinux-8
name: LN
cmake_options_extra: ""
ln: true
- os: centos-7-rh-python38
name: LN Python 3.8
cmake_options_extra: "-DVCPKG_TARGET_TRIPLET=x64-centos-7-dynamic -DCUSTOM_LABEL=_rh_python38"
ln: true
fail-fast: false

steps:
Expand Down
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
26 changes: 0 additions & 26 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
- 'ubuntu-22.04'
- 'ubuntu-20.04'
- 'rockylinux-8'
- 'centos-8'
- 'centos-7'
- 'amazonlinux'
description: 'Operating System'
required: false
default: 'ubuntu-22.04'
Expand Down Expand Up @@ -141,29 +138,6 @@ jobs:
os: rockylinux-8
secrets: inherit

build-docker-centos-8:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: centos-8
secrets: inherit

build-docker-centos-7:
if: ${{ contains('pull_request,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: centos-7
cmake-configuration-ex: "-DVCPKG_TARGET_TRIPLET=x64-centos-7-dynamic"
secrets: inherit

build-docker-amazonlinux:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-docker.yml
with:
os: amazonlinux
cmake-configuration-ex: "-DVCPKG_TARGET_TRIPLET=x64-amazonlinux-dynamic"
secrets: inherit

build-gh_runner-ubuntu-22_04:
if: ${{ contains('schedule,push', github.event_name) }}
uses: ./.github/workflows/build-gh_runner.yml
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 0920e87

Please sign in to comment.