Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Netflix/maestro
/ functions
Functions
5,171 in github.com/Netflix/maestro
⨍
Functions
5,171
◇
Types & classes
1,132
↓ 24 callers
Method
of
(String s)
netflix-sel/src/main/java/com/netflix/sel/type/SelDouble.java:39
↓ 24 callers
Method
parseWorkflowParameter
Evaluate a given parameter using available workflow params. @param workflowId workflow id @param workflowParams available workflow parameters @param
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/ParamEvaluator.java:95
↓ 24 callers
Method
requester
Builder for initiator.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:222
↓ 23 callers
Method
compareTo
By default, the event is ordered by its timestamp.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineEvent.java:48
↓ 23 callers
Method
generateMergedStepParams
Merge parameters in step definition and step runtime. <p>It includes all runtime params from step definition and step runtime injection and condition
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsManager.java:133
↓ 23 callers
Method
getStatusCode
Get status code. @return status code of the exception
maestro-common/src/main/java/com/netflix/maestro/exceptions/MaestroRuntimeException.java:70
↓ 23 callers
Method
getStepInstance
Get step instance from DB for a given step instance attempt.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:343
↓ 23 callers
Method
setEvaluatedResult
set parameter evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:71
↓ 23 callers
Method
startFlow
Start a maestro flow. @param groupId group id to group flow instances @param flowId the flow id, which must be unique, e.g. a random uuid @param flow
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FlowOperation.java:43
↓ 23 callers
Method
toParameter
Convert a parameter definition to an un-evaluated parameter instance.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:64
↓ 23 callers
Method
tryGetAction
Get the step action. If failed to get the action, treat it as no action in DB. The caller is expected to check the action again.
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceActionDao.java:502
↓ 23 callers
Method
upsertTriggerSubscription
Upsert workflow trigger subscription to external service. @param workflow workflow includes triggers @param current current active trigger uuids @par
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/TriggerSubscriptionClient.java:30
↓ 22 callers
Method
asLong
get evaluated LONG type (Java Long type) param result. @return evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:144
↓ 22 callers
Method
assignOps
(SelOp op, SelType rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelMap.java:84
↓ 22 callers
Method
calculatePlannedExecutions
Calculate executions for time triggers. @param timeTriggerWithWatermarks an array of time triggers with watermark @param workflowId used by fuzzy cro
maestro-timetrigger/src/main/java/com/netflix/maestro/timetrigger/utils/TimeTriggerExecutionPlanner.java:50
↓ 22 callers
Method
computeAggregatedView
Computes aggregated view representation based on passed instance. Also computes aggregated status. @param workflowInstance Aggregate from run 1 to pa
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/AggregatedViewHelper.java:106
↓ 22 callers
Method
getParent
Get the parent of the current workflow instance.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/Initiator.java:86
↓ 22 callers
Method
getRule
get validation rule.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamValidator.java:31
↓ 22 callers
Method
getTransition
Get job transition info (successors only).
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/Job.java:20
↓ 22 callers
Method
of
Static method to create a RuntimeOverview.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRuntimeOverview.java:58
↓ 22 callers
Method
setParams
set and wrap step params.
maestro-common/src/main/java/com/netflix/maestro/models/instance/StepInstance.java:111
↓ 22 callers
Method
testWorkflowUpdate
( WorkflowDefinition wfd, boolean active, Boolean timeTriggerDisabled, Boolean signalT
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroWorkflowDaoTest.java:248
↓ 22 callers
Method
withRetryableUpdate
Initialize a new transactional {@link Connection} PreparedStatement {@link PreparedStatement} from {@link #dataSource} and pass it to {@literal statem
maestro-database/src/main/java/com/netflix/maestro/database/AbstractDatabaseDao.java:278
↓ 21 callers
Method
addOne
Add given iteration info including its rollup overview to the foreach step overview.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:86
↓ 21 callers
Method
dequeueWithRunStrategy
Dequeue workflow instances considering the current run strategy. It won't update the instance state but will always deterministically send out the run
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDao.java:679
↓ 21 callers
Method
doubleVal
()
netflix-sel/src/main/java/com/netflix/sel/type/SelDouble.java:47
↓ 21 callers
Method
execute
Customized step execution logic. <p>While the step status is RUNNING, the code in execute() will be called periodically with a preset polling interva
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:156
↓ 21 callers
Method
getFinishedTasks
This is thread safe and can be called by flow's task actors directly.
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Flow.java:101
↓ 21 callers
Method
getGenericWorkflowInstance
Below are helper methods for tests to create sample WorkflowInstance and StepInstance.
maestro-engine/src/test/java/com/netflix/maestro/engine/utils/AggregatedViewHelperTest.java:880
↓ 21 callers
Method
getPausedStepAttempts
Get all step attempts paused via breakpoint identifier. @param workflowId workflowId identifier for the breakpoint. @param version workflow version i
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:478
↓ 21 callers
Method
jjStartNfa_0
(int pos, long active0, long active1)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:118
↓ 21 callers
Method
jjtGetChild
This method returns a child node. The children are numbered from zero, left to right.
netflix-sel/src/main/java/com/netflix/sel/ast/Node.java:29
↓ 21 callers
Method
run
()
maestro-engine/src/test/java/com/netflix/maestro/engine/params/ParamsMergeHelperTest.java:338
↓ 21 callers
Method
translate
Translate function. @param definition source definition data @return translated data
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/Translator.java:35
↓ 21 callers
Method
upsertTagPermit
( String tag, int limit, User user, Map<String, Object> extraInfo)
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/TagPermitManager.java:38
↓ 20 callers
Method
cloneTask
Make a full copy of the task. It is thread safe. @param task task to clone @return cloned task object
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/ExecutionPreparer.java:28
↓ 20 callers
Method
containsChild
(String ref)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:125
↓ 20 callers
Method
getIdentity
Get the identity of the step context.
maestro-kubernetes/src/main/java/com/netflix/maestro/engine/kubernetes/KubernetesStepContext.java:54
↓ 20 callers
Method
getTagPermit
(String tag)
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/TagPermitManager.java:45
↓ 20 callers
Method
intVal
()
netflix-sel/src/main/java/com/netflix/sel/type/SelLong.java:53
↓ 20 callers
Method
setPredecessors
set predecessors.
maestro-common/src/main/java/com/netflix/maestro/models/definition/StepTransition.java:49
↓ 20 callers
Method
verifyEmptyAction
(BaseActor actor)
maestro-flow/src/test/java/com/netflix/maestro/flow/actor/ActorBaseTest.java:49
↓ 19 callers
Method
addFinishedTask
Add a finished task to the finished task map. FinishedTasks map only keeps the latest attempt per task ref name. It might contain the dummy tasks. @p
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Flow.java:78
↓ 19 callers
Method
asInt
Gets the int value of the ParsableLong.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:85
↓ 19 callers
Method
asLongParamDef
get LONG type (Java Long type) paramDefinition. @return concrete parameter definition object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:176
↓ 19 callers
Method
box
(Object o)
netflix-sel/src/main/java/com/netflix/sel/type/SelTypeUtil.java:84
↓ 19 callers
Method
childrenAccept
(SelParserVisitor visitor, Object data)
netflix-sel/src/main/java/com/netflix/sel/visitor/SelBaseNode.java:35
↓ 19 callers
Method
computeDag
Build a DAG including all step ids and their transitional relations for the given workflow definition and optional start step ids and end step ids. @
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/WorkflowGraph.java:175
↓ 19 callers
Method
eval
Parse an input param's literal value with the string interpolation support.
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/LiteralEvaluator.java:77
↓ 19 callers
Method
existFlowWithSameKeys
Used to get if there is any flow instance with this flow keys.
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:162
↓ 19 callers
Method
insertOrUpdateForeachFlattenedModel
(ForeachFlattenedModel model)
maestro-extensions/src/main/java/com/netflix/maestro/extensions/dao/MaestroForeachFlattenedDao.java:141
↓ 19 callers
Method
isLiteral
true if the parameter is defined as a literal; false if it is a sel expression.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:92
↓ 19 callers
Method
onFlowFinalized
Callback logic to run when a flow is finalized. @param flow flow for the callback
maestro-flow/src/main/java/com/netflix/maestro/flow/runtime/FinalFlowStatusCallback.java:30
↓ 19 callers
Method
startWorkflowBatchRuns
Starts the maestro workflow. @param workflowId the workflow id @param version the workflow version @param workflowTriggerUuid the workflow trigger uu
maestro-timetrigger/src/main/java/com/netflix/maestro/timetrigger/utils/MaestroWorkflowLauncher.java:46
↓ 18 callers
Method
asDoubleArray
get evaluated DOUBLE_ARRAY type (Java double[] type) param result. @return evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:198
↓ 18 callers
Method
createPausedStepAttemptIfNeeded
Decide if step should transition to the PAUSE state. Also create paused step attempt. Step can only be paused if a breakpoint is created matching the
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:585
↓ 18 callers
Method
createWorkflowInstance
Create a workflow instance based on the workflow info, e.g. definition, run request, etc. @param workflowDef versioned workflow definition @param int
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/WorkflowHelper.java:60
↓ 18 callers
Method
getStepBreakPoints
Get step breakpoints for step identifiers. It supports layered look up. For e.g. is user has asked to provide all breakpoints for specific step attemp
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:292
↓ 18 callers
Method
getWorkflowInstanceRawStatus
( String workflowId, long workflowInstanceId, long workflowRunId)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:1106
↓ 18 callers
Method
getWorkflowVersion
( @Valid @NotNull @PathVariable("workflowId") String workflowId, @Valid @NotNull @PathVariable("ve
maestro-server/src/main/java/com/netflix/maestro/server/controllers/WorkflowController.java:273
↓ 18 callers
Method
isNull
()
maestro-common/src/test/java/com/netflix/maestro/validations/CronConstraintTest.java:54
↓ 18 callers
Method
isTerminal
()
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Task.java:93
↓ 18 callers
Method
readChar
Read a character.
netflix-sel/src/main/java/com/netflix/sel/ast/JavaCharStream.java:223
↓ 18 callers
Method
restart
Restart a step. Will create a new step attempt if the workflow instance is still not in a terminal state, otherwise, create a new workflow instance ru
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/StepInstanceActionHandler.java:52
↓ 18 callers
Method
run
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:192
↓ 18 callers
Method
setEvaluatedTime
set parameter evaluation time.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:77
↓ 17 callers
Method
checkTypeMatch
(SelTypes lhs, SelTypes rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelTypeUtil.java:30
↓ 17 callers
Method
computePaths
Get all paths. @param translator translator from step to type T. @param <T> path node type. @return all paths.
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/WorkflowGraph.java:73
↓ 17 callers
Method
encodeValue
Encode a long or string signal value into a string, which preserves the original ordering. String type will prepend '#' to the original value as the f
maestro-common/src/main/java/com/netflix/maestro/utils/IdHelper.java:143
↓ 17 callers
Method
getDepth
the depth from the root to this instance.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/Initiator.java:39
↓ 17 callers
Method
getId
Get step id.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:33
↓ 17 callers
Method
getMetrics
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:96
↓ 17 callers
Method
getNonInlineParent
Helper method to get the closest non-inline ancestor info.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/UpstreamInitiator.java:73
↓ 17 callers
Method
getPaginationRange
( String cursor, PaginationDirection direction, long earliestWorkflowInstanceId, long
maestro-server/src/main/java/com/netflix/maestro/server/utils/PaginationHelper.java:31
↓ 17 callers
Method
jjCheckNAdd
(int state)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:1551
↓ 17 callers
Method
jjMoveStringLiteralDfa2_0
(long old0, long active0, long old1, long active1)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:329
↓ 17 callers
Method
post
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/Actor.java:14
↓ 17 callers
Method
runActionFor
(BaseActor actor, Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:100
↓ 17 callers
Method
stop
Stop all current running workflow instances for the given workflow id. @param workflowId workflow id @return the final timeline log message
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/WorkflowActionHandler.java:422
↓ 16 callers
Method
Expression
()
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:490
↓ 16 callers
Method
action
build action with an enum object.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineActionEvent.java:83
↓ 16 callers
Method
computeAndSetAggregatedInstanceStatus
Computes workflow instance status from the aggregated view. @param currentInstance instance for which we calculate the aggregated view @param aggrega
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/AggregatedViewHelper.java:230
↓ 16 callers
Method
decodeStepOverview
Translate compressed stepOverview into human-readable format, key is step id and value is step runtime state. Only takes into account steps from step
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRuntimeOverview.java:108
↓ 16 callers
Method
deleteTrigger
Delete a signal trigger. @param workflowId workflow id @param triggerUuid signal trigger uuid
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalBrokerDao.java:188
↓ 16 callers
Method
deriveTypedParameter
Create a placeholder parameter with derived param type based on the evaluated result.
maestro-common/src/main/java/com/netflix/maestro/utils/ParamHelper.java:40
↓ 16 callers
Method
execute
Execute an HTTP request. @param request the HTTP request to execute @return the HTTP response @throws IOException – if an I/O error occurs when sendi
maestro-http/src/main/java/com/netflix/maestro/engine/http/HttpRuntimeExecutor.java:31
↓ 16 callers
Method
getParsedRetryPolicy
( RetryPolicy retryPolicy, Function<ParamDefinition, Parameter> paramParser)
maestro-common/src/main/java/com/netflix/maestro/utils/RetryPolicyParser.java:44
↓ 16 callers
Method
getReferencedParamNames
Get reference parameter names from an input param with the string interpolation support.
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/LiteralEvaluator.java:159
↓ 16 callers
Method
getTaskType
()
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Task.java:83
↓ 16 callers
Method
getType
get parameter type.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:58
↓ 16 callers
Method
isDone
Check if a DAG with all terminate state steps is actually done. @param runtimeDag the runtime dag with step transitions @param idStatusMap map from s
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/DagHelper.java:45
↓ 16 callers
Method
refreshDetail
refresh details of foreach step.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:101
↓ 16 callers
Method
setStepRunParams
set and wrap step run params.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowInstance.java:111
↓ 16 callers
Method
shouldStepResume
Check if a step should be resumed. @param workflowId workflow id for the paused step. @param version workflow version for the paused step. @param ins
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:540
↓ 15 callers
Method
cleanupParams
Cleanup parameters, remove unused optional params.
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsMergeHelper.java:311
↓ 15 callers
Method
enqueueOrThrow
Enqueue a job event for the cases, there is no need for a transaction. If failed, it throws an exception. It requires the caller to retry if there is
maestro-queue/src/main/java/com/netflix/maestro/queue/MaestroQueueSystem.java:105
↓ 15 callers
Method
flatten
Util helper method to return a flattened list of instance ids derived from intervals.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachDetails.java:152
↓ 15 callers
Method
getBatchForeachLatestRunRollupForIterations
Get rollups of the latest runs of foreach inline workflow instances for a given list of iteration ids. @param workflowId foreach inline workflow id @
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:1204
↓ 15 callers
Method
getFromInstance
(String fieldName)
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/MaestroParamExtension.java:460
↓ 15 callers
Method
getFromStep
(String stepId, String paramName)
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/MaestroParamExtension.java:156
← previous
next →
201–300 of 5,171, ranked by callers