Skip to content

Commit 93a23bf

Browse files
committed
Release 2.4.2
1 parent 52ec87e commit 93a23bf

File tree

1,057 files changed

+124280
-22581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,057 files changed

+124280
-22581
lines changed

.gitignore

+12-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ target
1414
**/.settings
1515
**/.settings/*
1616
release.properties
17+
release-info
1718
**/pom.xml.releaseBackup
1819
*.hold
20+
*.log
1921
.flattened-pom.xml
2022
CBE*.out
2123
console-0.9-*
@@ -39,14 +41,21 @@ frontend/electron-test/NewWDTModelFile.yml
3941
frontend/electron-test/electronTest.log
4042
frontend/electron-test/node_modules/
4143
frontend/electron-test/package-lock.json
44+
frontend/electron-test/newPropFile.prop
45+
frontend/electron-test/newUC001BWDTModelFile.yml
46+
frontend/electron-test/newUC002BWDTModelFile.yml
47+
frontend/electron-test/newUC003BWDTModelFile.yml
48+
frontend/electron-test/newUC017BWDTModelFile.yml
49+
frontend/electron-test/newWDTModelTokenFile.yml
4250
.vscode/*
4351
client.log.*
44-
/bin/
52+
bin/*
4553
weblogic-bean-info-harvester/build-*
4654
run/work
4755
fortify-output/**
4856
owasp-output/**
4957
frontend/seleniumTest.log
58+
everypage-oracle-tests/
5059

5160
electron/dist/**
5261
electron/extraFiles/**
@@ -55,3 +64,5 @@ electron/node_modules/**
5564
hugo/*/docs/
5665
hugo/*/.vscode/
5766
hugo/*/.hugo_build.lock
67+
68+
*start-weblogic.out

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# Copyright (c) 2020, 2021, Oracle and/or its affiliates.
1+
# Copyright (c) 2020, 2023, Oracle and/or its affiliates.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
MAVEN_TARGET = clean install
55

66
all:
7-
[ -z "$$https_proxy" ] || export ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=$$https_proxy; \
8-
mvn -B ${MAVEN_TARGET} ${MAVEN_FLAGS}
7+
[ -z "$$https_proxy" ] || export ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=$$https_proxy GLOBAL_AGENT_NO_PROXY="$$no_proxy"; \
8+
export PUPPETEER_SKIP_DOWNLOAD=true CHROMEDRIVER_SKIP_DOWNLOAD=true; \
9+
mvn -B ${MAVEN_TARGET} ${MAVEN_FLAGS}
910
rm -rf runnable
1011
unzip -q -d runnable installer/target/console.zip
1112
mv runnable/console/* runnable

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ See the following list of [Known Issues](https://oracle.github.io/weblogic-remot
3434

3535
We have a **public Slack channel** where you can get in touch with us to ask questions about using the WebLogic Remote Console or give us feedback
3636
or suggestions about what features and improvements you would like to see. We would love to hear from you. To join our channel,
37-
please [visit this site to get an invitation](https://weblogic-slack-inviter.herokuapp.com/). The invitation email will include
37+
please [visit this site to get an invitation](https://join.slack.com/t/oracle-weblogic/shared_invite/zt-1lnz4kpci-WdY2gWfeJc5jS_a_1Z06MA). The invitation email will include
3838
details of how to access our Slack workspace. After you are logged in, please come to `#remote-console` and say, "hello!"

THIRD_PARTY_LICENSES.txt

+542-3,186
Large diffs are not rendered by default.

assembly/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 2020, 2022, Oracle and/or its affiliates.
2+
<!-- Copyright 2020, 2023, Oracle and/or its affiliates.
33
Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. -->
44
<project xmlns="http://maven.apache.org/POM/4.0.0"
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -9,7 +9,7 @@
99
<parent>
1010
<artifactId>console-backend</artifactId>
1111
<groupId>com.oracle.weblogic</groupId>
12-
<version>2.4.1</version>
12+
<version>2.4.2</version>
1313
</parent>
1414

1515
<packaging>pom</packaging>

build-console-with-docker.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/bin/bash
22

3-
# Copyright 2021, Oracle Corporation and/or its affiliates. All rights reserved.
3+
# Copyright 2021, 2023, Oracle Corporation and/or its affiliates. All rights reserved.
44
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
55

66
set -e
77

88
# Run the command via "." to get the DOCKER_ID variable
9-
. ./run-this-in-docker.sh "
9+
. ./run-this-in-docker.sh builder "
1010
./prep.sh build
11-
make
11+
chown -R oracle /build
12+
su oracle -c make
1213
"
1314

1415
rm -rf runnable installer/target frontend/web

build-electron.sh

+17-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ doit_docker() {
55
cat > $tmp/script <<!
66
#!/bin/bash
77
$NPM_PREP_COMMANDS
8+
export DOWNLOAD_JAVA_URL=$DOWNLOAD_JAVA_URL
9+
export DOWNLOAD_NODE_URL=$DOWNLOAD_NODE_URL
810
set -e
911
[ -z "$DEBUG" ] || export DEBUG="$DEBUG"
1012
[ -n "$FPM_DEBUG" ] || export DEBUG="$FPM_DEBUG"
@@ -13,7 +15,7 @@ export https_proxy=$https_proxy
1315
export no_proxy=$no_proxy
1416
if [ -n "$https_proxy" ]
1517
then
16-
export ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=$https_proxy
18+
export ELECTRON_GET_USE_PROXY=true GLOBAL_AGENT_HTTPS_PROXY=$https_proxy GLOBAL_AGENT_NO_PROXY="$no_proxy" GLOBAL_AGENT_HTTP_PROXY="$http_proxy"
1719
fi
1820
umask 000
1921
cp -rp /build.in/. /build
@@ -48,7 +50,14 @@ fi
4850
case "$(uname -a)" in
4951
*indow*|*Msys*)
5052
os=windows
51-
pathsep=';'
53+
# It depends on what shell you are running
54+
case "$PATH" in
55+
*';'*';'*)
56+
pathsep=';'
57+
;;
58+
*)
59+
pathsep=:
60+
esac
5261
;;
5362
*arwin*)
5463
os=darwin
@@ -59,7 +68,12 @@ case "$(uname -a)" in
5968
pathsep=:
6069
esac
6170

62-
tmp=/tmp/${0##*/}.$$
71+
if [ -d /tmp/rancher-desktop ]
72+
then
73+
tmp="/tmp/rancher-desktop/${0##*/}.$$"
74+
else
75+
tmp="/tmp/${0##*/}.$$"
76+
fi
6377
if [ "$PWD" = /build ]
6478
then
6579
trap copyout EXIT

build-tools/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- Copyright 2020, 2022, Oracle Corporation and/or its affiliates. All rights reserved.
2+
<!-- Copyright 2020, 2023, Oracle Corporation and/or its affiliates. All rights reserved.
33
Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. -->
44
<project>
55
<modelVersion>4.0.0</modelVersion>
66

77
<groupId>com.oracle.weblogic.console-backend</groupId>
88
<artifactId>build-tools</artifactId>
9-
<version>2.4.1</version>
9+
<version>2.4.2</version>
1010
<name>Build Tools</name>
1111

1212
<properties>

electron/.eslintrc.js

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
"use strict";
2+
3+
module.exports = {
4+
env: {
5+
"amd": true,
6+
"browser": true,
7+
"commonjs": true,
8+
"es2021": true,
9+
"es6": true, // es6 is the same as es2015
10+
"jquery": true,
11+
"mocha": true,
12+
"node": true
13+
},
14+
extends: "eslint:recommended",
15+
parserOptions: {
16+
"ecmaVersion": 12
17+
},
18+
overrides: [
19+
{
20+
files: [
21+
"main.js"
22+
],
23+
rules: {
24+
"strict": "off",
25+
"no-undef": "off"
26+
}
27+
}
28+
],
29+
rules: {
30+
"strict": "error",
31+
"no-unused-vars": "off",
32+
"no-console": "off",
33+
"no-fallthrough": "off",
34+
"no-prototype-builtins": "off",
35+
"quotes": [
36+
"error",
37+
"single"
38+
]
39+
}
40+
};

electron/app/js/auto-prefs-json.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @example
1515
* AutoPrefs.read(`${app.getPath('appData')}/weblogic-remote-console`);
1616
* let props = {
17-
* version: '2.4.1',
17+
* version: '2.4.2',
1818
* location: '/Applications/WebLogic Remote Console.app/Contents/MacOS/WebLogic Remote Console'
1919
* };
2020
* AutoPrefs.set(props);
@@ -166,4 +166,4 @@ const AutoPrefs = (() => {
166166

167167
})();
168168

169-
module.exports = AutoPrefs;
169+
module.exports = AutoPrefs;

electron/app/js/config-json.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright (c) 2022, Oracle and/or its affiliates.
3+
* Copyright (c) 2022, 2023, Oracle and/or its affiliates.
44
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
55
* @ignore
66
*/
@@ -28,8 +28,9 @@ const AppConfig = (() => {
2828
_config['quiet'] = options.quiet;
2929
_config['checkPpidMillis'] = options.checkPpidMillis;
3030
_config['executableJar'] = `${options.appPaths.exe}/${options.executablePath}`;
31-
_config['javaBinary'] = `${options.appPaths.exe}/${options.javaPath}`;
31+
_config['javaPath'] = `${options.appPaths.exe}/${options.javaPath}`;
3232
_config['persistenceDirectory'] = options.appPaths.userData;
33+
AppConfig.read();
3334
},
3435
getFilename: () => {
3536
return `${_appPaths.userDataPath}/config.json`;
@@ -43,7 +44,7 @@ const AppConfig = (() => {
4344
if (settings.showPort) _config['showPort'] = settings.showPort;
4445
if (settings.quiet) _config['quiet'] = settings.quiet;
4546
if (settings.checkPpidMillis) _config['checkPpidMillis'] = settings.checkPpidMillis;
46-
if (settings.javaPath) _config['javaBinary'] = `${_appPaths.exe}/${settings.javaPath}`;
47+
if (settings.javaPath) _config['javaPath'] = `${settings.javaPath}`;
4748
if (settings.executablePath) _config['executableJar'] = `${_appPaths.exe}/${settings.executablePath}`;
4849
},
4950
read: () => {
@@ -65,4 +66,4 @@ const AppConfig = (() => {
6566

6667
})();
6768

68-
module.exports = AppConfig;
69+
module.exports = AppConfig;

0 commit comments

Comments
 (0)