diff --git a/README.md b/README.md
index 3944866..5ba8692 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,23 @@
-# Reforge Java Sdk
+# Reforge Java SDK
-[](https://javadoc.io/doc/cloud.prefab/client) FIXME
+[](https://javadoc.io/doc/com.reforge/sdk)
[](https://betteruptime.com/?utm_source=status_badge)
-Java (11+) Reforge SDK for FeatureFlags, Config as a Service: https://launch.reforge.com
+Java (11+) Reforge SDK for FeatureFlags, Config as a Service: https://reforge.com
-See full documentation [https://docs.prefab.cloud/docs/java-sdk/java](https://docs.prefab.cloud/docs/sdks/java)
+See full documentation [https://docs.reforge.com/docs/java-sdk/java](https://docs.reforge.com/docs/sdks/java)
Maven
```xml
com.reforge
sdk
- TODO
+ 0.3.26
```
-## Contributing to prefab-cloud-java
+## Contributing to reforge-sdk-java
* Check out the latest `main` to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
diff --git a/micronaut/README.md b/micronaut/README.md
index 66dae4b..559405d 100644
--- a/micronaut/README.md
+++ b/micronaut/README.md
@@ -1,60 +1,53 @@
-# prefab-cloud-java
-Java Client for Prefab LogLevels, FeatureFlags, Config as a Service: https://www.prefab.cloud
+# reforge-sdk-java
+Java Client for Reforge LogLevels, FeatureFlags, Config as a Service: https://reforge.com
-See full documentation https://docs.prefab.cloud/docs/java-sdk/java
+See full documentation https://docs.reforge.com/docs/java-sdk/java
# Micronaut Support
## Context Storage
-Out of the box, the Prefab client includes the ThreadLocalContextStore which relies on the same Thread handling a HTTP Request.
+Out of the box, the Reforge client includes the ThreadLocalContextStore which relies on the same Thread handling a HTTP Request.
-Micronaut has an event based model, so state must be managed without ThreadLocals - to that end we provide the `ServerRequestContextStore` that uses the ServerRequestContext.
+Micronaut has an event based model, so state must be managed without ThreadLocals - to that end we provide the `ServerRequestContextStore` that uses the ServerRequestContext.
_Note: Behind the scenes ServerRequestContext is based on a threadlocal, but micronaut's instrumentation code knows to copy this threadlocal between threads as the request moves through processing._
### Usage
Maven
-Maven
```xml
- cloud.prefab
- micronaut
- 0.3.25
+ com.reforge
+ sdk-micronaut-extension
+ 0.3.26
```
-The context store implementation is added to the Prefab `Options` class.
+The context store implementation is added to the Reforge `Options` class.
-You'll likely have a factory class like this one - see the `options.setContextStore(new PrefabMicronautStateStore());` in the sdk method
+You'll likely have a factory class like this one - see the `options.setContextStore(new ServerRequestContextStore());` in the sdk method
```java
@Factory
-public class PrefabFactory {
- private static final Logger LOG = LoggerFactory.getLogger(PrefabFactory.class);
+public class ReforgeFactory {
+ private static final Logger LOG = LoggerFactory.getLogger(ReforgeFactory.class);
@Singleton
- public PrefabCloudClient sdk(Environment environment) {
+ public Sdk sdk(Environment environment) {
final Options options = new Options();
- options.setPrefabEnvs(environment.getActiveNames().stream().toList());
- options.setContextStore(new PrefabMicronautStateStore());
- return new PrefabCloudClient(options);
+ options.setContextStore(new ServerRequestContextStore());
+ return new Sdk(options);
}
@Singleton
- public FeatureFlagClient featureFlagClient(PrefabCloudClient sdk) {
+ public FeatureFlagClient featureFlagClient(Sdk sdk) {
return sdk.featureFlagClient();
}
- @Context
- public ConfigClient configClient(
- PrefabCloudClient sdk
- ) {
- ConfigClient configClient = sdk.configClient();
- // install the logging filter at the same time
- PrefabMDCTurboFilter.install(configClient);
- return configClient;
+ @Singleton
+ public ConfigClient configClient(Sdk sdk) {
+ return sdk.configClient();
}
}
```
diff --git a/micronaut/pom.xml b/micronaut/pom.xml
index e5a4022..38ab3ae 100644
--- a/micronaut/pom.xml
+++ b/micronaut/pom.xml
@@ -9,6 +9,7 @@
sdk-micronaut-extension
Reforge SDK Extension for Micronaut
+ Micronaut integration for Reforge SDK to enable storage of Context in the Server Request Context
11
diff --git a/pom.xml b/pom.xml
index 8dd45f9..7a5d08f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,6 +14,7 @@
0.3.26
pom
Reforge SDK Parent POM
+ Parent POM for Reforge SDK modules providing feature flags, configuration management, and A/B testing capabilities
micronaut
diff --git a/sdk/README.md b/sdk/README.md
index edae631..e434536 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -1,11 +1,11 @@
-# Reforge Java Sdk
+# Reforge Java SDK
-[](https://javadoc.io/doc/cloud.prefab/client) FIXME
+[](https://javadoc.io/doc/com.reforge/sdk)
[](https://betteruptime.com/?utm_source=status_badge)
-Java (11+) Reforge SDK for FeatureFlags, Config as a Service: https://launch.reforge.com
+Java (11+) Reforge SDK for FeatureFlags, Config as a Service: https://reforge.com
-See full documentation https://docs.prefab.cloud/docs/java-sdk/java
+See full documentation https://docs.reforge.com/docs/java-sdk/java
### Maven
@@ -13,7 +13,7 @@ See full documentation https://docs.prefab.cloud/docs/java-sdk/java
com.reforge
sdk
- TODO
+ 0.3.26
```
@@ -25,7 +25,7 @@ For an uber-jar including relocated guava and failsafe dependencies add the "ube
com.reforge
sdk
- TODO
+ 0.3.26
uberjar
```