diff --git a/.github/workflows/ai-workspace-pr-check.yml b/.github/workflows/ai-workspace-pr-check.yml index 508f991aae..3dfc2a68ef 100644 --- a/.github/workflows/ai-workspace-pr-check.yml +++ b/.github/workflows/ai-workspace-pr-check.yml @@ -70,7 +70,7 @@ jobs: # requests; 502/000 means it is still warming up. run: | for i in $(seq 1 30); do - STATUS=$(curl -sk -o /dev/null -w "%{http_code}" https://host.docker.internal:5380/api-proxy/api/v1/organizations) + STATUS=$(curl -sk -o /dev/null -w "%{http_code}" https://host.docker.internal:5380/api/proxy/api/v0.9/organizations) if [ "$STATUS" = "200" ] || [ "$STATUS" = "401" ] || [ "$STATUS" = "403" ]; then echo "API proxy ready (HTTP $STATUS)" exit 0 diff --git a/.github/workflows/cli-gw-build-periodic.yml b/.github/workflows/cli-gw-build-periodic.yml index b332967ef2..7f9f3a10b8 100644 --- a/.github/workflows/cli-gw-build-periodic.yml +++ b/.github/workflows/cli-gw-build-periodic.yml @@ -121,7 +121,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' # ------------------------------------------------------------ diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index e310b40a9b..c7ea789d4a 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Cache Go modules diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 3654abb2eb..6bdd95b56c 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index a3bcb84351..0d333b7b3b 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: true cache-dependency-path: | gateway/**/go.sum diff --git a/.github/workflows/event-gateway-integration-test-postgres.yml b/.github/workflows/event-gateway-integration-test-postgres.yml index 37f9d54b56..2f695843e1 100644 --- a/.github/workflows/event-gateway-integration-test-postgres.yml +++ b/.github/workflows/event-gateway-integration-test-postgres.yml @@ -46,7 +46,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/event-gateway-integration-test-sqlserver.yml b/.github/workflows/event-gateway-integration-test-sqlserver.yml index 38df481f2a..55a6171c33 100644 --- a/.github/workflows/event-gateway-integration-test-sqlserver.yml +++ b/.github/workflows/event-gateway-integration-test-sqlserver.yml @@ -49,7 +49,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/event-gateway-integration-test.yml b/.github/workflows/event-gateway-integration-test.yml index e79badd3be..eaf6568280 100644 --- a/.github/workflows/event-gateway-integration-test.yml +++ b/.github/workflows/event-gateway-integration-test.yml @@ -45,7 +45,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/event-gateway-release.yml b/.github/workflows/event-gateway-release.yml index 1c0c1ec543..f22299175b 100644 --- a/.github/workflows/event-gateway-release.yml +++ b/.github/workflows/event-gateway-release.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Set up QEMU diff --git a/.github/workflows/gateway-integration-test-postgres.yml b/.github/workflows/gateway-integration-test-postgres.yml index b6ac353f0d..e8dced4f53 100644 --- a/.github/workflows/gateway-integration-test-postgres.yml +++ b/.github/workflows/gateway-integration-test-postgres.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/gateway-integration-test-sqlserver.yml b/.github/workflows/gateway-integration-test-sqlserver.yml index 714fbaa524..dbf64d5ea5 100644 --- a/.github/workflows/gateway-integration-test-sqlserver.yml +++ b/.github/workflows/gateway-integration-test-sqlserver.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/gateway-integration-test.yml b/.github/workflows/gateway-integration-test.yml index f8a436261e..9d730f3e2b 100644 --- a/.github/workflows/gateway-integration-test.yml +++ b/.github/workflows/gateway-integration-test.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/gateway-release.yml b/.github/workflows/gateway-release.yml index 380ea06f6b..9f20b2ac0f 100644 --- a/.github/workflows/gateway-release.yml +++ b/.github/workflows/gateway-release.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Set up QEMU diff --git a/.github/workflows/go-scan.yaml b/.github/workflows/go-scan.yaml index cbcf3cf69f..a3827f8316 100644 --- a/.github/workflows/go-scan.yaml +++ b/.github/workflows/go-scan.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Install Gosec run: go install github.com/securego/gosec/v2/cmd/gosec@latest @@ -42,7 +42,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Install Gosec run: go install github.com/securego/gosec/v2/cmd/gosec@latest @@ -67,7 +67,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Install Gosec run: go install github.com/securego/gosec/v2/cmd/gosec@latest @@ -92,7 +92,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Install Gosec run: go install github.com/securego/gosec/v2/cmd/gosec@latest @@ -117,7 +117,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Install Gosec run: go install github.com/securego/gosec/v2/cmd/gosec@latest diff --git a/.github/workflows/operator-integration-test.yml b/.github/workflows/operator-integration-test.yml index 7393370ab2..7d7d502408 100644 --- a/.github/workflows/operator-integration-test.yml +++ b/.github/workflows/operator-integration-test.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up QEMU diff --git a/.github/workflows/platform-api-devportal-e2e.yml b/.github/workflows/platform-api-devportal-e2e.yml index 3dbe500be2..21d3898441 100644 --- a/.github/workflows/platform-api-devportal-e2e.yml +++ b/.github/workflows/platform-api-devportal-e2e.yml @@ -39,7 +39,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/platform-api-gateway-e2e.yml b/.github/workflows/platform-api-gateway-e2e.yml index 003c1f2fbd..08a751e065 100644 --- a/.github/workflows/platform-api-gateway-e2e.yml +++ b/.github/workflows/platform-api-gateway-e2e.yml @@ -35,7 +35,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/.github/workflows/platform-api-pr-check.yml b/.github/workflows/platform-api-pr-check.yml index 12d525e8ac..a204212bc0 100644 --- a/.github/workflows/platform-api-pr-check.yml +++ b/.github/workflows/platform-api-pr-check.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Go build @@ -73,7 +73,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Cross-database integration tests (PostgreSQL) @@ -97,7 +97,7 @@ jobs: - name: Set up Go uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Start SQL Server diff --git a/.github/workflows/platform-api-release.yml b/.github/workflows/platform-api-release.yml index 99bee4dd89..f33661b570 100644 --- a/.github/workflows/platform-api-release.yml +++ b/.github/workflows/platform-api-release.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Set up Docker Buildx diff --git a/.github/workflows/sample-service-pr-check.yml b/.github/workflows/sample-service-pr-check.yml index 00088cfee0..ab5477bf6b 100644 --- a/.github/workflows/sample-service-pr-check.yml +++ b/.github/workflows/sample-service-pr-check.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Go build diff --git a/.github/workflows/sample-service-release.yml b/.github/workflows/sample-service-release.yml index b4b1f83c06..36c3aa938f 100644 --- a/.github/workflows/sample-service-release.yml +++ b/.github/workflows/sample-service-release.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache: false - name: Set up QEMU diff --git a/.github/workflows/sdk-integration-test.yml b/.github/workflows/sdk-integration-test.yml index 2c950eac3c..3ae68a446b 100644 --- a/.github/workflows/sdk-integration-test.yml +++ b/.github/workflows/sdk-integration-test.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.2' + go-version: '1.26.5' cache-dependency-path: '**/go.sum' - name: Set up Docker Buildx diff --git a/cli/it/go.mod b/cli/it/go.mod index 10e5c0cc08..c5cb8e7663 100644 --- a/cli/it/go.mod +++ b/cli/it/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/cli/it -go 1.26.2 +go 1.26.5 require ( github.com/cucumber/godog v0.15.0 diff --git a/cli/src/go.mod b/cli/src/go.mod index a0cd91ccba..e4a2b304f7 100644 --- a/cli/src/go.mod +++ b/cli/src/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/cli -go 1.26.2 +go 1.26.5 require ( github.com/spf13/cobra v1.10.1 diff --git a/common/go.mod b/common/go.mod index b444696d5f..8dd91fdaa8 100644 --- a/common/go.mod +++ b/common/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/common -go 1.26.2 +go 1.26.5 require ( github.com/MicahParks/jwkset v0.11.0 diff --git a/event-gateway/gateway-runtime/Dockerfile b/event-gateway/gateway-runtime/Dockerfile index 792035d436..545432708b 100644 --- a/event-gateway/gateway-runtime/Dockerfile +++ b/event-gateway/gateway-runtime/Dockerfile @@ -20,7 +20,7 @@ # Uses event-gateway-builder to compile the event-gateway binary with embedded policies # Stage 1: Builder Base — compile the event-gateway-builder tool -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder-base +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder-base ARG BUILDARCH ARG VERSION=unknown ARG GIT_COMMIT=unknown @@ -106,7 +106,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ -out-dir /api-platform/output # Stage 3: Minimal runtime image -FROM alpine:3.22 +FROM alpine:3.24 ARG VERSION=unknown diff --git a/event-gateway/gateway-runtime/go.mod b/event-gateway/gateway-runtime/go.mod index b31b97fbd8..c6c5aa350b 100644 --- a/event-gateway/gateway-runtime/go.mod +++ b/event-gateway/gateway-runtime/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/event-gateway/gateway-runtime -go 1.26.2 +go 1.26.5 require ( github.com/envoyproxy/go-control-plane/envoy v1.36.0 diff --git a/event-gateway/webhook-listener/Dockerfile b/event-gateway/webhook-listener/Dockerfile index 7606a48f8a..2ea8e9f823 100644 --- a/event-gateway/webhook-listener/Dockerfile +++ b/event-gateway/webhook-listener/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.26.2-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-alpine AS builder ARG TARGETOS=linux ARG TARGETARCH diff --git a/event-gateway/webhook-listener/go.mod b/event-gateway/webhook-listener/go.mod index a41c1b6235..c83620db3d 100644 --- a/event-gateway/webhook-listener/go.mod +++ b/event-gateway/webhook-listener/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/event-gateway/webhook-listener -go 1.26.2 +go 1.26.5 diff --git a/gateway/gateway-builder/Dockerfile b/gateway/gateway-builder/Dockerfile index bcdb762216..83bec7ebb3 100644 --- a/gateway/gateway-builder/Dockerfile +++ b/gateway/gateway-builder/Dockerfile @@ -17,7 +17,7 @@ # -------------------------------------------------------------------- # Gateway Builder Image -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder ARG TARGETARCH # Build arguments for version information @@ -76,12 +76,13 @@ RUN --mount=type=cache,target=/go/pkg/mod \ -o /usr/local/bin/gateway-builder \ ./cmd/builder -FROM golang:1.26.2-bookworm +FROM golang:1.26.5-bookworm -# Install runtime dependencies +# Install runtime dependencies (upgrade first to pull in Debian security fixes) RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \ - apt-get update && apt-get install -y --no-install-recommends \ + apt-get update && apt-get upgrade -y \ + && apt-get install -y --no-install-recommends \ git \ make \ ca-certificates \ diff --git a/gateway/gateway-builder/go.mod b/gateway/gateway-builder/go.mod index 1144a9e242..d4bec77cd2 100644 --- a/gateway/gateway-builder/go.mod +++ b/gateway/gateway-builder/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/gateway/gateway-builder -go 1.26.2 +go 1.26.5 require ( github.com/stretchr/testify v1.11.1 diff --git a/gateway/gateway-controller/Dockerfile b/gateway/gateway-controller/Dockerfile index a2a1c1fd12..8fa83a90f8 100644 --- a/gateway/gateway-controller/Dockerfile +++ b/gateway/gateway-controller/Dockerfile @@ -1,6 +1,6 @@ # Stage 1: Build the Go application # Using Debian-based image for better cross-compilation support -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder ARG TARGETARCH ARG VERSION=0.0.1-SNAPSHOT ARG GIT_COMMIT=unknown @@ -78,7 +78,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \ # Stage: debug (select with --target debug; NOT part of the default build) # Full Go image needed to install dlv via go install; acceptable for dev-only use. # Runs as root — dlv requires ptrace; container security settings handle isolation. -FROM golang:1.26.2-bookworm AS debug +FROM golang:1.26.5-bookworm AS debug WORKDIR /app # Install dlv (Delve debugger) diff --git a/gateway/gateway-controller/go.mod b/gateway/gateway-controller/go.mod index aeac9664e4..8cfc58258c 100644 --- a/gateway/gateway-controller/go.mod +++ b/gateway/gateway-controller/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/gateway/gateway-controller -go 1.26.2 +go 1.26.5 require ( github.com/envoyproxy/go-control-plane v0.14.0 diff --git a/gateway/gateway-runtime/Dockerfile b/gateway/gateway-runtime/Dockerfile index 0cee5fdc6a..8b1f7b229e 100644 --- a/gateway/gateway-runtime/Dockerfile +++ b/gateway/gateway-runtime/Dockerfile @@ -24,7 +24,7 @@ ARG ENVOY_VERSION=v1.38.0 # Stage 1: Builder Base -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder-base +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder-base ARG BUILDARCH ARG VERSION=unknown ARG GIT_COMMIT=unknown @@ -181,7 +181,7 @@ RUN if [ "$PYTHON_SDK_SOURCE" = "local" ]; then \ RUN pip3 freeze --path /app/python-libs > /app/python-libs/requirements-lock.txt # Stage 3b: dlv installer (builds dlv for the debug stage) -FROM golang:1.26.2-bookworm AS debug-dlv-builder +FROM golang:1.26.5-bookworm AS debug-dlv-builder RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ go install github.com/go-delve/delve/cmd/dlv@v1.26.0 diff --git a/gateway/gateway-runtime/policy-engine/go.mod b/gateway/gateway-runtime/policy-engine/go.mod index 8a31a49213..1196737e07 100644 --- a/gateway/gateway-runtime/policy-engine/go.mod +++ b/gateway/gateway-runtime/policy-engine/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/gateway/gateway-runtime/policy-engine -go 1.26.2 +go 1.26.5 require ( github.com/andybalholm/brotli v1.2.0 diff --git a/gateway/it/docker-compose.test.yaml b/gateway/it/docker-compose.test.yaml index 48d4f02306..9769652e1b 100644 --- a/gateway/it/docker-compose.test.yaml +++ b/gateway/it/docker-compose.test.yaml @@ -300,7 +300,7 @@ services: # SourceConfiguration is unrendered. it-db-reader: container_name: it-db-reader - image: alpine:3.20 + image: alpine:3.24 entrypoint: ["/bin/sh", "-c"] command: ["apk add --no-cache sqlite && sleep infinity"] volumes: diff --git a/gateway/it/go.mod b/gateway/it/go.mod index bafae2a336..cf4af51808 100644 --- a/gateway/it/go.mod +++ b/gateway/it/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/gateway/it -go 1.26.2 +go 1.26.5 require ( github.com/cucumber/godog v0.15.0 diff --git a/gateway/sample-policies/transform-payload-case/go.mod b/gateway/sample-policies/transform-payload-case/go.mod index 8b5f5a0de5..f17bfe7b5b 100644 --- a/gateway/sample-policies/transform-payload-case/go.mod +++ b/gateway/sample-policies/transform-payload-case/go.mod @@ -1,5 +1,5 @@ module github.com/wso2/api-platform/gateway/sample-policies/transform-payload-case -go 1.26.2 +go 1.26.5 require github.com/wso2/api-platform/sdk/core v0.2.9 diff --git a/gateway/system-policies/analytics/go.mod b/gateway/system-policies/analytics/go.mod index 33cdf47e1b..0d23c67044 100644 --- a/gateway/system-policies/analytics/go.mod +++ b/gateway/system-policies/analytics/go.mod @@ -1,5 +1,5 @@ module github.com/wso2/api-platform/gateway/system-policies/analytics -go 1.26.2 +go 1.26.5 require github.com/wso2/api-platform/sdk/core v0.2.9 diff --git a/go.work b/go.work index 552b8e3cb4..1e4f5de556 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.26.2 +go 1.26.5 use ( ./httpkit diff --git a/go.work.sum b/go.work.sum index c4517d6beb..257a4f9996 100644 --- a/go.work.sum +++ b/go.work.sum @@ -2179,6 +2179,7 @@ github.com/aws/smithy-go v1.22.2/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxY github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible h1:Ppm0npCCsmuR9oQaBtRuZcmILVE74aXE+AmrJj8L2ns= +github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg= github.com/bazelbuild/rules_go v0.49.0/go.mod h1:Dhcz716Kqg1RHNWos+N6MlXNkjNP2EwZQ0LukRKJfMs= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= @@ -2199,6 +2200,7 @@ github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b/go.mod h1:ac9efd0D github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/boombuler/barcode v1.0.1 h1:NDBbPmhS+EqABEs5Kg3n/5ZNjy73Pz7SIV+KCeqyXcs= github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/campoy/embedmd v1.0.0 h1:V4kI2qTJJLf4J29RzI/MAt2c3Bl4dQSYPuflzwFH2hY= github.com/campoy/embedmd v1.0.0/go.mod h1:oxyr9RCiSXg0M3VJ3ks0UGfp98BpSSGr0kpiX3MzVl8= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= @@ -2975,8 +2977,6 @@ github.com/knadh/koanf/parsers/yaml v0.1.0/go.mod h1:cvbUDC7AL23pImuQP0oRw/hPucc github.com/knadh/koanf/providers/env v1.0.0/go.mod h1:mzFyRZueYhb37oPmC1HAv/oGEEuyvJDA98r3XAa8Gak= github.com/knadh/koanf/providers/file v1.1.2/go.mod h1:/faSBcv2mxPVjFrXck95qeoyoZ5myJ6uxN8OOVNJJCI= github.com/knadh/koanf/v2 v2.1.2/go.mod h1:Gphfaen0q1Fc1HTgJgSTC4oRX9R2R5ErYMZJy8fLJBo= -github.com/knadh/koanf/v2 v2.3.2 h1:Ee6tuzQYFwcZXQpc2MiVeC6qHMandf5SMUJJNoFp/c4= -github.com/knadh/koanf/v2 v2.3.2/go.mod h1:gRb40VRAbd4iJMYYD5IxZ6hfuopFcXBpc9bbQpZwo28= github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -3168,6 +3168,9 @@ github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c h1:Lgl0gzECD8GnQ5 github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= +github.com/pb33f/jsonpath v0.1.2/go.mod h1:TtKnUnfqZm48q7a56DxB3WtL3ipkVtukMKGKxaR/uXU= +github.com/pb33f/libopenapi v0.28.2/go.mod h1:mHMHA3ZKSZDTInNAuUtqkHlKLIjPm2HN1vgsGR57afc= +github.com/pb33f/ordered-map/v2 v2.3.0/go.mod h1:oe5ue+6ZNhy7QN9cPZvPA23Hx0vMHnNVeMg4fGdCANw= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= @@ -3619,6 +3622,7 @@ go.uber.org/zap v1.16.0/go.mod h1:MA8QOfq0BHJwdXa996Y4dYkAqRKB8/1K1QMMZVaNZjQ= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.20.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= +go.yaml.in/yaml/v4 v4.0.0-rc.2/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= diff --git a/httpkit/go.mod b/httpkit/go.mod index 1b3f24d081..17321f89b3 100644 --- a/httpkit/go.mod +++ b/httpkit/go.mod @@ -1,5 +1,5 @@ module github.com/wso2/go-httpkit -go 1.26.2 +go 1.26.5 require github.com/google/uuid v1.6.0 diff --git a/kubernetes/gateway-operator/Dockerfile b/kubernetes/gateway-operator/Dockerfile index f2d296a364..ffa98eff12 100644 --- a/kubernetes/gateway-operator/Dockerfile +++ b/kubernetes/gateway-operator/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.26.2-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-alpine AS builder ARG TARGETOS ARG TARGETARCH diff --git a/kubernetes/gateway-operator/Dockerfile.debug b/kubernetes/gateway-operator/Dockerfile.debug index b8e596e9ee..459be66557 100644 --- a/kubernetes/gateway-operator/Dockerfile.debug +++ b/kubernetes/gateway-operator/Dockerfile.debug @@ -1,7 +1,7 @@ # -------------------------------------------------------------------- # Stage 1: Build the manager binary # -------------------------------------------------------------------- -FROM --platform=$BUILDPLATFORM golang:1.26.2-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-alpine AS builder ARG TARGETOS ARG TARGETARCH diff --git a/kubernetes/gateway-operator/go.mod b/kubernetes/gateway-operator/go.mod index 405d3c413a..e5f8bb71a7 100644 --- a/kubernetes/gateway-operator/go.mod +++ b/kubernetes/gateway-operator/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/kubernetes/gateway-operator -go 1.26.2 +go 1.26.5 require ( github.com/go-logr/zapr v1.3.0 diff --git a/platform-api/Dockerfile b/platform-api/Dockerfile index d6df64a83c..b373acac3a 100644 --- a/platform-api/Dockerfile +++ b/platform-api/Dockerfile @@ -23,7 +23,7 @@ ARG PORT=9243 ARG EXPERIMENTAL=false # Build stage -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder ARG TARGETARCH # Build arguments for version information @@ -87,7 +87,8 @@ ARG USER_GID=$USER_UID LABEL org.opencontainers.image.experimental="${EXPERIMENTAL}" -RUN apt-get update && apt-get install -y --no-install-recommends \ +RUN apt-get update && apt-get upgrade -y \ + && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ && rm -rf /var/lib/apt/lists/* diff --git a/platform-api/go.mod b/platform-api/go.mod index 63eb393684..45112b4439 100644 --- a/platform-api/go.mod +++ b/platform-api/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/platform-api -go 1.26.2 +go 1.26.5 require ( github.com/go-playground/validator/v10 v10.29.0 @@ -16,7 +16,6 @@ require ( github.com/mattn/go-sqlite3 v1.14.41 github.com/microsoft/go-mssqldb v1.10.0 github.com/oapi-codegen/runtime v1.1.2 - github.com/pb33f/libopenapi v0.28.2 github.com/stretchr/testify v1.11.1 github.com/wso2/api-platform/common v0.0.0 github.com/wso2/go-httpkit v0.0.0-local @@ -28,8 +27,6 @@ require ( github.com/MicahParks/jwkset v0.11.0 // indirect github.com/MicahParks/keyfunc/v3 v3.7.0 // indirect github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect - github.com/bahlo/generic-list-go v0.2.0 // indirect - github.com/buger/jsonparser v1.1.1 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/fsnotify/fsnotify v1.9.0 // indirect github.com/gabriel-vasile/mimetype v1.4.12 // indirect @@ -45,14 +42,11 @@ require ( github.com/leodido/go-urn v1.4.0 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/pb33f/jsonpath v0.1.2 // indirect - github.com/pb33f/ordered-map/v2 v2.3.0 // indirect github.com/pelletier/go-toml/v2 v2.2.4 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/shopspring/decimal v1.4.0 // indirect - go.yaml.in/yaml/v4 v4.0.0-rc.2 // indirect golang.org/x/sync v0.20.0 // indirect - golang.org/x/sys v0.43.0 // indirect + golang.org/x/sys v0.44.0 // indirect golang.org/x/text v0.36.0 // indirect golang.org/x/time v0.12.0 // indirect ) diff --git a/platform-api/go.sum b/platform-api/go.sum index 0067a1893c..d25c6d0ebf 100644 --- a/platform-api/go.sum +++ b/platform-api/go.sum @@ -19,11 +19,7 @@ github.com/MicahParks/keyfunc/v3 v3.7.0/go.mod h1:z66bkCviwqfg2YUp+Jcc/xRE9IXLcM github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk= -github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= -github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg= github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= -github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -95,12 +91,6 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/oapi-codegen/runtime v1.1.2 h1:P2+CubHq8fO4Q6fV1tqDBZHCwpVpvPg7oKiYzQgXIyI= github.com/oapi-codegen/runtime v1.1.2/go.mod h1:SK9X900oXmPWilYR5/WKPzt3Kqxn/uS/+lbpREv+eCg= -github.com/pb33f/jsonpath v0.1.2 h1:PlqXjEyecMqoYJupLxYeClCGWEpAFnh4pmzgspbXDPI= -github.com/pb33f/jsonpath v0.1.2/go.mod h1:TtKnUnfqZm48q7a56DxB3WtL3ipkVtukMKGKxaR/uXU= -github.com/pb33f/libopenapi v0.28.2 h1:AXVCE8DWzytXu0jv0Z+cXVopnO/bXU1oWvgA9qiRWgw= -github.com/pb33f/libopenapi v0.28.2/go.mod h1:mHMHA3ZKSZDTInNAuUtqkHlKLIjPm2HN1vgsGR57afc= -github.com/pb33f/ordered-map/v2 v2.3.0 h1:k2OhVEQkhTCQMhAicQ3Z6iInzoZNQ7L9MVomwKBZ5WQ= -github.com/pb33f/ordered-map/v2 v2.3.0/go.mod h1:oe5ue+6ZNhy7QN9cPZvPA23Hx0vMHnNVeMg4fGdCANw= github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4= github.com/pelletier/go-toml/v2 v2.2.4/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= @@ -118,16 +108,14 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -go.yaml.in/yaml/v4 v4.0.0-rc.2 h1:/FrI8D64VSr4HtGIlUtlFMGsm7H7pWTbj6vOLVZcA6s= -go.yaml.in/yaml/v4 v4.0.0-rc.2/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0= golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI= golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q= golang.org/x/net v0.53.0 h1:d+qAbo5L0orcWAr0a9JweQpjXF19LMXJE8Ey7hwOdUA= golang.org/x/net v0.53.0/go.mod h1:JvMuJH7rrdiCfbeHoo3fCQU24Lf5JJwT9W3sJFulfgs= golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4= golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI= -golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ= +golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/text v0.36.0 h1:JfKh3XmcRPqZPKevfXVpI1wXPTqbkE5f7JA92a55Yxg= golang.org/x/text v0.36.0/go.mod h1:NIdBknypM8iqVmPiuco0Dh6P5Jcdk8lJL0CUebqK164= golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE= diff --git a/portals/ai-workspace/Dockerfile b/portals/ai-workspace/Dockerfile index 4ca242f202..8cfbcd06ab 100644 --- a/portals/ai-workspace/Dockerfile +++ b/portals/ai-workspace/Dockerfile @@ -31,7 +31,7 @@ RUN go build -trimpath -ldflags "-s -w" -o /bff . ########################### # Stage 3 — Runtime # ########################### -FROM alpine:3.20 +FROM alpine:3.24 ARG USERNAME=aiworkspace ARG USER_UID=10001 diff --git a/portals/ai-workspace/bff/go.mod b/portals/ai-workspace/bff/go.mod index d3d275008d..44d71c9284 100644 --- a/portals/ai-workspace/bff/go.mod +++ b/portals/ai-workspace/bff/go.mod @@ -1,3 +1,3 @@ module ai-workspace-bff -go 1.26.2 +go 1.26.5 diff --git a/samples/sample-service/Dockerfile b/samples/sample-service/Dockerfile index d7d7cc21e0..5d189edde7 100644 --- a/samples/sample-service/Dockerfile +++ b/samples/sample-service/Dockerfile @@ -15,7 +15,7 @@ # under the License. # Stage 1: Build -FROM --platform=$BUILDPLATFORM golang:1.26.2-bookworm AS builder +FROM --platform=$BUILDPLATFORM golang:1.26.5-bookworm AS builder ARG TARGETARCH ARG VERSION=0.0.1-SNAPSHOT diff --git a/samples/sample-service/go.mod b/samples/sample-service/go.mod index f7261c3eae..bedf37f5ec 100644 --- a/samples/sample-service/go.mod +++ b/samples/sample-service/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/samples/sample-service -go 1.26.2 +go 1.26.5 diff --git a/sdk/ai/go.mod b/sdk/ai/go.mod index 5ad8390932..f3b28b86dc 100644 --- a/sdk/ai/go.mod +++ b/sdk/ai/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/sdk/ai -go 1.26.2 +go 1.26.5 require ( github.com/goccy/go-json v0.10.5 diff --git a/sdk/core/go.mod b/sdk/core/go.mod index fa1ad4c5b9..f31f6a9ece 100644 --- a/sdk/core/go.mod +++ b/sdk/core/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/sdk/core -go 1.26.2 +go 1.26.5 diff --git a/tests/integration-e2e/go.mod b/tests/integration-e2e/go.mod index 1ea7b86847..a2db1c2042 100644 --- a/tests/integration-e2e/go.mod +++ b/tests/integration-e2e/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/tests/integration-e2e -go 1.26.2 +go 1.26.5 require github.com/cucumber/godog v0.15.0 diff --git a/tests/mock-servers/mock-analytics-collector/Dockerfile b/tests/mock-servers/mock-analytics-collector/Dockerfile index 91c4a2ea6c..3b555f3522 100644 --- a/tests/mock-servers/mock-analytics-collector/Dockerfile +++ b/tests/mock-servers/mock-analytics-collector/Dockerfile @@ -1,5 +1,5 @@ # Multi-stage build for mock analytics collector -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder WORKDIR /app diff --git a/tests/mock-servers/mock-analytics-collector/go.mod b/tests/mock-servers/mock-analytics-collector/go.mod index 037d00ef19..5b1d6ee851 100644 --- a/tests/mock-servers/mock-analytics-collector/go.mod +++ b/tests/mock-servers/mock-analytics-collector/go.mod @@ -1,5 +1,5 @@ module github.com/wso2/api-platform/tests/mock-servers/mock-analytics-collector -go 1.26.2 +go 1.26.5 require github.com/gorilla/mux v1.8.1 diff --git a/tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile b/tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile index d380e64fac..755a2aa73e 100644 --- a/tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile +++ b/tests/mock-servers/mock-aws-bedrock-guardrail/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder WORKDIR /app COPY go.mod ./ COPY main.go ./ diff --git a/tests/mock-servers/mock-aws-bedrock-guardrail/go.mod b/tests/mock-servers/mock-aws-bedrock-guardrail/go.mod index 0f7f76d078..8134c8e97a 100644 --- a/tests/mock-servers/mock-aws-bedrock-guardrail/go.mod +++ b/tests/mock-servers/mock-aws-bedrock-guardrail/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/tests/mock-servers/mock-aws-bedrock-guardrail -go 1.26.2 +go 1.26.5 diff --git a/tests/mock-servers/mock-azure-content-safety/Dockerfile b/tests/mock-servers/mock-azure-content-safety/Dockerfile index 94c6e3411b..6d1d400194 100644 --- a/tests/mock-servers/mock-azure-content-safety/Dockerfile +++ b/tests/mock-servers/mock-azure-content-safety/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder WORKDIR /app COPY go.mod ./ COPY main.go ./ diff --git a/tests/mock-servers/mock-azure-content-safety/go.mod b/tests/mock-servers/mock-azure-content-safety/go.mod index d0a7089e26..f1d46e0ae1 100644 --- a/tests/mock-servers/mock-azure-content-safety/go.mod +++ b/tests/mock-servers/mock-azure-content-safety/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/tests/mock-servers/mock-azure-content-safety -go 1.26.2 +go 1.26.5 diff --git a/tests/mock-servers/mock-embedding-provider/Dockerfile b/tests/mock-servers/mock-embedding-provider/Dockerfile index 100e21d879..14fa1fceb9 100644 --- a/tests/mock-servers/mock-embedding-provider/Dockerfile +++ b/tests/mock-servers/mock-embedding-provider/Dockerfile @@ -14,7 +14,7 @@ # specific language governing permissions and limitations # under the License. -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder WORKDIR /app @@ -25,7 +25,7 @@ COPY main.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o mock-embedding-provider . -FROM alpine:3.19 +FROM alpine:3.24 RUN apk --no-cache add ca-certificates diff --git a/tests/mock-servers/mock-embedding-provider/go.mod b/tests/mock-servers/mock-embedding-provider/go.mod index 71d5824ab9..6440f07ca7 100644 --- a/tests/mock-servers/mock-embedding-provider/go.mod +++ b/tests/mock-servers/mock-embedding-provider/go.mod @@ -1,3 +1,3 @@ module github.com/wso2/api-platform/tests/mock-servers/mock-embedding-provider -go 1.26.2 +go 1.26.5 diff --git a/tests/mock-servers/mock-jwks/Dockerfile b/tests/mock-servers/mock-jwks/Dockerfile index 6b80da6f7a..10850c0251 100644 --- a/tests/mock-servers/mock-jwks/Dockerfile +++ b/tests/mock-servers/mock-jwks/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder WORKDIR /app diff --git a/tests/mock-servers/mock-jwks/go.mod b/tests/mock-servers/mock-jwks/go.mod index 22fc708f42..54db78c9bc 100644 --- a/tests/mock-servers/mock-jwks/go.mod +++ b/tests/mock-servers/mock-jwks/go.mod @@ -1,6 +1,6 @@ module mock-jwks -go 1.26.2 +go 1.26.5 require github.com/go-jose/go-jose/v4 v4.0.4 diff --git a/tests/mock-servers/mock-platform-api/Dockerfile b/tests/mock-servers/mock-platform-api/Dockerfile index eb184e0990..173807efd9 100644 --- a/tests/mock-servers/mock-platform-api/Dockerfile +++ b/tests/mock-servers/mock-platform-api/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.26.2-alpine AS builder +FROM golang:1.26.5-alpine AS builder RUN apk add --no-cache gcc musl-dev sqlite-dev WORKDIR /app COPY go.mod go.sum ./ @@ -6,7 +6,7 @@ RUN go mod download COPY main.go ./ RUN CGO_ENABLED=1 GOOS=linux go build -o mock-platform-api . -FROM alpine:3.21 +FROM alpine:3.24 RUN apk add --no-cache ca-certificates WORKDIR /app COPY --from=builder /app/mock-platform-api . diff --git a/tests/mock-servers/mock-platform-api/go.mod b/tests/mock-servers/mock-platform-api/go.mod index 97a886edbb..4c0d5ed099 100644 --- a/tests/mock-servers/mock-platform-api/go.mod +++ b/tests/mock-servers/mock-platform-api/go.mod @@ -1,6 +1,6 @@ module github.com/wso2/api-platform/tests/mock-servers/mock-platform-api -go 1.26.2 +go 1.26.5 require ( github.com/google/uuid v1.6.0