Skip to content

Instantly share code, notes, and snippets.

@grkvlt
Created August 28, 2015 13:34
Show Gist options
  • Select an option

  • Save grkvlt/df6203e8e838e71a73c5 to your computer and use it in GitHub Desktop.

Select an option

Save grkvlt/df6203e8e838e71a73c5 to your computer and use it in GitHub Desktop.
New Entities for Brooklyn

New Entities

BlueGreenCluster

An upgradeable (with roll-back) cluster of services.

ServiceProxy

Starts the service if it does not exist, otherwise uses the existing service but presents its sensors as a proxy feed.

ExternalService

Pointer to a single external service, configured as a URL or something.

AgentPolicy

A policy that creates a child entity based on whether entities in an application match some criteria.

WebCallbackEffector

An effector that pings an external URL when activated.

WebCallbackPolicy

A policy that pings an external URL when a sensor value changes to match some predicate.

ScriptEffector

An effector that executes some script defined in a JVM language, in the context of the entity.

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