summaryrefslogtreecommitdiffstats
path: root/datarouter-prov-client/misc
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2023-07-27 11:20:40 -0400
committerJack Lucas <jflos@sonoris.net>2023-07-27 11:20:40 -0400
commit0344ccb1aa1bda02cd3ef7291491c5ab8349c289 (patch)
treef54f2044f225b6365cb9f84259c3614d4053122d /datarouter-prov-client/misc
parent3f4532670ff5285159322400b853fcc8802c37d3 (diff)
Shorten ON-BEHALF-OF default name.
The provisioning server truncates the ON-BEHALF-OF name to 8 characters when storing the owner of a feed or subscription. Previous default name was longer than 8 characters. Shortened to "drprovcl". Issue-ID: DMAAP-1893 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I846d9e44659f1ca1c0a14ba930dab147aa2608c6
Diffstat (limited to 'datarouter-prov-client/misc')
-rwxr-xr-xdatarouter-prov-client/misc/drprov-client.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/datarouter-prov-client/misc/drprov-client.sh b/datarouter-prov-client/misc/drprov-client.sh
index 71017954..844911e4 100755
--- a/datarouter-prov-client/misc/drprov-client.sh
+++ b/datarouter-prov-client/misc/drprov-client.sh
@@ -1,8 +1,26 @@
#!/bin/sh
+#
+# ============LICENSE_START===============================================
+# org.onap.dmaap
+# ========================================================================
+# Copyright (c) J. F. Lucas. All rights reserved.
+# # ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=================================================
PROVURL=${PROVURL:-"http://dmaap-dr-prov:8080"}
DRCONFIGDIR=${DRCONFIGDIR:-"/opt/app/config"}
-ONBEHALFHDR="X-DMAAP-DR-ON-BEHALF-OF: drprovclient"
+ONBEHALFHDR="X-DMAAP-DR-ON-BEHALF-OF: drprovcl"
FEEDTYPE="Content-Type: application/vnd.dmaap-dr.feed"
SUBTYPE="Content-Type: application/vnd.dmaap-dr.subscription"
APPCONFIGINPUT=${APPCONFIGINPUT:-"/config-input"}