File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed
kubernetes/samples/scripts
create-weblogic-domain/manually-create-domain
model/src/main/java/oracle/kubernetes/operator
operator/src/test/java/oracle/kubernetes/operator/helpers Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
2
-
3
2
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
4
3
#
5
4
# This is an example of how to define a Domain resource.
6
5
#
7
- apiVersion : " weblogic.oracle/v3 "
6
+ apiVersion : " weblogic.oracle/v4 "
8
7
kind : Domain
9
8
metadata :
10
9
name : %DOMAIN_UID%
Original file line number Diff line number Diff line change 1
1
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
2
-
3
2
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
4
3
#
5
4
# This is an example of how to define a Domain resource. Please read through the comments which explain
6
5
# what updates are needed.
7
6
#
8
- apiVersion : " weblogic.oracle/v3 "
7
+ apiVersion : " weblogic.oracle/v4 "
9
8
kind : Domain
10
9
metadata :
11
10
# Update this with the `domainUID` of your domain:
Original file line number Diff line number Diff line change 1
- // Copyright 2017, 2018 , Oracle Corporation and/or its affiliates. All rights reserved.
1
+ // Copyright 2017, 2019 , Oracle Corporation and/or its affiliates. All rights reserved.
2
2
// Licensed under the Universal Permissive License v 1.0 as shown at
3
3
// http://oss.oracle.com/licenses/upl.
4
4
@@ -22,8 +22,8 @@ public interface KubernetesConstants {
22
22
String DOMAIN_PLURAL = "domains" ;
23
23
String DOMAIN_SINGULAR = "domain" ;
24
24
String DOMAIN_SHORT = "dom" ;
25
- String DOMAIN_VERSION = "v3 " ;
26
- String [] DOMAIN_ALTERNATE_VERSIONS = {"v2" };
25
+ String DOMAIN_VERSION = "v4 " ;
26
+ String [] DOMAIN_ALTERNATE_VERSIONS = {"v2" , "v3" };
27
27
28
28
boolean DEFAULT_INCLUDE_SERVER_OUT_IN_POD_LOG = true ;
29
29
Original file line number Diff line number Diff line change 1
- // Copyright 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1
+ // Copyright 2018, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
2
2
// Licensed under the Universal Permissive License v 1.0 as shown at
3
3
// http://oss.oracle.com/licenses/upl.
4
4
@@ -146,7 +146,7 @@ public void whenExistingCRDHasOldVersion_replaceIt() {
146
146
147
147
@ Test
148
148
public void whenExistingCRDHasFutureVersion_dontReplaceIt () {
149
- V1beta1CustomResourceDefinition existing = defineCRD ("v4 " , "operator-v4 " );
149
+ V1beta1CustomResourceDefinition existing = defineCRD ("v500 " , "operator-v500 " );
150
150
existing
151
151
.getSpec ()
152
152
.addVersionsItem (
@@ -160,9 +160,9 @@ public void whenExistingCRDHasFutureVersion_dontReplaceIt() {
160
160
161
161
@ Test
162
162
public void whenExistingCRDHasFutureVersionButNotCurrentStorage_updateIt () {
163
- expectReadCRD ().returning (defineCRD ("v4 " , "operator-v4 " ));
163
+ expectReadCRD ().returning (defineCRD ("v500 " , "operator-v500 " ));
164
164
165
- V1beta1CustomResourceDefinition replacement = defineCRD ("v4 " , "operator-v4 " );
165
+ V1beta1CustomResourceDefinition replacement = defineCRD ("v500 " , "operator-v500 " );
166
166
replacement
167
167
.getSpec ()
168
168
.addVersionsItem (
You can’t perform that action at this time.
0 commit comments