Skip to content

Commit

Permalink
Merge pull request #16 from NCIEVS/update/LEXEVS-5358
Browse files Browse the repository at this point in the history
Update/lexevs 5358  Merged without review
  • Loading branch information
hsbauer authored Oct 18, 2023
2 parents c8f750d + 33e9b1c commit 3def521
Show file tree
Hide file tree
Showing 112 changed files with 247 additions and 233 deletions.
143 changes: 66 additions & 77 deletions .classpath

Large diffs are not rendered by default.

Binary file modified software/browser-util/browser-util.jar
Binary file not shown.
6 changes: 3 additions & 3 deletions software/browser-util/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apacche.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="https://maven.apache.org/POM/4.0.0"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apacche.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>gov.nih.nci.evs</groupId>
<artifactId>browser-util</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.LexGrid.codingSchemes.*;
import org.LexGrid.commonTypes.*;
import org.LexGrid.commonTypes.Source;
import org.LexGrid.commonTypes.Property;
import org.LexGrid.concepts.*;
//import org.LexGrid.LexBIG.caCore.interfaces.LexEVSApplicationService;
//import org.LexGrid.LexBIG.caCore.interfaces.LexEVSDistributed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import gov.nih.nci.evs.browser.properties.*;
import java.io.*;
import java.util.*;
import net.sf.ehcache.*;
import org.apache.logging.log4j.*;
import org.json.*;
import org.LexGrid.codingSchemes.*;
Expand Down
6 changes: 3 additions & 3 deletions software/junit-test/conf/application-config-client.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="EvsServiceInfo" class="java.util.HashMap" scope="singleton">
<bean id="EvsServiceInfo" class="java.util.HashMap" singleton="true">
<constructor-arg>
<map>
<entry key="APPLICATION_SERVICE_BEAN" value-ref="LexEVSApplicationService"/>
Expand All @@ -12,7 +12,7 @@
</constructor-arg>
</bean>

<bean id="LexEVSInterceptor" class="org.LexGrid.LexBIG.caCore.client.proxy.LexEVSApplicationServiceProxy" scope="singleton">
<bean id="LexEVSInterceptor" class="org.LexGrid.LexBIG.caCore.client.proxy.LexEVSApplicationServiceProxy" singleton="true">
<property name="proxyFactory">
<ref bean="DistributedProxyHelper"/>
</property>
Expand All @@ -37,7 +37,7 @@
</property>
</bean>

<bean id="AppService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean" scope="singleton">
<bean id="AppService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean" singleton="true">
<property name="serviceUrl" value="http://lexevsapi62.nci.nih.gov/lexevsapi62/http/applicationService"/>
<property name="serviceInterface" value="org.LexGrid.LexBIG.caCore.interfaces.LexEVSApplicationService"/>
<property name="httpInvokerRequestExecutor">
Expand Down
Binary file modified software/ncitbrowser/extlib/browser-util.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/args4j-2.0.12.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/args4j-2.33.jar
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/aspectjrt-1.7.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/aspectjrt-1.9.19.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/aspectjweaver-1.7.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/aspectjweaver-1.9.19.jar
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/caffeine-2.7.0.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/caffeine-3.1.2.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/castor-core-1.3.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/castor-core-1.4.1.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/castor-xml-1.3.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/castor-xml-1.4.1.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-cli-1.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-cli-1.5.0.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-codec-1.15.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-io-2.11.0.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-io-2.6.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-lang-2.4.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-lang-2.6.jar
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-lang3-3.4.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-logging-1.1.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-logging-1.2.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/commons-pool-1.4.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/commons-pool-1.6.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/dbunit-2.4.7.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/dbunit-2.7.3.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/dom4j-1.6.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/dom4j-2.1.3.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/easymock-4.3.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/easymock-5.1.0.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/ehcache-2.10.9.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/ehcache-3.10.8.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/gson-2.10.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/gson-2.8.5.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/guava-31.1-jre.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/guava-r05.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/javassist-3.29.2-GA.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/javassist-3.8.0.GA.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/jdom-1.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/jdom2-2.0.6.1.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/jettison-1.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/jettison-1.5.3.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/json-20080701.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/json-20220924.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/kryo-2.21.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/kryo-2.24.0.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/kryo-serializers-0.37.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/micrometer-core-1.9.0.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/minlog-1.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/minlog-1.3.1.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/mybatis-3.5.11.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/mybatis-3.5.9.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/slf4j-api-1.8.0-beta4.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/slf4j-api-2.0.6.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/sqlbuilder-2.0.11.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/sqlbuilder-3.0.2.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/velocity-1.6.jar
Binary file not shown.
Binary file not shown.
Binary file removed software/ncitbrowser/lib/velocypack-1.4.2.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/velocypack-3.0.0.jar
Binary file not shown.
Binary file added software/ncitbrowser/lib/xml-apis-2.0.2.jar
Binary file not shown.
Binary file removed software/ncitbrowser/lib/xml-apis.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nih.nci.evs.bean;
package gov.nih.nci.evs.browser.bean;

import java.io.*;
import java.util.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nih.nci.evs.bean;
package gov.nih.nci.evs.browser.bean;

import java.io.*;
import java.util.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nih.nci.evs.bean;
package gov.nih.nci.evs.browser.bean;

import java.io.*;
import java.util.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gov.nih.nci.evs.bean;
package gov.nih.nci.evs.browser.bean;

import java.io.*;
import java.util.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)


nodesArray =
CacheController.getInstance().getSubconcepts(
CacheController.getTreeInstance().getSubconcepts(
ontology_display_name, ontology_version, node_id, ns);

if (nodesArray != null) {
Expand Down Expand Up @@ -544,7 +544,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
JSONObject json = new JSONObject();
JSONArray nodesArray = null;// new JSONArray();
try {
nodesArray = new JSONArray(CacheController.getInstance().getRootJSONString(ontology_display_name, ontology_version));
nodesArray = new JSONArray(CacheController.getRootInstance().getRootJSONString(ontology_display_name, ontology_version));
if (nodesArray != null) {
json.put("root_nodes", nodesArray);
}
Expand All @@ -567,7 +567,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
try {
String codingSchemeVersion = null;
nodesArray =
CacheController.getInstance().getRootValueSets(
CacheController.getTreeInstance().getRootValueSets(
ontology_display_name, codingSchemeVersion);
if (nodesArray != null) {
json.put("root_nodes", nodesArray);
Expand All @@ -591,7 +591,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
try {

nodesArray =
CacheController.getInstance().getSubValueSets(
CacheController.getTreeInstance().getSubValueSets(
ontology_display_name, ontology_version, node_id);


Expand All @@ -616,7 +616,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)

try {
nodesArray =
CacheController.getInstance().getSourceValueSetTree(
CacheController.getTreeInstance().getSourceValueSetTree(
ontology_display_name, ontology_version, true);
if (nodesArray != null) {
json.put("root_nodes", nodesArray);
Expand All @@ -638,7 +638,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)

try {
nodesArray =
CacheController.getInstance().getCodingSchemeValueSetTree(
CacheController.getTreeInstance().getCodingSchemeValueSetTree(
ontology_display_name, ontology_version, true);
if (nodesArray != null) {
json.put("root_nodes", nodesArray);
Expand All @@ -662,7 +662,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
//HashMap getRootValueSets(String codingSchemeURN)
String codingSchemeVersion = null;
nodesArray =
CacheController.getInstance().getRootValueSets(true);
CacheController.getTreeInstance().getRootValueSets(true);

if (nodesArray != null) {
json.put("root_nodes", nodesArray);
Expand Down Expand Up @@ -693,7 +693,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
if (vsd == null) {
try {
//
nodesArray = CacheController.getInstance().getRootValueSets(node_id, null);
nodesArray = CacheController.getTreeInstance().getRootValueSets(node_id, null);
//nodesArray = CacheController.getInstance().getRootValueSets(node_id, null); //find roots (by source)

if (nodesArray != null) {
Expand All @@ -705,7 +705,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
} else {
try {
nodesArray =
CacheController.getInstance().getSubValueSets(
CacheController.getTreeInstance().getSubValueSets(
node_id, null, vsd_uri);

if (nodesArray != null) {
Expand Down Expand Up @@ -734,7 +734,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
String codingSchemeVersion = null;
nodesArray =
//CacheController.getInstance().getRootValueSets(true, true);
CacheController.getInstance().build_src_vs_tree();
CacheController.getTreeInstance().build_src_vs_tree();

if (nodesArray != null) {
json.put("root_nodes", nodesArray);
Expand All @@ -760,7 +760,7 @@ public void execute(HttpServletRequest request, HttpServletResponse response)
response.setHeader("Cache-Control", "no-cache");
JSONObject json = new JSONObject();
JSONArray nodesArray = null;
nodesArray = CacheController.getInstance().expand_src_vs_tree(node_id);
nodesArray = CacheController.getTreeInstance().expand_src_vs_tree(node_id);

try {
if (nodesArray != null) {
Expand Down
Loading

0 comments on commit 3def521

Please sign in to comment.