diff --git a/src/main/java/com/mtnfog/philter/AbstractClient.java b/src/main/java/ai/philterd/philter/AbstractClient.java similarity index 86% rename from src/main/java/com/mtnfog/philter/AbstractClient.java rename to src/main/java/ai/philterd/philter/AbstractClient.java index 70ece7b..54ee8db 100644 --- a/src/main/java/com/mtnfog/philter/AbstractClient.java +++ b/src/main/java/ai/philterd/philter/AbstractClient.java @@ -1,4 +1,4 @@ -package com.mtnfog.philter; +package ai.philterd.philter; public abstract class AbstractClient { diff --git a/src/main/java/com/mtnfog/philter/PhilterClient.java b/src/main/java/ai/philterd/philter/PhilterClient.java similarity index 97% rename from src/main/java/com/mtnfog/philter/PhilterClient.java rename to src/main/java/ai/philterd/philter/PhilterClient.java index ff7a58a..4d9fc97 100644 --- a/src/main/java/com/mtnfog/philter/PhilterClient.java +++ b/src/main/java/ai/philterd/philter/PhilterClient.java @@ -13,13 +13,13 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter; +package ai.philterd.philter; -import com.mtnfog.philter.model.*; -import com.mtnfog.philter.model.exceptions.ClientException; -import com.mtnfog.philter.model.exceptions.ServiceUnavailableException; -import com.mtnfog.philter.model.exceptions.UnauthorizedException; -import com.mtnfog.philter.services.PhilterService; +import ai.philterd.philter.model.*; +import ai.philterd.philter.model.exceptions.ClientException; +import ai.philterd.philter.model.exceptions.ServiceUnavailableException; +import ai.philterd.philter.model.exceptions.UnauthorizedException; +import ai.philterd.philter.services.PhilterService; import nl.altindag.sslcontext.SSLFactory; import okhttp3.*; import org.apache.commons.io.FileUtils; @@ -30,9 +30,7 @@ import retrofit2.converter.scalars.ScalarsConverterFactory; import java.io.File; -import java.io.FileOutputStream; import java.io.IOException; -import java.io.OutputStream; import java.nio.file.Paths; import java.util.List; import java.util.concurrent.TimeUnit; diff --git a/src/main/java/com/mtnfog/philter/model/Alert.java b/src/main/java/ai/philterd/philter/model/Alert.java similarity index 98% rename from src/main/java/com/mtnfog/philter/model/Alert.java rename to src/main/java/ai/philterd/philter/model/Alert.java index 9b390f9..b674b2f 100644 --- a/src/main/java/com/mtnfog/philter/model/Alert.java +++ b/src/main/java/ai/philterd/philter/model/Alert.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; /** * An alert generated by a filter strategy's condition. diff --git a/src/main/java/com/mtnfog/philter/model/BinaryFilterResponse.java b/src/main/java/ai/philterd/philter/model/BinaryFilterResponse.java similarity index 97% rename from src/main/java/com/mtnfog/philter/model/BinaryFilterResponse.java rename to src/main/java/ai/philterd/philter/model/BinaryFilterResponse.java index 8f38474..ee4327a 100644 --- a/src/main/java/com/mtnfog/philter/model/BinaryFilterResponse.java +++ b/src/main/java/ai/philterd/philter/model/BinaryFilterResponse.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; public class BinaryFilterResponse { diff --git a/src/main/java/com/mtnfog/philter/model/ExplainResponse.java b/src/main/java/ai/philterd/philter/model/ExplainResponse.java similarity index 98% rename from src/main/java/com/mtnfog/philter/model/ExplainResponse.java rename to src/main/java/ai/philterd/philter/model/ExplainResponse.java index 43529db..5c964f3 100644 --- a/src/main/java/com/mtnfog/philter/model/ExplainResponse.java +++ b/src/main/java/ai/philterd/philter/model/ExplainResponse.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.Gson; import com.google.gson.annotations.Expose; diff --git a/src/main/java/com/mtnfog/philter/model/Explanation.java b/src/main/java/ai/philterd/philter/model/Explanation.java similarity index 97% rename from src/main/java/com/mtnfog/philter/model/Explanation.java rename to src/main/java/ai/philterd/philter/model/Explanation.java index a9c58cf..33328d8 100644 --- a/src/main/java/com/mtnfog/philter/model/Explanation.java +++ b/src/main/java/ai/philterd/philter/model/Explanation.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; diff --git a/src/main/java/com/mtnfog/philter/model/FilterResponse.java b/src/main/java/ai/philterd/philter/model/FilterResponse.java similarity index 98% rename from src/main/java/com/mtnfog/philter/model/FilterResponse.java rename to src/main/java/ai/philterd/philter/model/FilterResponse.java index 81157df..838c126 100644 --- a/src/main/java/com/mtnfog/philter/model/FilterResponse.java +++ b/src/main/java/ai/philterd/philter/model/FilterResponse.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.Gson; import com.google.gson.annotations.Expose; diff --git a/src/main/java/com/mtnfog/philter/model/FilteredSpan.java b/src/main/java/ai/philterd/philter/model/FilteredSpan.java similarity index 98% rename from src/main/java/com/mtnfog/philter/model/FilteredSpan.java rename to src/main/java/ai/philterd/philter/model/FilteredSpan.java index ee7d8c2..fbe7982 100644 --- a/src/main/java/com/mtnfog/philter/model/FilteredSpan.java +++ b/src/main/java/ai/philterd/philter/model/FilteredSpan.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; diff --git a/src/main/java/com/mtnfog/philter/model/Span.java b/src/main/java/ai/philterd/philter/model/Span.java similarity index 99% rename from src/main/java/com/mtnfog/philter/model/Span.java rename to src/main/java/ai/philterd/philter/model/Span.java index ba5625b..ea3a8bb 100644 --- a/src/main/java/com/mtnfog/philter/model/Span.java +++ b/src/main/java/ai/philterd/philter/model/Span.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; diff --git a/src/main/java/com/mtnfog/philter/model/StatusResponse.java b/src/main/java/ai/philterd/philter/model/StatusResponse.java similarity index 97% rename from src/main/java/com/mtnfog/philter/model/StatusResponse.java rename to src/main/java/ai/philterd/philter/model/StatusResponse.java index 9194f69..89e5713 100644 --- a/src/main/java/com/mtnfog/philter/model/StatusResponse.java +++ b/src/main/java/ai/philterd/philter/model/StatusResponse.java @@ -13,7 +13,7 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.model; +package ai.philterd.philter.model; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; diff --git a/src/main/java/com/mtnfog/philter/model/exceptions/ClientException.java b/src/main/java/ai/philterd/philter/model/exceptions/ClientException.java similarity index 74% rename from src/main/java/com/mtnfog/philter/model/exceptions/ClientException.java rename to src/main/java/ai/philterd/philter/model/exceptions/ClientException.java index 12938b1..f487aa3 100644 --- a/src/main/java/com/mtnfog/philter/model/exceptions/ClientException.java +++ b/src/main/java/ai/philterd/philter/model/exceptions/ClientException.java @@ -1,4 +1,4 @@ -package com.mtnfog.philter.model.exceptions; +package ai.philterd.philter.model.exceptions; public class ClientException extends RuntimeException { diff --git a/src/main/java/com/mtnfog/philter/model/exceptions/ServiceUnavailableException.java b/src/main/java/ai/philterd/philter/model/exceptions/ServiceUnavailableException.java similarity index 77% rename from src/main/java/com/mtnfog/philter/model/exceptions/ServiceUnavailableException.java rename to src/main/java/ai/philterd/philter/model/exceptions/ServiceUnavailableException.java index 1e66441..d32dba9 100644 --- a/src/main/java/com/mtnfog/philter/model/exceptions/ServiceUnavailableException.java +++ b/src/main/java/ai/philterd/philter/model/exceptions/ServiceUnavailableException.java @@ -1,4 +1,4 @@ -package com.mtnfog.philter.model.exceptions; +package ai.philterd.philter.model.exceptions; public class ServiceUnavailableException extends RuntimeException { diff --git a/src/main/java/com/mtnfog/philter/model/exceptions/UnauthorizedException.java b/src/main/java/ai/philterd/philter/model/exceptions/UnauthorizedException.java similarity index 76% rename from src/main/java/com/mtnfog/philter/model/exceptions/UnauthorizedException.java rename to src/main/java/ai/philterd/philter/model/exceptions/UnauthorizedException.java index b3c3e79..8ecddb5 100644 --- a/src/main/java/com/mtnfog/philter/model/exceptions/UnauthorizedException.java +++ b/src/main/java/ai/philterd/philter/model/exceptions/UnauthorizedException.java @@ -1,4 +1,4 @@ -package com.mtnfog.philter.model.exceptions; +package ai.philterd.philter.model.exceptions; public class UnauthorizedException extends RuntimeException { diff --git a/src/main/java/com/mtnfog/philter/services/PhilterService.java b/src/main/java/ai/philterd/philter/services/PhilterService.java similarity index 90% rename from src/main/java/com/mtnfog/philter/services/PhilterService.java rename to src/main/java/ai/philterd/philter/services/PhilterService.java index b67c8d0..89fe803 100644 --- a/src/main/java/com/mtnfog/philter/services/PhilterService.java +++ b/src/main/java/ai/philterd/philter/services/PhilterService.java @@ -13,13 +13,12 @@ * License for the specific language governing permissions and limitations under * the License. ******************************************************************************/ -package com.mtnfog.philter.services; +package ai.philterd.philter.services; -import com.mtnfog.philter.model.Alert; -import com.mtnfog.philter.model.FilteredSpan; -import com.mtnfog.philter.model.ExplainResponse; -import com.mtnfog.philter.model.StatusResponse; -import okhttp3.MultipartBody; +import ai.philterd.philter.model.Alert; +import ai.philterd.philter.model.FilteredSpan; +import ai.philterd.philter.model.ExplainResponse; +import ai.philterd.philter.model.StatusResponse; import okhttp3.RequestBody; import okhttp3.ResponseBody; import retrofit2.Call; diff --git a/src/test/java/com/mtnfog/test/philter/PhilterClientTest.java b/src/test/java/com/mtnfog/test/philter/PhilterClientTest.java index 8e3b4c1..5a5a192 100644 --- a/src/test/java/com/mtnfog/test/philter/PhilterClientTest.java +++ b/src/test/java/com/mtnfog/test/philter/PhilterClientTest.java @@ -15,9 +15,9 @@ ******************************************************************************/ package com.mtnfog.test.philter; -import com.mtnfog.philter.PhilterClient; -import com.mtnfog.philter.model.BinaryFilterResponse; -import com.mtnfog.philter.model.StatusResponse; +import ai.philterd.philter.PhilterClient; +import ai.philterd.philter.model.BinaryFilterResponse; +import ai.philterd.philter.model.StatusResponse; import okhttp3.ConnectionPool; import okhttp3.OkHttpClient; import org.apache.commons.io.FileUtils;