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
5c0410cc
Commit
5c0410cc
authored
5 years ago
by
Manuel Spuhler
Browse files
Options
Downloads
Patches
Plain Diff
Type + doc
parent
daa6b93a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/README.md
+2
-1
2 additions, 1 deletion
docker/README.md
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
+3
-1
3 additions, 1 deletion
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
with
5 additions
and
2 deletions
docker/README.md
+
2
−
1
View file @
5c0410cc
...
...
@@ -57,7 +57,8 @@ To use this image, you need a running instance of PostgreSQL and to configure th
*
WOKEN_AKKA_PATH default value is "/user/entrypoint".
*
EXAREME_URL: URL to Exareme server, default value is "http://hbps2.chuv.ch:9090".
*
WORKFLOW_URL: URL to Workflow server
*
JWT_SECRET: "secret"
### EMBEDDED SERVER CONFIGURATION
...
...
This diff is collapsed.
Click to expand it.
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
+
3
−
1
View file @
5c0410cc
...
...
@@ -125,6 +125,8 @@ public class ExperimentApi {
String
query
=
gson
.
toJson
(
queryMap
);
String
url
=
workflowUrl
+
"/runWorkflow/"
+
algoCode
;
// Results are stored in the experiment object
try
{
StringBuilder
results
=
new
StringBuilder
();
User
user
=
userInfo
.
getUser
();
...
...
@@ -376,7 +378,7 @@ public class ExperimentApi {
}
private
Experiment
saveExperiment
(
ExperimentQuery
expQuery
)
{
LOGGER
.
info
(
"s
endExarem
eExperiment"
);
LOGGER
.
info
(
"s
av
eExperiment"
);
Experiment
experiment
=
new
Experiment
();
experiment
.
setUuid
(
UUID
.
randomUUID
());
...
...
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