Revert "chore(test): Untrack influxdb3 data and plugins used in Docker configurations and testing"

This reverts commit 37fdedd889.
pull/6190/head
Jason Stirnaman 2025-07-02 13:08:00 -05:00
parent 288b1a395c
commit b0294eb0ba
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# [core3,enterprise3]
# Bearer auth works with v1 /query
curl -v http://localhost:8181/query \
--header "Authorization: Bearer ${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}" \
--data-urlencode "db=sensors" \
--data-urlencode "q=SELECT * FROM home"
# Bearer auth works with v1 /write
curl -v "http://localhost:8181/write?db=sensors" \
--header "Authorization: Bearer ${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}" \
--data-raw "sensors,location=home temperature=23.5 1622547800"
# Basic auth works with v1 /write
curl -v "http://localhost:8181/write?db=sensors" \
--user "admin:${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}" \
--data-raw "sensors,location=home temperature=23.5 1622547800"
# URL auth works with v1 /write
curl -v "http://localhost:8181/write?db=sensors&u=admin&p=${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}" \
--data-raw "sensors,location=home temperature=23.5 1622547800"
# Token auth works with /api/v2/write
curl -v http://localhost:8181/write?db=sensors \
--header "Authorization: Token ${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}" \
--data-raw "sensors,location=home temperature=23.5 1622547800"

View File

@ -0,0 +1,4 @@
# [core3,enterprise3]
# Delete a database with hard delete at date
curl -v -X DELETE "http://localhost:8181/api/v3/configure/database?hard_delete_at=20250701&db=sensors" \
--header "Authorization: Bearer ${INFLUXDB3_ENTERPRISE_ADMIN_TOKEN}"