Skip to content
Snippets Groups Projects
Commit 66a68281 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

add variables descriptions

parent e1ec8ac9
No related branches found
No related tags found
No related merge requests found
...@@ -17,35 +17,35 @@ ...@@ -17,35 +17,35 @@
<version>1.3.2.RELEASE</version> <version>1.3.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath /> <!-- lookup parent from repository -->
</parent> </parent>
<profiles> <profiles>
<profile> <profile>
<id>test</id> <id>test</id>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<connection.driver_class>org.h2.Driver</connection.driver_class> <connection.driver_class>org.h2.Driver</connection.driver_class>
<connection.url>jdbc:h2:mem:test</connection.url> <connection.url>jdbc:h2:mem:test</connection.url>
<connection.username>root</connection.username> <connection.username>root</connection.username>
<connection.password>root</connection.password> <connection.password>root</connection.password>
<hibernate.dialect>org.hibernate.dialect.H2Dialect</hibernate.dialect> <hibernate.dialect>org.hibernate.dialect.H2Dialect</hibernate.dialect>
<schema.deploy>true</schema.deploy> <schema.deploy>true</schema.deploy>
<frontend.redirect>http://frontend/#/home</frontend.redirect> <frontend.redirect>http://frontend/#/home</frontend.redirect>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>prod</id> <id>prod</id>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<connection.driver_class>org.postgresql.Driver</connection.driver_class> <connection.driver_class>org.postgresql.Driver</connection.driver_class>
<connection.url>jdbc:postgresql://hbpmdw1.chuv.ch:31432/portal</connection.url> <connection.url>jdbc:postgresql://hbpmdw1.chuv.ch:31432/portal</connection.url>
<connection.username>portal</connection.username> <connection.username>portal</connection.username>
<connection.password>iaezXODVLb1e70I</connection.password> <connection.password>iaezXODVLb1e70I</connection.password>
<hibernate.dialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernate.dialect> <hibernate.dialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernate.dialect>
<schema.deploy>false</schema.deploy> <schema.deploy>false</schema.deploy>
<frontend.redirect>https://mip.humanbrainproject.eu/#/home</frontend.redirect> <frontend.redirect>https://mip.humanbrainproject.eu/#/home</frontend.redirect>
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>dev</id> <id>dev</id>
<properties> <properties>
......
...@@ -52,6 +52,8 @@ public class Variable { ...@@ -52,6 +52,8 @@ public class Variable {
@ManyToMany(fetch = FetchType.EAGER, mappedBy = "variables") @ManyToMany(fetch = FetchType.EAGER, mappedBy = "variables")
private List<Query> queries = new LinkedList<>(); private List<Query> queries = new LinkedList<>();
private String description = null;
public Variable() { public Variable() {
} }
...@@ -186,4 +188,13 @@ public class Variable { ...@@ -186,4 +188,13 @@ public class Variable {
this.queries = queries; this.queries = queries;
} }
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
} }
db @ b424b9d3
Subproject commit 862cdf17ea38cc4abf934450447045e37e5f89a9 Subproject commit b424b9d34d711dd90abe073a947f5069b211a261
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment