Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2021-01-08 18:08:51 +0000
committerRyan D. Brooks2021-01-08 21:28:25 +0000
commit67fae1b3a8ddd254fecb1956180de7d2578b53e6 (patch)
treeb72e61a2412e5a9e4d84b92a4fa252a35ece78c6
parentf19329aecee9356db9a4257e1a668085cb5dc4bd (diff)
downloadorg.eclipse.osee-67fae1b3a8ddd254fecb1956180de7d2578b53e6.tar.gz
org.eclipse.osee-67fae1b3a8ddd254fecb1956180de7d2578b53e6.tar.xz
org.eclipse.osee-67fae1b3a8ddd254fecb1956180de7d2578b53e6.zip
bug[TW18549]: Improve Validate Type to find prod attrs with no code ref
-rw-r--r--plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/ApplicationServerManager.java2
-rw-r--r--plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/types/HealthReportOperation.java3
2 files changed, 1 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/ApplicationServerManager.java b/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/ApplicationServerManager.java
index 5ddbe80d9d6..2537c9a78d8 100644
--- a/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/ApplicationServerManager.java
+++ b/plugins/org.eclipse.osee.framework.core.server/src/org/eclipse/osee/framework/core/server/internal/ApplicationServerManager.java
@@ -21,7 +21,6 @@ import java.net.UnknownHostException;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
-import org.eclipse.osee.framework.core.data.OseeClient;
import org.eclipse.osee.framework.core.data.OseeCodeVersion;
import org.eclipse.osee.framework.core.data.OseeServerInfo;
import org.eclipse.osee.framework.core.operation.Operations;
@@ -61,7 +60,6 @@ public class ApplicationServerManager implements IApplicationServerManager {
dataStore = new ApplicationServerDataStore(jdbcService.getClient());
serverInfo = createOseeServerInfo(getLogger(), dataStore, OseeCodeVersion.getVersion());
System.setProperty("OseeApplicationServer", serverInfo.getUri().toString());
- System.setProperty(OseeClient.OSEE_APPLICATION_SERVER, serverInfo.getUri().toString());
timer = new Timer();
timer.schedule(new TimerTask() {
diff --git a/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/types/HealthReportOperation.java b/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/types/HealthReportOperation.java
index 3f880b09d6f..eff5adf6ca3 100644
--- a/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/types/HealthReportOperation.java
+++ b/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/types/HealthReportOperation.java
@@ -18,7 +18,6 @@ import org.eclipse.osee.framework.core.OrcsTokenService;
import org.eclipse.osee.framework.core.data.ArtifactTypeToken;
import org.eclipse.osee.framework.core.data.AttributeTypeGeneric;
import org.eclipse.osee.framework.core.data.AttributeTypeToken;
-import org.eclipse.osee.framework.core.data.OseeClient;
import org.eclipse.osee.framework.jdk.core.result.XResultData;
import org.eclipse.osee.jdbc.JdbcService;
import org.eclipse.osee.jdbc.JdbcStatement;
@@ -49,7 +48,7 @@ public class HealthReportOperation {
}
rd.log("ORCS Types Health Check\n");
- rd.log("Server: " + OseeClient.getOseeApplicationServer() + "\n");
+ rd.log("Server: " + System.getProperty("OseeApplicationServer") + "\n");
rd.log("Attribute Types defined in code without Artifact reference in code: \n");
for (AttributeTypeToken attrType : attrTypes) {
if (attrType.isValid()) {

Back to the top