aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server/config
diff options
context:
space:
mode:
Diffstat (limited to 'datafile-app-server/config')
-rw-r--r--datafile-app-server/config/application.yaml22
-rw-r--r--datafile-app-server/config/keystorebin0 -> 2196 bytes
-rw-r--r--datafile-app-server/config/prh_endpoints.json47
3 files changed, 69 insertions, 0 deletions
diff --git a/datafile-app-server/config/application.yaml b/datafile-app-server/config/application.yaml
new file mode 100644
index 00000000..6a792346
--- /dev/null
+++ b/datafile-app-server/config/application.yaml
@@ -0,0 +1,22 @@
+spring:
+ profiles:
+ active: prod
+ main:
+ web-application-type: none
+server:
+ port: 8433
+ ssl:
+ key-store-type: PKCS12
+ key-store-password: nokiapnf
+ key-store: classpath:keystore.jks
+ key-password: nokiapnf
+ keyAlias: tomcat-localhost
+logging:
+ level:
+ ROOT: ERROR
+ org.springframework: ERROR
+ org.springframework.data: ERROR
+ org.onap.dcaegen2.collectors.datafile: INFO
+ file: opt/log/application.log
+app:
+ filepath: config/datafile_endpoints.json
diff --git a/datafile-app-server/config/keystore b/datafile-app-server/config/keystore
new file mode 100644
index 00000000..26a16f75
--- /dev/null
+++ b/datafile-app-server/config/keystore
Binary files differ
diff --git a/datafile-app-server/config/prh_endpoints.json b/datafile-app-server/config/prh_endpoints.json
new file mode 100644
index 00000000..772d9708
--- /dev/null
+++ b/datafile-app-server/config/prh_endpoints.json
@@ -0,0 +1,47 @@
+{
+ "configs": {
+ "dmaap": {
+ "dmaapConsumerConfiguration": {
+ "dmaapHostName": "localhost",
+ "dmaapPortNumber": 2222,
+ "dmaapTopicName": "/events/unauthenticated.SEC_OTHER_OUTPUT",
+ "dmaapProtocol": "http",
+ "dmaapUserName": "admin",
+ "dmaapUserPassword": "admin",
+ "dmaapContentType": "application/json",
+ "consumerId": "c12",
+ "consumerGroup": "OpenDcae-c12",
+ "timeoutMS": -1,
+ "messageLimit": 1
+ },
+ "dmaapProducerConfiguration": {
+ "dmaapHostName": "localhost",
+ "dmaapPortNumber": 2223,
+ "dmaapTopicName": "/events/unauthenticated.PNF_READY",
+ "dmaapProtocol": "http",
+ "dmaapUserName": "admin",
+ "dmaapUserPassword": "admin",
+ "dmaapContentType": "application/json"
+ }
+ },
+ "aai": {
+ "aaiClientConfiguration": {
+ "aaiHost": "localhost",
+ "aaiPort": 8080,
+ "aaiProtocol": "https",
+ "aaiUserName": "AAI",
+ "aaiUserPassword": "AAI",
+ "aaiIgnoreSSLCertificateErrors": true,
+ "aaiBasePath": "/aai/v12",
+ "aaiPnfPath": "/network/pnfs/pnf",
+ "aaiHeaders": {
+ "X-FromAppId": "datafile",
+ "X-TransactionId": "9999",
+ "Accept": "application/json",
+ "Real-Time": "true",
+ "Content-Type":"application/merge-patch+json"
+ }
+ }
+ }
+ }
+} \ No newline at end of file