-
Notifications
You must be signed in to change notification settings - Fork 27
v2.1.1 dev to master #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
v2.1.1 dev to master #235
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
1e39c38
wip feature
2b7bbd2
frontpage wip
96a0631
banner rework
6ff7139
frontpage cleanup
360648f
Merge pull request #163 from dbpedia/master
holycrab13 8f1c7a6
Merge pull request #164 from dbpedia/new-dev
holycrab13 2c8f25c
navbar and wizard fixes
da9e6fc
artifact facets fix
c8294d8
added cors header to readable resources
0ce854a
better accept header parsing
5ef5b36
duplicate artifact displayed on account page fix
1f53e80
preventing newline uri crashes
e8cef0e
some sparql editor fixes
b667d81
new font, ui fixes
0b235cc
entity card ui fixes
bb3f630
font adjustments
8f7f061
logging for debug
517cf00
logging for debug
4746dc7
logging for debug
c7274ab
dropdown fixed when logout
holycrab13 729944f
package updates
bb4f594
Merge branch 'dev' of github.com:dbpedia/databus into dev
c3a8439
merged package updates and collection widget fix
a7d2fd1
fixed sparql issue
213f17d
new config params for gstore in dockerfile, affects only dev env
manonthegithub 9638c06
metrics endpoints and indexer update
holycrab13 c38cbaa
register api / indexing fixes for accounts
holycrab13 fb1127e
write/indexing fixes for group & artifact
holycrab13 4289eea
bugfixes and missing impls for accounts
holycrab13 e62b9d7
bugfixes and dockerisation
holycrab13 a10180f
role based access
holycrab13 137f331
wait for gstore added
d7d4dce
logging for startup bug
26339fc
logging for startup bug
89ec2ef
moved validation step after cluster start
holycrab13 38f7d51
merged
holycrab13 56aa07d
fixed validate
holycrab13 ec7b757
bugfix in auth config
holycrab13 2b6d4d9
bugfix in auth config
holycrab13 f7c10e4
bugfix in auth config
holycrab13 ba7a917
bugfix in auth config
holycrab13 6e9b55a
bugfix in auth config
holycrab13 7ad1e20
bugfix in auth config
holycrab13 d232b26
logout in private mode fix
holycrab13 13f4fe1
removed caddy from docker image - needs to be handled separat
holycrab13 430719c
fixes for account registration bugs
holycrab13 9264c7a
proxy for oidc config, fix for resource deletion
holycrab13 1c08e25
multi account initial
holycrab13 1a9a654
adding accounts and keys
holycrab13 7881690
backup
holycrab13 7ef5848
docu and cleanup steps
holycrab13 cea2e7a
merged multi-account
holycrab13 cf064ec
initial
holycrab13 e7111ae
wizard
1e3329d
multi-account updates
holycrab13 597d685
small cleanup and UI polish
holycrab13 a7d1a68
Merge pull request #194 from dbpedia/multiacc
holycrab13 e70aa7f
fixed multi-account UI bugs
holycrab13 7c96fb4
UX improvements for publish wizard
holycrab13 dd2b448
fixed: collection editor, api key usage, swagger doc
holycrab13 6d57f1a
tests converted to uvu, added test runner, added configurable user id…
holycrab13 3234357
fixes for bugs when using OIDC tokens for auth
holycrab13 b5b4935
trying to fix Dockerfile to autogenerate missing package.lock files
JJ-Author 6112fa8
trying to fix Dockerfile to autogenerate missing package.lock files
JJ-Author 7d6697e
deployment compose added, user integrity check added
holycrab13 41ec476
Merge branch 'dev' of github.com:dbpedia/databus into dev
holycrab13 5bbdeca
fixed error in dockerfile
holycrab13 d199721
collections not showing on first ever load fixed, accounts not indexi…
holycrab13 7afd8e3
fixed api key frontend bug, fixed old collections not showing up when…
holycrab13 aaa7435
added collection tests for CRUD and SPARQL retrieval, front end fix f…
holycrab13 60cd250
added newline to non-jsonld LD format responses, added test for TURTL…
holycrab13 5af2883
added the list of artifacts in a group and versions in an artifact fo…
holycrab13 bc9b080
webpack for issue 167
holycrab13 683edfe
added account name to collection list retrieval
bf39990
initialize isHidden state of local collection working copies
e8c2c86
webpack for previous commit
d103bab
only set isHidden for local if not set
16e3595
fixed deletion of legacy groups/artifacts
holycrab13 294931c
title validator fixed, content variant url encoding fixed
holycrab13 617d734
updated the swagger api and api generator, fixed an indexer bug
holycrab13 e9cdec2
fixed content variant bug in publish wizard
holycrab13 5adf9f1
fixed broken content variant delete button
holycrab13 5f3d4d5
fixed bulk insert in publish editor
holycrab13 0e8983f
added userdb migration to id pf, fixed publish wizard issues
holycrab13 ecb0b24
merged dev into master
holycrab13 62cbdc1
Action to generate files for Model docu with PHP magic
holycrab13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,6 @@ server/index | |
| server/keypair | ||
| server/sqlite | ||
| .git | ||
| node_modules | ||
| node_modules | ||
| server/node_modules | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Start Databus With AUTH0", | ||
| "program": "${workspaceFolder}/server/www", | ||
| "cwd": "${workspaceFolder}/server", | ||
| "runtimeArgs": [ | ||
| "--trace-warnings" | ||
| ], | ||
| "env": { | ||
| "DATABUS_RESOURCE_BASE_URL": "http://localhost:3000", | ||
| "DATABUS_NAME": "Local Databus", | ||
| "DATABUS_ABSTRACT": "Go ham", | ||
| "DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png", | ||
| "DATABUS_BANNER_COLOR": "\\#5b798d", | ||
| "DATABUS_DATABASE_URL": "http://localhost:3002", | ||
| "DATABUS_OIDC_ISSUER_BASE_URL": "https://kilt.eu.auth0.com", | ||
| "DATABUS_OIDC_CLIENT_ID": "e9eOLS9IkGvuyBl7cBorWUQTNgbqejhc", | ||
| "DATABUS_OIDC_REQUIRED_ROLE": "", | ||
| "DATABUS_OIDC_SECRET": "0RVo9jMnbhPnkR6Ttz0aXQRTcRuSz5DpqyUEjbbcbgRuGA4rbwCjnHM2cOlTrv9q", | ||
| "LOOKUP_BASE_URL": "http://localhost:3004", | ||
| "DATABUS_OIDC_USER_ID_PROPERTY": "sub", | ||
| "MAX_WORKERS": "1", | ||
| "METRICS_PORT": "3001" | ||
| } | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Start Databus With DBpedia Community Account", | ||
| "program": "${workspaceFolder}/server/www", | ||
| "cwd": "${workspaceFolder}/server", | ||
| "runtimeArgs": [ | ||
| "--trace-warnings" | ||
| ], | ||
| "env": { | ||
| "DATABUS_RESOURCE_BASE_URL": "http://localhost:3000", | ||
| "DATABUS_NAME": "Local Databus", | ||
| "DATABUS_ABSTRACT": "Go ham", | ||
| "DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png", | ||
| "DATABUS_BANNER_COLOR": "\\#5b798d", | ||
| "DATABUS_DATABASE_URL": "http://localhost:3002", | ||
| "DATABUS_OIDC_ISSUER_BASE_URL": "https://auth.dbpedia.org/realms/dbpedia", | ||
| "DATABUS_OIDC_CLIENT_ID": "databus-dev", | ||
| "DATABUS_OIDC_SECRET": "O55igP05y7iMlZdhweAEUjjhBIkiu0Mq", | ||
| "DATABUS_OIDC_USER_ID_PROPERTY": "sub", | ||
| "DATABUS_OIDC_REQUIRED_ROLE": "", | ||
| "LOOKUP_BASE_URL": "http://localhost:3004", | ||
| "MAX_WORKERS": "1", | ||
| "METRICS_PORT": "3001" | ||
| } | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Run Tests", | ||
| "runtimeExecutable": "npm", | ||
| "runtimeArgs": [ | ||
| "test" | ||
| ], | ||
| "console": "integratedTerminal", | ||
| "cwd": "${workspaceFolder}/server", | ||
| "env": { | ||
| "DATABUS_RESOURCE_BASE_URL": "http://localhost:3000", | ||
| "DATABUS_NAME": "Local Databus", | ||
| "DATABUS_ABSTRACT": "Go ham", | ||
| "DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png", | ||
| "DATABUS_BANNER_COLOR": "#5b798d", | ||
| "DATABUS_DATABASE_URL": "http://localhost:3002", | ||
| "DATABUS_OIDC_ISSUER_BASE_URL": "https://auth.dbpedia.org/realms/dbpedia", | ||
| "DATABUS_OIDC_CLIENT_ID": "databus-dev", | ||
| "DATABUS_OIDC_SECRET": "O55igP05y7iMlZdhweAEUjjhBIkiu0Mq", | ||
| "DATABUS_OIDC_REQUIRED_ROLE": "", | ||
| "DATABUS_OIDC_USER_ID_PROPERTY": "sub", | ||
| "LOOKUP_BASE_URL": "http://localhost:3004", | ||
| "MAX_WORKERS": "1", | ||
| "METRICS_PORT": "3001" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "editor.detectIndentation": true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,56 +1,50 @@ | ||
| <<<<<<< HEAD | ||
| # Use a consistent Node.js version across build and release stages | ||
| FROM node:23-slim AS builder | ||
| ======= | ||
| FROM docker.io/ubuntu:22.04 | ||
| >>>>>>> master | ||
|
|
||
| # Install node.js, Caddy as proxy server, and java. | ||
| RUN apt-get update && \ | ||
| apt-get -y install curl debian-keyring debian-archive-keyring apt-transport-https && \ | ||
| curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ | ||
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && \ | ||
| curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && \ | ||
| apt-get update && \ | ||
| apt-get -y install \ | ||
| nodejs \ | ||
| caddy \ | ||
| ca-certificates-java \ | ||
| openjdk-17-jdk \ | ||
| openjdk-17-jre && \ | ||
| rm -rf /var/lib/apt/lists/* && \ | ||
| node -v && \ | ||
| npm -v && \ | ||
| java -version | ||
|
|
||
| # Disable the proxy server by default: | ||
| ENV DATABUS_PROXY_SERVER_ENABLE=false | ||
|
|
||
| # When using the proxy, use ACME by default: | ||
| ENV DATABUS_PROXY_SERVER_USE_ACME=true | ||
|
|
||
| # When not using ACME, what is the name of the own certificate file? | ||
| ENV DATABUS_PROXY_SERVER_OWN_CERT="cert.pem" | ||
|
|
||
| # When not using ACME, what is the name of the own certificate's key file? | ||
| ENV DATABUS_PROXY_SERVER_OWN_CERT_KEY="key.pem" | ||
|
|
||
| # What is the hostname of this machine, when using the proxy server? | ||
| # It is necessary to know this, in order to set up ACME etc. | ||
| # Note: the host name should be identical to DATABUS_RESOURCE_BASE_URL, | ||
| # but without specifying a port, protocol i.e. HTTP(S) etc. | ||
| ENV DATABUS_PROXY_SERVER_HOSTNAME="my-databus.org" | ||
|
|
||
| # Define the volume for the TLS certificate: | ||
| VOLUME /tls | ||
|
|
||
| COPY ./server /databus/server | ||
| COPY ./public /databus/public | ||
| COPY ./search /databus/search | ||
| COPY ./model/generated /databus/model/generated | ||
|
|
||
| COPY ./setup.sh /databus/setup.sh | ||
|
|
||
| # Set up the NPM projects: | ||
| RUN cd /databus/server && \ | ||
| npm install && \ | ||
| cd ../public && \ | ||
| npm install | ||
| # Install Python for node-gyp (required for sqlite3 build) | ||
| RUN apt-get update && apt-get install -y python3 build-essential && \ | ||
| ln -s /usr/bin/python3 /usr/bin/python && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| WORKDIR /databus/server | ||
| COPY server/package*.json . | ||
| RUN --mount=type=bind,source=server/package.json,target=package.json \ | ||
| --mount=type=cache,target=/root/.npm \ | ||
| bash -c "if [ ! -f package-lock.json ]; then npm install --package-lock-only; fi && npm ci --omit=dev" | ||
|
|
||
| WORKDIR /databus/public | ||
| COPY public/package*.json . | ||
| RUN --mount=type=bind,source=public/package.json,target=package.json \ | ||
| --mount=type=cache,target=/root/.npm \ | ||
| bash -c "if [ ! -f package-lock.json ]; then npm install --package-lock-only; fi && npm ci --omit=dev" | ||
|
|
||
| WORKDIR / | ||
|
|
||
| # Copy source code | ||
| COPY server ./databus/server | ||
| COPY public ./databus/public | ||
| COPY search ./databus/search | ||
|
|
||
| # Rebuild sqlite3 in case it's a native module | ||
| # RUN cd databus/server && npm rebuild sqlite3 | ||
|
|
||
| FROM node:23-slim AS runtime | ||
|
|
||
| WORKDIR /databus | ||
| ENTRYPOINT [ "/bin/bash", "./setup.sh" ] | ||
|
|
||
| # Install only necessary system packages | ||
| RUN apt-get update && \ | ||
| apt-get install -y \ | ||
| curl \ | ||
| ca-certificates && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Copy app from build stage | ||
| COPY --from=builder /databus . | ||
|
|
||
| # Entrypoint | ||
| ENTRYPOINT [ "/bin/bash", "./server/setup.sh" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| #!/bin/bash | ||
|
|
||
| # VARIABLES | ||
|
|
||
| # Define a prefix for the backup filename | ||
| prefix="backup" | ||
|
|
||
| # Get the current date in YYYY-MM-DD format | ||
| date=$(date +%F) | ||
|
|
||
| # Compose the full filename with prefix and date | ||
| filename="${prefix}_${date}.tar.gz" | ||
|
|
||
| # Specify the local folder to compress | ||
| localFolder="/devenv/data" | ||
|
|
||
| # Target folder on the remote server to copy the file into | ||
| targetFolder="/path/to/remote/folder" | ||
|
|
||
| # Shut down the databus, adjust for stack | ||
| docker compose stop | ||
|
|
||
| # Create a tar.gz archive of the local folder with the composed filename | ||
| tar -czf "$filename" "$localFolder" | ||
|
|
||
| # Securely copy the archive to the remote server's target folder | ||
| scp "$filename" "$targetFolder" | ||
|
|
||
| # Remove the local tar.gz archive to clean up | ||
| rm "$filename" | ||
|
|
||
| # Restart the databus, adjust for stack | ||
| docker compose up -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| ####### DATABUS SETTINGS ####### | ||
| DATA_PATH="../../databus-data" | ||
| # RESOURCE BASE URL - This should match the DNS entry pointing to your server | ||
| DATABUS_RESOURCE_BASE_URL=http://localhost:3000 | ||
| # do not use qoutation marks for the value here and no trailing space | ||
| DATABUS_NAME=My Local Databus | ||
| DATABUS_ABSTRACT=A local instance for development | ||
| DATABUS_ORG_ICON= | ||
| DATABUS_BANNER_COLOR= # Default is #81b8b2 | ||
| DATABUS_TITLE_COLOR= # Default is white | ||
| # OIDC SETTINGS - Only use these values for testing and enter your own OIDC provider values | ||
| DATABUS_OIDC_ISSUER_BASE_URL=https://kilt.eu.auth0.com | ||
| DATABUS_OIDC_CLIENT_ID=K5PCEOr7OJGBGU9xN7SvBrX1RWDs4S4n | ||
| DATABUS_OIDC_SECRET=LiL_X1tzwRmReU3RO7kBlBdDopmVEGf4gj5Ve8No16kifyi3weXK7u6IS1Ttpl_q | ||
| DATABUS_PRIVATE_MODE=false | ||
|
|
||
| ####### DATABASE SETTINGS ####### | ||
| VIRTUOSO_USER=dba | ||
| VIRTUOSO_PASSWORD=onlyweknow | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
|
|
||
| # Install Instructions | ||
|
|
||
| ## Starting a local Databus | ||
|
|
||
| To start a local Databus instance | ||
|
|
||
| ``` | ||
| docker compose up | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: "databus-dockerized" | ||
| services: | ||
| databus: | ||
| image: "docker.io/dbpedia/databus:dev" | ||
| ports: | ||
| - 3000:3000 | ||
| - 3001:3001 | ||
| environment: | ||
| DATABUS_RESOURCE_BASE_URL: ${DATABUS_RESOURCE_BASE_URL} | ||
| DATABUS_DATABASE_URL: "http://gstore:8080" | ||
| LOOKUP_BASE_URL: "http://lookup:8082" | ||
| METRICS_PORT: "3001" | ||
| DATABUS_OIDC_ISSUER_BASE_URL: ${DATABUS_OIDC_ISSUER_BASE_URL} | ||
| DATABUS_NAME: ${DATABUS_NAME} | ||
| DATABUS_ABSTRACT: ${DATABUS_ABSTRACT} | ||
| DATABUS_ORG_ICON: ${DATABUS_ORG_ICON} | ||
| DATABUS_BANNER_COLOR: ${DATABUS_BANNER_COLOR} | ||
| DATABUS_OIDC_CLIENT_ID: ${DATABUS_OIDC_CLIENT_ID} | ||
| DATABUS_OIDC_SECRET: ${DATABUS_OIDC_SECRET} | ||
| DATABUS_PRIVATE_MODE: ${DATABUS_PRIVATE_MODE} # Private mode will only show metadata for logged-in users | ||
| volumes: | ||
| - ${DATA_PATH}/data/dav/:/databus/server/dav/ | ||
| - ${DATA_PATH}/data/sqlite/:/databus/server/sqlite | ||
| - ${DATA_PATH}/data/keypair/:/databus/server/keypair | ||
| gstore: | ||
| image: "docker.io/dbpedia/gstore" | ||
| environment: | ||
| STORAGE_USER: ${VIRTUOSO_USER} | ||
| STORAGE_PASS: ${VIRTUOSO_PASSWORD} | ||
| STORAGE_SPARQL_ENDPOINT_URI: http://virtuoso:8890/sparql | ||
| DEFAULT_JSONLD_LOCALHOST_CONTEXT: http://localhost:3000/res/context.jsonld | ||
| DEFAULT_JSONLD_LOCALHOST_CONTEXT_LOCATION: http://databus:3000/res/context.jsonld | ||
| ports: | ||
| - 3002:8080 | ||
| volumes: | ||
| - ${DATA_PATH}/data/gstore/repo:/gstore/git | ||
| - ${DATA_PATH}/data/gstore/logs:/gstore/logs | ||
| virtuoso: | ||
| image: "docker.io/openlink/virtuoso-opensource-7" | ||
| environment: | ||
| DBA_PASSWORD: ${VIRTUOSO_PASSWORD} | ||
| SPARQL_UPDATE: "true" | ||
| DEFAULT_GRAPH: ${DATABUS_RESOURCE_BASE_URL} | ||
| ports: | ||
| - 3003:8890 | ||
| volumes: | ||
| - ${DATA_PATH}/data/virtuoso:/database | ||
| entrypoint: /bin/bash -c " | ||
| echo 'grant SPARQL_LOAD_SERVICE_DATA to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
| echo 'grant SPARQL_SPONGE to \"SPARQL\";' >> /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
| echo 'grant SPARQL_SELECT_FED to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
| /virtuoso-entrypoint.sh" | ||
| lookup: | ||
| image: "docker.io/dbpedia/lookup:dev" | ||
| ports: | ||
| - 3004:8082 | ||
| volumes: | ||
| - ${DATA_PATH}/data/index/:/index | ||
| - ../search/servlet-config.yml:/resources/config.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove hardcoded secrets from version control.
The launch.json file contains hardcoded OIDC secrets that should not be committed to version control. These secrets provide authentication access and could be misused if exposed.
Replace hardcoded secrets with references to environment variables or a local .env file:
Additionally, consider adding
.vscode/launch.jsonto.gitignoreand providing a.vscode/launch.json.exampletemplate instead.Also applies to: 48-48, 75-75
🧰 Tools
🪛 Gitleaks (8.28.0)
[high] 23-23: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
(generic-api-key)
🤖 Prompt for AI Agents