Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractPlanner - Class in org.linkedin.glu.provisioner.impl.planner
Contains some skeleton/common code for planners
AbstractPlanner(null) - Constructor in AbstractPlanner
Define the touchpoint used by this planner
ActionDescriptorStepExecutor - Class in org.linkedin.glu.provisioner.deployment.impl
@author ypujante@linkedin.com
addActions(null) - Method in BaseAgentTouchpoint
Subclasses will provide their own actions
AGENT_NAME - Field in AgentConstants
AGENT_URI - Field in AgentConstants
AgentActionDescriptorFactory - Class in org.linkedin.glu.provisioner.impl.agent
Creates descriptors for actions that will use the agent touchpoint
AgentConstants - Interface in org.linkedin.glu.provisioner.impl.agent
Constants for the action descriptor factory and the touchpoint
AgentPlanner - Class in org.linkedin.glu.provisioner.impl.planner
Planner to upgrade the agent.
AgentTouchpoint - Class in org.linkedin.glu.provisioner.impl.agent
A touchpoint that interacts with the agent
AgentTouchpoint(AgentFactory, EncryptionKeysProvider) - Constructor in AgentTouchpoint
AgentUpgradeTouchpoint - Class in org.linkedin.glu.provisioner.impl.agent
A touchpoint that interacts with the agent for the upgrade
AgentUpgradeTouchpoint(AgentFactory, EncryptionKeysProvider) - Constructor in AgentUpgradeTouchpoint
areSameProps(def) - Method in InstallationsDelta
Return if the properties of the two installations are the same

B

BaseAgentTouchpoint - Class in org.linkedin.glu.provisioner.impl.agent
Common code between touchpoints.
BaseAgentTouchpoint(null, AgentFactory, EncryptionKeysProvider) - Constructor in BaseAgentTouchpoint

C

compare(null, null) - Method in ModifiedProperty
Compares the given map (key->value) of properties and returns a map of all the different ones, where the key is the key of the property and the value contains information about the change
computeDescription(null, Installation) - Method in DefaultDescriptionProvider
create(null) - Method in IAgentDescriptorFactory
Create the agent descriptor for the given host
createAll() - Method in IAgentDescriptorFactory
Create a descriptor for each agent in the system
createCleanupPlan(def, null) - Method in AgentPlanner
createCleanupPlan(def, null) - Method in IAgentPlanner
Create the plan to cleanup if for any reason the upgrade failed.
createPlan(null, Environment, Environment, IDescriptionProvider, null) - Method in DeploymentManager
createPlan(null, Environment, Environment, IDescriptionProvider, null) - Method in IDeploymentManager
Creates a deployment plan to migrate from the first environment to the second one
createPlan(Environment, Environment, IDescriptionProvider) - Method in IPlanner
Create a plan of action to provision the environment
createPlan(Environment, Environment, IDescriptionProvider) - Method in SimplePlanner
createTransitionPlan(null, null, null, null, null, IDescriptionProvider) - Method in AgentPlanner
Create a plan to go to the provided list of states (one after the other).
createTransitionPlan(null, null, null, null, null, IDescriptionProvider) - Method in IAgentPlanner
Create a plan to go to the provided list of states (one after the other).
createUpgradePlan(def, null, null) - Method in AgentPlanner
createUpgradePlan(def, null, null) - Method in IAgentPlanner
Create the plan to upgrade a set of agents to the new version.

D

DefaultDescriptionProvider - Class in org.linkedin.glu.provisioner.impl.agent
@author ypujante@linkedin.com
DeploymentManager - Class in org.linkedin.glu.provisioner.deployment.impl
@author ypujante@linkedin.com

E

ENCRYPTION_KEYS - Field in AgentConstants
executeAction(Agent, ActionDescriptor, def, def) - Method in BaseAgentTouchpoint
Executes the action.
executeLeafStep(LeafStep) - Method in ActionDescriptorStepExecutor
executePlan(Plan, IPlanExecutionProgressTracker) - Method in DeploymentManager
executePlan(Plan, IPlanExecutionProgressTracker) - Method in IDeploymentManager
Execute the provided plan.

F

findShortestPath(Installation, Installation, null) - Method in InstallationTransitions

G

getAction(ActionDescriptor) - Method in BaseAgentTouchpoint
getActionDescriptor(null, Installation, IDescriptionProvider) - Method in AgentActionDescriptorFactory
getActionNodes() - Method in Plan
Return the list of action descriptors ordered by:
getAvailableActions() - Method in AgentActionDescriptorFactory
getAvailableActions() - Method in InstallationTransitions
Returns all available actions
getBounceState() - Method in InstallationTransitions
getDestructiveTransitions() - Method in InstallationTransitions
Return the distructive actions
getExecuteParentToChild() - Method in Transition
Return if this transition should be executed first for the parent and then the children or the other way around
getFactory() - Method in BaseAgentTouchpoint
getFirst() - Method in InstallationsDelta
getGraph() - Method in Plan
Return the graph of actions on which the plan is based
getHost() - Method in IAgentDescriptor
The host of the agent
getHosts() - Method in Plan
Return the list of hosts affected by the plan.
getId() - Method in AgentActionDescriptorFactory
getId() - Method in BaseAgentTouchpoint
getId() - Method in InstallationsDelta
Return the id of the two installations
getInstallAction(ActionDescriptor) - Method in BaseAgentTouchpoint
getInstallations() - Method in IAgentDescriptor
Return the installations present on the agent
getInstallscriptAction(ActionDescriptor) - Method in AgentUpgradeTouchpoint
We need to provide a different action for install script because it uses a script class name
getInstallscriptAction(ActionDescriptor) - Method in BaseAgentTouchpoint
getModifiedProps() - Method in InstallationsDelta
Return the map of properties that differ between the two installations.
getPhases() - Method in Plan
Return the list of phases that are present in the plan.
getReinstallState() - Method in InstallationTransitions
getSecond() - Method in InstallationsDelta
getStateMachine() - Method in InstallationTransitions
getThroughState(Installation, Installation) - Method in InstallationTransitions
Given the two installations, it returns a (optional) through state that needs to be used by the children of this installation
getUninstallAction(ActionDescriptor) - Method in BaseAgentTouchpoint
getUninstallscriptAction(ActionDescriptor) - Method in BaseAgentTouchpoint

H

HOST_PN - Field in Plan
The name of the property that contains the host

I

IAgentDescriptor - Interface in org.linkedin.glu.provisioner.impl.agent
Provides access to agent information
IAgentDescriptorFactory - Interface in org.linkedin.glu.provisioner.impl.agent
Factory for agent descriptors
IAgentPlanner - Interface in org.linkedin.glu.provisioner.api.planner
@author ypujante@linkedin.com
ID - Field in AgentConstants
ID - Field in AgentTouchpoint
ID - Field in AgentUpgradeTouchpoint
IDeploymentManager - Interface in org.linkedin.glu.provisioner.deployment.api
The deployment manager
INSTALLATION_NAME - Field in AgentConstants
InstallationsDelta - Class in org.linkedin.glu.provisioner.impl.planner
Describes the delta between two installations
InstallationsDelta(Installation, Installation) - Constructor in InstallationsDelta
InstallationTransitions - Class in org.linkedin.glu.provisioner.impl.planner
Uses a standard state machine and adds some extra information that is used by the provisioner to compute transitions
InstallationTransitions(StateMachine, null, null, null) - Constructor in InstallationTransitions
INSTANCE - Field in AgentActionDescriptorFactory
IPlanner - Interface in org.linkedin.glu.provisioner.api.planner
A planner.
isInstall() - Method in InstallationsDelta
Return if the delta represents a new installation
isSame(null) - Method in InstallationsDelta
Generic call to compare 2 fields
isSameHost() - Method in InstallationsDelta
Return if the host of the two installations is the same
isSameInstallation(def) - Method in InstallationsDelta
Return if the only difference between the installations is in the properties (that is, they are the same installation but with different properties) or in the state.
isSameMount() - Method in InstallationsDelta
Return if the mount point of the two installations is the same
isSameName() - Method in InstallationsDelta
Return if the name of the two installations is the same
isSameParent() - Method in InstallationsDelta
Return if the parent of the two installations is the same
isSameScript() - Method in InstallationsDelta
Return if the script used by the two installations is the same
isSameState() - Method in InstallationsDelta
Return if the state of the installations is the same
isUninstall() - Method in InstallationsDelta
Return if the delta represents an installation to remove
isUpdate() - Method in InstallationsDelta
Return if the delta represents an update in an existing installation

J


K


L

log - Field in AgentTouchpoint
log - Field in AgentUpgradeTouchpoint
log - Field in BaseAgentTouchpoint
log - Field in SimplePlanner

M

ModifiedProperty - Class in org.linkedin.glu.provisioner.impl.planner
Describes a property that has been modified
ModifiedProperty(def) - Constructor in ModifiedProperty
MODULE - Field in AgentTouchpoint
MODULE - Field in AgentUpgradeTouchpoint
MODULE - Field in BaseAgentTouchpoint
MODULE - Field in SimplePlanner
MOUNT_POINT - Field in AgentConstants

N

NAME_PN - Field in Plan
The name of the property that contains the installation name
NO_SCRIPT - Field in InstallationTransitions

O


P

PARENT - Field in AgentConstants
parse(def) - Method in PlanParser
PHASE_PN - Field in Plan
The name of the property that contains the phase
PHASES - Field in Plan
The main phases, in the order of execution NOTE RF: the reason why the phases are in this order is because this will be the order of execution.
Plan - Class in org.linkedin.glu.provisioner.api.planner
An action plan
Plan(Graph) - Constructor in Plan
PlanParser - Interface in org.linkedin.glu.provisioner.api.planner
@author ypujante@linkedin.com

Q


R


S

SCRIPT_LOCATION - Field in AgentConstants
setFieldExcludes(def) - Method in SimplePlanner
setPropsExcludes(def) - Method in SimplePlanner
SimplePlanner - Class in org.linkedin.glu.provisioner.impl.planner
The simple planner computes the delta in the environments and creates the action descriptors to bridge the gap
SimplePlanner(null) - Constructor in SimplePlanner

T

toBeAdded() - Method in ModifiedProperty
Return if the property was not present before and needs to be added now
toBeRemoved() - Method in ModifiedProperty
Return if the property was present before but needs to be removed now
Transition - Class in org.linkedin.glu.provisioner.impl.planner
Describes a transition in the environment

U


V


W

withAgent(null) - Method in IAgentDescriptor
Executes the closure, providing an agent to it

X


Y


Z


_

_factories - Field in AbstractPlanner

Groovy Documentation