This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch UNOMI-569-flatten-schemas
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/UNOMI-569-flatten-schemas by
this push:
new 7051295d5 UNOMI-569: cleanup unused code/imports in tests
7051295d5 is described below
commit 7051295d526d48ef7827870d9b0b782de4c383e9
Author: Kevan <[email protected]>
AuthorDate: Fri Jun 10 14:58:42 2022 +0200
UNOMI-569: cleanup unused code/imports in tests
---
itests/src/test/java/org/apache/unomi/itests/BasicIT.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/itests/src/test/java/org/apache/unomi/itests/BasicIT.java
b/itests/src/test/java/org/apache/unomi/itests/BasicIT.java
index 06fc24ab0..941072cbd 100644
--- a/itests/src/test/java/org/apache/unomi/itests/BasicIT.java
+++ b/itests/src/test/java/org/apache/unomi/itests/BasicIT.java
@@ -17,9 +17,6 @@
package org.apache.unomi.itests;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.databind.SerializationFeature;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
@@ -36,10 +33,8 @@ import org.apache.unomi.api.conditions.ConditionType;
import org.apache.unomi.api.rules.Rule;
import org.apache.unomi.api.services.DefinitionsService;
import org.apache.unomi.api.services.ProfileService;
-import org.apache.unomi.api.services.RulesService;
import org.apache.unomi.itests.tools.httpclient.HttpClientThatWaitsForUnomi;
import org.apache.unomi.persistence.spi.CustomObjectMapper;
-import org.apache.unomi.schema.api.SchemaService;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -53,7 +48,6 @@ import org.slf4j.LoggerFactory;
import javax.inject.Inject;
import java.io.File;
import java.io.IOException;
-import java.text.SimpleDateFormat;
import java.util.*;
@@ -94,14 +88,10 @@ public class BasicIT extends BaseIT {
private static final String EMAIL_VISITOR_1 = "[email protected]";
private static final String EMAIL_VISITOR_2 = "[email protected]";
- @Inject @Filter(timeout = 600000)
- protected RulesService rulesService;
@Inject @Filter(timeout = 600000)
protected ProfileService profileService;
@Inject @Filter(timeout = 600000)
protected DefinitionsService definitionsService;
- @Inject @Filter(timeout = 600000)
- protected SchemaService schemaService;
@Test
public void testContextJS() throws IOException {