Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: latest common package and move /api to baseUrl #84

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```groovy
dependencies {
implementation 'cloud.eppo:eppo-server-sdk:3.1.0'
implementation 'cloud.eppo:eppo-server-sdk:4.0.1'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ java {
}

group = 'cloud.eppo'
version = '4.0.0-SNAPSHOT'
version = '4.0.1'
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")

import org.apache.tools.ant.filters.ReplaceTokens
Expand All @@ -30,7 +30,7 @@ repositories {
}

dependencies {
api 'cloud.eppo:sdk-common-jvm:3.5.0'
api 'cloud.eppo:sdk-common-jvm:3.5.2'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will rerun tests and merge only after common package is published


implementation 'com.github.zafarkhaja:java-semver:0.10.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1'
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/cloud/eppo/EppoClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
public class EppoClient extends BaseEppoClient {
private static final Logger log = LoggerFactory.getLogger(EppoClient.class);

private static final String DEFAULT_HOST = "https://fscdn.eppo.cloud";
private static final boolean DEFAULT_IS_GRACEFUL_MODE = true;
private static final boolean DEFAULT_FORCE_REINITIALIZE = false;
private static final long DEFAULT_POLLING_INTERVAL_MS = 30 * 1000;
Expand Down Expand Up @@ -77,7 +76,7 @@ public static class Builder {
private boolean isGracefulMode = DEFAULT_IS_GRACEFUL_MODE;
private boolean forceReinitialize = DEFAULT_FORCE_REINITIALIZE;
private long pollingIntervalMs = DEFAULT_POLLING_INTERVAL_MS;
private String host = DEFAULT_HOST;
private String host = Constants.DEFAULT_BASE_URL;

// Assignment and bandit caching on by default. To disable, call
// `builder.assignmentCache(null).banditAssignmentCache(null);`
Expand Down
Loading