diff options
author | dglFromAtt <dgl@research.att.com> | 2019-01-20 00:14:52 -0500 |
---|---|---|
committer | Dominic Lunanuova <dgl@research.att.com> | 2019-01-30 15:49:57 +0000 |
commit | 022f4cde96a57fdc6f002e09ae5d9b314e4150e3 (patch) | |
tree | 2ff076264a8769b9015158beaa3c0d869b9e5b80 /src/main | |
parent | b1812207d5f27a299b519aa213fd175043ae2b19 (diff) |
Revised values for DR Headers
NOTE: default values to match ONAP DR so no change to properties are
needed in ONAP deployments. But can set property for AT&T internal
deployment which uses a diff set of Header values.
Change-Id: Ie08fb62dddc72ee4e7231522cd4db0c4f72579b2
Signed-off-by: dglFromAtt <dgl@research.att.com>
Issue-ID: DMAAP-1000
Signed-off-by: dglFromAtt <dgl@research.att.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/client/DrProvConnection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/client/DrProvConnection.java b/src/main/java/org/onap/dmaap/dbcapi/client/DrProvConnection.java index eda3653..a8f075c 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/client/DrProvConnection.java +++ b/src/main/java/org/onap/dmaap/dbcapi/client/DrProvConnection.java @@ -59,9 +59,9 @@ public class DrProvConnection extends BaseLoggingClass { } DmaapConfig p = (DmaapConfig)DmaapConfig.getConfig(); provApi = p.getProperty( "DR.provApi", "ONAP" ); - behalfHeader = p.getProperty( "DR.onBehalfHeader", "X-DR-ON-BEHALF-OF"); - feedContentType = p.getProperty( "DR.feedContentType", "application/vnc.dr.feed"); - subContentType = p.getProperty( "DR.subContentType", "application/vnd.dr.subscription"); + behalfHeader = p.getProperty( "DR.onBehalfHeader", "X-DMAAP-DR-ON-BEHALF-OF"); + feedContentType = p.getProperty( "DR.feedContentType", "application/vnd.dmaap-dr.feed"); + subContentType = p.getProperty( "DR.subContentType", "application/vnd.dmaap-dr.subscription"); logger.info( "provURL=" + provURL + " provApi=" + provApi + " behalfHeader=" + behalfHeader + " feedContentType=" + feedContentType + " subContentType=" + subContentType ); |