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

Move agent/async to ecs-agent/ + add SetTTL method #3953

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

danehlim
Copy link
Contributor

@danehlim danehlim commented Oct 6, 2023

Summary

Move async package from agent module to ecs-agent module and also add to the package a SetTTL method for TTL cache. These are required for future changes in ecs-agent module that depend on this package and new method. If the async package is not moved, then in the future a dependency cycle could be introduced in which the ecs-agent module depends on agent module while the agent module already depends on ecs-agent module.

Implementation details

  • Moves files fromagent/async/ to ecs-agent/async/
  • Update dependent imports accordingly
  • Add SetTTL method for TTL cache
  • Regenerate async package mocks

Testing

Unit, integration, and functional tests.

New tests cover the changes: yes

Description for the changelog

Move agent/async to ecs-agent/ + add SetTTL method

Does this PR include breaking model changes? If so, Have you added transformation functions?
No

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@danehlim danehlim marked this pull request as ready for review October 6, 2023 21:37
@danehlim danehlim requested a review from a team as a code owner October 6, 2023 21:37
@danehlim danehlim marked this pull request as draft October 6, 2023 21:40
@danehlim danehlim marked this pull request as ready for review October 6, 2023 22:25
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