aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-be/src
diff options
context:
space:
mode:
authoravigaffa <avi.gaffa@amdocs.com>2018-08-01 13:36:39 +0300
committeravigaffa <avi.gaffa@amdocs.com>2018-08-01 13:55:59 +0300
commit7a79f1660a574b8277e18744f7bbbc762b55cbea (patch)
tree44b73212f6bf1eb9e8da8d61a50cf28e6b8242bb /workflow-designer-be/src
parentc8f5d42556b0d8adae945571cbedba72051eadb2 (diff)
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 <avi.gaffa@amdocs.com>
Diffstat (limited to 'workflow-designer-be/src')
-rw-r--r--workflow-designer-be/src/main/resources/application-dev.properties29
-rw-r--r--workflow-designer-be/src/main/resources/application.properties20
2 files changed, 48 insertions, 1 deletions
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