diff options
author | 2020-01-08 09:00:45 -0500 | |
---|---|---|
committer | 2020-01-16 11:29:25 -0500 | |
commit | 7d6baeb4b4a0f49ef05ef2744cd96130afbd9f83 (patch) | |
tree | 3cabf699ad5a9afa7ed1288406e34dbe843e1834 /ms/blueprintsprocessor/application | |
parent | 3f56fcfec7d14e7351280b9e2a1d220638626693 (diff) |
Add custom header configuration for aai calls
Issue-ID: CCSDK-2020
Change-Id: Ibd63a00bf59b0e955612da69fa1d4970381b9a64
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
(cherry picked from commit 9422e89eb60c5f6fadc05c650bae214d9d0c83d4)
Diffstat (limited to 'ms/blueprintsprocessor/application')
-rwxr-xr-x | ms/blueprintsprocessor/application/src/main/resources/application-dev.properties | 11 | ||||
-rwxr-xr-x | ms/blueprintsprocessor/application/src/main/resources/application.properties | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties index 2fd595102..f5fde3a77 100755 --- a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties +++ b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties @@ -89,6 +89,15 @@ blueprintsprocessor.restclient.sdncodl.url=http://localhost:8282/ blueprintsprocessor.restclient.sdncodl.username=admin blueprintsprocessor.restclient.sdncodl.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U +# Primary AAI Data REST Client settings +blueprintsprocessor.restclient.aai-data.type=basic-auth +blueprintsprocessor.restclient.aai-data.url=https://aai:8443 +blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org +blueprintsprocessor.restclient.aai-data.password=demo123456! +blueprintsprocessor.restclient.aai-data.additionalHeaders.X-TransactionId=cds-transaction-id +blueprintsprocessor.restclient.aai-data.additionalHeaders.X-FromAppId=cds-app-id +blueprintsprocessor.restclient.aai-data.additionalHeaders.Accept=application/json + # Executor Options blueprintprocessor.resourceResolution.enabled=true blueprintprocessor.netconfExecutor.enabled=true @@ -110,4 +119,4 @@ blueprintsprocessor.messageconsumer.self-service-api.pollMillSec=1000 blueprintsprocessor.messageproducer.self-service-api.type=kafka-basic-auth blueprintsprocessor.messageproducer.self-service-api.bootstrapServers=127.0.0.1:9092 blueprintsprocessor.messageproducer.self-service-api.clientId=default-client-id -blueprintsprocessor.messageproducer.self-service-api.topic=producer.t
\ No newline at end of file +blueprintsprocessor.messageproducer.self-service-api.topic=producer.t diff --git a/ms/blueprintsprocessor/application/src/main/resources/application.properties b/ms/blueprintsprocessor/application/src/main/resources/application.properties index 944474a38..664b2e3da 100755 --- a/ms/blueprintsprocessor/application/src/main/resources/application.properties +++ b/ms/blueprintsprocessor/application/src/main/resources/application.properties @@ -90,6 +90,9 @@ blueprintsprocessor.restclient.aai-data.type=basic-auth blueprintsprocessor.restclient.aai-data.url=https://aai.onap:8443 blueprintsprocessor.restclient.aai-data.username=aai@aai.onap.org blueprintsprocessor.restclient.aai-data.password=demo123456! +blueprintsprocessor.restclient.aai-data.additionalHeaders.X-TransactionId=cds-transaction-id +blueprintsprocessor.restclient.aai-data.additionalHeaders.X-FromAppId=cds-app-id +blueprintsprocessor.restclient.aai-data.additionalHeaders.Accept=application/json # Kafka-message-lib Configuration blueprintsprocessor.messageconsumer.self-service-api.kafkaEnable=false |