From 1fd8042df0f611f82712608fe7f9c114603d0842 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 18 Nov 2024 16:04:20 +0000 Subject: [PATCH] chore(deps): update registry.access.redhat.com/ubi9-minimal docker tag to v9.5-1731604394 --- .github/workflows/main.yml | 2 +- Dockerfile | 2 +- _http/beacon.http | 101 ++++++++++++++++++++++++++++++------- 3 files changed, 85 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f37c5c9..71364e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,7 +92,7 @@ jobs: exit-code: "1" ignore-unfixed: true vuln-type: "os,library" - severity: "CRITICAL" + severity: "CRITICAL,HIGH" env: TRIVY_SKIP_DB_UPDATE: true TRIVY_SKIP_JAVA_DB_UPDATE: true diff --git a/Dockerfile b/Dockerfile index 1eb391f..b717d45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2024 PNED G.I.E. # # SPDX-License-Identifier: Apache-2.0 -FROM registry.access.redhat.com/ubi9-minimal:9.4-1227.1726694542 +FROM registry.access.redhat.com/ubi9-minimal:9.5-1731604394 WORKDIR /work/ RUN chown 1001 /work \ && chmod "g+rwX" /work \ diff --git a/_http/beacon.http b/_http/beacon.http index 361a5b0..11d6e24 100644 --- a/_http/beacon.http +++ b/_http/beacon.http @@ -2,28 +2,93 @@ # # SPDX-License-Identifier: Apache-2.0 + +## Ontology +POST https://beacon-network-backend-demo.ega-archive.org/beacon-network/v2.0.0/individuals +Content-Type: application/json + +{ + "meta": { + "apiVersion": "2.0" + }, + "query": { + "filters": [ + { + "id": "ICD10:J40", + "scope": "individual" + } + ], + "requestParameters": [], + "includeResultsetResponses": "HIT", + "pagination": { + "skip": 0, + "limit": 1 + }, + "testMode": false, + "requestedGranularity": "record" + } +} + + +### Alphanumeric +POST https://beacon-network-backend-demo.ega-archive.org/beacon-network/v2.0.0/individuals +Content-Type: application/json + +{ + "meta": { + "apiVersion": "2.0" + }, + "query": { + "filters": [ + { + "id": "PATO:0000011", + "operator": ">", + "value": "P30Y", + "scope": "individual" + } + ], + "requestParameters": [], + "includeResultsetResponses": "HIT", + "pagination": { + "skip": 0, + "limit": 1 + }, + "testMode": false, + "requestedGranularity": "record" + } +} + + +### Variants POST https://beacon-network-backend-demo.ega-archive.org/beacon-network/v2.0.0/individuals Content-Type: application/json { - "meta":{ - "apiVersion":"2.0" - }, - "query":{ - "filters":[ - { - "id":"UBERON:0005352", - "scope": "individual" - } - ], - "includeResultsetResponses":"HIT", - "pagination":{ - "skip":0, - "limit":0 - }, - "testMode":false, - "requestedGranularity":"count" - } + "$schema":"beaconRequestBody.json", + "meta": { + "apiVersion": "2.0", + "requestedSchemas": [ + { + "entityType": "genomicVariation", + "schema:": "https://raw.githubusercontent.com/ga4gh-beacon/beacon-v2/main/models/json/beacon-v2-default-model/genomicVariations/defaultSchema.json" + } + ] + }, + "query": { + "requestParameters": { + "g_variant": { + "referenceName": "NC_000017.11", + "start": [7577120], + "referenceBases": "G", + "alternateBases": "A" + } + } + }, + "requestedGranularity": "record", + "pagination": { + "skip": 0, + "limit": 10 + } } ###