Skip to content

Commit 57d009e

Browse files
authored
Owls 88574 - Remove internal network name and "www-proxy-hqdc" from the sample and test scripts (#2298)
* OWLS-88574 - Remove usage of www-proxy-hqdc and us.oracle.com in sample scripts and integration tests.
1 parent 6fd1f2e commit 57d009e

File tree

10 files changed

+14
-19
lines changed

10 files changed

+14
-19
lines changed

documentation/3.2/content/userguide/managing-domains/domain-events.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ LAST SEEN TYPE REASON OBJECT
236236
114s Normal Started pod/sample-domain1-introspector-ght6p Started container sample-domain1-introspector
237237
114s Warning DomainProcessingFailed domain/sample-domain1 Failed to complete processing domain resource sample-domain1 due to: rpc error: code = Unknown desc = pull access denied for domain-home-in-image, repository does not exist or may require 'docker login', the processing will be retried if needed
238238
98s Normal Completed job/sample-domain1-introspector Job completed
239-
98s Warning DNSConfigForming pod/sample-domain1-introspector-ght6p Search Line limits were exceeded, some search paths have been omitted, the applied search line is: sample-domain1-ns.svc.cluster.local svc.cluster.local cluster.local subnet1ad3phx.devweblogicphx.oraclevcn.com us.oracle.com oracle.com
240239
97s Normal Killing pod/sample-domain1-introspector-ght6p Stopping container sample-domain1-introspector
241240
96s Normal Scheduled pod/sample-domain1-admin-server Successfully assigned sample-domain1-ns/sample-domain1-admin-server to doxiao-1
242241
96s Normal DomainProcessingStarting domain/sample-domain1 Creating or updating Kubernetes presence for WebLogic Domain with UID sample-domain1
@@ -283,4 +282,4 @@ Reporting Instance: weblogic-operator-67c9999d99-clgpw
283282
Source:
284283
Type: Normal
285284
Events: <none>
286-
```
285+
```

documentation/staging/content/userguide/managing-domains/domain-events.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ LAST SEEN TYPE REASON OBJECT
236236
114s Normal Started pod/sample-domain1-introspector-ght6p Started container sample-domain1-introspector
237237
114s Warning DomainProcessingFailed domain/sample-domain1 Failed to complete processing domain resource sample-domain1 due to: rpc error: code = Unknown desc = pull access denied for domain-home-in-image, repository does not exist or may require 'docker login', the processing will be retried if needed
238238
98s Normal Completed job/sample-domain1-introspector Job completed
239-
98s Warning DNSConfigForming pod/sample-domain1-introspector-ght6p Search Line limits were exceeded, some search paths have been omitted, the applied search line is: sample-domain1-ns.svc.cluster.local svc.cluster.local cluster.local subnet1ad3phx.devweblogicphx.oraclevcn.com us.oracle.com oracle.com
240239
97s Normal Killing pod/sample-domain1-introspector-ght6p Stopping container sample-domain1-introspector
241240
96s Normal Scheduled pod/sample-domain1-admin-server Successfully assigned sample-domain1-ns/sample-domain1-admin-server to doxiao-1
242241
96s Normal DomainProcessingStarting domain/sample-domain1 Creating or updating Kubernetes presence for WebLogic Domain with UID sample-domain1
@@ -283,4 +282,4 @@ Reporting Instance: weblogic-operator-67c9999d99-clgpw
283282
Source:
284283
Type: Normal
285284
Events: <none>
286-
```
285+
```

integration-tests/src/test/resources/bash-scripts/wdt-create-domain-onpv.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# default: https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-1.9.7/$WDT_INSTALL_ZIP_FILE
4949
#
5050
# https_proxy Proxy for downloading WDT_INSTALL_ZIP_URL.
51-
# default: "http://www-proxy-hqdc.us.oracle.com:80"
51+
# default: ""
5252
# (If set to empty the script will try with no proxy.)
5353
#
5454
# https_proxy2 Alternate proxy for downloading WDT_INSTALL_ZIP_URL
@@ -69,7 +69,7 @@
6969

7070
# using "-" instead of ":-" in case proxy vars are explicitly set to "".
7171
https_proxy=${https_proxy-""}
72-
https_proxy2=${https_proxy2-"http://www-proxy-hqdc.us.oracle.com:80"}
72+
https_proxy2=${https_proxy2-""}
7373

7474
export ORACLE_HOME=${ORACLE_HOME:-/u01/oracle}
7575

integration-tests/src/test/resources/exporter/promvalues.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ alertmanagerFiles:
5454
alertmanager.yml:
5555
global:
5656
resolve_timeout: 5m
57-
#http_config:
58-
# proxy_url: 'http://www-proxy-hqdc.us.oracle.com:80'
5957

6058
route:
6159
group_by: ['alertname']

kubernetes/samples/charts/apache-samples/custom-sample/certgen.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ CN = $VIRTUAL_HOST_NAME
3232
subjectAltName = @alt_names
3333
[alt_names]
3434
DNS.1 = $VIRTUAL_HOST_NAME
35-
DNS.2 = $VIRTUAL_HOST_NAME.us.oracle.com
36-
DNS.3 = $VIRTUAL_HOST_NAME.cloud.oracle.com
37-
DNS.4 = *.$VIRTUAL_HOST_NAME
38-
DNS.5 = localhost
35+
DNS.2 = $VIRTUAL_HOST_NAME.cloud.oracle.com
36+
DNS.3 = *.$VIRTUAL_HOST_NAME
37+
DNS.4 = localhost
3938
EOF
4039

4140
echo "Generating certs for $VIRTUAL_HOST_NAME"

kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/common/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ARG CUSTOM_RCUPREFIX="${CUSTOM_RCUPREFIX:-INFRA01}"
3636
ARG CUSTOM_PRODUCTION_MODE="${CUSTOM_PRODUCTION_MODE:-prod}"
3737
ARG CUSTOM_DEBUG_PORT="${CUSTOM_DEBUG_PORT:-8453}"
3838
ARG CUSTOM_DEBUG_FLAG="${CUSTOM_DEBUG_FLAG:-false}"
39-
ARG CUSTOM_CONNECTION_STRING="${CUSTOM_CONNECTION_STRING:-"InfraDB:1521/InfraPDB1.us.oracle.com"}"
39+
ARG CUSTOM_CONNECTION_STRING="${CUSTOM_CONNECTION_STRING:-"InfraDB:1521/InfraPDB1"}"
4040
ARG CUSTOM_EXPOSE_T3_CHANNEL="${CUSTOM_EXPOSE_T3_CHANNEL:-false}"
4141
ARG CUSTOM_T3_PUBLIC_ADDRESS="${CUSTOM_T3_PUBLIC_ADDRESS:-InfraAdminContainer}"
4242
ARG CUSTOM_T3_CHANNEL_PORT="${CUSTOM_T3_CHANNEL_PORT:-30012}"

kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image/create-domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function createDomainHome {
194194
sed -i -e "s|welcome1|${password}|g" $passwordFile
195195

196196
sed -i -e "s|INFRA08|${rcuSchemaPrefix}|g" $rcuPropFile
197-
sed -i -e "s|InfraDB:1521/InfraPDB1.us.oracle.com|${rcuDatabaseURL}|g" $rcuPropFile
197+
sed -i -e "s|InfraDB:1521/InfraPDB1|${rcuDatabaseURL}|g" $rcuPropFile
198198

199199
cp -f ${scriptDir}/common/Dockerfile ${dockerDir}/Dockerfile
200200
cp -f ${scriptDir}/common/createFMWDomain.sh ${dockerDir}/container-scripts

kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-on-pv/wdt/create-domain-script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# default: https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-$WDT_VERSION/$WDT_INSTALL_ZIP_FILE
5252
#
5353
# https_proxy Proxy for downloading WDT_INSTALL_ZIP_URL.
54-
# default: "http://www-proxy-hqdc.us.oracle.com:80"
54+
# default: ""
5555
# (If set to empty the script will try with no proxy.)
5656
#
5757
# https_proxy2 Alternate proxy for downloading WDT_INSTALL_ZIP_URL
@@ -82,7 +82,7 @@ WDT_INSTALL_ZIP_URL=${WDT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-d
8282

8383
# using "-" instead of ":-" in case proxy vars are explicitly set to "".
8484
https_proxy=${https_proxy-""}
85-
https_proxy2=${https_proxy2-"http://www-proxy-hqdc.us.oracle.com:80"}
85+
https_proxy2=${https_proxy2-""}
8686

8787
# Define functions
8888

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/wdt/create-domain-script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# default: https://github.com/oracle/weblogic-deploy-tooling/releases/download/release-1.9.7/$WDT_INSTALL_ZIP_FILE
4949
#
5050
# https_proxy Proxy for downloading WDT_INSTALL_ZIP_URL.
51-
# default: "http://www-proxy-hqdc.us.oracle.com:80"
51+
# default: ""
5252
# (If set to empty the script will try with no proxy.)
5353
#
5454
# https_proxy2 Alternate proxy for downloading WDT_INSTALL_ZIP_URL
@@ -82,7 +82,7 @@ WDT_INSTALL_ZIP_URL=${WDT_INSTALL_ZIP_URL:-"https://github.com/oracle/weblogic-d
8282

8383
# using "-" instead of ":-" in case proxy vars are explicitly set to "".
8484
https_proxy=${https_proxy-""}
85-
https_proxy2=${https_proxy2-"http://www-proxy-hqdc.us.oracle.com:80"}
85+
https_proxy2=${https_proxy2-""}
8686

8787
# Define functions
8888

kubernetes/src/test/scripts/unit-test-generate-weblogic-operator-cert.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# used to actually run the operator.
1515

1616
if [ ! $# -eq 1 ]; then
17-
echo "Syntax: ${BASH_SOURCE[0]} <subject alternative names, e.g. DNS:localhost,DNS:mymachine,DNS:mymachine.us.oracle.com,IP:127.0.0.1>"
17+
echo "Syntax: ${BASH_SOURCE[0]} <subject alternative names, e.g. DNS:localhost,DNS:mymachine,IP:127.0.0.1>"
1818
exit 1
1919
fi
2020

0 commit comments

Comments
 (0)