diff options
author | micdzied <michal.1.dziedzic@nokia.com> | 2019-03-22 12:32:53 +0100 |
---|---|---|
committer | micdzied <michal.1.dziedzic@nokia.com> | 2019-04-08 14:25:04 +0200 |
commit | 624618c0d343c707d1a40588c3e226f8db2a2203 (patch) | |
tree | 3d0195aaf07bdb1e7a24051c2ac42c1f3ac2528a /prh-app-server/src/main/resources | |
parent | 2abfecad9aeb88ba95d62d718376535fb6e00325 (diff) |
use CBS SDK in PRH
-remove unused classes
-fix junit tests
-use cbs
Change-Id: Ibc5841b713ad00522dd78a52b7cb7efa871cb8b4
Issue-ID: DCAEGEN2-1360
Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/resources')
-rw-r--r-- | prh-app-server/src/main/resources/consul_config.json | 5 | ||||
-rw-r--r-- | prh-app-server/src/main/resources/prh_endpoints.json | 65 |
2 files changed, 5 insertions, 65 deletions
diff --git a/prh-app-server/src/main/resources/consul_config.json b/prh-app-server/src/main/resources/consul_config.json new file mode 100644 index 00000000..7cefd641 --- /dev/null +++ b/prh-app-server/src/main/resources/consul_config.json @@ -0,0 +1,5 @@ +{ + "consulHost": "10.42.111.9", + "cbsName": "cbs", + "appName": "dcae-prh" +}
\ No newline at end of file diff --git a/prh-app-server/src/main/resources/prh_endpoints.json b/prh-app-server/src/main/resources/prh_endpoints.json deleted file mode 100644 index a24dfd92..00000000 --- a/prh-app-server/src/main/resources/prh_endpoints.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "configs": { - "dmaap": { - "dmaapConsumerConfiguration": { - "dmaapHostName": "localhost", - "dmaapPortNumber": 8904, - "dmaapTopicName": "events/unauthenticated.VES_PNFREG_OUTPUT", - "dmaapProtocol": "http", - "dmaapUserName": "admin", - "dmaapUserPassword": "admin", - "dmaapContentType": "application/json", - "consumerId": "c12", - "consumerGroup": "OpenDcae-c12", - "timeoutMs": -1, - "messageLimit": 1 - }, - "dmaapProducerConfiguration": { - "dmaapHostName": "localhost", - "dmaapPortNumber": 8904, - "dmaapTopicName": "events/unauthenticated.PNF_READY", - "dmaapProtocol": "http", - "dmaapUserName": "admin", - "dmaapUserPassword": "admin", - "dmaapContentType": "application/json" - }, - "dmaapUpdateProducerConfiguration": { - "dmaapHostName": "localhost", - "dmaapPortNumber": 8904, - "dmaapTopicName": "events/unauthenticated.PNF_UPDATE", - "dmaapProtocol": "http", - "dmaapUserName": "admin", - "dmaapUserPassword": "admin", - "dmaapContentType": "application/json" - } - }, - "aai": { - "aaiClientConfiguration": { - "aaiHost": "localhost", - "aaiPort": 8443, - "aaiProtocol": "https", - "aaiUserName": "AAI", - "aaiUserPassword": "AAI", - "aaiIgnoreSslCertificateErrors": true, - "aaiBasePath": "/aai/v12", - "aaiPnfPath": "/network/pnfs/pnf", - "aaiServiceInstancePath": "/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}", - "aaiHeaders": { - "X-FromAppId": "prh", - "X-TransactionId": "9999", - "Accept": "application/json", - "Real-Time": "true", - "Authorization": "Basic QUFJOkFBSQ==" - } - } - }, - "security": { - "trustStorePath" : "change it", - "trustStorePasswordPath" : "change it", - "keyStorePath" : "change it", - "keyStorePasswordPath" : "change it", - "enableAaiCertAuth" : "false", - "enableDmaapCertAuth" : "false" - } - } -}
\ No newline at end of file |