MCPcopy Create free account

hub / github.com/Netflix/maestro / functions

Functions5,171 in github.com/Netflix/maestro

↓ 24 callersMethodof
(String s)
netflix-sel/src/main/java/com/netflix/sel/type/SelDouble.java:39
↓ 24 callersMethodparseWorkflowParameter
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 callersMethodrequester
Builder for initiator.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:222
↓ 23 callersMethodcompareTo
By default, the event is ordered by its timestamp.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineEvent.java:48
↓ 23 callersMethodgenerateMergedStepParams
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 callersMethodgetStatusCode
Get status code. @return status code of the exception
maestro-common/src/main/java/com/netflix/maestro/exceptions/MaestroRuntimeException.java:70
↓ 23 callersMethodgetStepInstance
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 callersMethodsetEvaluatedResult
set parameter evaluated result.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:71
↓ 23 callersMethodstartFlow
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 callersMethodtoParameter
Convert a parameter definition to an un-evaluated parameter instance.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:64
↓ 23 callersMethodtryGetAction
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 callersMethodupsertTriggerSubscription
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 callersMethodasLong
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 callersMethodassignOps
(SelOp op, SelType rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelMap.java:84
↓ 22 callersMethodcalculatePlannedExecutions
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 callersMethodcomputeAggregatedView
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 callersMethodgetParent
Get the parent of the current workflow instance.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/Initiator.java:86
↓ 22 callersMethodgetRule
get validation rule.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamValidator.java:31
↓ 22 callersMethodgetTransition
Get job transition info (successors only).
maestro-dsl/src/main/java/com/netflix/maestro/dsl/jobs/Job.java:20
↓ 22 callersMethodof
Static method to create a RuntimeOverview.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowRuntimeOverview.java:58
↓ 22 callersMethodsetParams
set and wrap step params.
maestro-common/src/main/java/com/netflix/maestro/models/instance/StepInstance.java:111
↓ 22 callersMethodtestWorkflowUpdate
( WorkflowDefinition wfd, boolean active, Boolean timeTriggerDisabled, Boolean signalT
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroWorkflowDaoTest.java:248
↓ 22 callersMethodwithRetryableUpdate
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 callersMethodaddOne
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 callersMethoddequeueWithRunStrategy
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 callersMethoddoubleVal
()
netflix-sel/src/main/java/com/netflix/sel/type/SelDouble.java:47
↓ 21 callersMethodexecute
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 callersMethodgetFinishedTasks
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 callersMethodgetGenericWorkflowInstance
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 callersMethodgetPausedStepAttempts
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 callersMethodjjStartNfa_0
(int pos, long active0, long active1)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:118
↓ 21 callersMethodjjtGetChild
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 callersMethodrun
()
maestro-engine/src/test/java/com/netflix/maestro/engine/params/ParamsMergeHelperTest.java:338
↓ 21 callersMethodtranslate
Translate function. @param definition source definition data @return translated data
maestro-engine/src/main/java/com/netflix/maestro/engine/transformation/Translator.java:35
↓ 21 callersMethodupsertTagPermit
( String tag, int limit, User user, Map<String, Object> extraInfo)
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/TagPermitManager.java:38
↓ 20 callersMethodcloneTask
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 callersMethodcontainsChild
(String ref)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:125
↓ 20 callersMethodgetIdentity
Get the identity of the step context.
maestro-kubernetes/src/main/java/com/netflix/maestro/engine/kubernetes/KubernetesStepContext.java:54
↓ 20 callersMethodgetTagPermit
(String tag)
maestro-engine/src/main/java/com/netflix/maestro/engine/concurrency/TagPermitManager.java:45
↓ 20 callersMethodintVal
()
netflix-sel/src/main/java/com/netflix/sel/type/SelLong.java:53
↓ 20 callersMethodsetPredecessors
set predecessors.
maestro-common/src/main/java/com/netflix/maestro/models/definition/StepTransition.java:49
↓ 20 callersMethodverifyEmptyAction
(BaseActor actor)
maestro-flow/src/test/java/com/netflix/maestro/flow/actor/ActorBaseTest.java:49
↓ 19 callersMethodaddFinishedTask
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 callersMethodasInt
Gets the int value of the ParsableLong.
maestro-common/src/main/java/com/netflix/maestro/models/definition/ParsableLong.java:85
↓ 19 callersMethodasLongParamDef
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 callersMethodbox
(Object o)
netflix-sel/src/main/java/com/netflix/sel/type/SelTypeUtil.java:84
↓ 19 callersMethodchildrenAccept
(SelParserVisitor visitor, Object data)
netflix-sel/src/main/java/com/netflix/sel/visitor/SelBaseNode.java:35
↓ 19 callersMethodcomputeDag
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 callersMethodeval
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 callersMethodexistFlowWithSameKeys
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 callersMethodinsertOrUpdateForeachFlattenedModel
(ForeachFlattenedModel model)
maestro-extensions/src/main/java/com/netflix/maestro/extensions/dao/MaestroForeachFlattenedDao.java:141
↓ 19 callersMethodisLiteral
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 callersMethodonFlowFinalized
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 callersMethodstartWorkflowBatchRuns
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 callersMethodasDoubleArray
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 callersMethodcreatePausedStepAttemptIfNeeded
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 callersMethodcreateWorkflowInstance
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 callersMethodgetStepBreakPoints
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 callersMethodgetWorkflowInstanceRawStatus
( String workflowId, long workflowInstanceId, long workflowRunId)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:1106
↓ 18 callersMethodgetWorkflowVersion
( @Valid @NotNull @PathVariable("workflowId") String workflowId, @Valid @NotNull @PathVariable("ve
maestro-server/src/main/java/com/netflix/maestro/server/controllers/WorkflowController.java:273
↓ 18 callersMethodisNull
()
maestro-common/src/test/java/com/netflix/maestro/validations/CronConstraintTest.java:54
↓ 18 callersMethodisTerminal
()
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Task.java:93
↓ 18 callersMethodreadChar
Read a character.
netflix-sel/src/main/java/com/netflix/sel/ast/JavaCharStream.java:223
↓ 18 callersMethodrestart
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 callersMethodrun
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:192
↓ 18 callersMethodsetEvaluatedTime
set parameter evaluation time.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:77
↓ 17 callersMethodcheckTypeMatch
(SelTypes lhs, SelTypes rhs)
netflix-sel/src/main/java/com/netflix/sel/type/SelTypeUtil.java:30
↓ 17 callersMethodcomputePaths
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 callersMethodencodeValue
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 callersMethodgetDepth
the depth from the root to this instance.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/Initiator.java:39
↓ 17 callersMethodgetId
Get step id.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:33
↓ 17 callersMethodgetMetrics
()
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:96
↓ 17 callersMethodgetNonInlineParent
Helper method to get the closest non-inline ancestor info.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/UpstreamInitiator.java:73
↓ 17 callersMethodgetPaginationRange
( String cursor, PaginationDirection direction, long earliestWorkflowInstanceId, long
maestro-server/src/main/java/com/netflix/maestro/server/utils/PaginationHelper.java:31
↓ 17 callersMethodjjCheckNAdd
(int state)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:1551
↓ 17 callersMethodjjMoveStringLiteralDfa2_0
(long old0, long active0, long old1, long active1)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParserTokenManager.java:329
↓ 17 callersMethodpost
(Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/Actor.java:14
↓ 17 callersMethodrunActionFor
(BaseActor actor, Action action)
maestro-flow/src/main/java/com/netflix/maestro/flow/actor/BaseActor.java:100
↓ 17 callersMethodstop
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 callersMethodExpression
()
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:490
↓ 16 callersMethodaction
build action with an enum object.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineActionEvent.java:83
↓ 16 callersMethodcomputeAndSetAggregatedInstanceStatus
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 callersMethoddecodeStepOverview
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 callersMethoddeleteTrigger
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 callersMethodderiveTypedParameter
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 callersMethodexecute
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 callersMethodgetParsedRetryPolicy
( RetryPolicy retryPolicy, Function<ParamDefinition, Parameter> paramParser)
maestro-common/src/main/java/com/netflix/maestro/utils/RetryPolicyParser.java:44
↓ 16 callersMethodgetReferencedParamNames
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 callersMethodgetTaskType
()
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Task.java:83
↓ 16 callersMethodgetType
get parameter type.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:58
↓ 16 callersMethodisDone
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 callersMethodrefreshDetail
refresh details of foreach step.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:101
↓ 16 callersMethodsetStepRunParams
set and wrap step run params.
maestro-common/src/main/java/com/netflix/maestro/models/instance/WorkflowInstance.java:111
↓ 16 callersMethodshouldStepResume
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 callersMethodcleanupParams
Cleanup parameters, remove unused optional params.
maestro-engine/src/main/java/com/netflix/maestro/engine/params/ParamsMergeHelper.java:311
↓ 15 callersMethodenqueueOrThrow
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 callersMethodflatten
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 callersMethodgetBatchForeachLatestRunRollupForIterations
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 callersMethodgetFromInstance
(String fieldName)
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/MaestroParamExtension.java:460
↓ 15 callersMethodgetFromStep
(String stepId, String paramName)
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/MaestroParamExtension.java:156
← previousnext →201–300 of 5,171, ranked by callers