airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata] branch develop updated: AIRAVATA-2768 Update new and legacy db init scripts for METADATA column
Date Wed, 23 Jan 2019 15:24:42 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie 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 2757880  AIRAVATA-2768 Update new and legacy db init scripts for METADATA column
2757880 is described below

commit 2757880bcdc92e0ebb4b9ee3ca43c038e7f015b1
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Wed Jan 23 10:23:42 2019 -0500

    AIRAVATA-2768 Update new and legacy db init scripts for METADATA column
---
 .../registry-refactoring/src/main/resources/appcatalog-derby.sql    | 2 +-
 .../registry-refactoring/src/main/resources/appcatalog-mysql.sql    | 2 +-
 .../registry-refactoring/src/main/resources/expcatalog-derby.sql    | 6 +++---
 .../registry-refactoring/src/main/resources/expcatalog-mysql.sql    | 4 ++--
 .../registry/registry-core/src/main/resources/appcatalog-mysql.sql  | 2 +-
 .../registry/registry-core/src/main/resources/expcatalog-mysql.sql  | 6 +++---
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/modules/registry-refactoring/src/main/resources/appcatalog-derby.sql b/modules/registry-refactoring/src/main/resources/appcatalog-derby.sql
index 604bbd4..71e83b1 100644
--- a/modules/registry-refactoring/src/main/resources/appcatalog-derby.sql
+++ b/modules/registry-refactoring/src/main/resources/appcatalog-derby.sql
@@ -318,7 +318,7 @@ CREATE TABLE APPLICATION_INPUT
          INPUT_KEY VARCHAR(255),
          INPUT_VALUE VARCHAR(255),
          DATA_TYPE VARCHAR(255),
-         METADATA VARCHAR(255),
+         METADATA VARCHAR(4096),
          APP_ARGUMENT VARCHAR(255),
          STANDARD_INPUT SMALLINT,
          USER_FRIENDLY_DESC VARCHAR(255),
diff --git a/modules/registry-refactoring/src/main/resources/appcatalog-mysql.sql b/modules/registry-refactoring/src/main/resources/appcatalog-mysql.sql
index b1573ea..b413f22 100644
--- a/modules/registry-refactoring/src/main/resources/appcatalog-mysql.sql
+++ b/modules/registry-refactoring/src/main/resources/appcatalog-mysql.sql
@@ -309,7 +309,7 @@ CREATE TABLE APPLICATION_INPUT
          INPUT_KEY VARCHAR(255),
          INPUT_VALUE VARCHAR(255),
          DATA_TYPE VARCHAR(255),
-         METADATA VARCHAR(255),
+         METADATA VARCHAR(4096),
          APP_ARGUMENT VARCHAR(255),
          STANDARD_INPUT SMALLINT,
          USER_FRIENDLY_DESC VARCHAR(255),
diff --git a/modules/registry-refactoring/src/main/resources/expcatalog-derby.sql b/modules/registry-refactoring/src/main/resources/expcatalog-derby.sql
index bd6bf67..1026cc5 100644
--- a/modules/registry-refactoring/src/main/resources/expcatalog-derby.sql
+++ b/modules/registry-refactoring/src/main/resources/expcatalog-derby.sql
@@ -121,7 +121,7 @@ CREATE TABLE EXPERIMENT_INPUT
         APPLICATION_ARGUMENT varchar(255),
         STANDARD_INPUT SMALLINT,
         USER_FRIENDLY_DESCRIPTION varchar(255),
-        METADATA varchar(255),
+        METADATA varchar(4096),
         INPUT_ORDER INT,
         IS_REQUIRED SMALLINT,
         REQUIRED_TO_ADDED_TO_CMD SMALLINT,
@@ -247,7 +247,7 @@ CREATE TABLE PROCESS_INPUT
         APPLICATION_ARGUMENT varchar(255),
         STANDARD_INPUT SMALLINT,
         USER_FRIENDLY_DESCRIPTION varchar(255),
-        METADATA varchar(255),
+        METADATA varchar(4096),
         INPUT_ORDER INT,
         IS_REQUIRED SMALLINT,
         REQUIRED_TO_ADDED_TO_CMD SMALLINT,
@@ -395,4 +395,4 @@ CREATE TABLE CONFIGURATION
         PRIMARY KEY(CONFIG_KEY, CONFIG_VAL, CATEGORY_ID)
 );
 
-INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', CURRENT_TIMESTAMP ,'SYSTEM');
\ No newline at end of file
+INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', CURRENT_TIMESTAMP ,'SYSTEM');
diff --git a/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql b/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql
index b9d05ce..0d46410 100644
--- a/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql
+++ b/modules/registry-refactoring/src/main/resources/expcatalog-mysql.sql
@@ -121,7 +121,7 @@ CREATE TABLE EXPERIMENT_INPUT
         APPLICATION_ARGUMENT varchar(255),
         STANDARD_INPUT tinyint(1),
         USER_FRIENDLY_DESCRIPTION varchar(255),
-        METADATA varchar(255),
+        METADATA varchar(4096),
         INPUT_ORDER int(11),
         IS_REQUIRED tinyint(1),
         REQUIRED_TO_ADDED_TO_CMD tinyint(1),
@@ -396,4 +396,4 @@ CREATE TABLE CONFIGURATION
         PRIMARY KEY(CONFIG_KEY, CONFIG_VAL, CATEGORY_ID)
 );
 
-INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', NOW() ,'SYSTEM');
\ No newline at end of file
+INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', NOW() ,'SYSTEM');
diff --git a/modules/registry/registry-core/src/main/resources/appcatalog-mysql.sql b/modules/registry/registry-core/src/main/resources/appcatalog-mysql.sql
index 5668c19..54a8abd 100644
--- a/modules/registry/registry-core/src/main/resources/appcatalog-mysql.sql
+++ b/modules/registry/registry-core/src/main/resources/appcatalog-mysql.sql
@@ -298,7 +298,7 @@ CREATE TABLE APPLICATION_INPUT
          INPUT_KEY VARCHAR(255),
          INPUT_VALUE VARCHAR(255),
          DATA_TYPE VARCHAR(255),
-         METADATA VARCHAR(255),
+         METADATA VARCHAR(4096),
          APP_ARGUMENT VARCHAR(255),
          STANDARD_INPUT SMALLINT,
          USER_FRIENDLY_DESC VARCHAR(255),
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 b6160be..483ae2f 100644
--- a/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
+++ b/modules/registry/registry-core/src/main/resources/expcatalog-mysql.sql
@@ -122,7 +122,7 @@ CREATE TABLE EXPERIMENT_INPUT
     APPLICATION_ARGUMENT varchar(255),
     STANDARD_INPUT tinyint(1),
     USER_FRIENDLY_DESCRIPTION varchar(255),
-    METADATA varchar(255),
+    METADATA varchar(4096),
     INPUT_ORDER int(11),
     IS_REQUIRED tinyint(1),
     REQUIRED_TO_ADDED_TO_CMD tinyint(1),
@@ -251,7 +251,7 @@ CREATE TABLE PROCESS_INPUT
     APPLICATION_ARGUMENT varchar(255),
     STANDARD_INPUT tinyint(1),
     USER_FRIENDLY_DESCRIPTION varchar(255),
-    METADATA varchar(255),
+    METADATA varchar(4096),
     INPUT_ORDER int(11),
     IS_REQUIRED tinyint(1),
     REQUIRED_TO_ADDED_TO_CMD tinyint(1),
@@ -398,4 +398,4 @@ CREATE TABLE CONFIGURATION
         PRIMARY KEY(CONFIG_KEY, CONFIG_VAL, CATEGORY_ID)
 );
 
-INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', NOW() ,'SYSTEM');
\ No newline at end of file
+INSERT INTO CONFIGURATION (CONFIG_KEY, CONFIG_VAL, EXPIRE_DATE, CATEGORY_ID) VALUES('registry.version',
'0.16', NOW() ,'SYSTEM');


Mime
View raw message