You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/05/21 19:18:10 UTC

[airavata] branch develop updated: modified: modules/ide-integration/src/main/resources/airavata-server.properties Updated changed the server.host from localhost to 0.0.0.0 as the localhost as localhost was creating problems in Linux where the docker container was not able to talk to the API services due to a different host address.

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6e8d5d3  modified:   modules/ide-integration/src/main/resources/airavata-server.properties Updated changed the server.host from localhost to 0.0.0.0 as the localhost as localhost was creating problems in Linux where the docker container was not able to talk to the API services due to a different host address.
     new c413e1a  Merge pull request #221 from shivamriky/develop
6e8d5d3 is described below

commit 6e8d5d31d16e92e20d36f8ec302a213ac3d040b2
Author: Shivam Rastogi <sh...@gmail.com>
AuthorDate: Tue May 21 14:46:27 2019 -0400

    modified:   modules/ide-integration/src/main/resources/airavata-server.properties
    Updated changed the server.host from localhost to 0.0.0.0 as the localhost as localhost was creating problems in Linux where
    the docker container was not able to talk to the API services due to a different host address.
    
    modified:   pom.xml
    1. Added maven repository as maven was not able to download some libraries from already available repos.
    2. Added a plugin for openJPA to avoid the following error in Intellij:
    "<openjpa-2.4.3 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent: "
---
 .../src/main/resources/airavata-server.properties           |  8 ++++----
 pom.xml                                                     | 13 ++++++++++++-
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/modules/ide-integration/src/main/resources/airavata-server.properties b/modules/ide-integration/src/main/resources/airavata-server.properties
index 9a21cee..735d359 100644
--- a/modules/ide-integration/src/main/resources/airavata-server.properties
+++ b/modules/ide-integration/src/main/resources/airavata-server.properties
@@ -95,7 +95,7 @@ sharingcatalog.validationQuery=SELECT 1 from CONFIGURATION
 #  Sharing Registry Server Configuration
 ###########################################################################
 sharing_server=org.apache.airavata.sharing.registry.server.SharingRegistryServer
-sharing.registry.server.host=localhost
+sharing.registry.server.host=0.0.0.0
 sharing.registry.server.port=7878
 sharing.tls.enabled=false
 
@@ -128,7 +128,7 @@ apiserver.min.threads=50
 ###########################################################################
 orchestrator=org.apache.airavata.orchestrator.server.OrchestratorServer
 orchestrator.server.name=orchestrator-node0
-orchestrator.server.host=localhost
+orchestrator.server.host=0.0.0.0
 orchestrator.server.port=8940
 orchestrator.server.min.threads=50
 job.validators=org.apache.airavata.orchestrator.core.validator.impl.BatchQueueValidator,org.apache.airavata.orchestrator.core.validator.impl.ExperimentStatusValidator
@@ -144,7 +144,7 @@ host.scheduler=org.apache.airavata.orchestrator.core.schedule.DefaultHostSchedul
 ###########################################################################
 regserver=org.apache.airavata.registry.api.service.RegistryAPIServer
 regserver.server.name=regserver-node0
-regserver.server.host=localhost
+regserver.server.host=0.0.0.0
 regserver.server.port=8970
 regserver.server.min.threads=50
 
@@ -228,7 +228,7 @@ enable.kafka.logging=false
 ###########################################################################
 # Profile Service Configuration
 ###########################################################################
-profile.service.server.host=localhost
+profile.service.server.host=0.0.0.0
 profile.service.server.port=8962
 profile_service=org.apache.airavata.service.profile.server.ProfileServiceServer
 # MariaDB properties
diff --git a/pom.xml b/pom.xml
index 11529e3..1696e52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -553,6 +553,11 @@
             </snapshots>
         </repository>
         <repository>
+            <id>wso2</id>
+            <name>Repository</name>
+            <url>http://dist.wso2.org/maven2</url>
+        </repository>
+        <repository>
             <id>oauth</id>
             <name>OAuth Repository</name>
             <url>https://oauth.googlecode.com/svn/code/maven</url>
@@ -587,7 +592,13 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <plugin>
+		    <plugin>
+		       <groupId>org.apache.maven.plugins</groupId>
+		       <artificatId>maven-jar-plugins</artificatId>
+		       <version>$(openjpa.version)</version>
+		    </plugin>
+		    
+		    <plugin>
                         <groupId>com.lukegb.mojo</groupId>
                         <artifactId>gitdescribe-maven-plugin</artifactId>
                         <version>3.0</version>