diff options
author | 2018-08-17 12:34:58 +0200 | |
---|---|---|
committer | 2018-08-20 10:43:58 +0200 | |
commit | d661dbcf431f0f02ecf98f748e3516ba0ab23dff (patch) | |
tree | eae40a0aa43e2f4c0b718ac181d7aec462f00697 /datafile-app-server/config | |
parent | 604024401a3f7b142880970b06d91888086feac7 (diff) |
Add seed code.
First version based on PRH micro service.
Change-Id: Iea1673a8a1961006b1ea98ef245e213e3652eb82
Issue-ID: DCAEGEN2-638
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'datafile-app-server/config')
-rw-r--r-- | datafile-app-server/config/application.yaml | 22 | ||||
-rw-r--r-- | datafile-app-server/config/keystore | bin | 0 -> 2196 bytes | |||
-rw-r--r-- | datafile-app-server/config/prh_endpoints.json | 47 |
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 Binary files differnew file mode 100644 index 00000000..26a16f75 --- /dev/null +++ b/datafile-app-server/config/keystore 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 |