From 0344ccb1aa1bda02cd3ef7291491c5ab8349c289 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Thu, 27 Jul 2023 11:20:40 -0400 Subject: 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 Change-Id: I846d9e44659f1ca1c0a14ba930dab147aa2608c6 --- datarouter-prov-client/misc/drprov-client.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'datarouter-prov-client/misc') 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"} -- cgit 1.2.3-korg