Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Create a Lease Manager that's capable of getting a secret #6

Closed
8 tasks
fmitchell-r7 opened this issue Mar 31, 2016 · 0 comments · Fixed by #13
Closed
8 tasks

Create a Lease Manager that's capable of getting a secret #6

fmitchell-r7 opened this issue Mar 31, 2016 · 0 comments · Fixed by #13

Comments

@fmitchell-r7
Copy link
Contributor

The starting point for the LeaseManager class should be that it's capable of getting a secret. See #4 for the class interface. Tests around the Lease Manager should include:

  • The default status is PENDING
  • The status changes to READY when SecretProvider#initialize() succeeds
  • The status changes to PENDING when SecretProvider#initialize() fails
  • The default data is null
  • The data changes to a secret when SecretProvider#initialize() succeeds
  • The data changes to null when SecretProvider#initialize() fails
  • A "ready" event is emitted when SecretProvider#initialize() succeeds
  • SecretProvider#initialize() is called repeatedly until it succeeds
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant