-
Notifications
You must be signed in to change notification settings - Fork 53
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
Less aws requests #343
Less aws requests #343
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #343 +/- ##
============================================
- Coverage 23.72% 23.65% -0.08%
- Complexity 545 547 +2
============================================
Files 172 175 +3
Lines 8998 9038 +40
Branches 1225 1226 +1
============================================
+ Hits 2135 2138 +3
- Misses 6654 6692 +38
+ Partials 209 208 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* Usually a mixin would be used on an external class, but since we are changing one thing about a single class, it | ||
* seemed unnecessary to define a new view. | ||
*/ | ||
public abstract static class ProjectWithoutOtpServers { |
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.
I don't understand why this is needed. Isn't otpServers
omitted by default? The Mixin above is only needed to add the otpServers
property. Also, the comment is just copy pasta.
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.
Ah, you're right. Not sure why I added it.
|
||
/** | ||
* A MixIn to be applied to this OtpServer, for returning a single OtpServer, without EC2InstanceSummaries that | ||
* don't need to be written in JSON output. |
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.
This comment is inverted. The mixin is used to return a list of OtpServers.
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.
Comments need some cleanup and I'm not sure that ProjectWithoutOtpServers needs to exist.
I made the requested changes. |
Codecov Report
@@ Coverage Diff @@
## dev #343 +/- ##
=========================================
Coverage 24.01% 24.02%
- Complexity 560 561 +1
=========================================
Files 175 175
Lines 9055 9068 +13
Branches 1228 1231 +3
=========================================
+ Hits 2175 2179 +4
- Misses 6672 6681 +9
Partials 208 208
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
🎉 This PR is included in version 3.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Checklist
dev
before they can be merged tomaster
)Description
This PR is built on top of #341.
This PR does a few things to reduce the amount of AWS requests that are performed as follows:
This PR has a companion PR for the UI here: ibi-group/datatools-ui#615