Skip to content

Commit 475e0fb

Browse files
committed
Dependency updates including Kubernetes Java Client 19.0.0
1 parent 3dffe42 commit 475e0fb

File tree

8 files changed

+335
-10
lines changed

8 files changed

+335
-10
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public class Kubernetes {
116116
private static final Boolean ALLOW_WATCH_BOOKMARKS = false;
117117
private static final String RESOURCE_VERSION = "";
118118
private static final String RESOURCE_VERSION_MATCH_UNSET = null;
119+
private static final Boolean SEND_INITIAL_EVENTS_UNSET = null;
119120
private static final Integer TIMEOUT_SECONDS = 5;
120121
private static final String DOMAIN_GROUP = "weblogic.oracle";
121122
private static final String CLUSTER_GROUP = "weblogic.oracle";
@@ -411,6 +412,7 @@ public static V1DeploymentList listDeployments(String namespace) throws ApiExcep
411412
null, // Integer | limit is a maximum number of responses to return for a list call.
412413
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
413414
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
415+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
414416
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
415417
Boolean.FALSE // Boolean | Watch for changes to the described resources.
416418
);
@@ -794,6 +796,7 @@ public static V1PodList listPods(String namespace, String labelSelectors) throws
794796
null, // maximum number of responses to return for a list call.
795797
null, // shows changes that occur after that particular version of a resource.
796798
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
799+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
797800
null, // Timeout for the list/watch call.
798801
Boolean.FALSE // Watch for changes to the described resources.
799802
);
@@ -825,6 +828,7 @@ public static V1PodDisruptionBudgetList listPodDisruptionBudgets(String namespac
825828
null, // maximum number of responses to return for a list call.
826829
null, // shows changes that occur after that particular version of a resource.
827830
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
831+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
828832
null, // Timeout for the list/watch call.
829833
Boolean.FALSE // Watch for changes to the described resources.
830834
);
@@ -1075,6 +1079,7 @@ public static List<String> listNamespaces(String labelSelector) throws ApiExcept
10751079
null, // maximum number of responses to return for a list call
10761080
RESOURCE_VERSION, // shows changes that occur after that particular version of a resource
10771081
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
1082+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
10781083
TIMEOUT_SECONDS, // Timeout for the list/watch call
10791084
false // Watch for changes to the described resources
10801085
);
@@ -1107,6 +1112,7 @@ public static V1NamespaceList listNamespacesAsObjects() throws ApiException {
11071112
null, // maximum number of responses to return for a list call
11081113
RESOURCE_VERSION, // shows changes that occur after that particular version of a resource
11091114
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
1115+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
11101116
TIMEOUT_SECONDS, // Timeout for the list/watch call
11111117
false // Watch for changes to the described resources
11121118
);
@@ -1135,6 +1141,7 @@ public static V1Namespace getNamespace(String name) throws ApiException {
11351141
null, // maximum number of responses to return for a list call
11361142
RESOURCE_VERSION, // shows changes that occur after that particular version of a resource
11371143
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
1144+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
11381145
TIMEOUT_SECONDS, // Timeout for the list/watch call
11391146
false // Watch for changes to the described resources
11401147
);
@@ -1221,6 +1228,7 @@ public static List<CoreV1Event> listNamespacedEvents(String namespace) throws Ap
12211228
null, // Integer | limit is a maximum number of responses to return for a list call.
12221229
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
12231230
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
1231+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
12241232
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
12251233
Boolean.FALSE // Boolean | Watch for changes to the described resources.
12261234
);
@@ -1255,6 +1263,7 @@ public static List<CoreV1Event> listOpGeneratedNamespacedEvents(String namespace
12551263
null, // Integer | limit is a maximum number of responses to return for a list call.
12561264
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
12571265
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
1266+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
12581267
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
12591268
Boolean.FALSE // Boolean | Watch for changes to the described resources.
12601269
);
@@ -2061,6 +2070,7 @@ public static V1ConfigMapList listConfigMaps(String namespace) throws ApiExcepti
20612070
null, // maximum number of responses to return for a list call
20622071
RESOURCE_VERSION, // shows changes that occur after that particular version of a resource
20632072
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
2073+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
20642074
TIMEOUT_SECONDS, // Timeout for the list/watch call
20652075
false // Watch for changes to the described resources
20662076
);
@@ -2375,6 +2385,7 @@ public static V1PersistentVolumeList listPersistentVolumes(String labels) throws
23752385
null, // maximum number of responses to return for a list call
23762386
RESOURCE_VERSION, // shows changes that occur after that particular version of a resource
23772387
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
2388+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
23782389
TIMEOUT_SECONDS, // Timeout for the list/watch call
23792390
false // Watch for changes to the described resources
23802391
);
@@ -2769,6 +2780,7 @@ public static V1JobList listJobs(String namespace) throws ApiException {
27692780
null, // Integer | limit is a maximum number of responses to return for a list call.
27702781
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
27712782
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
2783+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
27722784
TIMEOUT_SECONDS, // Integer | Timeout for the list/watch call.
27732785
Boolean.FALSE // Boolean | Watch for changes to the described resources
27742786
);
@@ -2850,6 +2862,7 @@ public static V1ReplicaSetList listReplicaSets(String namespace) throws ApiExcep
28502862
null, // Integer | limit is a maximum number of responses to return for a list call.
28512863
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
28522864
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
2865+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
28532866
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
28542867
Boolean.FALSE // Boolean | Watch for changes to the described resources.
28552868
);
@@ -3006,6 +3019,7 @@ public static V1RoleBindingList listRoleBindingForAllNamespaces(String labelSele
30063019
PRETTY, // String | If true, then the output is pretty printed.
30073020
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
30083021
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3022+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
30093023
TIMEOUT_SECONDS, // Integer | Timeout for the list/watch call.
30103024
Boolean.FALSE // Boolean | Watch for changes to the described resources
30113025
);
@@ -3035,6 +3049,7 @@ public static V1ClusterRoleBindingList listClusterRoleBindings(String labelSelec
30353049
null, // Integer | limit is a maximum number of responses to return for a list call.
30363050
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
30373051
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3052+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
30383053
TIMEOUT_SECONDS, // Integer | Timeout for the list/watch call.
30393054
Boolean.FALSE // Boolean | Watch for changes to the described resources
30403055
);
@@ -3094,6 +3109,7 @@ public static V1RoleBindingList listNamespacedRoleBinding(String namespace)
30943109
null, // Integer | limit is a maximum number of responses to return for a list call.
30953110
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
30963111
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3112+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
30973113
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
30983114
Boolean.FALSE // Boolean | Watch for changes to the described resources.
30993115
);
@@ -3124,6 +3140,7 @@ public static V1ValidatingWebhookConfigurationList listValidatingWebhookConfigur
31243140
null, // Integer | limit is a maximum number of responses to return for a list call.
31253141
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
31263142
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3143+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
31273144
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
31283145
Boolean.FALSE // Boolean | Watch for changes to the described resources.
31293146
);
@@ -3180,6 +3197,7 @@ public static V1ClusterRoleList listClusterRoles(String labelSelector) throws Ap
31803197
null, // Integer | limit is a maximum number of responses to return for a list call.
31813198
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
31823199
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3200+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
31833201
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
31843202
Boolean.FALSE // Boolean | Watch for changes to the described resources.
31853203
);
@@ -3237,6 +3255,7 @@ public static V1RoleList listNamespacedRoles(String namespace) throws ApiExcepti
32373255
null, // Integer | limit is a maximum number of responses to return for a list call.
32383256
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
32393257
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3258+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
32403259
TIMEOUT_SECONDS, // Integer | Timeout for the list call.
32413260
Boolean.FALSE // Boolean | Watch for changes to the described resources.
32423261
);
@@ -3310,6 +3329,7 @@ public static V1IngressList listNamespacedIngresses(String namespace) throws Api
33103329
null, // Integer | limit is a maximum number of responses to return for a list call.
33113330
RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
33123331
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
3332+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
33133333
TIMEOUT_SECONDS, // Integer | Timeout for the list/watch call.
33143334
ALLOW_WATCH_BOOKMARKS // Boolean | Watch for changes to the described resources.
33153335
);

integration-tests/src/test/java/oracle/weblogic/kubernetes/assertions/impl/Kubernetes.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2020, 2022, 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
package oracle.weblogic.kubernetes.assertions.impl;
@@ -52,6 +52,7 @@ public class Kubernetes {
5252
private static final String OPERATOR_NAME = "weblogic-operator-";
5353

5454
private static final String RESOURCE_VERSION_MATCH_UNSET = null;
55+
private static final Boolean SEND_INITIAL_EVENTS_UNSET = null;
5556

5657
private static ApiClient apiClient = null;
5758
private static CoreV1Api coreV1Api = null;
@@ -472,6 +473,7 @@ public static V1Pod getPod(String namespace, String labelSelector, String podNam
472473
null, // maximum number of responses to return for a list call.
473474
null, // shows changes that occur after that particular version of a resource.
474475
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
476+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
475477
null, // Timeout for the list/watch call.
476478
Boolean.FALSE // Watch for changes to the described resources.
477479
);
@@ -570,6 +572,7 @@ public static V1Service getService(
570572
Boolean.FALSE.toString(), // pretty print output.
571573
null, // shows changes that occur after that particular version of a resource.
572574
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
575+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
573576
null, // Timeout for the list/watch call.
574577
Boolean.FALSE // Watch for changes to the described resources.
575578
);
@@ -686,6 +689,7 @@ public static V1PodList listPods(String namespace, String labelSelectors) throws
686689
null, // maximum number of responses to return for a list call.
687690
null, // shows changes that occur after that particular version of a resource.
688691
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
692+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
689693
null, // Timeout for the list/watch call.
690694
Boolean.FALSE // Watch for changes to the described resources.
691695
);
@@ -711,6 +715,7 @@ public static void listServices(String namespace, String labelSelectors) throws
711715
Boolean.FALSE.toString(), // pretty print output.
712716
null, // shows changes that occur after that particular version of a resource.
713717
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
718+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
714719
null, // Timeout for the list/watch call.
715720
Boolean.FALSE // Watch for changes to the described resources.
716721
);
@@ -758,6 +763,7 @@ public static V1JobList listJobs(String namespace, String labelSelectors) {
758763
null, // Integer | limit is a maximum number of responses to return for a list call.
759764
"", // String | Shows changes that occur after that particular version of a resource.
760765
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
766+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
761767
5, // Integer | Timeout for the list/watch call.
762768
Boolean.FALSE // Boolean | Watch for changes to the described resources
763769
);
@@ -878,6 +884,7 @@ public static V1PersistentVolumeList listPersistentVolumes(String labels) throws
878884
null, // maximum number of responses to return for a list call
879885
"", // shows changes that occur after that particular version of a resource
880886
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
887+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
881888
5, // Timeout for the list/watch call
882889
false // Watch for changes to the described resources
883890
);
@@ -907,6 +914,7 @@ public static V1PersistentVolumeClaimList listPersistentVolumeClaims(String name
907914
null, // maximum number of responses to return for a list call
908915
"", // shows changes that occur after that particular version of a resource
909916
RESOURCE_VERSION_MATCH_UNSET, // String | how to match resource version, leave unset
917+
SEND_INITIAL_EVENTS_UNSET, // Boolean | if to send initial events
910918
5, // Timeout for the list/watch call
911919
false // Watch for changes to the described resources
912920
);

0 commit comments

Comments
 (0)