-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: Add enterprise license endpoints #3755
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
base: master
Are you sure you want to change the base?
feat: Add enterprise license endpoints #3755
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3755 +/- ##
==========================================
+ Coverage 91.11% 91.13% +0.01%
==========================================
Files 187 188 +1
Lines 16702 16731 +29
==========================================
+ Hits 15218 15247 +29
Misses 1296 1296
Partials 188 188 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a04735c
to
b3b7258
Compare
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.
Thank you, @MathewClegg!
Another thing we try to do in this repo is err on the side of using omitempty
(with field type pointers) in the JSON field tags because GitHub is known to add/remove fields from structs, and by standardizing we also get the benefits of the auto-generated getters for fields.
Add GetConsumedLicenses and GetLicenseSyncStatus methods to EnterpriseService for retrieving license consumption data and sync status for Enterprise Server instances. Fixes google#3754 Signed-off-by: Mathew Clegg <mathew.clegg@live.se>
b3b7258
to
fec22d2
Compare
As explained in CONTRIBUTING.md, please do not use force-push in PRs in this repo, as it makes it difficult for reviewers to see what changed since their last review. Thanks. |
Thank you so much for your review. I'll make sure to not force push next time |
Add nil-safe getter methods for ServerInstanceProperties, ServerInstances, ServiceInstanceItems, and ServerItemProperties to follow go-github patterns Signed-off-by: Mathew Clegg <mathew.clegg@live.se>
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.
Thank you, @MathewClegg!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
cc: @stevehipwell - @alexandear - @zyfy29
Add GetConsumedLicenses and GetLicenseSyncStatus methods to EnterpriseService for retrieving license consumption data and sync status for Enterprise Server instances.
Fixes #3754