Skip to content
Snippets Groups Projects
Commit 57d88ac1 authored by Martin Weise's avatar Martin Weise
Browse files

Merge branch 'dev' into 'master'

Fixed a library issue where the value could not be empty

See merge request !422
parents db374682 0fad849d
Branches
Tags
1 merge request!422Fixed a library issue where the value could not be empty
Showing
with 52 additions and 38 deletions
...@@ -24,7 +24,7 @@ info: ...@@ -24,7 +24,7 @@ info:
name: Apache 2.0 name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0 url: https://www.apache.org/licenses/LICENSE-2.0
title: DBRepo REST API title: DBRepo REST API
version: 1.9.0 version: 1.9.1
openapi: 3.1.0 openapi: 3.1.0
servers: servers:
- description: Test Instance - description: Test Instance
......
...@@ -6,7 +6,7 @@ author: Martin Weise ...@@ -6,7 +6,7 @@ author: Martin Weise
!!! debug "Debug Information" !!! debug "Debug Information"
Image: [`registry.datalab.tuwien.ac.at/dbrepo/analyse-service:1.9.0`](https://hub.docker.com/r/dbrepo/analyse-service) Image: [`registry.datalab.tuwien.ac.at/dbrepo/analyse-service:1.9.1`](https://hub.docker.com/r/dbrepo/analyse-service)
* Ports: 5000/tcp * Ports: 5000/tcp
* Prometheus: `http://<hostname>:5000/metrics` * Prometheus: `http://<hostname>:5000/metrics`
......
...@@ -6,7 +6,7 @@ author: Martin Weise ...@@ -6,7 +6,7 @@ author: Martin Weise
!!! debug "Debug Information" !!! debug "Debug Information"
Image: [`registry.datalab.tuwien.ac.at/dbrepo/data-service:1.9.0`](https://hub.docker.com/r/dbrepo/data-service) Image: [`registry.datalab.tuwien.ac.at/dbrepo/data-service:1.9.1`](https://hub.docker.com/r/dbrepo/data-service)
* Ports: 9093/tcp * Ports: 9093/tcp
* Info: `http://<hostname>:9093/actuator/info` * Info: `http://<hostname>:9093/actuator/info`
......
...@@ -6,7 +6,7 @@ author: Martin Weise ...@@ -6,7 +6,7 @@ author: Martin Weise
!!! debug "Debug Information" !!! debug "Debug Information"
Image: [`registry.datalab.tuwien.ac.at/dbrepo/metadata-service:1.9.0`](https://hub.docker.com/r/dbrepo/metadata-service) Image: [`registry.datalab.tuwien.ac.at/dbrepo/metadata-service:1.9.1`](https://hub.docker.com/r/dbrepo/metadata-service)
* Ports: 9099/tcp * Ports: 9099/tcp
* Info: `http://<hostname>:9099/actuator/info` * Info: `http://<hostname>:9099/actuator/info`
......
...@@ -6,7 +6,7 @@ author: Martin Weise ...@@ -6,7 +6,7 @@ author: Martin Weise
!!! debug "Debug Information" !!! debug "Debug Information"
Image: [`registry.datalab.tuwien.ac.at/dbrepo/search-service:1.9.0`](https://hub.docker.com/r/dbrepo/search-service) Image: [`registry.datalab.tuwien.ac.at/dbrepo/search-service:1.9.1`](https://hub.docker.com/r/dbrepo/search-service)
* Ports: 4000/tcp * Ports: 4000/tcp
* Health: `http://<hostname>:4000/api/search/health` * Health: `http://<hostname>:4000/api/search/health`
......
...@@ -6,7 +6,7 @@ author: Martin Weise ...@@ -6,7 +6,7 @@ author: Martin Weise
!!! debug "Debug Information" !!! debug "Debug Information"
Image: [`registry.datalab.tuwien.ac.at/dbrepo/ui:1.9.0`](https://hub.docker.com/r/dbrepo/ui) Image: [`registry.datalab.tuwien.ac.at/dbrepo/ui:1.9.1`](https://hub.docker.com/r/dbrepo/ui)
* Ports: 3000/tcp * Ports: 3000/tcp
......
...@@ -7,7 +7,13 @@ All notable changes to this project will be documented in this file. ...@@ -7,7 +7,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [v1.9.1](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/tags/v1.9.1) - 2025-05-31
#### Changes
* Release a new patch since version 1.9.0 was accidentally released on PyPI.
## [v1.9.0](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/tags/v1.9.0) - 2025-05-30
#### Fixes #### Fixes
......
...@@ -14,7 +14,7 @@ author: Martin Weise ...@@ -14,7 +14,7 @@ author: Martin Weise
![Maintainability Rating](./images/maintainability.svg) ![Maintainability Rating](./images/maintainability.svg)
![Security Rating](./images/security.svg) ![Security Rating](./images/security.svg)
Documentation for version: [v1.9.0](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/releases). Documentation for version: [v1.9.1](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/releases).
DBRepo is an open-source database repository that cover the data life cycle supporting data evolution, DBRepo is an open-source database repository that cover the data life cycle supporting data evolution,
-citation and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on -citation and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on
......
...@@ -11,7 +11,7 @@ author: Martin Weise ...@@ -11,7 +11,7 @@ author: Martin Weise
If you have [Docker](https://docs.docker.com/engine/install/) already installed on your system, you can install DBRepo with: If you have [Docker](https://docs.docker.com/engine/install/) already installed on your system, you can install DBRepo with:
```shell ```shell
curl -sSL https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.8/install.sh | bash curl -sSL https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.9/install.sh | bash
``` ```
!!! bug "Default installation security disclaimer" !!! bug "Default installation security disclaimer"
...@@ -35,7 +35,7 @@ SSL/TLS certificate is recommended. Follow the [secure installation](#secure-ins ...@@ -35,7 +35,7 @@ SSL/TLS certificate is recommended. Follow the [secure installation](#secure-ins
Execute the installation script to download only the environment and save it to `dist`. Execute the installation script to download only the environment and save it to `dist`.
```shell ```shell
curl -sSL https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.8/install.sh | DOWNLOAD_ONLY=1 bash curl -sSL https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.9/install.sh | DOWNLOAD_ONLY=1 bash
``` ```
### Static Configuration ### Static Configuration
...@@ -79,7 +79,7 @@ the variable `IDENTITY_SERVICE_ADMIN_PASSWORD` in `.env`. ...@@ -79,7 +79,7 @@ the variable `IDENTITY_SERVICE_ADMIN_PASSWORD` in `.env`.
Update the client secret of the `dbrepo-client`: Update the client secret of the `dbrepo-client`:
```bash ```bash
curl -sSL "https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.8/.scripts/reg-client-secret.sh" | bash curl -sSL "https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/release-1.9/.scripts/reg-client-secret.sh" | bash
``` ```
Also, update the JWT key according to the Also, update the JWT key according to the
......
...@@ -14,7 +14,7 @@ helm upgrade --install dbrepo \ ...@@ -14,7 +14,7 @@ helm upgrade --install dbrepo \
-n dbrepo \ -n dbrepo \
"oci://registry.datalab.tuwien.ac.at/dbrepo/helm/dbrepo" \ "oci://registry.datalab.tuwien.ac.at/dbrepo/helm/dbrepo" \
--values ./values.yaml \ --values ./values.yaml \
--version "1.9.0" \ --version "1.9.1" \
--create-namespace \ --create-namespace \
--cleanup-on-fail --cleanup-on-fail
``` ```
......
...@@ -12,9 +12,9 @@ variables: ...@@ -12,9 +12,9 @@ variables:
REGCLIENT_VERSION: "0.8.2" REGCLIENT_VERSION: "0.8.2"
BUN_VERSION: "1.1.40" BUN_VERSION: "1.1.40"
DOC_VERSION: "1.9" DOC_VERSION: "1.9"
APP_VERSION: "1.9.0" APP_VERSION: "1.9.1"
CHART_VERSION: "1.9.0" CHART_VERSION: "1.9.1"
SUPPORTED_VERSIONS: "1.8.0, 1.8.1, 1.8.2, 1.9.0" SUPPORTED_VERSIONS: "1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1"
SUPPORTED_ARCH: "linux/amd64" SUPPORTED_ARCH: "linux/amd64"
MAINTAINED_SERVICES: "analyse-service, auth-service-init, dashboard-service, dashboard-service-init, data-service, metadata-service, search-service, search-service-init, storage-service-init, ui" MAINTAINED_SERVICES: "analyse-service, auth-service-init, dashboard-service, dashboard-service-init, data-service, metadata-service, search-service, search-service-init, storage-service-init, ui"
CACHE_FALLBACK_KEY: "${CI_DEFAULT_BRANCH}" CACHE_FALLBACK_KEY: "${CI_DEFAULT_BRANCH}"
...@@ -560,7 +560,6 @@ release-images: ...@@ -560,7 +560,6 @@ release-images:
- test-ui - test-ui
only: only:
- tags - tags
- dev
before_script: before_script:
- "apk add --no-cache make maven openjdk17-jdk" - "apk add --no-cache make maven openjdk17-jdk"
- "docker logout ${CI_REGISTRY_URL}" - "docker logout ${CI_REGISTRY_URL}"
...@@ -586,8 +585,8 @@ release-helm: ...@@ -586,8 +585,8 @@ release-helm:
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}" - "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
- "docker logout ${CI_REGISTRY2_URL}" - "docker logout ${CI_REGISTRY2_URL}"
- "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}" - "echo ${CI_REGISTRY2_PASSWORD} | docker login --username ${CI_REGISTRY2_USER} --password-stdin ${CI_REGISTRY2_URL}"
- echo "$CI_GPG_KEYRING" | base64 -d > ~/secring.gpg - echo "$CI_GPG_SECRING" | base64 -d > ~/secring.gpg
- echo "$CI_GPG_KEYRING2" | base64 -d > ~/pubring.gpg - echo "$CI_GPG_PUBRING" | base64 -d > ~/pubring.gpg
- helm registry login --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY_URL}" - helm registry login --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY_URL}"
- helm registry login --username "${CI_REGISTRY2_USER}" --password "${CI_REGISTRY2_PASSWORD}" "${CI_REGISTRY2_URL}" - helm registry login --username "${CI_REGISTRY2_USER}" --password "${CI_REGISTRY2_PASSWORD}" "${CI_REGISTRY2_URL}"
- make build-helm - make build-helm
...@@ -601,7 +600,8 @@ release-docs: ...@@ -601,7 +600,8 @@ release-docs:
stage: release stage: release
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
only: only:
- tags refs:
- /^release-.*/
before_script: before_script:
- "apk add --no-cache alpine-sdk bash sed wget openssh jq curl" - "apk add --no-cache alpine-sdk bash sed wget openssh jq curl"
- "pip install pipenv" - "pip install pipenv"
......
#!/bin/bash #!/bin/bash
anybadge --label pipeline --value "passed" failed=red passed=green canceled=darkgray > "./final/${DOC_VERSION}/images/pipeline.svg" anybadge --label pipeline --value "passed" failed=red passed=green canceled=darkgray > "./final/${DOC_VERSION}/images/pipeline.svg"
PIPELINE_COVERAGE=$(curl -fsSL -H "PRIVATE-TOKEN: ${CI_TOKEN}" "${GITLAB_URL}/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines/latest?ref=${CI_COMMIT_BRANCH}" | jq --raw-output .coverage)
URL="${GITLAB_URL}/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines/latest?ref=${CI_COMMIT_BRANCH}"
echo "[DEBUG] obtaining pipeline coverage from url: $URL ..."
PIPELINE_COVERAGE=$(curl -fsSL -H "PRIVATE-TOKEN: ${CI_TOKEN}" $URL | jq --raw-output .coverage)
echo "[INFO] pipeline coverage: ${PIPELINE_COVERAGE}" echo "[INFO] pipeline coverage: ${PIPELINE_COVERAGE}"
if [ "${PIPELINE_COVERAGE}" != "null" ]; then if [ "${PIPELINE_COVERAGE}" != "null" ]; then
anybadge --label coverage --value "${PIPELINE_COVERAGE}" coverage > "./final/${DOC_VERSION}/images/coverage.svg" anybadge --label coverage --value "${PIPELINE_COVERAGE}" coverage > "./final/${DOC_VERSION}/images/coverage.svg"
else else
echo "[WARNING] Skipping badge generation, displaying default badge text: unknown" echo "[WARNING] Skipping badge generation, displaying default badge text: unknown"
fi fi
curl -fsSL "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=sqale_rating&token=${CI_SONAR_BADGE_TOKEN}" > "./final/${DOC_VERSION}/images/maintainability.svg"
curl -fsSL "${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=security_rating&token=${CI_SONAR_BADGE_TOKEN}" > "./final/${DOC_VERSION}/images/security.svg" URL="${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=sqale_rating&token=${CI_SONAR_BADGE_TOKEN}"
echo "[DEBUG] obtain maintainability project badge from url: $URL ..."
curl -fsSL $URL > "./final/${DOC_VERSION}/images/maintainability.svg"
URL="${CI_SONAR_URL}/api/project_badges/measure?project=${CI_SONAR_PROJECT_KEY}&metric=security_rating&token=${CI_SONAR_BADGE_TOKEN}"
echo "[DEBUG] obtain security project badge from url: $URL ..."
curl -fsSL $URL > "./final/${DOC_VERSION}/images/security.svg"
echo "[INFO] retrieved badges" echo "[INFO] retrieved badges"
\ No newline at end of file
.PHONY: all .PHONY: all
APP_VERSION ?= 1.9.0 APP_VERSION ?= 1.9.1
CHART_VERSION ?= 1.9.0 CHART_VERSION ?= 1.9.1
REPOSITORY_URL ?= registry.datalab.tuwien.ac.at/dbrepo REPOSITORY_URL ?= registry.datalab.tuwien.ac.at/dbrepo
.PHONY: all .PHONY: all
......
...@@ -21,7 +21,7 @@ numpy = "*" ...@@ -21,7 +21,7 @@ numpy = "*"
pandas = "*" pandas = "*"
minio = "*" minio = "*"
pydantic = "*" pydantic = "*"
dbrepo = {path = "./lib/dbrepo-1.9.0.tar.gz"} dbrepo = {path = "./lib/dbrepo-1.9.1.tar.gz"}
opensearch-py = "*" opensearch-py = "*"
ecs_logging = "*" ecs_logging = "*"
......
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "bb1e86635cba8bfa5ad0a45abade8841ba91778d2ff0bcac1f455e8f17838baa" "sha256": "683dd8c657d5355de5fbe9fb26daa0807a4b6a5d66f8293468a7bbca16ffa88c"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
...@@ -77,19 +77,19 @@ ...@@ -77,19 +77,19 @@
}, },
"boto3": { "boto3": {
"hashes": [ "hashes": [
"sha256:1f95ec3ac88ae6381fa0409e4c2ad0a41f0caf5fd6d8ef45a9525406a3f58b18", "sha256:94bd7fdd92d5701b362d4df100d21e28f8307a67ff56b6a8b0398119cf22f859",
"sha256:abdb8c760543e9c22026320e62e2934762b0c4ac4f42e8ea2a756f2d489b3135" "sha256:95f5fe688795303a8a15e8b7e7f255cadab35eae459d00cc281a4fd77252ea80"
], ],
"index": "pypi", "index": "pypi",
"version": "==1.38.24" "version": "==1.38.27"
}, },
"botocore": { "botocore": {
"hashes": [ "hashes": [
"sha256:43563d5c2dfd56ebbcd9e25f482fc45000bfaec5966b26c77b331bd340c46376", "sha256:9788f7efe974328a38cbade64cc0b1e67d27944b899f88cb786ae362973133b6",
"sha256:5901667b96d3a8603479879ab097560216cdc4c2918d433fc6509555d0ada29c" "sha256:a785d5e9a5eda88ad6ab9ed8b87d1f2ac409d0226bba6ff801c55359e94d91a8"
], ],
"markers": "python_version >= '3.9'", "markers": "python_version >= '3.9'",
"version": "==1.38.24" "version": "==1.38.27"
}, },
"certifi": { "certifi": {
"hashes": [ "hashes": [
...@@ -323,11 +323,10 @@ ...@@ -323,11 +323,10 @@
}, },
"dbrepo": { "dbrepo": {
"hashes": [ "hashes": [
"sha256:76f0ab97d1e914a779aa51b5e5a17591b2f1c88f15dc9df27273deb4dc7ed125", "sha256:32a72a27077bcaefafed362feae8c025348ed222b438e0dfe855779aed686584"
"sha256:f01ee3102dc405c00b5e61cd1d62a46f9644ca33d131912cc25130a5ec304378"
], ],
"path": "./lib/dbrepo-1.9.0.tar.gz", "path": "./lib/dbrepo-1.9.1.tar.gz",
"version": "==1.9.0" "version": "==1.9.1"
}, },
"ecs-logging": { "ecs-logging": {
"hashes": [ "hashes": [
......
...@@ -199,7 +199,7 @@ template = { ...@@ -199,7 +199,7 @@ template = {
"info": { "info": {
"title": "Database Repository Analyse Service API", "title": "Database Repository Analyse Service API",
"description": "Service that analyses data structures", "description": "Service that analyses data structures",
"version": "1.9.0", "version": "1.9.1",
"contact": { "contact": {
"name": "Prof. Andreas Rauber", "name": "Prof. Andreas Rauber",
"email": "andreas.rauber@tuwien.ac.at" "email": "andreas.rauber@tuwien.ac.at"
......
File deleted
File added
...@@ -7,7 +7,7 @@ name = "pypi" ...@@ -7,7 +7,7 @@ name = "pypi"
requests = "*" requests = "*"
mariadb = "*" mariadb = "*"
ecs_logging = "*" ecs_logging = "*"
dbrepo = {path = "./lib/dbrepo-1.9.0.tar.gz"} dbrepo = {path = "./lib/dbrepo-1.9.1.tar.gz"}
[dev-packages] [dev-packages]
coverage = "*" coverage = "*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment