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

HP-1520 Fix/ct gov #2556

Merged
merged 9 commits into from
Jun 4, 2024
Merged

HP-1520 Fix/ct gov #2556

merged 9 commits into from
Jun 4, 2024

Conversation

mfshao
Copy link
Contributor

@mfshao mfshao commented May 30, 2024

Link to JIRA ticket if there is one: https://ctds-planx.atlassian.net/browse/HP-1520

To support clinicaltrials.gov API V2 for HEAL CEDAR ingestion job

Improvements

  • HEAL CEDAR ingestion: don't update clinicaltrials.gov from CEDAR values

@@ -114,7 +114,7 @@ def update_filter_metadata(metadata_to_update):

def get_client_token(client_id: str, client_secret: str):
try:
token_url = f"http://revproxy-service/user/oauth2/token"
token_url = "http://revproxy-service/user/oauth2/token"
Copy link
Member

Choose a reason for hiding this comment

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

Can we change this to https? Snyk is throwing this url as an error. I know that this is hitting reverse proxy but I think that https will still probably work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I wasn't sure if https would work, I was going to tell security this is a false-positive. But I can definitely test the https change

Copy link
Contributor Author

@mfshao mfshao May 31, 2024

Choose a reason for hiding this comment

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

well, actually, it doesn't look like https gonna work for revproxy 😕 https://github.com/uc-cdis/cloud-automation/blob/master/kube/services/revproxy/revproxy-service.yaml#L8-L12

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, had a small chat with Jawad about this and it won't work as handling certs for all the services would be a huge issue we would have to maintain.

Copy link
Member

@MichaelLukowski MichaelLukowski left a comment

Choose a reason for hiding this comment

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

Everything looks good! Thanks for moving everything to the correct service rather than the revproxy.

@mfshao mfshao merged commit c1e0d38 into master Jun 4, 2024
5 checks passed
@mfshao mfshao deleted the fix/ct_gov branch June 4, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants