Skip to content

Commit 3631f8d

Browse files
committed
change repo name
1 parent 77c5733 commit 3631f8d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Contributing to this library
22
============================
33

4-
The source code for this library is [here](https://github.com/launchdarkly/java-dynamodb-store). We encourage pull-requests and other contributions from the community. Since this library is meant to be used in conjunction with the LaunchDarkly Java SDK, you may want to look at the [Java SDK source code](https://github.com/launchdarkly/java-client) and our [SDK contributor's guide](http://docs.launchdarkly.com/docs/sdk-contributors-guide).
4+
The source code for this library is [here](https://github.com/launchdarkly/java-client-dynamodb). We encourage pull-requests and other contributions from the community. Since this library is meant to be used in conjunction with the LaunchDarkly Java SDK, you may want to look at the [Java SDK source code](https://github.com/launchdarkly/java-client) and our [SDK contributor's guide](http://docs.launchdarkly.com/docs/sdk-contributors-guide).

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
LaunchDarkly SDK for Java - DynamoDB integration
22
================================================
33

4-
[![Circle CI](https://circleci.com/gh/launchdarkly/java-dynamodb-store.svg?style=shield)](https://circleci.com/gh/launchdarkly/java-dynamodb-store)
4+
[![Circle CI](https://circleci.com/gh/launchdarkly/java-client-dynamodb.svg?style=shield)](https://circleci.com/gh/launchdarkly/java-client-dynamodb)
55
[![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-dynamodb-store.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Flaunchdarkly%2Fjava-dynamodb-store?ref=badge_shield)
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)
77

88
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.
99

@@ -18,28 +18,30 @@ Quick setup
1818

1919
This assumes that you have already installed the LaunchDarkly Java SDK.
2020

21-
0. Add this library to your project:
21+
1. In DynamoDB, create a table which has the following schema: a partition key called "namespace" and a sort key called "key", both with a string type. The LaunchDarkly library does not create the table automatically, because it has no way of knowing what additional properties (such as permissions and throughput) you would want it to have.
22+
23+
2. Add this library to your project:
2224

2325
<dependency>
2426
<groupId>com.launchdarkly</groupId>
2527
<artifactId>launchdarkly-client-dynamodb-store</artifactId>
2628
<version>1.0.0</version>
2729
</dependency>
2830

29-
1. 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.)
31+
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.)
3032

3133
<dependency>
3234
<groupId>com.amazonaws</groupId>
3335
<artifactId>com.amazonaws:aws-java-sdk-dynamodb</artifactId>
3436
<version>1.11.327</version>
3537
</dependency>
3638

37-
2. Import the LaunchDarkly package and the package for this library:
39+
4. Import the LaunchDarkly package and the package for this library:
3840

3941
import com.launchdarkly.client.*;
4042
import com.launchdarkly.client.dynamodb.*;
4143

42-
3. When configuring your SDK client, add the DynamoDB feature store:
44+
5. When configuring your SDK client, add the DynamoDB feature store:
4345

4446
DynamoDbFeatureStoreBuilder store = DatabaseComponents.dynamoDbFeatureStore("my-table-name")
4547
.caching(FeatureStoreCaching.enabled().ttlSeconds(30));
@@ -50,8 +52,6 @@ This assumes that you have already installed the LaunchDarkly Java SDK.
5052
5153
LDClient client = new LDClient("YOUR SDK KEY", config);
5254

53-
The specified table must already exist in DynamoDB. It must have a partition key called "namespace" and a sort key called "key".
54-
5555
By default, the DynamoDB client will try to get your AWS credentials and region name from environment variables and/or local configuration files, as described in the AWS SDK documentation. There are methods in `DynamoDBFeatureStoreBuilder` for changing the configuration options. Alternatively, if you already have a fully configured DynamoDB client object, you can tell LaunchDarkly to use that:
5656

5757
DynamoDbFeatureStoreBuilder store = DatabaseComponents.dynamoDbFeatureStore("my-table-name")

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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-dynamodb-store'
137+
url 'https://github.com/launchdarkly/java-client-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-dynamodb-store.git'
156-
developerConnection 'scm:git:ssh:git@github.com:launchdarkly/java-dynamodb-store.git'
157-
url 'https://github.com/launchdarkly/java-dynamodb-store'
155+
connection 'scm:git:git://github.com/launchdarkly/java-client-dynamodb.git'
156+
developerConnection 'scm:git:ssh:git@github.com:launchdarkly/java-client-dynamodb.git'
157+
url 'https://github.com/launchdarkly/java-client-dynamodb'
158158
}
159159
}
160160

0 commit comments

Comments
 (0)