-
Notifications
You must be signed in to change notification settings - Fork 15
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
add options to connect to database for c. annotation #13
base: master
Are you sure you want to change the base?
Conversation
@@ -98,4 +98,67 @@ public void fetchVepAnnotationByRegionsPOST( | |||
return; | |||
} | |||
|
|||
@RequestMapping(value = "/vep/human/hgvsc/{hgvsc}", |
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.
Since database is optional, should we hide or disable this endpoint when no database?
} | ||
} | ||
|
||
@RequestMapping(value = "/vep/human/hgvsc", |
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.
Same here, should we hide or disable this endpoint when no database?
@Value("${database.grch37.host}") | ||
private String grch37DatabaseHost; | ||
|
||
@Value("${database.grch37.port}") | ||
private String grch37DatabasePort; | ||
|
||
@Value("${database.grch37.user}") | ||
private String grch37DatabaseUser; | ||
|
||
@Value("${database.grch37.password}") | ||
private String grch37DatabasePassword; | ||
|
||
@Value("${database.grch38.host}") | ||
private String grch38DatabaseHost; | ||
|
||
@Value("${database.grch38.port}") | ||
private String grch38DatabasePort; | ||
|
||
@Value("${database.grch38.user}") | ||
private String grch38DatabaseUser; | ||
|
||
@Value("${database.grch38.password}") | ||
private String grch38DatabasePassword; |
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.
let's use similar setup here as for the genome nexus backend (one vep per genome nexus instance), so maybe this can be simplified to database.host
database.port
etc
remove password
04056fe
to
9903e84
Compare
Add support for connecting to MySQL database to annotate c. variants