Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
66a68281
Commit
66a68281
authored
9 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
add variables descriptions
parent
e1ec8ac9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pom.xml
+27
-27
27 additions, 27 deletions
pom.xml
src/main/java/org/hbp/mip/model/Variable.java
+11
-0
11 additions, 0 deletions
src/main/java/org/hbp/mip/model/Variable.java
src/test/db
+1
-1
1 addition, 1 deletion
src/test/db
with
39 additions
and
28 deletions
pom.xml
+
27
−
27
View file @
66a68281
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/hbp/mip/model/Variable.java
+
11
−
0
View file @
66a68281
...
@@ -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
;
}
}
}
This diff is collapsed.
Click to expand it.
db
@
b424b9d3
Subproject commit
862cdf17ea38cc4abf934450447045e37e5f89a9
Subproject commit
b424b9d34d711dd90abe073a947f5069b211a261
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment