Skip to content

Commit 5d5ddcf

Browse files
authored
Merge pull request #3 from launchdarkly/eb/ch36754/package-name-v1
version 1.0.1 - new package and repo names (AWS v1 version)
2 parents 931e671 + d7dffb4 commit 5d5ddcf

File tree

5 files changed

+29
-42
lines changed

5 files changed

+29
-42
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
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+
## [1.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+
59
## [1.0.0] - 2018-12-12
610

711
Initial release.

README.md

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

4-
[![Circle CI](https://circleci.com/gh/launchdarkly/java-client-dynamodb.svg?style=shield)](https://circleci.com/gh/launchdarkly/java-client-dynamodb)
5-
[![Javadocs](http://javadoc.io/badge/com.launchdarkly/launchdarkly-client.svg)](http://javadoc.io/doc/com.launchdarkly/launchdarkly-client-dynamodb-store)
6-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Flaunchdarkly%2Fjava-client-dynamodb.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Flaunchdarkly%2Fjava-client-dynamodb?ref=badge_shield)
3+
[![Circle CI](https://circleci.com/gh/launchdarkly/java-server-sdk-dynamodb.svg?style=shield)](https://circleci.com/gh/launchdarkly/java-server-sdk-dynamodb)
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)
75

8-
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.
97

10-
The minimum version of the LaunchDarkly Java SDK for use with this library is 4.6.0. It is compatible with Java 7 and above.
8+
The minimum version of the LaunchDarkly Java SDK for use with this library is 4.6.4. It is compatible with Java 7 and above.
119

1210
Note that this version of the library uses version 1.11 of the AWS SDK for Java. Any further changes to the AWS 1.x implementation will be made on the "aws-v1" branch of the repository and will be released as versions 1.x.x. If you prefer to use version 2.x of the AWS SDK, use versions 2.x.x of this library (note that AWS SDK 2.x is not compatible with Java 7). There is no difference in functionality, just differences in the names and calling conventions of the AWS SDK classes.
1311

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

16-
Quick setup
17-
-----------
14+
## Quick setup
1815

1916
This assumes that you have already installed the LaunchDarkly Java SDK.
2017

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

2522
<dependency>
2623
<groupId>com.launchdarkly</groupId>
27-
<artifactId>launchdarkly-client-dynamodb-store</artifactId>
28-
<version>1.0.0</version>
24+
<artifactId>launchdarkly-java-server-sdk-dynamodb-store</artifactId>
25+
<version>1.0.1</version>
2926
</dependency>
3027

3128
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.)
@@ -57,8 +54,7 @@ By default, the DynamoDB client will try to get your AWS credentials and region
5754
DynamoDbFeatureStoreBuilder store = DynamoDbComponents.dynamoDbFeatureStore("my-table-name")
5855
.existingClient(myDynamoDbClientInstance);
5956

60-
Caching behavior
61-
----------------
57+
## Caching behavior
6258

6359
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:
6460

@@ -67,30 +63,17 @@ To reduce traffic to DynamoDB, there is an optional in-memory cache that retains
6763

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

70-
About LaunchDarkly
71-
-----------
72-
66+
## About LaunchDarkly
67+
7368
* 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:
7469
* 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.
7570
* 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?).
7671
* 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.
7772
* 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.
78-
* LaunchDarkly provides feature flag SDKs for
79-
* [Java](http://docs.launchdarkly.com/docs/java-sdk-reference "Java SDK")
80-
* [JavaScript](http://docs.launchdarkly.com/docs/js-sdk-reference "LaunchDarkly JavaScript SDK")
81-
* [PHP](http://docs.launchdarkly.com/docs/php-sdk-reference "LaunchDarkly PHP SDK")
82-
* [Python](http://docs.launchdarkly.com/docs/python-sdk-reference "LaunchDarkly Python SDK")
83-
* [Go](http://docs.launchdarkly.com/docs/go-sdk-reference "LaunchDarkly Go SDK")
84-
* [Node.JS](http://docs.launchdarkly.com/docs/node-sdk-reference "LaunchDarkly Node SDK")
85-
* [Electron](http://docs.launchdarkly.com/docs/electron-sdk-reference "LaunchDarkly Electron SDK")
86-
* [.NET](http://docs.launchdarkly.com/docs/dotnet-sdk-reference "LaunchDarkly .Net SDK")
87-
* [Ruby](http://docs.launchdarkly.com/docs/ruby-sdk-reference "LaunchDarkly Ruby SDK")
88-
* [iOS](http://docs.launchdarkly.com/docs/ios-sdk-reference "LaunchDarkly iOS SDK")
89-
* [Android](http://docs.launchdarkly.com/docs/android-sdk-reference "LaunchDarkly Android SDK")
73+
* 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.
9074
* Explore LaunchDarkly
91-
* [launchdarkly.com](http://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
92-
* [docs.launchdarkly.com](http://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDKs
93-
* [apidocs.launchdarkly.com](http://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
94-
* [blog.launchdarkly.com](http://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
75+
* [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
76+
* [docs.launchdarkly.com](https://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDK reference guides
77+
* [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
78+
* [blog.launchdarkly.com](https://blog.launchdarkly.com/ "LaunchDarkly Blog Documentation") for the latest product updates
9579
* [Feature Flagging Guide](https://github.com/launchdarkly/featureflags/ "Feature Flagging Guide") for best practices and strategies
96-

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
"com.amazonaws:aws-java-sdk-dynamodb:1.11.327",
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/tree/aws-v1'
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/tree/aws-v1'
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=1.0.0
1+
version=1.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)