11// Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22// Licensed under the Universal Permissive License v 1.0 as shown at
33// http://oss.oracle.com/licenses/upl.
4+
45package oracle .kubernetes .operator ;
56
67import java .nio .file .Files ;
@@ -60,9 +61,9 @@ private void setupOperatorAndDomain(String operatorGitRelease, String operatorRe
6061 operatorMap .put ("namespace" , OP_NS );
6162 operatorMap .put ("releaseName" , OP_DEP_NAME );
6263 operatorMap .put ("serviceAccount" , OP_SA );
63- List <String > dom_ns = new ArrayList <String >();
64- dom_ns .add (DOM_NS );
65- operatorMap .put ("domainNamespaces" , dom_ns );
64+ List <String > domNs = new ArrayList <String >();
65+ domNs .add (DOM_NS );
66+ operatorMap .put ("domainNamespaces" , domNs );
6667 operator = TestUtils .createOperator (operatorMap , Operator .RestCertType .LEGACY );
6768 TestUtils .exec ("kubectl get all --all-namespaces" , true );
6869
@@ -79,7 +80,7 @@ private void setupOperatorAndDomain(String operatorGitRelease, String operatorRe
7980 }
8081
8182 /**
82- * cleanup the domain and operator after every test
83+ * cleanup the domain and operator after every test.
8384 *
8485 * @throws Exception when domain and operator cleanup fails
8586 */
@@ -99,7 +100,7 @@ public void cleanupOperatorAndDomain() throws Exception {
99100 }
100101
101102 /**
102- * Releases k8s cluster lease, archives result, pv directories
103+ * Releases k8s cluster lease, archives result, pv directories.
103104 *
104105 * @throws Exception when deleting pv directories or other tearDown tasks fail.
105106 */
@@ -115,7 +116,7 @@ public static void staticUnPrepare() throws Exception {
115116 }
116117
117118 /**
118- * Test for upgrading Operator from release 2.0 to develop branch
119+ * Test for upgrading Operator from release 2.0 to develop branch.
119120 *
120121 * @throws Exception when upgrade fails
121122 */
@@ -135,7 +136,7 @@ public void testOperatorUpgradeFrom2_0() throws Exception {
135136 }
136137
137138 /**
138- * Test for upgrading Operator from release 2.0.1 to develop branch
139+ * Test for upgrading Operator from release 2.0.1 to develop branch.
139140 *
140141 * @throws Exception when upgrade fails
141142 */
@@ -155,7 +156,7 @@ public void testOperatorUpgradeFrom2_0_1() throws Exception {
155156 }
156157
157158 /**
158- * Test for upgrading Operator from release 2.1 to develop branch
159+ * Test for upgrading Operator from release 2.1 to develop branch.
159160 *
160161 * @throws Exception when upgrade fails
161162 */
@@ -175,7 +176,7 @@ public void testOperatorUpgradeFrom2_1() throws Exception {
175176 }
176177
177178 /**
178- * Test for upgrading Operator from release 2.2.0 to develop branch
179+ * Test for upgrading Operator from release 2.2.0 to develop branch.
179180 *
180181 * @throws Exception when upgrade fails
181182 */
@@ -195,7 +196,7 @@ public void testOperatorUpgradeFrom2_2_0() throws Exception {
195196 }
196197
197198 /**
198- * Test for upgrading Operator from release 2.2.1 to develop branch
199+ * Test for upgrading Operator from release 2.2.1 to develop branch.
199200 *
200201 * @throws Exception when upgrade fails
201202 */
@@ -215,7 +216,7 @@ public void testOperatorUpgradeFrom2_2_1() throws Exception {
215216 }
216217
217218 /**
218- * Upgrades operator to develop branch by using the helm upgrade
219+ * Upgrades operator to develop branch by using the helm upgrade.
219220 *
220221 * @param restart boolean parameter used to determine if a restart of domain is checked
221222 * @throws Exception when upgrade fails or basic usecase testing or scaling fails.
@@ -232,7 +233,7 @@ private void upgradeOperator(boolean restart) throws Exception {
232233
233234 /**
234235 * checks the expected version of the upgraded operator in a loop. In Jenkins it takes nearly 8
235- * minutes to show the updated value of the domain CRD
236+ * minutes to show the updated value of the domain CRD.
236237 *
237238 * @throws Exception when version does not match
238239 */
@@ -260,7 +261,7 @@ private void checkOperatorVersion() throws Exception {
260261 }
261262
262263 /**
263- * Check whether the weblogic server instances are rolling restarted
264+ * Check whether the weblogic server instances are rolling restarted.
264265 *
265266 * @throws Exception If restart fails or not restarted
266267 */
0 commit comments