Skip to content

Commit f1b0207

Browse files
authored
Merge pull request #4 from launchdarkly/eb/ch36754/package-name-v2
version 2.0.1 - new package and repo names (AWS v2 version)
2 parents 99de287 + d9b999e commit f1b0207

File tree

5 files changed

+32
-40
lines changed

5 files changed

+32
-40
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to the LaunchDarkly Java SDK DynamoDB integration will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [2.0.1] - 2019-05-13
6+
### Changed:
7+
- Corresponding to the SDK package name change from `com.launchdarkly:launchdarkly-client` to `com.launchdarkly:launchdarkly-java-server-sdk`, this package is now called `com.launchdarkly:launchdarkly-java-server-sdk-dynamodb-store`. The functionality of the package, including the package names and class names in the code, has not changed.
8+
9+
## [1.0.1] - 2019-05-13
10+
### Changed:
11+
- Corresponding to the SDK package name change from `com.launchdarkly:launchdarkly-client` to `com.launchdarkly:launchdarkly-java-server-sdk`, this package is now called `com.launchdarkly:launchdarkly-java-server-sdk-dynamodb-store`. The functionality of the package, including the package names and class names in the code, has not changed.
12+
513
## [2.0.0] - 2018-12-12
614

715
Initial release of the implementation that is based on AWS SDK 2.x. This has the same functionality as version 1.0.0, but uses the DynamoDB client classes from the more recent AWS API.

README.md

Lines changed: 15 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
LaunchDarkly SDK for Java - DynamoDB integration
2-
================================================
1+
# LaunchDarkly SDK for Java - DynamoDB integration
32

43
[![Circle CI](https://circleci.com/gh/launchdarkly/java-server-sdk-dynamodb.svg?style=shield)](https://circleci.com/gh/launchdarkly/java-server-sdk-dynamodb)
5-
[![Javadocs](http://javadoc.io/badge/com.launchdarkly/launchdarkly-client.svg)](http://javadoc.io/doc/com.launchdarkly/launchdarkly-client-dynamodb-store)
4+
[![Javadocs](http://javadoc.io/badge/com.launchdarkly/launchdarkly-java-server-sdk-dynamodb-store.svg)](http://javadoc.io/doc/com.launchdarkly/launchdarkly-java-server-sdk-dynamodb-store)
65

7-
This library provides a DynamoDB-backed persistence mechanism (feature store) for the [LaunchDarkly Java SDK](https://github.com/launchdarkly/java-client), replacing the default in-memory feature store.
6+
This library provides a DynamoDB-backed persistence mechanism (feature store) for the [LaunchDarkly Java SDK](https://github.com/launchdarkly/java-server-sdk), replacing the default in-memory feature store.
87

9-
This version of the library requires at least version 2.1 of the AWS SDK for Java, and at least version 4.6.0 of the LaunchDarkly Java SDK. The minimum Java version is 8 (because that is the minimum Java version of the AWS SDK 2.x). If you need to use Java 7, or if you are already using AWS SDK 1.x for some other purpose, you can use the 1.x releases of this library (which are developed on the "aws-v1" branch of the repository).
8+
This version of the library requires at least version 2.1 of the AWS SDK for Java, and at least version 4.6.4 of the LaunchDarkly Java SDK. The minimum Java version is 8 (because that is the minimum Java version of the AWS SDK 2.x). If you need to use Java 7, or if you are already using AWS SDK 1.x for some other purpose, you can use the 1.x releases of this library (which are developed on the "aws-v1" branch of the repository).
109

1110
For more information, see also: [Using a persistent feature store](https://docs.launchdarkly.com/v2.0/docs/using-a-persistent-feature-store).
1211

13-
Quick setup
14-
-----------
12+
## Quick setup
1513

1614
This assumes that you have already installed the LaunchDarkly Java SDK.
1715

@@ -21,8 +19,8 @@ This assumes that you have already installed the LaunchDarkly Java SDK.
2119

2220
<dependency>
2321
<groupId>com.launchdarkly</groupId>
24-
<artifactId>launchdarkly-client-dynamodb-store</artifactId>
25-
<version>2.0.0</version>
22+
<artifactId>launchdarkly-java-server-sdk-dynamodb-store</artifactId>
23+
<version>2.0.1</version>
2624
</dependency>
2725

2826
3. If you do not already have the AWS SDK in your project, add the DynamoDB part of it. (This needs to be added separately, rather than being included in the LaunchDarkly jar, because AWS classes are exposed in the public interface.)
@@ -54,8 +52,7 @@ By default, the DynamoDB client will try to get your AWS credentials and region
5452
DynamoDbFeatureStoreBuilder store = DynamoDbComponents.dynamoDbFeatureStore("my-table-name")
5553
.existingClient(myDynamoDbClientInstance);
5654

57-
Caching behavior
58-
----------------
55+
## Caching behavior
5956

6057
To reduce traffic to DynamoDB, there is an optional in-memory cache that retains the last known data for a configurable amount of time. This is on by default; to turn it off (and guarantee that the latest feature flag data will always be retrieved from DynamoDB for every flag evaluation), configure the store as follows:
6158

@@ -64,30 +61,17 @@ To reduce traffic to DynamoDB, there is an optional in-memory cache that retains
6461

6562
For other ways to control the behavior of the cache, see `DynamoDbFeatureStoreBuilder.caching()`.
6663

67-
About LaunchDarkly
68-
-----------
69-
64+
## About LaunchDarkly
65+
7066
* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
7167
* Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
7268
* Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
7369
* Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
7470
* Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
75-
* LaunchDarkly provides feature flag SDKs for
76-
* [Java](http://docs.launchdarkly.com/docs/java-sdk-reference "Java SDK")
77-
* [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference "LaunchDarkly JavaScript SDK")
78-
* [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference "LaunchDarkly PHP SDK")
79-
* [Python](http://docs.launchdarkly.com/docs/python-sdk-reference "LaunchDarkly Python SDK")
80-
* [Go](http://docs.launchdarkly.com/docs/go-sdk-reference "LaunchDarkly Go SDK")
81-
* [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference "LaunchDarkly Node SDK")
82-
* [Electron](http://docs.launchdarkly.com/docs/electron-sdk-reference "LaunchDarkly Electron SDK")
83-
* [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference "LaunchDarkly .Net SDK")
84-
* [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference "LaunchDarkly Ruby SDK")
85-
* [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference "LaunchDarkly iOS SDK")
86-
* [Android](http://docs.launchdarkly.com/docs/android-sdk-reference "LaunchDarkly Android SDK")
71+
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list.
8772
* Explore LaunchDarkly
88-
* [launchdarkly.com](http://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
89-
* [docs.launchdarkly.com](http://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDKs
90-
* [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
91-
* [blog.launchdarkly.com](http://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
73+
* [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
74+
* [docs.launchdarkly.com](https://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDK reference guides
75+
* [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
76+
* [blog.launchdarkly.com](https://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
9277
* [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ "Feature Flagging Guide") for best practices and strategies
93-

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ allprojects {
2828

2929
ext {
3030
sdkBasePackage = "com.launchdarkly.client.dynamodb"
31-
sdkBaseName = "launchdarkly-client-dynamodb-store"
31+
sdkBaseName = "launchdarkly-java-server-sdk-dynamodb-store"
3232
}
3333

3434
ext.libraries = [:]
@@ -43,7 +43,7 @@ libraries.internal = [
4343
// global state that must be shared between the SDK and the caller. These are not embedded
4444
// in the uberjar; the caller must provide them on the classpath at runtime.
4545
libraries.external = [
46-
"com.launchdarkly:launchdarkly-client:4.6.0",
46+
"com.launchdarkly:launchdarkly-java-server-sdk:4.6.4",
4747
"software.amazon.awssdk:dynamodb:2.1.4",
4848
"org.slf4j:slf4j-api:1.7.21"
4949
]
@@ -53,7 +53,7 @@ libraries.test = [
5353
"org.hamcrest:hamcrest-all:1.3",
5454
"junit:junit:4.12",
5555
"ch.qos.logback:logback-classic:1.1.7",
56-
"com.launchdarkly:launchdarkly-client:4.6.0:test" // our unit tests use helper classes from the SDK
56+
"com.launchdarkly:launchdarkly-java-server-sdk:4.6.4:test" // our unit tests use helper classes from the SDK
5757
]
5858

5959
dependencies {
@@ -134,7 +134,7 @@ nexusStaging {
134134
def pomConfig = {
135135
name 'LaunchDarkly Java SDK DynamoDB integration'
136136
packaging 'jar'
137-
url 'https://github.com/launchdarkly/java-client-dynamodb'
137+
url 'https://github.com/launchdarkly/java-server-sdk-dynamodb'
138138

139139
licenses {
140140
license {
@@ -152,9 +152,9 @@ def pomConfig = {
152152
}
153153

154154
scm {
155-
connection 'scm:git:git://github.com/launchdarkly/java-client-dynamodb.git'
156-
developerConnection 'scm:git:ssh:[email protected]:launchdarkly/java-client-dynamodb.git'
157-
url 'https://github.com/launchdarkly/java-client-dynamodb'
155+
connection 'scm:git:git://github.com/launchdarkly/java-server-sdk-dynamodb.git'
156+
developerConnection 'scm:git:ssh:[email protected]:launchdarkly/java-server-sdk-dynamodb.git'
157+
url 'https://github.com/launchdarkly/java-server-sdk-dynamodb'
158158
}
159159
}
160160

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=2.0.0
1+
version=2.0.1
22
ossrhUsername=
33
ossrhPassword=

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = 'launchdarkly-client-dynamodb-store'
1+
rootProject.name = 'launchdarkly-java-server-sdk-dynamodb-store'
22

33
// enable in preparation for Gradle 5.0
44
enableFeaturePreview('STABLE_PUBLISHING')

0 commit comments

Comments
 (0)