diff --git a/.github/actions/seed-ditto-document/action.yml b/.github/actions/seed-ditto-document/action.yml index cad09b91d..6e1040371 100644 --- a/.github/actions/seed-ditto-document/action.yml +++ b/.github/actions/seed-ditto-document/action.yml @@ -3,11 +3,11 @@ description: 'Creates a test document in Ditto Cloud with inverted timestamp for author: 'Ditto' inputs: - ditto-api-key: - description: 'Ditto API key for authentication' + ditto-app-id: + description: 'Ditto App ID' required: true - ditto-api-url: - description: 'Ditto API URL (e.g., cloud.ditto.live)' + ditto-playground-token: + description: 'Ditto Playground Token for authentication' required: true app-name: description: 'Name of the app/platform being tested (e.g., android-kotlin, swift, etc.)' @@ -31,6 +31,7 @@ runs: id: seed shell: bash run: | + set -euo pipefail # Generate inverted timestamp for top position in list TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) @@ -45,9 +46,9 @@ runs: echo "📝 Timestamp: ${TIMESTAMP} → Inverted: ${INVERTED_TIMESTAMP}" # Insert document using Ditto API v4 - RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ inputs.ditto-api-key }}" \ + -H "Authorization: Bearer ${{ inputs.ditto-playground-token }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -59,7 +60,7 @@ runs: } } }" \ - "https://${{ inputs.ditto-api-url }}/api/v4/store/execute") + "https://${{ inputs.ditto-app-id }}.cloud.ditto.live/api/v4/store/execute") # Extract HTTP status code and response body (portable version) HTTP_CODE=$(echo "$RESPONSE" | tail -n1) diff --git a/.github/workflows/android-cpp-ci.yml b/.github/workflows/android-cpp-ci.yml index baf807876..ba5fcc7eb 100644 --- a/.github/workflows/android-cpp-ci.yml +++ b/.github/workflows/android-cpp-ci.yml @@ -178,9 +178,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -192,7 +192,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/android-java-ci.yml b/.github/workflows/android-java-ci.yml index 14f3860ad..f476be1a8 100644 --- a/.github/workflows/android-java-ci.yml +++ b/.github/workflows/android-java-ci.yml @@ -170,9 +170,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -184,7 +184,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/android-kotlin-ci.yml b/.github/workflows/android-kotlin-ci.yml index 6cba4a704..e03aaa79b 100644 --- a/.github/workflows/android-kotlin-ci.yml +++ b/.github/workflows/android-kotlin-ci.yml @@ -188,9 +188,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -202,7 +202,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/cpp-tui-ci.yml b/.github/workflows/cpp-tui-ci.yml index 89c5f8912..96ff5abf9 100644 --- a/.github/workflows/cpp-tui-ci.yml +++ b/.github/workflows/cpp-tui-ci.yml @@ -92,8 +92,8 @@ jobs: id: seed uses: ./.github/actions/seed-ditto-document with: - ditto-api-key: ${{ secrets.DITTO_API_KEY }} - ditto-api-url: ${{ secrets.DITTO_API_URL }} + ditto-app-id: ${{ secrets.DITTO_APP_ID }} + ditto-playground-token: ${{ secrets.DITTO_PLAYGROUND_TOKEN }} app-name: 'cpp-tui' - name: Download and setup Ditto C++ SDK diff --git a/.github/workflows/dotnet-maui-ci.yml b/.github/workflows/dotnet-maui-ci.yml index 1a889e356..ff6305452 100644 --- a/.github/workflows/dotnet-maui-ci.yml +++ b/.github/workflows/dotnet-maui-ci.yml @@ -211,9 +211,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -225,7 +225,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') @@ -337,9 +337,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -351,7 +351,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/dotnet-tui-ci.yml b/.github/workflows/dotnet-tui-ci.yml index eec13c6c8..07d1a20d0 100644 --- a/.github/workflows/dotnet-tui-ci.yml +++ b/.github/workflows/dotnet-tui-ci.yml @@ -96,8 +96,8 @@ jobs: id: seed uses: ./.github/actions/seed-ditto-document with: - ditto-api-key: ${{ secrets.DITTO_API_KEY }} - ditto-api-url: ${{ secrets.DITTO_API_URL }} + ditto-app-id: ${{ secrets.DITTO_APP_ID }} + ditto-playground-token: ${{ secrets.DITTO_PLAYGROUND_TOKEN }} app-name: 'dotnet-tui' - name: Build .NET application diff --git a/.github/workflows/dotnet-winforms-ci.yml b/.github/workflows/dotnet-winforms-ci.yml index 3a43243ed..a4e7fe1cb 100644 --- a/.github/workflows/dotnet-winforms-ci.yml +++ b/.github/workflows/dotnet-winforms-ci.yml @@ -92,8 +92,8 @@ jobs: id: seed uses: ./.github/actions/seed-ditto-document with: - ditto-api-key: ${{ secrets.DITTO_API_KEY }} - ditto-api-url: ${{ secrets.DITTO_API_URL }} + ditto-app-id: ${{ secrets.DITTO_APP_ID }} + ditto-playground-token: ${{ secrets.DITTO_PLAYGROUND_TOKEN }} app-name: 'dotnet-winforms' - name: Build and run integration test diff --git a/.github/workflows/flutter-ci.yml b/.github/workflows/flutter-ci.yml index 35823b11d..2fa237f7e 100644 --- a/.github/workflows/flutter-ci.yml +++ b/.github/workflows/flutter-ci.yml @@ -434,9 +434,9 @@ jobs: echo "📝 Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -448,7 +448,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') @@ -700,9 +700,9 @@ jobs: echo "📝 Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -714,7 +714,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/java-server-ci.yml b/.github/workflows/java-server-ci.yml index 41ce59948..71012a2d5 100644 --- a/.github/workflows/java-server-ci.yml +++ b/.github/workflows/java-server-ci.yml @@ -224,9 +224,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -238,7 +238,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/javascript-tui-ci.yml b/.github/workflows/javascript-tui-ci.yml index 70f6b19be..3c859431c 100644 --- a/.github/workflows/javascript-tui-ci.yml +++ b/.github/workflows/javascript-tui-ci.yml @@ -99,8 +99,8 @@ jobs: id: seed uses: ./.github/actions/seed-ditto-document with: - ditto-api-key: ${{ secrets.DITTO_API_KEY }} - ditto-api-url: ${{ secrets.DITTO_API_URL }} + ditto-app-id: ${{ secrets.DITTO_APP_ID }} + ditto-playground-token: ${{ secrets.DITTO_PLAYGROUND_TOKEN }} app-name: 'javascript-tui' - name: Run integration test diff --git a/.github/workflows/javascript-web-ci.yml b/.github/workflows/javascript-web-ci.yml index 68ab1009a..e07177d54 100644 --- a/.github/workflows/javascript-web-ci.yml +++ b/.github/workflows/javascript-web-ci.yml @@ -149,9 +149,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -163,7 +163,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/kotlin-multiplatform-ci.yml b/.github/workflows/kotlin-multiplatform-ci.yml index 877299007..b1cf84527 100644 --- a/.github/workflows/kotlin-multiplatform-ci.yml +++ b/.github/workflows/kotlin-multiplatform-ci.yml @@ -372,9 +372,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -386,7 +386,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/react-native-ci.yml b/.github/workflows/react-native-ci.yml index 6293740bf..25d0141a2 100644 --- a/.github/workflows/react-native-ci.yml +++ b/.github/workflows/react-native-ci.yml @@ -244,9 +244,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -258,7 +258,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') @@ -431,9 +431,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -445,7 +445,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/react-native-expo-ci.yml b/.github/workflows/react-native-expo-ci.yml index 2a936e2e1..ba2165e13 100644 --- a/.github/workflows/react-native-expo-ci.yml +++ b/.github/workflows/react-native-expo-ci.yml @@ -240,9 +240,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -254,7 +254,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') @@ -432,9 +432,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -446,7 +446,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/.github/workflows/rust-tui-ci.yml b/.github/workflows/rust-tui-ci.yml index de6e3a857..48776a1ee 100644 --- a/.github/workflows/rust-tui-ci.yml +++ b/.github/workflows/rust-tui-ci.yml @@ -112,8 +112,8 @@ jobs: id: seed uses: ./.github/actions/seed-ditto-document with: - ditto-api-key: ${{ secrets.DITTO_API_KEY }} - ditto-api-url: ${{ secrets.DITTO_API_URL }} + ditto-app-id: ${{ secrets.DITTO_APP_ID }} + ditto-playground-token: ${{ secrets.DITTO_PLAYGROUND_TOKEN }} app-name: 'rust-tui' - name: Build and run integration test diff --git a/.github/workflows/swift-ci.yml b/.github/workflows/swift-ci.yml index 640156061..e194875f8 100644 --- a/.github/workflows/swift-ci.yml +++ b/.github/workflows/swift-ci.yml @@ -392,9 +392,9 @@ jobs: echo "Seeding test task to Ditto Cloud..." TIMESTAMP=$(date +%s) INVERTED_TIMESTAMP=$((9999999999 - TIMESTAMP)) - SEED_RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ + SEED_RESPONSE=$(curl -fSs -w "\n%{http_code}" -X POST \ -H 'Content-type: application/json' \ - -H "Authorization: Bearer ${{ secrets.DITTO_API_KEY }}" \ + -H "Authorization: Bearer ${{ secrets.DITTO_PLAYGROUND_TOKEN }}" \ -d "{ \"statement\": \"INSERT INTO tasks DOCUMENTS (:newTask) ON ID CONFLICT DO UPDATE\", \"args\": { @@ -406,7 +406,7 @@ jobs: } } }" \ - "https://${{ secrets.DITTO_API_URL }}/api/v4/store/execute") + "https://${{ secrets.DITTO_APP_ID }}.cloud.ditto.live/api/v4/store/execute") HTTP_CODE=$(echo "$SEED_RESPONSE" | tail -n1) BODY=$(echo "$SEED_RESPONSE" | sed '$d') diff --git a/javascript-tui/package-lock.json b/javascript-tui/package-lock.json index 849ed77d1..ab72934da 100644 --- a/javascript-tui/package-lock.json +++ b/javascript-tui/package-lock.json @@ -11240,41 +11240,6 @@ "node": ">=0.10.0" } }, - "node_modules/react-devtools-core": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.28.5.tgz", - "integrity": "sha512-cq/o30z9W2Wb4rzBefjv5fBalHU0rJGZCHAkf/RHSBWSSYwh8PlQTqqOJmgIIbBtpj27T6FIPXeomIjZtCNVqA==", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "shell-quote": "^1.6.1", - "ws": "^7" - } - }, - "node_modules/react-devtools-core/node_modules/ws": { - "version": "7.5.10", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", - "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", @@ -13240,9 +13205,9 @@ } }, "node_modules/undici": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", - "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", + "version": "6.24.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.24.1.tgz", + "integrity": "sha512-sC+b0tB1whOCzbtlx20fx3WgCXwkW627p4EA9uM+/tNNPkSS+eSEld6pAs9nDv7WbY1UUljBMYPtu9BCOrCWKA==", "license": "MIT", "peer": true, "engines": {