From e1ffe9383e27e84187fa19730f084c7d9c2e9b43 Mon Sep 17 00:00:00 2001
From: petruki <31597636+petruki@users.noreply.github.com>
Date: Mon, 19 Jun 2023 20:17:34 -0700
Subject: [PATCH] Fixing project name to reflect plarform
---
README.md | 4 ++--
pom.xml | 13 +++++++------
.../client/utils/SnapshotWatcherWorkerTest.java | 1 +
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 1a534be1..10fa16f1 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,9 @@ A Java SDK for Switcher API
-[](https://github.com/switcherapi/switcher-client/actions/workflows/master.yml)
+[](https://github.com/switcherapi/switcher-client-java/actions/workflows/master.yml)
[](https://sonarcloud.io/dashboard?id=switcherapi_switcher-client)
-[](https://snyk.io/test/github/switcherapi/switcher-client?targetFile=pom.xml)
+[](https://snyk.io/test/github/switcherapi/switcher-client-java?targetFile=pom.xml)
[](https://opensource.org/licenses/MIT)
[](https://central.sonatype.com/artifact/com.github.switcherapi/switcher-client)
[](https://switcher-hq.slack.com/)
diff --git a/pom.xml b/pom.xml
index 01d7bd5b..cbac6b43 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,16 +8,16 @@
com.github.switcherapi
switcher-client
jar
-
1.4.1
+
1.4.2-SNAPSHOT
Switcher Client
Switcher Client SDK for working with Switcher API
-
https://github.com/switcherapi/switcher-client
+
https://github.com/switcherapi/switcher-client-java
MIT License
- https://raw.githubusercontent.com/switcherapi/switcher-client/master/LICENSE
+ https://raw.githubusercontent.com/switcherapi/switcher-client-java/master/LICENSE
@@ -38,9 +38,9 @@
- scm:git:git://github.com:switcherapi/switcher-client.git
- scm:git:ssh://github.com:switcherapi/switcher-client.git
- https://github.com/switcherapi/switcher-client
+ scm:git:git://github.com:switcherapi/switcher-client-java.git
+ scm:git:ssh://github.com:switcherapi/switcher-client-java.git
+ https://github.com/switcherapi/switcher-client-java
@@ -228,6 +228,7 @@
sonar
+ switcher-client-java
https://sonarcloud.io
switcherapi
switcherapi_switcher-client
diff --git a/src/test/java/com/github/switcherapi/client/utils/SnapshotWatcherWorkerTest.java b/src/test/java/com/github/switcherapi/client/utils/SnapshotWatcherWorkerTest.java
index a9c3e96d..162705af 100644
--- a/src/test/java/com/github/switcherapi/client/utils/SnapshotWatcherWorkerTest.java
+++ b/src/test/java/com/github/switcherapi/client/utils/SnapshotWatcherWorkerTest.java
@@ -22,6 +22,7 @@ static void setupContext() {
SwitchersBase.configure(ContextBuilder.builder()
.contextLocation(SwitchersBase.class.getCanonicalName())
.snapshotLocation(SNAPSHOTS_LOCAL)
+ .environment("default")
.silentMode(false)
.offlineMode(true));