-
Notifications
You must be signed in to change notification settings - Fork 133
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 additional logging to custom import task #1069
Add additional logging to custom import task #1069
Conversation
/retest |
@@ -94,3 +104,11 @@ def import_and_auto_approve(temp_file_pk, **kwargs): | |||
log.info('Imported and auto approved collection artifact %s to repository %s', | |||
collection_version.relative_path, | |||
golden_repo.latest_version()) | |||
|
|||
if settings.GALAXY_ENABLE_API_ACCESS_LOG: |
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.
are there any unit or functional tests for api logging where this msg could be added?
Issue: AAH-1018
Issue: AAH-1018
Issue: AAH-1018
Issue: AAH-1018
Add namespace delete util method Add collection delete util method Issue: AAH-1018
Updated test_upload_collection to cleanup uploaded collection Issue: AAH-1018
1948021
to
9d5fcef
Compare
737a792
to
ca4292b
Compare
Issue: AAH-1018
Backport to stable-4.4: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply e74ea6b on top of patchback/backports/stable-4.4/e74ea6b1b7cb51594b3174d12554e5e4ea9717f7/pr-1069 Backporting merged PR #1069 into master
🤖 @patchback |
* Backport ed72e26 (#993) * Refactoring + speeding up tests (#1002) * Replace pulp.pulp_installer with pulp.squeezer to speed upload test ansible-lint takes too much time on pulp.pulp_installer, using pulp.squeezer to get a faster test * Refactor functional tests No-Issue (cherry picked from commit 24f28be) * Allow functional test configuration of URL and PASSWORD (#1026) Issue: AAH-1015 (cherry picked from commit ab38653) * Test Container Repository Tags endpoint (#1032) * Add functional test for Container Repository Tags endpoint Issue: AAH-906 (cherry picked from commit ada466b) * Enable azure test at nightly latest workflow (#1005) * Enable azure test at nightly latest workflow No-Issue (cherry picked from commit 7c6643e) * Add functional tests for manifest lists (#1047) * Add functional tests for AAH-964 Issue: AAH-964 * add cleanups (cherry picked from commit 2a492fb) * Backport e74ea6b (#1069) * Move container test to api dir (#1035) No-Issue (cherry picked from commit 3bc4d42) Co-authored-by: Fabricio Aguiar <[email protected]> Co-authored-by: Bruno Rocha <[email protected]> Co-authored-by: Brian McLaughlin <[email protected]>
Adds conditional logging based on if
GALAXY_ENABLE_API_ACCESS_LOG
is enabled then logs collection details to the api access log in thegalaxy_ng_worker_1
container where the uploads occur.Log:
Issue: AAH-1018