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

Implement new state machine #4

Closed
denismo opened this issue Jan 5, 2015 · 2 comments
Closed

Implement new state machine #4

denismo opened this issue Jan 5, 2015 · 2 comments

Comments

@denismo
Copy link
Owner

denismo commented Jan 5, 2015

the new state machine with activate state

  1. Activate - active state
  2. activeByDefault resources
  3. Root is active by default
  4. When child attaches to parent which is active, its "activate" handler is immediately triggered
@denismo
Copy link
Owner Author

denismo commented Jan 7, 2015

Changed: Register -> REGISTERED -> Activate -> PENDING_ACTIVATION -...> ACTIVE
Pending activation reflects the asynchronous nature of typical AWS resources. ACTIVE for EC2 instance would mean "running".

@denismo
Copy link
Owner Author

denismo commented Jan 11, 2015

PENDING_ACTIVATION is an explicit state. By default, if Activate succeeded, and at the end of Activate the resource is in REGISTERED state, it'll be transitioned to the ACTIVE state. Any handler wishing to delay that can transition the resource to PENDING_ACTIVATION during Activate handling, and the default handling will be disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant