@@ -90,7 +90,7 @@ void getInstancesShouldBeAbleToHandleEndpointsSingleAddress() {
9090 KubernetesDiscoveryProperties .Metadata metadata = new KubernetesDiscoveryProperties .Metadata (false , null , false ,
9191 null , false , null );
9292 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , false , Set .of (), true , 60 ,
93- false , null , Set .of (), Map .of (), null , metadata , 0 , true );
93+ false , null , Set .of (), Map .of (), null , metadata , 0 , true , false , null );
9494
9595 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
9696 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
@@ -120,7 +120,8 @@ void getInstancesShouldBeAbleToHandleEndpointsSingleAddressAndMultiplePorts() {
120120 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
121121
122122 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
123- false , null , Set .of (), labels , "http_tcp" , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true );
123+ false , null , Set .of (), labels , "http_tcp" , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true ,
124+ false , null );
124125
125126 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
126127 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
@@ -154,7 +155,7 @@ void getInstancesShouldBeAbleToHandleEndpointsMultipleAddresses() {
154155 KubernetesDiscoveryProperties .Metadata metadata = new KubernetesDiscoveryProperties .Metadata (false , null , false ,
155156 null , true , "port." );
156157 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
157- false , null , Set .of (443 , 8443 ), labels , null , metadata , 0 , true );
158+ false , null , Set .of (443 , 8443 ), labels , null , metadata , 0 , true , false , null );
158159
159160 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
160161 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
@@ -190,7 +191,8 @@ void getInstancesShouldBeAbleToHandleEndpointsFromMultipleNamespaces() {
190191 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
191192
192193 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
193- false , null , Set .of (), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true );
194+ false , null , Set .of (), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true , false ,
195+ null );
194196
195197 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
196198 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
@@ -230,7 +232,8 @@ void instanceWithoutSubsetsShouldBeSkipped() {
230232 servicesCache .add (service );
231233
232234 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
233- false , null , Set .of (), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true );
235+ false , null , Set .of (), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true , false ,
236+ null );
234237 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
235238 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
236239
@@ -255,8 +258,8 @@ void getInstancesShouldBeAbleToHandleEndpointsSingleAddressAndMultiplePortsUsing
255258 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
256259
257260 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
258- false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 ,
259- true );
261+ false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true ,
262+ false , null );
260263 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
261264 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
262265
@@ -287,8 +290,8 @@ void instanceWithMultiplePortsAndMisconfiguredPrimaryPortNameInLabelWithoutFallb
287290 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
288291
289292 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , false , Set .of (), true , 60 ,
290- false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 ,
291- true );
293+ false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true ,
294+ false , null );
292295 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
293296 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
294297
@@ -319,7 +322,7 @@ void instanceWithMultiplePortsAndMisconfiguredGenericPrimaryPortNameWithoutFallb
319322
320323 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , false , Set .of (), true , 60 ,
321324 false , null , Set .of (443 , 8443 ), Map .of (), "oops" , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 ,
322- true );
325+ true , false , null );
323326 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
324327 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
325328
@@ -349,8 +352,8 @@ void instanceWithMultiplePortsAndWithoutPrimaryPortNameSpecifiedShouldFallBackTo
349352 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
350353
351354 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , false , Set .of (), true , 60 ,
352- false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 ,
353- true );
355+ false , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true ,
356+ false , null );
354357
355358 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
356359 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
@@ -412,7 +415,8 @@ void instanceWithMultiplePortsAndWithoutPrimaryPortNameSpecifiedShouldLogWarning
412415 setup (serviceId , serviceType , namespace , labels , ips , uuids , names , protocols , ports , appProtocols );
413416
414417 KubernetesDiscoveryProperties properties = new KubernetesDiscoveryProperties (true , true , Set .of (), true , 60 ,
415- true , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true );
418+ true , null , Set .of (443 , 8443 ), Map .of (), null , KubernetesDiscoveryProperties .Metadata .DEFAULT , 0 , true ,
419+ false , null );
416420
417421 KubernetesInformerDiscoveryClient discoveryClient = new KubernetesInformerDiscoveryClient (STUB , servicesLister ,
418422 endpointsLister , SERVICE_SHARED_INFORMER_STUB , ENDPOINTS_SHARED_INFORMER_STUB , properties );
0 commit comments