You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/04/27 19:20:26 UTC
[airavata] branch group-based-auth updated: AIRAVATA-2768 Widen
METADATA column from 255 to 4096 chars
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch group-based-auth
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/group-based-auth by this push:
new cca45cd AIRAVATA-2768 Widen METADATA column from 255 to 4096 chars
cca45cd is described below
commit cca45cd25fe4741e785eae9cb226c29af6059453
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Apr 27 15:17:08 2018 -0400
AIRAVATA-2768 Widen METADATA column from 255 to 4096 chars
---
.../appcatalog/ApplicationInputEntity.java | 2 +-
.../entities/expcatalog/ExperimentInputEntity.java | 3 +--
.../next/DeltaScripts/appCatalog_schema_delta.sql | 22 ++++++++++++++++++++++
.../experimentCatalog_schema_delta.sql | 22 ++++++++++++++++++++++
4 files changed, 46 insertions(+), 3 deletions(-)
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputEntity.java b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputEntity.java
index b162951..5b86322 100644
--- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputEntity.java
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputEntity.java
@@ -59,7 +59,7 @@ public class ApplicationInputEntity implements Serializable {
@Column(name = "IS_REQUIRED")
private boolean isRequired;
- @Column(name = "METADATA")
+ @Column(name = "METADATA", length = 4096)
private String metaData;
@Column(name = "REQUIRED_TO_COMMANDLINE")
diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ExperimentInputEntity.java b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ExperimentInputEntity.java
index 4a9b2c0..8869427 100644
--- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ExperimentInputEntity.java
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/ExperimentInputEntity.java
@@ -107,8 +107,7 @@ public class ExperimentInputEntity {
this.userFriendlyDescription = userFriendlyDescription;
}
- @Lob
- @Column(name = "METADATA")
+ @Column(name = "METADATA", length = 4096)
public String getMetaData() {
return metaData;
}
diff --git a/modules/registry/release-migration-scripts/next/DeltaScripts/appCatalog_schema_delta.sql b/modules/registry/release-migration-scripts/next/DeltaScripts/appCatalog_schema_delta.sql
new file mode 100644
index 0000000..7625ba0
--- /dev/null
+++ b/modules/registry/release-migration-scripts/next/DeltaScripts/appCatalog_schema_delta.sql
@@ -0,0 +1,22 @@
+--
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+--
+
+-- AIRAVATA-2768
+alter table APPLICATION_INPUT modify METADATA VARCHAR(4096);
\ No newline at end of file
diff --git a/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql b/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql
new file mode 100644
index 0000000..95edeef
--- /dev/null
+++ b/modules/registry/release-migration-scripts/next/DeltaScripts/experimentCatalog_schema_delta.sql
@@ -0,0 +1,22 @@
+--
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+--
+
+-- AIRAVATA-2768
+alter table EXPERIMENT_INPUT modify METADATA VARCHAR(4096);
--
To stop receiving notification emails like this one, please contact
machristie@apache.org.