summaryrefslogtreecommitdiffstats
path: root/tools/development/send-meas-data.sh
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2022-03-29 17:52:14 +0200
committerTomasz Wrobel <tomasz.wrobel@nokia.com>2022-04-07 11:39:30 +0200
commit22c42c557015b9a6760d9ed666c36ffd5fc26a6a (patch)
treedc8cdb9747d482273254a3562988112af7bcb9f1 /tools/development/send-meas-data.sh
parent29cee2986e6f37ab3ba29bc0bc9d5c0db3aa13a0 (diff)
Bump DR version in CSIT to 2.1.11
Issue-ID: DCAEGEN2-3127 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I40c3958e90d38efc5e04e4930631da705026e9ff
Diffstat (limited to 'tools/development/send-meas-data.sh')
-rwxr-xr-xtools/development/send-meas-data.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/development/send-meas-data.sh b/tools/development/send-meas-data.sh
index 79e0939..1462ea4 100755
--- a/tools/development/send-meas-data.sh
+++ b/tools/development/send-meas-data.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# ============LICENSE_START=======================================================
-# Copyright (C) 2021 NOKIA
+# Copyright (C) 2021-2022 NOKIA
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,6 +17,6 @@
PUBLISH_FILE_NAME=$1
MEAS_DATA_META_DATA_HEADER="X-DMAAP-DR-META:{\"productName\":\"gnb\",\"vendorName\":\"Nokia\",\"lastEpochMicrosec\":\"1538478000000\",\"sourceName\":\"oteNB5309\",\"startEpochMicrosec\":\"1538478900000\",\"timeZoneOffset\":\"UTC+05.00\",\"location\":\"ftpes://192.168.0.101:22/ftp/rop/A20161224.1045-1100.bin.gz\",\"compression\":\"gzip\",\"fileFormatType\":\"org.3GPP.28.532#measData\",\"fileFormatVersion\":\"V9\"}"
-docker exec -it files-publisher curl -v -L -k -X PUT -H "Content-Type:application/octet-stream" -H "X-ONAP-RequestID:X-ONAP-RequestID=15" -H "${MEAS_DATA_META_DATA_HEADER}" -H "X-DMAAP-DR-ON-BEHALF-OF:pm-mapper" -H "Authorization:Basic cG1tYXBwZXI6cG1tYXBwZXI=" --data-binary @"/files/${PUBLISH_FILE_NAME}" https://dmaap-dr-node:8443/publish/1/Apm_TEST_REQUEST.xml.gz
+docker exec -it files-publisher curl --post301 --location-trusted -v -k -X PUT -H "Content-Type:application/octet-stream" -H "X-ONAP-RequestID:X-ONAP-RequestID=15" -H "${MEAS_DATA_META_DATA_HEADER}" -H "X-DMAAP-DR-ON-BEHALF-OF:pm-mapper" -H "Authorization:Basic cG1tYXBwZXI6cG1tYXBwZXI=" --data-binary @"/files/${PUBLISH_FILE_NAME}" https://dmaap-dr-node:8443/publish/1/Apm_TEST_REQUEST.xml.gz