Skip to content

2.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jun 10:59
· 364 commits to main since this release

🫧 Enhancements

  • [#549] - 🦈 add resolve-srv option 🦈
  • [#548] - Allow DNS SRV skip resolve

â›® Misc

  • [#606] - Allow to start without any address configured in static-list service
  • [#575] - Allow scheme in URL

🚨 Breaking Changes

Change Justification
method Optional<String> ServiceInstance::getPath() has been introduced New method to handle API gateways
method void Service::<init>(String, LoadBalancer, ServiceDiscovery, boolean) updated to method void Service::<init>(String, LoadBalancer, ServiceDiscovery, ServiceRegistrar, boolean) Service Registrar is now part of the Service
method ConfigWithType ServiceConfig::serviceRegistrar() has been introduced Registrar included in the service configuration
method List<ServiceRegistrarConfig> .ConfigProvider::getRegistrarConfigs() has been removed Registrar configuration is now part of configs
parameter ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(===ServiceRegistrarConfig===, StorkInfrastructure) updated to parameter ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(===ConfigWithType===, StorkInfrastructure) Use the ConfigWithType more generic type for registrars.
method ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<MetadataKeyType> internal.ServiceRegistrarLoader<MetadataKeyType extends Enum<MetadataKeyType> & MetadataKey>::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Service name is not needed anymore. It is present at Service config level.
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, boolean) Registrars are now part of configs
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>, boolean) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProvider::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrars are now part of configs
method List<ServiceRegistrarConfig> TestConfigProvider::getRegistrarConfigs() has been removed Registrars are now part of configs
method void TestConfigProviderBean::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProviderBean::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProviderBean::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrars are now part of configs
method List<ServiceRegistrarConfig> TestConfigProviderBean::getRegistrarConfigs() has been removed Registrars are now part of configs
method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Use the ConfigWithType more generic type for registrars and service name.
method ServiceDefinition ServiceDefinition::of(ConfigWithType, ConfigWithType) updated to method ServiceDefinition ServiceDefinition::of(ConfigWithType, ConfigWithType, ConfigWithType) Registrar included.
method Optional<String> ServiceInstance::getPath() has been introduced New method to handle API gateways
class EmptyServicesServiceDiscoveryProviderLoader updated to class EmptyServicesServiceDiscoveryProviderLoader the loaders are now also exposed as CDI beans
class TestLoadBalancer1ProviderLoader updated to class TestLoadBalancer1ProviderLoader the loaders are now also exposed as CDI beans
class TestLoadBalancer2ProviderLoader updated to class TestLoadBalancer2ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceDiscovery1ProviderLoader updated to class TestServiceDiscovery1ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceDiscovery2ProviderLoader updated to class TestServiceDiscovery2ProviderLoader the loaders are now also exposed as CDI beans
class TestServiceRegistrarProviderLoader updated to class TestServiceRegistrarProviderLoader The loaders are now also exposed as CDI beans
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, boolean) Registrars are now part of configs
method void TestConfigProvider::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>, boolean) updated to method void TestConfigProvider::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProvider::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrar config is now part of service config.
method List<ServiceRegistrarConfig> TestConfigProvider::getRegistrarConfigs() has been removed Registrars are now part of configs
method void TestConfigProviderBean::addServiceConfig(String, String, String, Map<String, String>, Map<String, String>) updated to method void TestConfigProviderBean::addServiceConfig(String, String, String, String, Map<String, String>, Map<String, String>, Map<String, String>) Registrars are now part of configs
method void TestConfigProviderBean::addServiceRegistrarConfig(String, String, Map<String, String>) has been removed Registrar config is now part of service config.
method List<ServiceRegistrarConfig> TestConfigProviderBean::getRegistrarConfigs() has been removed Registrar config is now part of service config.
method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ServiceRegistrarConfig, StorkInfrastructure) updated to method ServiceRegistrar<TestServiceRegistrarProvider.TestMetadata> TestServiceRegistrarProviderLoader::createServiceRegistrar(ConfigWithType, String, StorkInfrastructure) Registrars are now part of service config.
method List<ServiceRegistrarConfig> microprofile.MicroProfileConfigProvider::getRegistrarConfigs() has been removed Registrar config is now part of the service config.