-
Notifications
You must be signed in to change notification settings - Fork 4
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
#32 - Remove codex references in settings #314
#32 - Remove codex references in settings #314
Conversation
michael-82
commented
Jul 2, 2024
•
edited
Loading
edited
- replace/rename codex references with mii or just feasibility
- package names remain unchanged
- please be aware that feasibility-deploy must be adapted to these changes (see corresponding PR)
cfb0f47
to
606cdd2
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #314 +/- ##
==========================================
Coverage 78.51% 78.51%
Complexity 547 547
==========================================
Files 135 135
Lines 2374 2374
Branches 143 143
==========================================
Hits 1864 1864
Misses 453 453
Partials 57 57 ☔ View full report in Codecov by Sentry. |
145ba84
to
bccbd8d
Compare
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.
change feasibility to dataportal - all occurences
remove ui - all occurences
@@ -77,7 +78,7 @@ services: | |||
environment: | |||
POSTGRES_USER: "guidbuser" | |||
POSTGRES_PASSWORD: "guidbpw" | |||
POSTGRES_DB: "codex_ui" | |||
POSTGRES_DB: "feasibility_ui" |
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.
change to dataportal
DATABASE_PORT: 5432 | ||
DATABASE_USER: "guidbuser" | ||
DATABASE_PASSWORD: "guidbpw" | ||
DATABASE_DBNAME: "feasibility_ui" |
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.
change feasibility to dataportal for all occurences
Dockerfile
Outdated
@@ -3,24 +3,24 @@ FROM eclipse-temurin:17-jre | |||
RUN apt update -yqq && apt upgrade -yqq && \ | |||
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/ | |||
|
|||
WORKDIR /opt/codex-feasibility-backend | |||
WORKDIR /opt/mii-feasibility-backend |
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.
dataportal
src/main/resources/application.yml
Outdated
username: ${FEASIBILITY_DATABASE_USER:codex-postgres} | ||
password: ${FEASIBILITY_DATABASE_PASSWORD:codex-password} | ||
url: jdbc:postgresql://${DATABASE_HOST:localhost}:${DATABASE_PORT:5432}/${DATABASE_DBNAME:feasibility_ui} | ||
username: ${DATABASE_USER:guidbuser} |
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.
dataportaluser
dataportalpw
@@ -63,8 +63,8 @@ public class FhirQueryTranslatorIT { | |||
@Container | |||
private final GenericContainer<?> flare = new GenericContainer<>(DockerImageName.parse("ghcr.io/num-codex/codex-flare:0.0.8")) | |||
.withExposedPorts(5000) | |||
.withFileSystemBind("ontology/codex-code-tree.json", "/opt/flare/src/query_parser/codex/codex-code-tree.json", READ_ONLY) | |||
.withFileSystemBind("ontology/codex-term-code-mapping.json", "/opt/flare/src/query_parser/codex/codex-mapping.json", READ_ONLY) | |||
.withFileSystemBind("ontology/mii-code-tree.json", "/opt/flare/src/query_parser/codex/codex-code-tree.json", READ_ONLY) |
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.
adjust to new file names
- replace/rename codex references with mii or just feasibility - package names remain unchanged
- add env variable for dbname in datasource url
- remove prefix from db env variables
- replace any feasibility, mii or ui references with dataportal references
bccbd8d
to
b7037b1
Compare
- change rolenames in tests
- fix wrong filename for ontology dl in github integration test
- fix wrong servicename in github action compose file