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

Support for SubmitCGAP in cgap-portal (C4-302) #192

Merged
merged 168 commits into from
Sep 18, 2020

Conversation

netsettler
Copy link
Contributor

@netsettler netsettler commented Aug 28, 2020

I'm putting this up as a draft PR for "early" review. It will still need more changes.
(There is corresponding support in SubmitCGAP repo on the kmp_file_uploads branch.)

Notes:

  • There are a number of missing unit tests. I have been doing a number of interactive tests to cover some of that, but obviously that's gotta be automated.
  • Please ignore the file src/encoded/commands/submit_metadata_bundle.py, which is out of date. I'll remove that on my next pass through. The right thing is to use the scripts in the SubmitCGAP repo.
  • @willronchetti, this version is using buckets named metadata-bundles-<s3_bucket_env>. Is it worth my renaming the buckets to contain the name elasticbeanstalk- like the other bucket envs do? I'm thinking probably yes, but if you don't think it's important I might leave it. Anyway, at this point it does get configured in the .ini files like we had talked about.

sbreiff added 30 commits May 29, 2020 13:57
Updating branch from master
Code broken down into smaller functions
Functions not all finished currently
Significant refactoring
Updating branch from master
Updating branch from master
Updating branch from master
Updating branch from master
@netsettler netsettler marked this pull request as ready for review September 8, 2020 19:29
@netsettler netsettler changed the title Support for SubmitCGAP Support for SubmitCGAP in cgap-portal (C4-302) Sep 8, 2020
@@ -374,15 +527,18 @@ def delete_messages(self, messages):
"""
failed = self.queue_manager.delete_messages(messages)
while True:
debuglog("Trying to delete messages")
Copy link
Contributor

Choose a reason for hiding this comment

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

Very minor point - I don't love this because we already have @debug_log decorator for routes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for local debugging. It only happens under make deploy.
Largely these can go away for production use once the tool is stable, without affecting anything.
This one can probably go away anyway.
debuglog itself is I think available from dcicutils.py so it should go away and just be imported.
I'll make a pass through to clean those things up separately.

@netsettler
Copy link
Contributor Author

netsettler commented Sep 18, 2020

OK, some of @sbreiff's work will follow in another PR after this. There was a last-minute permissions error discovered (see C4-311) that will be followed up under separate cover along with others in the SubmitCGAP (C4-190) epic.

@netsettler netsettler merged commit 7fd9d33 into master Sep 18, 2020
@netsettler netsettler deleted the kmp_submit_data_sans_upload_sbr2 branch September 25, 2020 13: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.

None yet

3 participants