diff --git a/etc/example.env b/etc/example.env index 068fcd2..cf17d30 100644 --- a/etc/example.env +++ b/etc/example.env @@ -2,7 +2,7 @@ GOHAN_DEBUG=false GOHAN_SERVICE_CONTACT=someone@somewhere.ca -GOHAN_SEMVER=5.0.0 +GOHAN_SEMVER=5.0.1 GOHAN_SERVICES="gateway api elasticsearch kibana drs authorization" # GOOS=linux @@ -39,8 +39,8 @@ GOHAN_API_IMAGE=gohan-api GOHAN_API_VERSION=latest GOHAN_API_BUILDER_BASE_IMAGE=golang:1.21-bookworm -GOHAN_API_DEV_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:golang-debian-2023.12.01 -GOHAN_API_PROD_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:plain-debian-2023.12.01 +GOHAN_API_DEV_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:golang-debian-2024.05.01 +GOHAN_API_PROD_BASE_IMAGE=ghcr.io/bento-platform/bento_base_image:plain-debian-2024.05.01 GOHAN_API_CONTAINER_NAME=gohan-api GOHAN_API_SERVICE_HOST=0.0.0.0 diff --git a/src/api/dev.Dockerfile b/src/api/dev.Dockerfile index 2b81011..a921cbf 100644 --- a/src/api/dev.Dockerfile +++ b/src/api/dev.Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update -y && \ apt-get install -y tabix && \ rm -rf /var/lib/apt/lists/* -RUN go install github.com/cosmtrek/air@latest +RUN go install github.com/cosmtrek/air@v1.49.0 COPY go.mod go.sum ./ RUN go mod download && go mod vendor diff --git a/src/api/models/schemas/schemas.go b/src/api/models/schemas/schemas.go index 6077c20..c838986 100644 --- a/src/api/models/schemas/schemas.go +++ b/src/api/models/schemas/schemas.go @@ -47,12 +47,6 @@ var VARIANT_SCHEMA Schema = map[string]interface{}{ "properties": map[string]interface{}{ "assembly_id": map[string]interface{}{ "description": "Reference genome assembly ID.", - "enum": []string{ - "GRCh38", - "GRCh37", - "NCBI36", - "Other", - }, "search": map[string]interface{}{ "canNegate": false, "operations": []string{