summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/resources
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-20 13:21:58 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-20 13:21:58 +0000
commit1fb9130cd488228574b49e078148e4bcf1a7a5a8 (patch)
tree13e4e251d068bb274b2cf6ccfe8f573a13084077 /prh-app-server/src/main/resources
parent23f7acc707bf285df2da4a95b146d1a7f5132453 (diff)
parent5fbcb6344672167e7d1dbf28ecbea3b8f55732fb (diff)
Merge "Implementation for HTTP/HTTPS and endpoints"
Diffstat (limited to 'prh-app-server/src/main/resources')
-rw-r--r--prh-app-server/src/main/resources/application.properties13
-rw-r--r--prh-app-server/src/main/resources/keystore.jksbin0 -> 2643 bytes
-rw-r--r--prh-app-server/src/main/resources/keystore.jks.oldbin0 -> 2272 bytes
-rw-r--r--prh-app-server/src/main/resources/logback-spring.xml (renamed from prh-app-server/src/main/resources/logback.xml)0
-rw-r--r--prh-app-server/src/main/resources/scheduled-context.xml2
5 files changed, 14 insertions, 1 deletions
diff --git a/prh-app-server/src/main/resources/application.properties b/prh-app-server/src/main/resources/application.properties
new file mode 100644
index 00000000..53fa9cde
--- /dev/null
+++ b/prh-app-server/src/main/resources/application.properties
@@ -0,0 +1,13 @@
+spring.profiles.active=prod
+server.port=8433
+server.ssl.key-store-type=PKCS12
+server.ssl.key-store-password=nokiapnf
+server.ssl.key-store=classpath:keystore.jks
+server.ssl.key-password=nokiapnf
+server.ssl.key-alias=tomcat-localhost
+logging.level.root=ERROR
+logging.level.org.springframework=ERROR
+logging.level.org.springframework.data=ERROR
+logging.level.org.onap.dcaegen2.services.prh=INFO
+logging.file=logs/log/application.log
+app.filepath=config/prh_endpoints.json
diff --git a/prh-app-server/src/main/resources/keystore.jks b/prh-app-server/src/main/resources/keystore.jks
new file mode 100644
index 00000000..cd27cc01
--- /dev/null
+++ b/prh-app-server/src/main/resources/keystore.jks
Binary files differ
diff --git a/prh-app-server/src/main/resources/keystore.jks.old b/prh-app-server/src/main/resources/keystore.jks.old
new file mode 100644
index 00000000..8a2b4f99
--- /dev/null
+++ b/prh-app-server/src/main/resources/keystore.jks.old
Binary files differ
diff --git a/prh-app-server/src/main/resources/logback.xml b/prh-app-server/src/main/resources/logback-spring.xml
index af4ab189..af4ab189 100644
--- a/prh-app-server/src/main/resources/logback.xml
+++ b/prh-app-server/src/main/resources/logback-spring.xml
diff --git a/prh-app-server/src/main/resources/scheduled-context.xml b/prh-app-server/src/main/resources/scheduled-context.xml
index d1c80caf..91919aa2 100644
--- a/prh-app-server/src/main/resources/scheduled-context.xml
+++ b/prh-app-server/src/main/resources/scheduled-context.xml
@@ -10,7 +10,7 @@
<context:component-scan
base-package="org.onap.dcaegen2.services.prh"/>
<task:scheduled-tasks>
- <task:scheduled ref="scheduleController" method="startTask"
+ <task:scheduled ref="scheduleController" method="startTasks"
fixed-rate="1000"/>
</task:scheduled-tasks>
</beans>