airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject [03/15] airavata git commit: fixing the database creation failure
Date Tue, 13 Sep 2016 06:18:03 GMT
fixing the database creation failure


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/2ec33c1c
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/2ec33c1c
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/2ec33c1c

Branch: refs/heads/lahiru/AIRAVATA-2065
Commit: 2ec33c1c8875215e1e76160c5d13b327b01c6ebe
Parents: 56753f3
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Aug 26 02:06:02 2016 -0400
Committer: Lahiru Ginnaliya Gamathige <lahiru@apache.org>
Committed: Mon Sep 12 22:42:13 2016 -0700

----------------------------------------------------------------------
 modules/registry/registry-core/pom.xml                            | 2 +-
 .../registry-core/src/main/resources/expcatalog-derby.sql         | 3 ++-
 .../registry-core/src/main/resources/expcatalog-mysql.sql         | 3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/2ec33c1c/modules/registry/registry-core/pom.xml
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/pom.xml b/modules/registry/registry-core/pom.xml
index 85986ae..aa9a61b 100644
--- a/modules/registry/registry-core/pom.xml
+++ b/modules/registry/registry-core/pom.xml
@@ -162,7 +162,7 @@
                 <inherited>true</inherited>
                 <configuration>
                     <failIfNoTests>false</failIfNoTests>
-                    <skipTests>true</skipTests>
+                    <skipTests>${skipTests}</skipTests>
                     <workingDirectory>${project.build.testOutputDirectory}</workingDirectory>
                     <!-- making sure that the sure-fire plugin doesn't run the integration
tests-->
                     <!-- Integration tests are run using the fail-safe plugin in the module
pom-->

http://git-wip-us.apache.org/repos/asf/airavata/blob/2ec33c1c/modules/registry/registry-core/src/main/resources/expcatalog-derby.sql
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/resources/expcatalog-derby.sql b/modules/registry/registry-core/src/main/resources/expcatalog-derby.sql
index 275c772..3388dea 100644
--- a/modules/registry/registry-core/src/main/resources/expcatalog-derby.sql
+++ b/modules/registry/registry-core/src/main/resources/expcatalog-derby.sql
@@ -37,7 +37,8 @@ CREATE TABLE GATEWAY
         DECLINED_REASON varchar(255),
         OAUTH_CLIENT_SECRET varchar(255),
         OAUTH_CLIENT_ID varchar(255),
-        REQUEST_CREATION_TIME datetime DEFAULT CURRENT_TIMESTAMP,
+        REQUEST_CREATION_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
+        REQUESTER_USERNAME VARCHAR(255),
         PRIMARY KEY (GATEWAY_ID)
 );
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/2ec33c1c/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql b/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
index e5d6b09..2c776af 100644
--- a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
+++ b/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
@@ -37,7 +37,8 @@ CREATE TABLE GATEWAY
         DECLINED_REASON varchar(255),
         OAUTH_CLIENT_SECRET varchar(255),
         OAUTH_CLIENT_ID varchar(255),
-        REQUEST_CREATION_TIME datetime DEFAULT CURRENT_TIMESTAMP,
+        REQUEST_CREATION_TIME TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
+        REQUESTER_USERNAME VARCHAR(255),
         PRIMARY KEY (GATEWAY_ID)
 );
 


Mime
View raw message