Skip to content

Commit

Permalink
bump up version to 2.4.2. moved TermUtilities to ndex-object-model.
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingbic committed Jun 5, 2019
1 parent 1be66b2 commit 1fca8f9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 91 deletions.
13 changes: 4 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.ndexbio</groupId>
<artifactId>ndexbio-rest</artifactId>
<packaging>war</packaging>
<version>2.4.1</version>
<version>2.4.2</version>
<name>ndexbio-rest</name>
<url>http://maven.apache.org</url>
<inceptionYear>2013</inceptionYear>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>org.ndexbio</groupId>
<artifactId>ndex-object-model</artifactId>
<version>2.4.1</version>
<version>2.4.2</version>
</dependency>

<dependency>
Expand All @@ -32,12 +32,6 @@
<artifactId>commons-dbcp2</artifactId>
<version>2.1.1</version>
</dependency>

<!-- <dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.8.1</version>
</dependency> -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
Expand Down Expand Up @@ -383,6 +377,7 @@
<jettyVersion>9.3.18.v20170406</jettyVersion>
<resteasyVersion>3.1.4.Final</resteasyVersion>
<log4jVersion>2.8.2</log4jVersion>
<jacksonVersion>2.9.4</jacksonVersion>
<jacksonVersion>2.9.9</jacksonVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.common.util.NamedList;
import org.ndexbio.common.NdexClasses;
import org.ndexbio.common.util.TermUtilities;
import org.ndexbio.model.tools.TermUtilities;
import org.ndexbio.common.util.Util;
import org.ndexbio.cxio.aspects.datamodels.ATTRIBUTE_DATA_TYPE;
import org.ndexbio.cxio.aspects.datamodels.NetworkAttributesElement;
Expand Down
78 changes: 0 additions & 78 deletions src/main/java/org/ndexbio/common/util/TermUtilities.java

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/java/org/ndexbio/rest/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public static Configuration createInstance() throws NdexException
* @return Instance of {@link org.ndexbio.rest.Configuration} object
* @throws NdexException
*/
public static Configuration reCreateInstance(final String configFilePath) throws NdexException{
protected static Configuration reCreateInstance(final String configFilePath) throws NdexException{

try {
INSTANCE = new Configuration(configFilePath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public void filter(ContainerRequestContext arg0,

MultivaluedMap<String, Object> headers = responseContext.getHeaders();
headers.putSingle("Access-Control-Allow-Origin", "*");
/* headers.putSingle("Access-Control-Allow-Methods", "HEAD, DELETE,GET,OPTIONS,POST,PUT");
headers.putSingle("Access-Control-Allow-Headers", "Accept, Content-Type, Authorization, Content-Length, X-Requested-With");*/
headers.putSingle("Access-Control-Allow-Methods", "HEAD, DELETE,GET,OPTIONS,POST,PUT");
//headers.putSingle("Access-Control-Allow-Headers", "Accept, Content-Type, Authorization, Content-Length, X-Requested-With, NDEx-application");
headers.putSingle("Access-Control-Allow-Credentials", Boolean.TRUE);

final ResourceMethodInvoker methodInvoker = (ResourceMethodInvoker)arg0.getProperty("org.jboss.resteasy.core.ResourceMethodInvoker");
Expand Down

0 comments on commit 1fca8f9

Please sign in to comment.