generated from GenomicDataInfrastructure/oss-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from GenomicDataInfrastructure/main
chore: promote main changes
- Loading branch information
Showing
56 changed files
with
1,705 additions
and
1,669 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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,18 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
SPDX-License-Identifier: CC-BY-4.0 | ||
--> | ||
## To Run the application locally | ||
|
||
* Create a new file named .env.secrets in infra/config by copying .env.secrets.template and updating the secret values | ||
* To build and start the docker image using your local changes Run the script | ||
|
||
```bash | ||
./start.sh | ||
``` | ||
* To stop the application run the below script | ||
|
||
```bash | ||
./stop.sh | ||
``` |
This file contains 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,15 @@ | ||
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Common Quarkus | ||
QUARKUS_OIDC_AUTH_SERVER_URL=https://id.portal.dev.gdi.lu/realms/gdi | ||
QUARKUS_OIDC_CLIENT_ID=gdi | ||
QUARKUS_LOG_LEVEL=DEBUG | ||
QUARKUS_OTEL_METRICS_ENABLED=false | ||
|
||
|
||
# Dataset Discovery Service | ||
QUARKUS_REST_CLIENT_CKAN_YAML_URL=https://catalogue.portal.dev.gdi.lu/ | ||
QUARKUS_REST_CLIENT_BEACON_YAML_URL=https://beacon-network-backend-demo.ega-archive.org/beacon-network | ||
QUARKUS_REST_CLIENT_KEYCLOAK_YAML_URL=https://id.portal.dev.gdi.lu/realms/gdi | ||
QUARKUS_REST_CLIENT_KEYCLOAK_YAML_BEACON_IDP_ALIAS=LSAAI |
This file contains 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,4 @@ | ||
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
QUARKUS_OIDC_CREDENTIALS_SECRET= if you do not have one ask your colleagues to share this with you |
This file contains 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,18 @@ | ||
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
dataset-discovery-service: | ||
container_name: dds | ||
image: local/dds:latest | ||
build: | ||
context: ../ | ||
restart: unless-stopped | ||
ports: | ||
- "8080:8080" | ||
env_file: | ||
- ./config/.env | ||
- ./config/.env.secrets | ||
healthcheck: | ||
test: ["CMD", "curl", "-o", "/dev/null", "http://localhost:8080/q/health"] |
This file contains 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,24 @@ | ||
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
#!/bin/bash | ||
|
||
cd ../ | ||
|
||
# Run Maven build | ||
echo "Building the application ..." | ||
|
||
if ! mvn clean package -Dnative -Dquarkus.native.container-build=true; then | ||
echo "Maven build failed. Please check the output for errors." | ||
exit 1 | ||
fi | ||
|
||
echo "Maven build completed successfully." | ||
|
||
echo "Building application docker image" | ||
docker build -t local/dds . | ||
|
||
echo "Docker image build completed successfully." | ||
|
||
echo "Starting application" | ||
docker-compose -f ./infra/docker-compose.yml up |
This file contains 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,6 @@ | ||
# SPDX-FileCopyrightText: 2024 PNED G.I.E. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
#!/bin/bash | ||
|
||
docker-compose down |
This file contains 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
21 changes: 0 additions & 21 deletions
21
...main/java/io/github/genomicdatainfrastructure/discovery/api/OrganizationQueryApiImpl.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
...nomicdatainfrastructure/discovery/datasets/application/ports/OrganizationsRepository.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...atainfrastructure/discovery/datasets/application/usecases/RetrieveOrganizationsQuery.java
This file was deleted.
Oops, something went wrong.
This file contains 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.