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

DXCDT-90: Adding log streams support #495

Merged
merged 8 commits into from
Apr 19, 2022
Merged

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented Apr 14, 2022

✏️ Changes

Adding support for creating, updating and deleting log streams. There are several external dependencies that log streams integrate with (eventbridge, eventgrid, datadog, http, splunk, sumo) which makes this configuration management a bit tricky and subject to finicky failures, however through a combination of stripping payload fields on update and create (#496), the reliability of log stream management improves.

It is possible for log streams to be in a "suspended" state after some time, from what I can tell, that state switching is an outside process and you cannot put a log stream into a suspended state directly, nor can you reliably create or update suspended log streams, for that reason, the deploy CLI purposefully ignores those and will only manage those in an active or paused state.

🔗 References

Relevant Github issue: #254

🎯 Testing

Mocked integration tests added to bring this feature in line with the existing codebase's testing level.

@willvedd willvedd marked this pull request as ready for review April 14, 2022 22:30
@willvedd willvedd requested a review from a team as a code owner April 14, 2022 22:30
@willvedd willvedd merged commit 149108e into master Apr 19, 2022
@willvedd willvedd deleted the DXCDT-90-adding-log-streams branch April 19, 2022 18:08
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.

2 participants