Skip to content
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

update the docker entrypoint for spring #10537

Closed
wants to merge 2 commits into from

Conversation

nr23730
Copy link
Contributor

@nr23730 nr23730 commented Jan 11, 2024

As 6.0.0 migrated to spring db I propose to also change this in the docker-entrypoint script. Then the db settings in the application.properties only need to be defined once.

Goes together with: cBioPortal/cbioportal-core#3

@nr23730 nr23730 force-pushed the dockerSpringEntrypoint branch from c6000a7 to 23f3d65 Compare January 12, 2024 15:21
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Member

@inodb inodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Good catch! Thanks so much @nr23730 !

```
db.tomcat_resource_name=jdbc/cbioportal
```
:warning: The fields `db.host` and `db.portal_db_name` and `db.use_ssl` and `db.connection_string` are deprecated. It is required to configure the database connection using
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Fix.

Before we completely remove the legacy properties we need to remove them from the cbioportal-core repo

https://github.com/cBioPortal/cbioportal-core/blob/1fe20d936017cdccd4d5da657bef758c56e3b711/src/main/java/org/mskcc/cbio/portal/util/DatabaseProperties.java#L61

Copy link
Collaborator

@haynescd haynescd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@inodb
Copy link
Member

inodb commented Apr 11, 2024

@haynescd will look whether these changes are still necessary (lot of it has been updated in master now)

@haynescd
Copy link
Collaborator

@nr23730 Can you rebase this branch with master. I think we accidentally got some of these changes in already

@nr23730
Copy link
Contributor Author

nr23730 commented Apr 16, 2024

@haynescd All relevant parts are already in master. So closing this.

@nr23730 nr23730 closed this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants