diff --git a/test/bats/test-timescaledb-bridge/pgrest-test.bats b/test/bats/test-timescaledb-bridge/pgrest-test.bats index 8024cb49..4718ef63 100644 --- a/test/bats/test-timescaledb-bridge/pgrest-test.bats +++ b/test/bats/test-timescaledb-bridge/pgrest-test.bats @@ -11,9 +11,6 @@ USER=realm_user KEYCLOAK_URL=http://keycloak.local/auth/realms CLIENT_ID="scorpio" PGREST_URL=pgrest.local -POSTGRES_USERNAME=dbreader -POSTGRES_DATABASE=tsdb -POSTGRES_SECRET=dbreader.acid-cluster.credentials.postgresql.acid.zalan.do ATTRIBUTES_PROPERTY=/tmp/property.txt ATTRIBUTES_PROPERTY2=/tmp/property2.txt ATTRIBUTES_TOPIC=iff.ngsild.attributes @@ -31,7 +28,6 @@ IDSTATE2="${URN2}\\\\${STATE}" VALUE="state" VALUE2="1" PROPERTY=https://uri.etsi.org/ngsi-ld/Property -POSTGRES_PASSWORD=$(kubectl -n ${NAMESPACE} get secret/${POSTGRES_SECRET} -o jsonpath='{.data.password}'| base64 -d) TSDB_RESULT=/tmp/TSDB_RESULT TSDBTABLE=attributes ENTITYTABLE=entities diff --git a/test/bats/test-timescaledb-bridge/timescaledb-bridge-test.bats b/test/bats/test-timescaledb-bridge/timescaledb-bridge-test.bats index 4e59e71e..bf242d91 100644 --- a/test/bats/test-timescaledb-bridge/timescaledb-bridge-test.bats +++ b/test/bats/test-timescaledb-bridge/timescaledb-bridge-test.bats @@ -32,7 +32,6 @@ VALUE2="1" PROPERTY=https://uri.etsi.org/ngsi-ld/Property RELATIONSHIP=https://uri.etsi.org/ngsi-ld/Relationship POSTGRES_PASSWORD=$(kubectl -n ${IFFNAMESPACE} get secret/${POSTGRES_SECRET} -o jsonpath='{.data.password}'| base64 -d) -TSDB_EXPECTED=/tmp/TSDB_EXPECTED TSDB_RESULT=/tmp/TSDB_RESULT cat << EOF > ${ATTRIBUTES_PROPERTY} @@ -79,19 +78,6 @@ cat << EOF > ${ENTITY} } EOF -# cat << EOF > ${TSDB_EXPECTED} -# { -# "id": "${IDSTATE}", -# "entityId": "${URN}", -# "name": "${STATE}", -# "type": "${PROPERTY}", -# "https://uri.etsi.org/ngsi-ld/hasValue": "${VALUE2}", -# "nodeType": "@value", -# "valueType": "http://www.w3.org/2001/XMLSchema#string", -# "index": 0 -# } -# EOF - # send data to kafka bridge # $1: file to send # $2: kafka topic