diff --git a/build.gradle b/build.gradle index 0b6adde..a452946 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ java { } group = 'cloud.eppo' -version = '3.0.2-SNAPSHOT' +version = '3.1.0-SNAPSHOT' ext.isReleaseVersion = !version.endsWith("SNAPSHOT") import org.apache.tools.ant.filters.ReplaceTokens @@ -31,7 +31,7 @@ repositories { dependencies { // Re-export classes and interfaces that will be used upstream - api 'cloud.eppo:sdk-common-jvm:3.0.2' + api 'cloud.eppo:sdk-common-jvm:3.2.0-SNAPSHOT' implementation 'com.github.zafarkhaja:java-semver:0.10.2' implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1' @@ -40,7 +40,7 @@ dependencies { // Logback classic 1.3.x is compatible with java 8 implementation 'ch.qos.logback:logback-classic:1.3.14' - testImplementation 'cloud.eppo:sdk-common-jvm:3.0.0-SNAPSHOT:tests' + testImplementation 'cloud.eppo:sdk-common-jvm:3.2.0-SNAPSHOT:tests' testImplementation platform('org.junit:junit-bom:5.10.2') testImplementation 'org.junit.jupiter:junit-jupiter' testImplementation 'com.github.tomakehurst:wiremock-jre8:2.35.2' diff --git a/src/main/java/com/eppo/sdk/EppoClient.java b/src/main/java/com/eppo/sdk/EppoClient.java index d3509a2..88aad6c 100644 --- a/src/main/java/com/eppo/sdk/EppoClient.java +++ b/src/main/java/com/eppo/sdk/EppoClient.java @@ -43,7 +43,17 @@ private EppoClient( BanditLogger banditLogger, boolean isGracefulModel) { super( - apiKey, host, sdkName, sdkVersion, assignmentLogger, banditLogger, isGracefulModel, false); + apiKey, + host, + sdkName, + sdkVersion, + assignmentLogger, + banditLogger, + null, + isGracefulModel, + false, + true, + null); } /** Stops the client from polling Eppo for updated flag and bandit configurations */ diff --git a/src/test/java/com/eppo/sdk/EppoClientTest.java b/src/test/java/com/eppo/sdk/EppoClientTest.java index d71a14f..193df02 100644 --- a/src/test/java/com/eppo/sdk/EppoClientTest.java +++ b/src/test/java/com/eppo/sdk/EppoClientTest.java @@ -276,7 +276,7 @@ private void uninitClient() { private void initBuggyClient() { try { EppoClient eppoClient = initClient(DUMMY_FLAG_API_KEY); - Field configurationStoreField = BaseEppoClient.class.getDeclaredField("requestor"); + Field configurationStoreField = BaseEppoClient.class.getDeclaredField("configurationStore"); configurationStoreField.setAccessible(true); configurationStoreField.set(eppoClient, null); } catch (NoSuchFieldException | IllegalAccessException e) {