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

Add Support for Log Streams Management APIs #451

Merged
merged 3 commits into from
Aug 27, 2020
Merged

Add Support for Log Streams Management APIs #451

merged 3 commits into from
Aug 27, 2020

Conversation

jimmyjames
Copy link
Contributor

Description

This PR adds support for the Log Streams APIs available in the Management API. The following new methods are added:

  • Auth0\SDK\API\Management\LogStreams::getAll()
  • Auth0\SDK\API\Management\LogStreams::get($log_stream_id)
  • Auth0\SDK\API\Management\LogStreams::create($data)
  • Auth0\SDK\API\Management\LogStreams::update($log_stream_id, $data)
  • Auth0\SDK\API\Management\LogStreams::delete($log_stream_id)

References

Testing

Unit tests are added. I did develop an integration test to verify locally, but am not including it on the PR as there are limits on the number of Log Streams that can be created (limit is two), and any failure to clean up the created data or pause the Log Stream would lead to unnecessary resource usage.

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@jimmyjames jimmyjames requested a review from a team August 25, 2020 22:45
@jimmyjames jimmyjames added this to the 7.2.1 milestone Aug 27, 2020
@jimmyjames jimmyjames merged commit 4519c9b into master Aug 27, 2020
@jimmyjames jimmyjames modified the milestones: 7.2.1, 7.3.0 Aug 27, 2020
@evansims evansims deleted the log-streams branch December 29, 2020 04:02
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants