summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-07-17 18:02:48 +0300
committerIttay Stern <ittay.stern@att.com>2019-07-17 18:06:43 +0300
commitdb98c7976e57f8bacbcc93b802b4d05b1db7b8cf (patch)
treebba7b3205637c2dc8865599b24616ecccc6a199a /vid-automation/src/main/java/org
parent5f9fd8e2506de6ce7dc27d0fba009724e440f15d (diff)
Let API tests run without report_portal_integration, using dynamic loading
- Removed @Step annotations, as pointcut is hardcoded in com.att->   .automation.common.report_portal_integration.aspects.StepAspects - Introduced ReportPortalListenerDelegator that loads com.att->   .automation.common.report_portal_integration if available - Optimized and organized dependencies - Upgrade maven-assembly-plugin to resolve "Java heap space" error. Issue-ID: VID-378 Change-Id: Iaf9279a48a1474d0ef6d0f514259dd383f6f5dbf Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation/src/main/java/org')
-rw-r--r--vid-automation/src/main/java/org/onap/vid/api/BaseApiTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/vid-automation/src/main/java/org/onap/vid/api/BaseApiTest.java b/vid-automation/src/main/java/org/onap/vid/api/BaseApiTest.java
index 7ce29446c..3778e4b16 100644
--- a/vid-automation/src/main/java/org/onap/vid/api/BaseApiTest.java
+++ b/vid-automation/src/main/java/org/onap/vid/api/BaseApiTest.java
@@ -35,11 +35,12 @@ import org.springframework.web.client.HttpStatusCodeException;
import org.springframework.web.client.RestTemplate;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Listeners;
+import vid.automation.reportportal.ReportPortalListenerDelegator;
import vid.automation.test.infra.FeaturesTogglingConfiguration;
import vid.automation.test.services.UsersService;
import vid.automation.test.utils.CookieAndJsonHttpHeadersInterceptor;
-//@Listeners(ReportPortalListener.class)
+@Listeners(ReportPortalListenerDelegator.class)
public class BaseApiTest {
protected static final Logger LOGGER = LogManager.getLogger(BaseApiTest.class);