Skip to content

1.1.0

Compare
Choose a tag to compare
@michalszynkiewicz michalszynkiewicz released this 23 Feb 09:31
· 942 commits to main since this release

What's Changed

New Contributors

Full Changelog: 1.0.0...1.1.0

Breaking Changes

  • class io.smallrye.stork.loadbalancer.leastresponsetime.CallStatistics has been removed: The class was moved to the impl package
  • method java.lang.String io.smallrye.stork.loadbalancer.leastresponsetime.LeastResponseTimeLoadBalancerProviderConfiguration::getForceRetryThreshold() has been removed: The parameter of the load balancer was removed
  • method java.lang.String io.smallrye.stork.loadbalancer.leastresponsetime.LeastResponseTimeLoadBalancerProviderConfiguration::getRetryAfterFailureThreshold() has been removed: The parameter of the load balancer was removed
  • class io.smallrye.stork.loadbalancer.leastresponsetime.LeastResponseTimeLoadBalancerProvider has been removed: The least-response-time load balancer now accepts declining-factor and error-penalty attributes, the former attributes are not supported.
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.staticlist.StaticListServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.staticlist.StaticListServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Added Infrastructure support (new feature)
  • field io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscovery.META_CONSUL_SERVICE_ID has been removed: Moved to a new Metadata model (new feature)
  • field io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscovery.META_CONSUL_SERVICE_NODE has been removed: Moved to a new Metadata model (new feature)
  • field io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscovery.META_CONSUL_SERVICE_NODE_ADDRESS has been removed: Moved to a new Metadata model (new feature)
  • field io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscovery.META_CONSUL_SERVICE_TAGS has been removed: Moved to a new Metadata model (new feature)
  • method boolean io.smallrye.stork.CachingServiceDiscovery::refreshNotNeed() @ io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscovery has been removed: Removed unused method
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.consul.ConsulServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Integrate Infrastructure (new feature)
  • method boolean io.smallrye.stork.CachingServiceDiscovery::refreshNotNeed() @ io.smallrye.stork.servicediscovery.kubernetes.KubernetesServiceDiscovery has been removed: Remove unused method
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.kubernetes.KubernetesServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.kubernetes.KubernetesServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Integrate Infrastructure (new feature)
  • method void io.smallrye.stork.servicediscovery.eureka.EurekaServiceDiscovery::<init>(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, boolean) updated to method void io.smallrye.stork.servicediscovery.eureka.EurekaServiceDiscovery::<init>(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, boolean, io.smallrye.stork.integration.StorkInfrastructure): Integrate Infrastructure support (new feature)
  • method boolean io.smallrye.stork.CachingServiceDiscovery::refreshNotNeed() @ io.smallrye.stork.servicediscovery.eureka.EurekaServiceDiscovery has been removed: Removed unused method
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.eureka.EurekaServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.servicediscovery.eureka.EurekaServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Integrate Infrastructure support (new feature)
  • class io.smallrye.stork.servicediscovery.eureka.StorkConfigHelper has been removed: Removed unused class
  • class io.smallrye.stork.StorkTestUtils has been removed: Class moved to avoid a split package
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.test.TestServiceDiscovery1Provider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.test.TestServiceDiscovery1Provider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Added Infrastructure support (new feature)
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.test.TestServiceDiscovery2Provider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.test.TestServiceDiscovery2Provider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Added Infrastructure support (new feature)
  • class io.smallrye.stork.test.TestConfigProvider has been removed: The interface was moved to the API module
  • class io.smallrye.stork.microprofile.MicroProfileConfigProvider has been removed: The interface was moved to the API module
  • class io.smallrye.stork.CachingServiceDiscovery.Refresh has been removed: Switched to Uni.memoize(), the functionality didn't change
  • method boolean io.smallrye.stork.CachingServiceDiscovery::refreshNotNeed() has been removed: Switched to Uni.memoize(), the functionality didn't change
  • parameter void io.smallrye.stork.DefaultServiceInstance::<init>(long, java.lang.String, int, boolean, java.util.Map<java.lang.String, java.lang.String>, ===java.util.Map<java.lang.String, java.lang.Object>===) updated to parameter void io.smallrye.stork.DefaultServiceInstance::<init>(long, java.lang.String, int, boolean, java.util.Map<java.lang.String, java.lang.String>, ===io.smallrye.stork.Metadata<? extends io.smallrye.stork.MetadataKey>===): Added metadata support (new feature)
  • method java.util.Map<java.lang.String, java.lang.Object> io.smallrye.stork.DefaultServiceInstance::getMetadata() updated to method io.smallrye.stork.Metadata<? extends io.smallrye.stork.MetadataKey> io.smallrye.stork.DefaultServiceInstance::getMetadata(): Added metadata support (new feature)
  • method java.util.Map<java.lang.String, java.lang.Object> io.smallrye.stork.ServiceInstance::getMetadata() updated to method io.smallrye.stork.Metadata<? extends io.smallrye.stork.MetadataKey> io.smallrye.stork.ServiceInstance::getMetadata(): Added metadata support (new feature)
  • class io.smallrye.stork.ServiceInstancesCache has been removed: Switched to Uni.memoize(), the functionality didn't change
  • method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.spi.ServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig) updated to method io.smallrye.stork.ServiceDiscovery io.smallrye.stork.spi.ServiceDiscoveryProvider::createServiceDiscovery(io.smallrye.stork.config.ServiceDiscoveryConfig, java.lang.String, io.smallrye.stork.config.ServiceConfig, io.smallrye.stork.integration.StorkInfrastructure): Added Infrastructure support
  • java.class.externalClassExposedInAPI Basic API classes have been pulled out to the stork-api module
  • class io.smallrye.stork.spi.ServiceInstanceIds has been removed: The class was moved to the io.smallrye.stork.utils package
  • class io.smallrye.stork.spi.ServiceInstanceUtils has been removed: The class was moved to the io.smallrye.stork.utils package
  • class io.smallrye.stork.spi.SimpleServiceConfig has been removed: The class was moved to the API module
  • interface io.smallrye.stork.impl.config.ConfigProvider has been removed: The class was moved to the API module
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::empty() updated to method io.smallrye.stork.api.Metadata<? extends io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::empty(): Use proper parameterized types - it should be invisible to users, except less warnings
  • parameter io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(===java.lang.Class<?>===) updated to parameter <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(===java.lang.Class<K>===): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>): Use proper parameterized types - it should be invisible to users, except less warnings
  • parameter io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(===java.lang.Class<?>===, java.util.Map<?, java.lang.Object>) updated to parameter <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(===java.lang.Class<K>===, java.util.Map<K, java.lang.Object>): Use proper parameterized types - it should be invisible to users, except less warnings
  • parameter io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>, ===java.util.Map<?, java.lang.Object>===) updated to parameter <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>, ===java.util.Map<K, java.lang.Object>===): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>, java.util.Map<?, java.lang.Object>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>, java.util.Map<K, java.lang.Object>): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>, java.util.Map<?, java.lang.Object>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>, java.util.Map<K, java.lang.Object>): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<?>, java.util.Map<?, java.lang.Object>) updated to method <K extends java.lang.Enum<K> & io.smallrye.stork.api.MetadataKey> io.smallrye.stork.api.Metadata<K> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::of(java.lang.Class<K>, java.util.Map<K, java.lang.Object>): Use proper parameterized types - it should be invisible to users, except less warnings
  • method io.smallrye.stork.api.Metadata io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::with(T, java.lang.Object) updated to method io.smallrye.stork.api.Metadata<T> io.smallrye.stork.api.Metadata<T extends java.lang.Enum<T>>::with(T, java.lang.Object): Use proper parameterized types - it should be invisible to users, except less warnings
  • method void io.smallrye.stork.api.ServiceInstance::recordResult(long, java.lang.Throwable) has been removed: The method was replaced with dedicated methods for recording start of a call, end of a call and failure
  • method void io.smallrye.stork.api.Service::<init>(java.lang.String, java.util.Optional<io.smallrye.stork.api.LoadBalancer>, io.smallrye.stork.api.ServiceDiscovery, boolean) updated to method void io.smallrye.stork.api.Service::<init>(java.lang.String, io.smallrye.stork.api.LoadBalancer, io.smallrye.stork.api.ServiceDiscovery, boolean, boolean): A new parameter was added to specify if the load balancer is thread-safe. Also, the LoadBalancer is not passed as Optional anymore, since it defaults to round-robin
  • method io.smallrye.mutiny.Uni<java.util.List<io.smallrye.stork.api.ServiceInstance>> io.smallrye.stork.api.Service::getServiceInstances() has been removed: The method was renamed to getInstances()
  • method io.smallrye.mutiny.Uni<io.smallrye.stork.api.ServiceInstance> io.smallrye.stork.api.Service::selectServiceInstance() has been removed: The method was renamed to selectInstance()