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

Cloud functions ingest: backfill CLI tool + minor improvements #190

Merged
merged 71 commits into from
Nov 18, 2020

Conversation

jaketf
Copy link
Contributor

@jaketf jaketf commented Nov 11, 2020

This adds a CLI tool for backfilling notifications or running backfill concurrent invocations to cloud function's main method locally. Improve deafult naming convention regex to support yyyy/mm/dd/hh

TODOs:

  • improve CLI performance with ThreadPools
  • add cli tests
  • restructure tests
  • DRY up pytest fixtures
  • support cloud functions direct storage triggers (no pub/sub)

Jacob Ferriero and others added 8 commits November 17, 2020 10:00
…/main.py

Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
…ckfill.py

Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Co-authored-by: Daniel De Leo <danieldeleo@users.noreply.github.com>
Jacob Ferriero added 4 commits November 17, 2020 12:29
* use client libraray gsurl parser
* explicitly check kind == "storage#object"
* fix yapf / isort contention / non-determinism
* briefly cache redundant GCS API calls
* naming nits
@jaketf
Copy link
Contributor Author

jaketf commented Nov 18, 2020

CI is happy now !

@danieldeleo danieldeleo merged commit 7210f43 into GoogleCloudPlatform:master Nov 18, 2020
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

4 participants