Skip to content

Commit

Permalink
Change default path for data-dashboard-backend api
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Dec 18, 2024
1 parent 9bed521 commit 1659616
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
5 changes: 1 addition & 4 deletions charts/data-dashboard-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.2.2"
name: data-dashboard-backend
description: API for data in the data dashboard
version: 0.3.7
version: 0.3.8
sources: ["https://github.com/thehyve/radar-data-dashboard-backend"]
deprecated: false
type: application
Expand All @@ -11,9 +11,6 @@ maintainers:
- email: [email protected]
name: Keyvan Hedayati
url: https://www.thehyve.nl
- email: [email protected]
name: Nivethika Mahasivam
url: https://www.thehyve.nl/experts/nivethika-mahasivam
- email: [email protected]
name: Pim van Nierop
url: https://www.thehyve.nl/experts/pim-van-nierop
6 changes: 2 additions & 4 deletions charts/data-dashboard-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# data-dashboard-backend

![Version: 0.3.7](https://img.shields.io/badge/Version-0.3.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square)
![Version: 0.3.8](https://img.shields.io/badge/Version-0.3.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square)

API for data in the data dashboard

Expand All @@ -13,7 +13,6 @@ API for data in the data dashboard
| Name | Email | Url |
| ---- | ------ | --- |
| Keyvan Hedayati | <[email protected]> | <https://www.thehyve.nl> |
| Nivethika Mahasivam | <[email protected]> | <https://www.thehyve.nl/experts/nivethika-mahasivam> |
| Pim van Nierop | <[email protected]> | <https://www.thehyve.nl/experts/pim-van-nierop> |

## Source Code
Expand Down Expand Up @@ -44,7 +43,7 @@ API for data in the data dashboard
| ingress.enabled | bool | `true` | Enable ingress controller resource |
| ingress.ingressClassName | string | `"nginx"` | Ingress class name |
| ingress.annotations | object | check values.yaml | Annotations that define default ingress class, certificate issuer |
| ingress.path | string | `"/api"` | Path within the url structure |
| ingress.path | string | `"/dashboard-data"` | Path within the url structure |
| ingress.pathType | string | `"ImplementationSpecific"` | |
| ingress.hosts | list | `["localhost"]` | Hosts to accept requests from |
| ingress.tls.secretName | string | `"radar-base-tls"` | |
Expand All @@ -63,7 +62,6 @@ API for data in the data dashboard
| managementPortal.clientId | string | `"radar_data_dashboard_backend"` | ManagementPortal OAuth 2.0 client ID, having grant type client_credentials |
| managementPortal.clientSecret | string | `"secret"` | ManagementPortal OAuth 2.0 client secret |
| jwtResourceName | string | `"res_DataDashboardAPI"` | JWT Resource name to use for this service in ManagementPortal |
| path | string | `"/api"` | Base path to use in application |
| jdbc.driver | string | `"org.postgresql.Driver"` | JDBC Driver to connect to the database. |
| jdbc.url | string | `"jdbc:postgresql://postgresql:5432/data-dashboard"` | JDBC Connection url of the database. |
| jdbc.user | string | `"postgres"` | Username of the database |
Expand Down
2 changes: 1 addition & 1 deletion charts/data-dashboard-backend/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
data:
dashboard.yml: |
service:
baseUri: http://0.0.0.0:9000{{ .Values.path }}
baseUri: http://0.0.0.0:9000{{ .Values.ingress.path }}
advertisedBaseUri: null
enableCors: true
auth:
Expand Down
5 changes: 1 addition & 4 deletions charts/data-dashboard-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
# -- Path within the url structure
path: /api
path: /dashboard-data
pathType: ImplementationSpecific
# -- Hosts to accept requests from
hosts:
Expand Down Expand Up @@ -148,9 +148,6 @@ managementPortal:
# -- JWT Resource name to use for this service in ManagementPortal
jwtResourceName: res_DataDashboardAPI

# -- Base path to use in application
path: /api

jdbc:
# -- JDBC Driver to connect to the database.
driver: org.postgresql.Driver
Expand Down

0 comments on commit 1659616

Please sign in to comment.