Binary compatibility report for the dropwizard-discovery library between 0.7.1-3 and 0.7.1-5 versions
Test Info
Library Name | dropwizard-discovery |
Version #1 | 0.7.1-3 |
Version #2 | 0.7.1-5 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 97 / 19 |
Compatibility |
97.5% |
Problem Summary
| Severity | Count |
Added Methods | - | 16 |
Removed Methods | High | 1 |
Problems with Data Types | High | 2 |
Medium | 0 |
Low | 6 |
Problems with Methods | High | 0 |
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 6 |
Added Methods 16
dropwizard-discovery-0.7.1-5.jar, AbstractDiscoveryBundle.class
package io.dropwizard.discovery
AbstractDiscoveryBundle<T,V>.AbstractDiscoveryBundle<T,V> ( )
io/dropwizard/discovery/AbstractDiscoveryBundle."<init>":()V
AbstractDiscoveryBundle<T,V>.getPayloadClass ( ) [abstract] : Class<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.getPayloadClass:()Ljava/lang/Class;
AbstractDiscoveryBundle<T,V>.initialize ( Bootstrap<?> bootstrap ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.initialize:(Lio/dropwizard/setup/Bootstrap;)V
AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String serviceName ) : DiscoveryClient<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.newDiscoveryClient:(Ljava/lang/String;)Lio/dropwizard/discovery/client/DiscoveryClient;
AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String serviceName, ProviderStrategy<V> providerStrategy ) : DiscoveryClient<V>
io/dropwizard/discovery/AbstractDiscoveryBundle.newDiscoveryClient:(Ljava/lang/String;Lorg/apache/curator/x/discovery/ProviderStrategy;)Lio/dropwizard/discovery/client/DiscoveryClient;
AbstractDiscoveryBundle<T,V>.run ( Object p1, Environment p2 ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.run:(Ljava/lang/Object;Lio/dropwizard/setup/Environment;)V
AbstractDiscoveryBundle<T,V>.run ( T configuration, Environment environment ) : void
io/dropwizard/discovery/AbstractDiscoveryBundle.run:(Lio/dropwizard/Configuration;Lio/dropwizard/setup/Environment;)V
dropwizard-discovery-0.7.1-5.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser<T>.CuratorAdvertiser<T> ( DiscoveryFactory configuration, ServiceDiscovery<T> discovery, ServiceInstanceFactory<T> serviceInstanceFactory )
io/dropwizard/discovery/core/CuratorAdvertiser."<init>":(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;Lio/dropwizard/discovery/core/ServiceInstanceFactory;)V
dropwizard-discovery-0.7.1-5.jar, DefaultServiceInstanceFactory.class
package io.dropwizard.discovery.core
DefaultServiceInstanceFactory.build ( String serviceName, CuratorAdvertiser<InstanceMetadata> advertiser ) : ServiceInstance<InstanceMetadata>
io/dropwizard/discovery/core/DefaultServiceInstanceFactory.build:(Ljava/lang/String;Lio/dropwizard/discovery/core/CuratorAdvertiser;)Lorg/apache/curator/x/discovery/ServiceInstance;
DefaultServiceInstanceFactory.DefaultServiceInstanceFactory ( )
io/dropwizard/discovery/core/DefaultServiceInstanceFactory."<init>":()V
DefaultServiceInstanceFactory.getPayloadClass ( ) : Class<InstanceMetadata>
io/dropwizard/discovery/core/DefaultServiceInstanceFactory.getPayloadClass:()Ljava/lang/Class;
dropwizard-discovery-0.7.1-5.jar, DiscoveryBundle.class
package io.dropwizard.discovery
DiscoveryBundle<T>.getCuratorAdvertiser ( DiscoveryFactory discoveryConfig, ServiceDiscovery<InstanceMetadata> discovery ) : CuratorAdvertiser<InstanceMetadata>
io/dropwizard/discovery/DiscoveryBundle.getCuratorAdvertiser:(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)Lio/dropwizard/discovery/core/CuratorAdvertiser;
DiscoveryBundle<T>.getPayloadClass ( ) : Class<InstanceMetadata>
io/dropwizard/discovery/DiscoveryBundle.getPayloadClass:()Ljava/lang/Class;
dropwizard-discovery-0.7.1-5.jar, DiscoveryConfiguration.class
package io.dropwizard.discovery
DiscoveryConfiguration<T,V>.getCuratorAdvertiser ( DiscoveryFactory p1, ServiceDiscovery<V> p2 ) [abstract] : CuratorAdvertiser<V>
io/dropwizard/discovery/DiscoveryConfiguration.getCuratorAdvertiser:(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)Lio/dropwizard/discovery/core/CuratorAdvertiser;
dropwizard-discovery-0.7.1-5.jar, ServiceInstanceFactory.class
package io.dropwizard.discovery.core
ServiceInstanceFactory<T>.build ( String p1, CuratorAdvertiser<T> p2 ) [abstract] : ServiceInstance<T>
io/dropwizard/discovery/core/ServiceInstanceFactory.build:(Ljava/lang/String;Lio/dropwizard/discovery/core/CuratorAdvertiser;)Lorg/apache/curator/x/discovery/ServiceInstance;
ServiceInstanceFactory<T>.getPayloadClass ( ) [abstract] : Class<T>
io/dropwizard/discovery/core/ServiceInstanceFactory.getPayloadClass:()Ljava/lang/Class;
to the top
Removed Methods 1
dropwizard-discovery-0.7.1-3.jar, CuratorAdvertiser.class
package io.dropwizard.discovery.core
CuratorAdvertiser.CuratorAdvertiser ( DiscoveryFactory configuration, ServiceDiscovery<InstanceMetadata> discovery )
io/dropwizard/discovery/core/CuratorAdvertiser."<init>":(Lio/dropwizard/discovery/DiscoveryFactory;Lorg/apache/curator/x/discovery/ServiceDiscovery;)V
to the top
Problems with Data Types, High Severity 2
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery
[+] class DiscoveryBundle<T> 2
| Change | Effect |
---|
1 |
Removed super-interface io.dropwizard.ConfiguredBundle<T>. |
A client program may be interrupted by NoSuchMethodError exception. |
2 |
Removed super-interface DiscoveryConfiguration<T>. |
A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods: 1 (1%)
DiscoveryBundle<T>.DiscoveryBundle<T> ( )This constructor is from 'DiscoveryBundle<T>' abstract class.
to the top
Problems with Data Types, Low Severity 6
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery
[+] class DiscoveryBundle<T> 6
| Change | Effect |
---|
1 |
Added super-class AbstractDiscoveryBundle<T,core.InstanceMetadata>. |
A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause IncompatibleClassChangeError exception. |
2 |
Method void DiscoveryBundle<T>.initialize ( Bootstrap<?> ) has been moved up type hierarchy to void AbstractDiscoveryBundle<T,V>.initialize ( Bootstrap<?> ). |
Method AbstractDiscoveryBundle<T,V>.initialize ( Bootstrap<?> ) will be called instead of DiscoveryBundle<T>.initialize ( Bootstrap<?> ) in a client program. |
3 |
Method DiscoveryClient DiscoveryBundle<T>.newDiscoveryClient ( String ) has been moved up type hierarchy to DiscoveryClient<V> AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String ). |
Method AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String ) will be called instead of DiscoveryBundle<T>.newDiscoveryClient ( String ) in a client program. |
4 |
Method DiscoveryClient DiscoveryBundle<T>.newDiscoveryClient ( String, ProviderStrategy<InstanceMetadata> ) has been moved up type hierarchy to DiscoveryClient<V> AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String, ProviderStrategy<V> ). |
Method AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String, ProviderStrategy<V> ) will be called instead of DiscoveryBundle<T>.newDiscoveryClient ( String, ProviderStrategy<InstanceMetadata> ) in a client program. |
5 |
Method void DiscoveryBundle<T>.run ( T, Environment ) has been moved up type hierarchy to void AbstractDiscoveryBundle<T,V>.run ( T, Environment ). |
Method AbstractDiscoveryBundle<T,V>.run ( T, Environment ) will be called instead of DiscoveryBundle<T>.run ( T, Environment ) in a client program. |
6 |
Method void DiscoveryBundle<T>.run ( Object, Environment ) has been moved up type hierarchy to void AbstractDiscoveryBundle<T,V>.run ( Object, Environment ). |
Method AbstractDiscoveryBundle<T,V>.run ( Object, Environment ) will be called instead of DiscoveryBundle<T>.run ( Object, Environment ) in a client program. |
[+] affected methods: 6 (6.2%)
DiscoveryBundle<T>.DiscoveryBundle<T> ( )This constructor is from 'DiscoveryBundle<T>' abstract class.
DiscoveryBundle<T>.initialize ( Bootstrap<?> bootstrap )Method 'AbstractDiscoveryBundle<T,V>.initialize ( Bootstrap<?> )' will be called instead of this method in a client program.
DiscoveryBundle<T>.newDiscoveryClient ( String serviceName )Method 'AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String )' will be called instead of this method in a client program.
DiscoveryBundle<T>.newDiscoveryClient ( String serviceName, ProviderStrategy<InstanceMetadata> providerStrategy )Method 'AbstractDiscoveryBundle<T,V>.newDiscoveryClient ( String, ProviderStrategy<V> )' will be called instead of this method in a client program.
DiscoveryBundle<T>.run ( T configuration, Environment environment )Method 'AbstractDiscoveryBundle<T,V>.run ( T, Environment )' will be called instead of this method in a client program.
...
to the top
Other Changes in Data Types 6
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery
[+] interface DiscoveryConfiguration<T> 1
| Change | Effect |
---|
1 |
Abstract method CuratorAdvertiser<V> getCuratorAdvertiser ( DiscoveryFactory, ServiceDiscovery<V> ) has been added to this interface. |
No effect. |
[+] affected methods: 1 (1%)
DiscoveryConfiguration<T>.getDiscoveryFactory ( T p1 )This abstract method is from 'DiscoveryConfiguration<T>' interface.
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.client
[+] class DiscoveryClient 1
| Change | Effect |
---|
1 |
This class became generic (DiscoveryClient<T>). |
No effect. |
[+] affected methods: 8 (8.2%)
DiscoveryClient.DiscoveryClient ( String serviceName, ServiceDiscovery<InstanceMetadata> discovery, DownInstancePolicy downInstancePolicy, ProviderStrategy<InstanceMetadata> providerStrategy )This constructor is from 'DiscoveryClient' class.
DiscoveryClient.close ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstance ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstances ( )This method is from 'DiscoveryClient' class.
DiscoveryClient.getInstances ( String serviceName )This method is from 'DiscoveryClient' class.
...
[+] class DiscoveryClientManager 1
| Change | Effect |
---|
1 |
This class became generic (DiscoveryClientManager<T>). |
No effect. |
[+] affected methods: 3 (3.1%)
DiscoveryClientManager.DiscoveryClientManager ( DiscoveryClient client )This constructor is from 'DiscoveryClientManager' class.
DiscoveryClientManager.start ( )This method is from 'DiscoveryClientManager' class.
DiscoveryClientManager.stop ( )This method is from 'DiscoveryClientManager' class.
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.core
[+] class CuratorAdvertisementListener 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertisementListener<T>). |
No effect. |
[+] affected methods: 2 (2.1%)
CuratorAdvertisementListener.CuratorAdvertisementListener ( CuratorAdvertiser advertiser )This constructor is from 'CuratorAdvertisementListener' class.
CuratorAdvertisementListener.serverStarted ( Server server )This method is from 'CuratorAdvertisementListener' class.
[+] class CuratorAdvertiser 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertiser<T>). |
No effect. |
[+] affected methods: 12 (12.4%)
CuratorAdvertiser.CuratorAdvertiser ( DiscoveryFactory configuration, ServiceDiscovery<InstanceMetadata> discovery )This constructor is from 'CuratorAdvertiser' class.
CuratorAdvertiser.checkInitialized ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getInstance ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getInstanceId ( )This method is from 'CuratorAdvertiser' class.
CuratorAdvertiser.getListenAddress ( )This method is from 'CuratorAdvertiser' class.
...
dropwizard-discovery-0.7.1-3.jar
package io.dropwizard.discovery.manage
[+] class CuratorAdvertiserManager 1
| Change | Effect |
---|
1 |
This class became generic (CuratorAdvertiserManager<T>). |
No effect. |
[+] affected methods: 3 (3.1%)
CuratorAdvertiserManager.CuratorAdvertiserManager ( CuratorAdvertiser advertiser )This constructor is from 'CuratorAdvertiserManager' class.
CuratorAdvertiserManager.start ( )This method is from 'CuratorAdvertiserManager' class.
CuratorAdvertiserManager.stop ( )This method is from 'CuratorAdvertiserManager' class.
to the top
Java Archives 1
dropwizard-discovery-0.7.1-3.jar
to the top