Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2015-08-25 21:00:05 -0400
committerAngel Avila2015-09-11 21:05:40 -0400
commitd32a36c938e84d9bbe119c41a1ff46935b84bb9f (patch)
tree0e79e96dafa1fabf7928c94049b1b94a67154621 /plugins/org.eclipse.osee.x.server.integration.tests
parentd87bec1cd78fc1805338dc099b21bc1e56e2dca1 (diff)
downloadorg.eclipse.osee-d32a36c938e84d9bbe119c41a1ff46935b84bb9f.tar.gz
org.eclipse.osee-d32a36c938e84d9bbe119c41a1ff46935b84bb9f.tar.xz
org.eclipse.osee-d32a36c938e84d9bbe119c41a1ff46935b84bb9f.zip
bug: Fix AtsConfiguration console warnings
Diffstat (limited to 'plugins/org.eclipse.osee.x.server.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ServerIntegrationTestSuite.java3
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ats/AtsActionEndpointTest.java45
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/util/IntegrationUtil.java12
3 files changed, 1 insertions, 59 deletions
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ServerIntegrationTestSuite.java b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ServerIntegrationTestSuite.java
index 80ed3c4ed4..7ffe074724 100644
--- a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ServerIntegrationTestSuite.java
+++ b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ServerIntegrationTestSuite.java
@@ -10,14 +10,13 @@
*******************************************************************************/
package org.eclipse.osee.x.server.integration.tests;
-import org.eclipse.osee.x.server.integration.tests.ats.AtsActionEndpointTest;
import org.eclipse.osee.x.server.integration.tests.performance.AccountClientTest;
import org.eclipse.osee.x.server.integration.tests.performance.OseeClientQueryTest;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsActionEndpointTest.class, OseeClientQueryTest.class, AccountClientTest.class})
+@Suite.SuiteClasses({OseeClientQueryTest.class, AccountClientTest.class})
public class ServerIntegrationTestSuite {
// Test Suite
}
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ats/AtsActionEndpointTest.java b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ats/AtsActionEndpointTest.java
deleted file mode 100644
index 56344d7ba4..0000000000
--- a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/ats/AtsActionEndpointTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2014 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.x.server.integration.tests.ats;
-
-import org.eclipse.osee.ats.api.workflow.AtsActionEndpointApi;
-import org.eclipse.osee.x.server.integration.tests.util.IntegrationUtil;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.rules.MethodRule;
-import org.junit.rules.TestName;
-
-/**
- * @author Donald G. Dunne
- */
-public class AtsActionEndpointTest {
-
- @Rule
- public MethodRule performanceRule = IntegrationUtil.createPerformanceRule();
-
- @Rule
- public TestName testName = new TestName();
-
- private AtsActionEndpointApi actionEndpoint;
-
- @Before
- public void setUp() {
- actionEndpoint = IntegrationUtil.createAtsClient().getAction();
- }
-
- @Test
- public void testEndpointAlive() throws Exception {
- Assert.assertTrue(actionEndpoint.get().contains("Action Resource"));
- }
-
-}
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/util/IntegrationUtil.java b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/util/IntegrationUtil.java
index cb357675f7..5ebf4adf05 100644
--- a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/util/IntegrationUtil.java
+++ b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/util/IntegrationUtil.java
@@ -19,8 +19,6 @@ import org.databene.contiperf.report.CSVSummaryReportModule;
import org.databene.contiperf.report.HtmlReportModule;
import org.eclipse.osee.account.rest.client.AccountClient;
import org.eclipse.osee.account.rest.client.AccountClientStandaloneSetup;
-import org.eclipse.osee.ats.api.AtsJaxRsApi;
-import org.eclipse.osee.jaxrs.client.JaxRsClient;
import org.eclipse.osee.orcs.rest.client.OseeClient;
import org.eclipse.osee.orcs.rest.client.OseeClientStandaloneSetup;
import org.junit.rules.MethodRule;
@@ -55,14 +53,4 @@ public final class IntegrationUtil {
return AccountClientStandaloneSetup.createClient(config);
}
- public static AtsJaxRsApi createAtsClient() {
- String atsUri = String.format("%s/ats", getOseeApplicationServer());
-
- AtsJaxRsApi atsEndpoint = JaxRsClient.newBuilder() //
- .createThreadSafeProxyClients(true) // if the client needs to be shared between threads
- .build() //
- .targetProxy(atsUri, AtsJaxRsApi.class);
-
- return atsEndpoint;
- }
}

Back to the top