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

Close resource and update provider status #65

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

lavenderses
Copy link
Owner

What

Add

  • Provider status transition
  • appropreate resource closing

close #48.

How

clients

By implementing AutoClosable.
Implemented close to close clients and its properties. And also status transition is also implemented in it.

AwsAppConfigAgentProxy is just containing HTTP client instance. So nothing is done on close method.

thread

Terminate and log it in ScheduledTaskExecutor#close.
This task manager tries one retry of Executor termination. If it gave up, throws an exception.

Notes

N/A

@lavenderses lavenderses added enhancement New feature or request requirements Implementation for OpenFeature Provider requirements labels Jun 5, 2024
@lavenderses lavenderses self-assigned this Jun 5, 2024
Copy link
Owner Author

@lavenderses lavenderses left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lavenderses lavenderses merged commit 173ec56 into main Jun 5, 2024
4 checks passed
@lavenderses lavenderses deleted the lavenderses/issue-48 branch June 5, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request requirements Implementation for OpenFeature Provider requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provider status
1 participant