From 478b6b6a6362a7bb0dec5c3e7e002614b83c5983 Mon Sep 17 00:00:00 2001 From: Mirco Nasuti <mirco.nasuti@chuv.ch> Date: Fri, 3 Jun 2016 16:25:55 +0200 Subject: [PATCH] add profile in POM to build for HBPS1 + redirect-uri for HBPS1 in configuration --- config/application.yml | 5 +++-- pom.xml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/config/application.yml b/config/application.yml index af3fc238d..eafd3bbe2 100644 --- a/config/application.yml +++ b/config/application.yml @@ -17,8 +17,9 @@ hbp: tokenName: oauth_token authenticationScheme: query clientAuthenticationScheme: form - # use-current-uri: false # For production server - # pre-established-redirect-uri: https://mip.humanbrainproject.eu/services/login/hbp # For production server + # use-current-uri: false # For both production and HBPS1 deployments + # pre-established-redirect-uri: https://mip.humanbrainproject.eu/services/login/hbp # For production deployment + # pre-established-redirect-uri: http://hbps1.chuv.ch:8081/services/login/hbp # For HBPS1 deployment resource: userInfoUri: https://services.humanbrainproject.eu/oidc/userinfo diff --git a/pom.xml b/pom.xml index 21835f3d3..6648cbde3 100644 --- a/pom.xml +++ b/pom.xml @@ -78,6 +78,22 @@ <workflow.listMethodsUrl>http://as-dev.cloudapp.net:8087/list-methods</workflow.listMethodsUrl> </properties> </profile> + <profile> + <id>hbps1</id> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <java.version>1.8</java.version> + <connection.driver_class>org.postgresql.Driver</connection.driver_class> + <connection.url>jdbc:postgresql://portaldb:5432/postgres</connection.url> + <connection.username>postgres</connection.username> + <connection.password>test</connection.password> + <hibernate.dialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernate.dialect> + <schema.deploy>false</schema.deploy> + <frontend.redirect>http://hbps1.chuv.ch:8081/home</frontend.redirect> + <workflow.experimentUrl>http://as-dev.cloudapp.net:8087/experiment</workflow.experimentUrl> + <workflow.listMethodsUrl>http://as-dev.cloudapp.net:8087/list-methods</workflow.listMethodsUrl> + </properties> + </profile> </profiles> <dependencies> -- GitLab