Skip to content

Commit 4bf7b6d

Browse files
authored
Migrating namespace from com.github.switcherapi to com.switcherapi (#357)
* Migrating namespace from com.github.switcherapi to com.switcherapi * fix: code smells, renamed Strategy to StrategyConfig
1 parent 34defb7 commit 4bf7b6d

File tree

151 files changed

+1026
-1027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+1026
-1027
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A Java SDK for Switcher API
1212
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=switcherapi_switcher-client&metric=alert_status)](https://sonarcloud.io/dashboard?id=switcherapi_switcher-client)
1313
[![Known Vulnerabilities](https://snyk.io/test/github/switcherapi/switcher-client-java/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/switcherapi/switcher-client-java?targetFile=pom.xml)
1414
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
15-
[![Maven Central](https://img.shields.io/maven-central/v/com.github.switcherapi/switcher-client.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.github.switcherapi/switcher-client)
15+
[![Maven Central](https://img.shields.io/maven-central/v/com.switcherapi/switcher-client.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.switcherapi/switcher-client)
1616
[![Slack: Switcher-HQ](https://img.shields.io/badge/slack-@switcher/hq-blue.svg?logo=slack)](https://switcher-hq.slack.com/)
1717

1818
</div>
@@ -38,7 +38,7 @@ https://github.com/switcherapi/switcher-api
3838
- Adding as a dependency - Maven
3939
```xml
4040
<dependency>
41-
<groupId>com.github.switcherapi</groupId>
41+
<groupId>com.switcherapi</groupId>
4242
<artifactId>switcher-client</artifactId>
4343
<version>${switcher-client.version}</version>
4444
</dependency>
@@ -94,7 +94,7 @@ Instead of using SwitcherContext, which is used to automatically load from the s
9494

9595
```java
9696
MyAppFeatures.configure(ContextBuilder.builder()
97-
.contextLocation("com.github.switcherapi.playground.Features")
97+
.contextLocation("com.switcherapi.playground.Features")
9898
.apiKey("API_KEY")
9999
.url("https://switcher-api.com")
100100
.domain("Playground")

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

8-
<groupId>com.github.switcherapi</groupId>
8+
<groupId>com.switcherapi</groupId>
99
<artifactId>switcher-client</artifactId>
1010
<packaging>jar</packaging>
11-
<version>2.3.2</version>
11+
<version>2.4.0-SNAPSHOT</version>
1212

1313
<name>Switcher Client</name>
1414
<description>Switcher Client SDK for working with Switcher API</description>
@@ -54,14 +54,14 @@
5454
<!-- utils -->
5555
<gson.version>2.13.1</gson.version>
5656
<commons-lang3.version>3.18.0</commons-lang3.version>
57-
<commons-net.version>3.11.1</commons-net.version>
57+
<commons-net.version>3.12.0</commons-net.version>
5858
<slf4j-api.version>2.0.17</slf4j-api.version>
5959

6060
<!-- test -->
6161
<okhttp.version>5.1.0</okhttp.version>
62-
<junit-jupiter.version>5.13.3</junit-jupiter.version>
62+
<junit-jupiter.version>5.13.4</junit-jupiter.version>
6363
<junit-pioneer.version>2.3.0</junit-pioneer.version>
64-
<junit-platform-launcher.version>1.13.3</junit-platform-launcher.version>
64+
<junit-platform-launcher.version>1.13.4</junit-platform-launcher.version>
6565

6666
<!-- Plugins -->
6767
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>

src/main/java/com/github/switcherapi/client/service/validators/DateValidator.java

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/main/java/com/github/switcherapi/client/service/validators/NetworkValidator.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

src/main/java/com/github/switcherapi/client/service/validators/NumericValidator.java

Lines changed: 0 additions & 62 deletions
This file was deleted.

src/main/java/com/github/switcherapi/client/service/validators/PayloadValidator.java

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/main/java/com/github/switcherapi/client/service/validators/RegexValidator.java

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)