From 7a79f1660a574b8277e18744f7bbbc762b55cbea Mon Sep 17 00:00:00 2001 From: avigaffa Date: Wed, 1 Aug 2018 13:36:39 +0300 Subject: Add dev properties file 1. Add dev properties file 2. change health check default endpoint status from 'never' to 'always' 3. add license Change-Id: I5ec8e5c06d633aaea98e91c558c436c10c385f6d Issue-ID: SDC-1584 Signed-off-by: avigaffa --- .../src/main/resources/application-dev.properties | 29 ++++++++++++++++++++++ .../src/main/resources/application.properties | 20 ++++++++++++++- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 workflow-designer-be/src/main/resources/application-dev.properties (limited to 'workflow-designer-be/src/main') diff --git a/workflow-designer-be/src/main/resources/application-dev.properties b/workflow-designer-be/src/main/resources/application-dev.properties new file mode 100644 index 00000000..de62eadb --- /dev/null +++ b/workflow-designer-be/src/main/resources/application-dev.properties @@ -0,0 +1,29 @@ +#/ +# Copyright © 2016-2018 European Support Limited +# +# Licensed 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. +#/ + +server.servlet.context-path=/wf +server.port=${SERVER_PORT:8080} + +#CASSANDRA +spring.data.cassandra.contact-points=${CS_HOSTS:localhost} +spring.data.cassandra.keyspace-name=workflow +spring.data.cassandra.port=${CS_PORT:9042} +spring.data.cassandra.username=${CS_USER:} +spring.data.cassandra.password=${CS_PASSWORD:} +zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:false} + +#Actuators +management.endpoint.health.show-details=always \ No newline at end of file diff --git a/workflow-designer-be/src/main/resources/application.properties b/workflow-designer-be/src/main/resources/application.properties index c120bda3..703d738b 100644 --- a/workflow-designer-be/src/main/resources/application.properties +++ b/workflow-designer-be/src/main/resources/application.properties @@ -1,3 +1,19 @@ +#/ +# Copyright © 2016-2018 European Support Limited +# +# Licensed 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. +#/ + server.servlet.context-path=/wf server.port=${SERVER_PORT:8080} @@ -8,4 +24,6 @@ spring.data.cassandra.port=${CS_PORT:9042} spring.data.cassandra.username=${CS_USER:} spring.data.cassandra.password=${CS_PASSWORD:} zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:true} -management.endpoint.health.show-details=${SHOW_HEALTH:never} \ No newline at end of file + +#Actuators +management.endpoint.health.show-details=always \ No newline at end of file -- cgit 1.2.3-korg