Skip to content

Refactor of "session" and assorted related functions#39

Merged
sendqueery merged 16 commits intov1from
session-refactor
Aug 25, 2020
Merged

Refactor of "session" and assorted related functions#39
sendqueery merged 16 commits intov1from
session-refactor

Conversation

@sendqueery
Copy link
Collaborator

PR Goals:

  • Greatly reduce the number of rate-limited API calls we make
  • Move to use of paginated AWS functions to improve code readability
  • Update, improve, and add additional tests
  • Simplify EC2 tag retrieval
  • Improve performance of concurrent-safe methods

@sendqueery sendqueery requested a review from JordanFaust August 24, 2020 16:48
Copy link

@ncatelli ncatelli left a comment

Choose a reason for hiding this comment

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

Initial run through and manual testing lgtm

cmdutil.AddLimitFlag(cmd, 10, "Set a limit for the number of instance results returned per profile/region combination.")
cmdutil.AddTagFlag(cmd)
cmdutil.AddSessionNameFlag(cmd, "ssm-session")
addBaseFlags(cmd)

Choose a reason for hiding this comment

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

For the sake of linking #38

@sendqueery sendqueery merged commit d3fdee1 into v1 Aug 25, 2020
@sendqueery sendqueery deleted the session-refactor branch August 25, 2020 20:57
sendqueery added a commit that referenced this pull request Sep 3, 2020
* Greatly reduce the number of rate-limited API calls we make

* Move to use of paginated AWS functions to improve code readability

* Update, improve, and add additional tests

* Simplify EC2 tag retrieval

* Improve performance of concurrent-safe methods
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.

4 participants