Skip to content

Commit 790e246

Browse files
committed
merge to the latest develop branch
2 parents 8da6362 + 40e7489 commit 790e246

File tree

395 files changed

+11844
-11711
lines changed

Some content is hidden

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

395 files changed

+11844
-11711
lines changed

build-tools/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project>
2-
<modelVersion>4.0.0</modelVersion>
3-
<groupId>oracle.kubernetes</groupId>
4-
<artifactId>build-tools</artifactId>
5-
<version>1.0</version>
6-
<name>Build Tools</name>
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>oracle.kubernetes</groupId>
4+
<artifactId>build-tools</artifactId>
5+
<version>1.0</version>
6+
<name>Build Tools</name>
77
</project>

build-tools/src/main/resources/weblogic-kubernetes-operator/checkstyle/customized_google_checks.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
<property name="eachLine" value="true"/>
2828
</module>
2929

30+
<module name="RegexpHeader">
31+
<property name="headerFile" value="build-tools/src/main/resources/weblogic-kubernetes-operator/checkstyle/java.header"/>
32+
<property name="fileExtensions" value="java"/>
33+
</module>
34+
3035
<module name="TreeWalker">
3136
<module name="OuterTypeFilename"/>
3237
<module name="IllegalTokenText">
@@ -42,7 +47,7 @@
4247
<property name="allowNonPrintableEscapes" value="true"/>
4348
</module>
4449
<module name="LineLength">
45-
<property name="max" value="100"/>
50+
<property name="max" value="120"/>
4651
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
4752
</module>
4853
<module name="AvoidStarImport"/>
@@ -193,7 +198,7 @@
193198
<module name="CustomImportOrder">
194199
<property name="sortImportsInGroupAlphabetically" value="true"/>
195200
<property name="separateLineBetweenGroups" value="true"/>
196-
<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>
201+
<property name="customImportOrderRules" value="STANDARD_JAVA_PACKAGE###THIRD_PARTY_PACKAGE###STATIC"/>
197202
</module>
198203
<module name="MethodParamPad"/>
199204
<module name="NoWhitespaceBefore">
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
^// Copyright (\d\d\d\d, )+Oracle Corporation and\/or its affiliates\. All rights reserved\.$
2+
^// Licensed under the Universal Permissive License v 1\.0 as shown at$
3+
^// http://oss\.oracle\.com/licenses/upl\.$

buildtime-reports/pom.xml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

@@ -19,26 +19,6 @@
1919
<plugin>
2020
<groupId>org.apache.maven.plugins</groupId>
2121
<artifactId>maven-enforcer-plugin</artifactId>
22-
<version>${maven-enforcer-plugin-version}</version>
23-
<executions>
24-
<execution>
25-
<id>enforce-maven</id>
26-
<goals>
27-
<goal>enforce</goal>
28-
</goals>
29-
<configuration>
30-
<rules>
31-
<requireMavenVersion>
32-
<version>${maven.version.range}</version>
33-
</requireMavenVersion>
34-
<requireJavaVersion>
35-
<version>${java.version.range}</version>
36-
</requireJavaVersion>
37-
<requirePluginVersions></requirePluginVersions>
38-
</rules>
39-
</configuration>
40-
</execution>
41-
</executions>
4222
</plugin>
4323
</plugins>
4424
</build>
@@ -48,7 +28,7 @@
4828
<id>reports</id>
4929
<activation>
5030
<property>
51-
<name>!no-reports</name>
31+
<name>!no-reports</name>
5232
</property>
5333
</activation>
5434
<build>

docs-source/content/developerguide/building.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ $ mvn clean install
1616

1717
This will compile the source files, build JAR files containing the compiled classes and libraries needed to run the operator, and will also execute all of the unit tests.
1818

19-
Contributions must conform to [coding and formatting standards]({{< relref "/developerguide/coding-standards.md" >}}). To automatically update local code to conform to formatting standards, issue the following command:
20-
21-
```
22-
$ mvn fmt:format
23-
```
19+
Contributions must conform to [coding and formatting standards]({{< relref "/developerguide/coding-standards.md" >}}).
2420

2521
#### Building Javadoc
2622

docs-source/content/quickstart/get-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and accept the license agreement for the [WebLogic Server image](https://hub.doc
1919
1. Pull the operator image:
2020

2121
```bash
22-
$ docker pull oracle/weblogic-kubernetes-operator:2.2.0
22+
$ docker pull oracle/weblogic-kubernetes-operator:2.2.1
2323
```
2424

2525
1. Pull the Traefik load balancer image:

docs-source/content/quickstart/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $ helm install stable/traefik \
5757
$ helm install kubernetes/charts/weblogic-operator \
5858
--name sample-weblogic-operator \
5959
--namespace sample-weblogic-operator-ns \
60-
--set image=oracle/weblogic-kubernetes-operator:2.2.0 \
60+
--set image=oracle/weblogic-kubernetes-operator:2.2.1 \
6161
--set serviceAccount=sample-weblogic-operator-sa \
6262
--set "domainNamespaces={}" \
6363
--wait

docs-source/content/userguide/introduction/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The operator is packaged in a [Docker image](https://hub.docker.com/r/oracle/web
1818

1919
```
2020
$ docker login
21-
$ docker pull oracle/weblogic-kubernetes-operator:2.2.0
21+
$ docker pull oracle/weblogic-kubernetes-operator:2.2.1
2222
```
2323

2424
For more details on acquiring the operator image and prerequisites for installing the operator, consult the [Quick Start guide]({{< relref "/quickstart/_index.md" >}}).

docs-source/content/userguide/managing-domains/configoverrides/_index.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,12 @@ spec:
336336
---
337337
### Debugging
338338
339-
Incorrectly formatted override files may be accepted without warnings or errors and will not prevent WebLogic pods from booting. So, it is important to make sure that the template files are correct in a QA environment, otherwise your WebLogic Servers may start even though critically required overrides are failing to take effect.
339+
Incorrectly formatted override files may be accepted without warnings or errors and may not prevent WebLogic pods from booting. So, it is important to make sure that the template files are correct in a QA environment, otherwise your WebLogic Servers may start even though critically required overrides are failing to take effect.
340+
341+
On WebLogic Servers that support the `weblogic.SituationalConfig.failBootOnError` system property ( Note: It is not supported in WebLogic Server 12.2.1.3.0 ),
342+
by default the WebLogic server will fail to boot if any situational configuration files are invalid,
343+
or if it encounters an error while loading situational configuration files.
344+
By setting the `FAIL_BOOT_ON_SITUATIONAL_CONFIG_ERROR` environment variable in the Kubernetes containers for the WebLogic Servers to `false`, you can start up the WebLogic Servers even with incorrectly formatted override files.
340345
341346
* Make sure you've followed each step in the [Step-by-step guide](#step-by-step-guide).
342347
@@ -363,9 +368,17 @@ Incorrectly formatted override files may be accepted without warnings or errors
363368
...
364369
```
365370
* Look in your `DOMAIN_HOME/optconfig` directory.
366-
* This directory, or a subdirectory within this directory, should contain each of your custom situational configuration files.
367-
* If it doesn't, then this likely indicates your domain resource `configOverrides` was not set to match your custom override configuration map name, or that your custom override configuration map does not contain your override files.
368-
371+
* This directory, or a subdirectory within this directory, should contain each of your custom situational configuration files.
372+
* If it doesn't, then this likely indicates your domain resource `configOverrides` was not set to match your custom override configuration map name, or that your custom override configuration map does not contain your override files.
373+
374+
* If the Administration Server pod does start but fails to reach ready state or tries to restart:
375+
* Check for this message ` WebLogic server failed to start due to missing or invalid situational configuration files` in the Administration Server pod's `kubectl log`
376+
* This suggests that the Administration Server failure to start may have been caused by errors found in a configuration override file.
377+
* Lines containing the String `situational` may be found in the Administration Server pod log to provide more hints.
378+
* For example:
379+
* `<Jun 20, 2019 3:48:45 AM GMT> <Warning> <Management> <BEA-141323> <The situational config file has an invalid format, it is being ignored: XMLSituationalConfigFile[/shared/domains/domain1/optconfig/jdbc/testDS-0527-jdbc-situational-config.xml] because org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 3; The element type "jdbc:jdbc-driver-params" must be terminated by the matching end-tag "</jdbc:jdbc-driver-params>".`
380+
* The warning message suggests a syntax error is found in the provided configuration override file for the testDS JDBC datasource.
381+
369382
* If you'd like to verify that the situational configuration is taking effect in the WebLogic MBean tree, then one way to do this is to compare the `server config` and `domain config` MBean tree values.
370383
* The `domain config` value should reflect the original value in your domain home configuration.
371384
* The `server config` value should reflect the overridden value.

docs-source/content/userguide/managing-domains/domain-lifecycle/restarting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ d. Update the `image` property of the domain resource specifying the new image n
161161
```
162162
domain:
163163
spec:
164-
image: oracle/weblogic-updated:2.2
164+
image: oracle/weblogic-updated:2.2.1
165165
```
166166
e. The operator will now initiate a rolling restart, which will apply the updated image, for all the server pods in the domain.
167167

0 commit comments

Comments
 (0)