This repository was archived by the owner on May 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
prepare 5.0.0-rc2 release #194
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # src/main/java/com/launchdarkly/client/Components.java # src/main/java/com/launchdarkly/client/DiagnosticEvent.java
…g-desc # Conflicts: # src/main/java/com/launchdarkly/client/Components.java # src/main/java/com/launchdarkly/client/DefaultEventProcessor.java # src/main/java/com/launchdarkly/client/DefaultFeatureRequestor.java # src/main/java/com/launchdarkly/client/DiagnosticEvent.java # src/main/java/com/launchdarkly/client/LDConfig.java # src/main/java/com/launchdarkly/client/StreamProcessor.java # src/main/java/com/launchdarkly/client/Util.java # src/test/java/com/launchdarkly/client/DefaultEventProcessorTest.java # src/test/java/com/launchdarkly/client/StreamProcessorTest.java
(1 of 2) allow each component to describe its own configuration for diagnostics
(2 of 2) allow each component to describe its own configuration for diagnostics
fix generation of CA certs for TLS tests
misc cleanup in new APIs
fix default Redis URI
fix Redis URI bug and improve data store tests
…fixes miscellaneous config fixes and test improvements
# Conflicts: # src/main/java/com/launchdarkly/client/Components.java # src/main/java/com/launchdarkly/client/DefaultEventProcessor.java # src/main/java/com/launchdarkly/client/DefaultFeatureRequestor.java # src/main/java/com/launchdarkly/client/DiagnosticEvent.java # src/main/java/com/launchdarkly/client/InMemoryDataStore.java # src/main/java/com/launchdarkly/client/LDClient.java # src/main/java/com/launchdarkly/client/LDConfig.java # src/main/java/com/launchdarkly/client/LDUser.java # src/main/java/com/launchdarkly/client/PollingProcessor.java # src/main/java/com/launchdarkly/client/RedisFeatureStoreBuilder.java # src/main/java/com/launchdarkly/client/StreamProcessor.java # src/main/java/com/launchdarkly/client/Util.java # src/main/java/com/launchdarkly/client/integrations/PersistentDataStoreBuilder.java # src/main/java/com/launchdarkly/client/integrations/RedisDataStoreBuilder.java # src/main/java/com/launchdarkly/client/integrations/RedisDataStoreImpl.java # src/main/java/com/launchdarkly/client/interfaces/DataSource.java # src/main/java/com/launchdarkly/client/interfaces/EventProcessor.java # src/test/java/com/launchdarkly/client/DataStoreDatabaseTestBase.java # src/test/java/com/launchdarkly/client/DataStoreTestBase.java # src/test/java/com/launchdarkly/client/DefaultEventProcessorTest.java # src/test/java/com/launchdarkly/client/DiagnosticEventTest.java # src/test/java/com/launchdarkly/client/FeatureRequestorTest.java # src/test/java/com/launchdarkly/client/LDClientEndToEndTest.java # src/test/java/com/launchdarkly/client/LDClientEvaluationTest.java # src/test/java/com/launchdarkly/client/LDClientEventTest.java # src/test/java/com/launchdarkly/client/LDClientExternalUpdatesOnlyTest.java # src/test/java/com/launchdarkly/client/LDClientOfflineTest.java # src/test/java/com/launchdarkly/client/LDClientTest.java # src/test/java/com/launchdarkly/client/LDConfigTest.java # src/test/java/com/launchdarkly/client/LDUserTest.java # src/test/java/com/launchdarkly/client/PollingProcessorTest.java # src/test/java/com/launchdarkly/client/StreamProcessorTest.java # src/test/java/com/launchdarkly/client/TestUtil.java # src/test/java/com/launchdarkly/client/UtilTest.java # src/test/java/com/launchdarkly/client/integrations/RedisDataStoreBuilderTest.java # src/test/java/com/launchdarkly/client/integrations/RedisDataStoreTest.java
attempt to fix releases
# Conflicts: # src/test/java/com/launchdarkly/sdk/server/LDClientListenersTest.java # src/test/java/com/launchdarkly/sdk/server/StreamProcessorTest.java
# Conflicts: # src/main/java/com/launchdarkly/client/Components.java # src/main/java/com/launchdarkly/client/EventsConfiguration.java # src/main/java/com/launchdarkly/sdk/server/DefaultEventProcessor.java # src/main/java/com/launchdarkly/sdk/server/EventFactory.java # src/main/java/com/launchdarkly/sdk/server/integrations/EventProcessorBuilder.java # src/test/java/com/launchdarkly/client/TestUtil.java # src/test/java/com/launchdarkly/sdk/server/DefaultEventProcessorTest.java
# Conflicts: # src/test/java/com/launchdarkly/sdk/server/LDClientEndToEndTest.java
…add new ErrorKind for this; improve comments and tests
(#6) implement data source status monitoring
# Conflicts: # src/main/java/com/launchdarkly/sdk/server/DefaultEventProcessor.java
decouple event HTTP logic from event processing
# Conflicts: # src/main/java/com/launchdarkly/sdk/server/DefaultEventSender.java # src/test/java/com/launchdarkly/sdk/server/DefaultEventSenderTest.java
…e-url make events URI construction reliable regardless of whether base URI ends in a slash
# Conflicts: # CHANGELOG.md # gradle.properties
bwoskow-ld
approved these changes
May 14, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[5.0.0-rc2] - 2020-05-13
The primary purpose of this second beta release is to introduce the new
DataSourceStatusProvider
API, which is the server-side equivalent to the "connection status" API that exists in LaunchDarkly's mobile SDKs. Other additions and changes since the previous beta release (5.0.0-rc1) are described below. See the 5.0.0-rc1 release notes for other changes since 4.13.0.Added:
LDClient.getDataSourceStatusProvider()
is a status monitoring mechanism similar togetDataStoreStatusProvider()
, but for the data source (streaming, polling, or file data). You can not only check the current connection status, but also choose to receive notifications when the status changes.LDConfig.Builder.logging()
is a new configuration category for options related to logging. Currently the only such option isescalateDataSourceOutageLoggingAfter
, which controls the new connection failure logging behavior described below.LDConfig.Builder.threadPriority()
allows you to set the priority for worker threads created by the SDK.Changed:
ERROR
level in most cases but sometimes atWARN
level. They are now all atWARN
level, but with a new behavior: if connection failures continue without a successful retry for a certain amount of time, the SDK will log a specialERROR
-level message to warn you that this is not just a brief outage. The amount of time is one minute by default, but can be changed with the newlogDataSourceOutageAsErrorAfter
option inLoggingConfigurationBuilder
.Thread.MIN_PRIORITY
by default (as all the other SDK threads already did) but the priority can be changed as described above.DataStore
andDataSource
interfaces, and their factories, have been changed to provide a more general mechanism for status reporting. This does not affect the part of a persistent data store implementation that is database-specific, so new beta releases of the Consul/DynamoDB/Redis libraries were not necessary.