MCPcopy Create free account

hub / github.com/Netflix/maestro / functions

Functions5,171 in github.com/Netflix/maestro

↓ 11 callersMethodparseAttribute
Run string interpolation on input using the evaluated params for attribute fields, e.g. tct, timeout, etc.
maestro-engine/src/main/java/com/netflix/maestro/engine/eval/ParamEvaluator.java:483
↓ 11 callersMethodparseDate
(String date)
maestro-timetrigger/src/test/java/com/netflix/maestro/timetrigger/utils/TimeTriggerExecutionPlannerTest.java:75
↓ 11 callersMethodprepare
Prepare the prepared statement.
maestro-database/src/main/java/com/netflix/maestro/database/utils/StatementPreparer.java:26
↓ 11 callersMethodpreprocessDefinitionParams
preprocessing the parameters in definition by validating value and setting name.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:94
↓ 11 callersMethodrelease
Release the owned messages in the queue with the best effort. If failed, it will let the message expire. @param queueId queue id @param validUntil th
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:325
↓ 11 callersMethodremoveStepBreakpoint
Remove a specific breakpoint. Also remove all step attempts which are paused due to the breakpoint if request specified. If the number of paused step
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepBreakpointDao.java:353
↓ 11 callersMethodrepeat
(String ch, int times)
maestro-common/src/test/java/com/netflix/maestro/validations/MaestroIdNameValidationLimitsTest.java:219
↓ 11 callersMethodtransform
( SignalDependenciesDefinition.SignalDependencyDefinition definition)
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalTransformer.java:26
↓ 11 callersMethodtryExecuteTrigger
Check if matched signal trigger indeed will cause a workflow execution. @param match matched signal trigger @return 1 if going to execute a workflow,
maestro-signal/src/main/java/com/netflix/maestro/signal/dao/MaestroSignalBrokerDao.java:235
↓ 11 callersMethodtryUnblockFailedWorkflowInstances
Try to unblock failed workflow instances for a given workflow id by set their status to FAILED_1. It does the batch update. If there is any update, it
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDao.java:616
↓ 11 callersMethodverifyTriggerUpdate
(boolean isCurrentNull, boolean isPreviousNull, int triggerCalled)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroWorkflowDaoTest.java:273
↓ 10 callersMethodadd
Add one instance with its status into the pending buffer.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachDetails.java:110
↓ 10 callersMethodasStringMapParam
get STRING_MAP type (Java Map<String, String> type) param. @return concrete parameter object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:267
↓ 10 callersMethodasSubworkflow
get SubworkflowArtifact type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:91
↓ 10 callersMethodbuildDetailedResponse
( Exception e, List<String> errors, HttpStatus status, HttpHeaders headers, WebR
maestro-server/src/main/java/com/netflix/maestro/server/handlers/MaestroRestExceptionHandler.java:148
↓ 10 callersMethoddeactivate
Deactivate the workflow with a provided workflow id. @param workflowId workflow id @param caller caller info @return timeline info
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:1145
↓ 10 callersMethoddeleteFlow
Delete the flow after it is completed. Note that flow table cannot provide uniqueness guarantee due to this. A flow can be created and then completed
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:104
↓ 10 callersMethodfrom
Convert a signal request to a signal instance (missing seq id). The sequence id will be set later.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalInstance.java:72
↓ 10 callersMethodgenerateTriggers
( String cronExpression, String triggerTs, String timezone, ParsableLong maxDelay)
maestro-timetrigger/src/test/java/com/netflix/maestro/timetrigger/utils/TimeTriggerExecutionPlannerTest.java:50
↓ 10 callersMethodgetAllStepStates
Get the step runtime states (only the last attempt) for a given workflow instance run. @param workflowId workflow id @param workflowInstanceId workfl
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:839
↓ 10 callersMethodgetCallBackDelayInSecs
Get callback for the step instance current runtime state.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeCallbackDelayPolicy.java:18
↓ 10 callersMethodgetCurrentNode
Static util method to extract the last node from the restart path.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:69
↓ 10 callersMethodgetEvaluatedResultString
get parameter evaluated result in string format.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/Parameter.java:67
↓ 10 callersMethodgetFailureMode
Get step failure mode.
maestro-common/src/main/java/com/netflix/maestro/models/definition/Step.java:62
↓ 10 callersMethodgetFlows
Get a batch of flows for a given flow group from the provided flow id cursor. @param group flow group to fill @param limit limit in one batch @param
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:126
↓ 10 callersMethodgetGroup
(long groupId)
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:290
↓ 10 callersMethodgetLongProperty
(String key, long defaultValue)
maestro-database/src/main/java/com/netflix/maestro/database/DatabaseConfiguration.java:202
↓ 10 callersMethodgetMaestroWorkflow
(String workflowId)
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroWorkflowDao.java:669
↓ 10 callersMethodgetRunningStatsCount
Get iteration count from the running stats map. @param strict if true, count the total number of instances after the smallest running iterations,
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:132
↓ 10 callersMethodgetStreamOfAllTasks
This is not thread safe and can only be called by the flow actor itself.
maestro-flow/src/main/java/com/netflix/maestro/flow/models/Flow.java:111
↓ 10 callersMethodgetWorkflowIdentity
Get workflow identity.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:151
↓ 10 callersMethodhasNext
(PaginationDirection direction, boolean hasMoreItems, String cursor)
maestro-extensions/src/main/java/com/netflix/maestro/extensions/controllers/ForeachFlattenController.java:198
↓ 10 callersMethodhashKey
encode a long value into a hash key.
maestro-common/src/main/java/com/netflix/maestro/utils/IdHelper.java:79
↓ 10 callersMethodinitiateAndGetByPrevMaxIterationId
This method scans the previous foreach step overview and then find out the maximum iteration id launched previously. It also sets its own details by u
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:246
↓ 10 callersMethodinjectRuntimeParams
Inject runtime parameters based on the step definition data. @param workflowSummary workflow summary @param step step definition @return an immutable
maestro-engine/src/main/java/com/netflix/maestro/engine/steps/StepRuntime.java:189
↓ 10 callersMethodinsertOrUpdateOutputData
Upsert output data object. @param outputData output data
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroOutputDataDao.java:70
↓ 10 callersMethodisAsync
()
maestro-common/src/main/java/com/netflix/maestro/models/initiator/UpstreamInitiator.java:118
↓ 10 callersMethodisImmutableToDefinitionWithoutValue
( AbstractParamDefinition.AbstractParamDefinitionBuilder<?, ?> builder)
maestro-common/src/main/java/com/netflix/maestro/models/parameter/AbstractParameter.java:99
↓ 10 callersMethodisNullOrEmpty
Return true if the char sequence is null or empty.
maestro-common/src/main/java/com/netflix/maestro/utils/ObjectHelper.java:68
↓ 10 callersMethodlaunchJob
Launch a kubernetes job. @param context Kubernetes step context. @return Kubernetes job result.
maestro-kubernetes/src/main/java/com/netflix/maestro/engine/kubernetes/KubernetesRuntimeExecutor.java:23
↓ 10 callersMethodloadTags
Load runtime parameters based on the step type and its subtype. @return a collection of runtime generated parameters to inject @param workflowSummary
maestro-engine/src/main/java/com/netflix/maestro/engine/templates/JobTemplateManager.java:118
↓ 10 callersMethodmarkTerminatedWithMetric
( StepRuntimeSummary runtimeSummary, StepRuntime.State stepState, StepInstance.Status status)
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeManager.java:69
↓ 10 callersMethodnextExecutionDate
Calculate next execution date after start date for a given time trigger. @param trigger time trigger object @param startDate start date @param unique
maestro-common/src/main/java/com/netflix/maestro/utils/TriggerHelper.java:97
↓ 10 callersMethodparseAndCompare
(List<String> transitionList, Map<String, String> expected)
maestro-dsl/src/test/java/com/netflix/maestro/dsl/parsers/TransitionParserTest.java:50
↓ 10 callersMethodpush
Push a time trigger execution message. @param execution time trigger execution message @param delaySecs delay in seconds
maestro-timetrigger/src/main/java/com/netflix/maestro/timetrigger/producer/TimeTriggerProducer.java:26
↓ 10 callersMethodrangeKey
encode a long value into a range key with predefined constant length MAX_RANGE_KEY_LENGTH. We use variable length
maestro-common/src/main/java/com/netflix/maestro/utils/IdHelper.java:87
↓ 10 callersMethodrun
(String expr)
netflix-sel/src/test/java/com/netflix/sel/SelJailbreakTest.java:55
↓ 10 callersMethodrun
()
maestro-queue/src/main/java/com/netflix/maestro/queue/worker/MaestroQueueWorker.java:77
↓ 10 callersMethodstartBatchWithRunStrategy
Add a list of new workflow instance runs (i.e. run_id=1). The instance list has already been sized to fit into the batch size limit. It will skip inst
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroRunStrategyDao.java:759
↓ 10 callersMethodtoParameter
()
maestro-common/src/main/java/com/netflix/maestro/models/parameter/MapParamDefinition.java:81
↓ 10 callersMethodupdateStatus
(StepInstance.Status nextStatus, MaestroTracingManager tracingManager)
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeSummary.java:390
↓ 10 callersMethodwithType
Create a concrete upstream initiator based on the given type.
maestro-common/src/main/java/com/netflix/maestro/models/initiator/UpstreamInitiator.java:125
↓ 9 callersMethodadd
Add fields to data.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/DefaultArtifact.java:51
↓ 9 callersMethodbuild
overridden build method.
maestro-common/src/main/java/com/netflix/maestro/models/timeline/TimelineLogEvent.java:68
↓ 9 callersMethodbuildNotebookParams
Build notebook parameters and return the full JSON string. @return The full JSON string
maestro-kubernetes/src/main/java/com/netflix/maestro/engine/notebook/NotebookParamsBuilder.java:60
↓ 9 callersMethodchildrenAccept
Accept the visitor.
netflix-sel/src/main/java/com/netflix/sel/ast/SimpleNode.java:85
↓ 9 callersMethoddequeueUnownedMessages
Retry the un-owned message after the current ownership is timed out. It will put a lock in the queue_lock table to ensure that only one worker can deq
maestro-queue/src/main/java/com/netflix/maestro/queue/dao/MaestroQueueDao.java:249
↓ 9 callersMethodderiveGroupId
Return the group id for given workflow instance. It should be deterministically and evenly distributed. We don't include the run id in the groupingKey
maestro-common/src/main/java/com/netflix/maestro/utils/IdHelper.java:168
↓ 9 callersMethodfinalCall
Run the flow's final callback function.
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:171
↓ 9 callersMethodgetAndResetNextPollingDelayInMillis
Return nextPollingDelayInMillis value and reset its value.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/StepRuntimeSummary.java:425
↓ 9 callersMethodgetDefaultWorkflowParams
Return default workflow params to be injected. @return default workflow params
maestro-engine/src/main/java/com/netflix/maestro/engine/params/DefaultParamManager.java:78
↓ 9 callersMethodgetField
get field from data by the field name.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/DefaultArtifact.java:69
↓ 9 callersMethodgetFlowsFrom
fetch a batch of flows using flow dao. @param group flow group to load flows @param limit maximum number of flows to load @param idCursor flow id cur
maestro-flow/src/main/java/com/netflix/maestro/flow/engine/ExecutionContext.java:267
↓ 9 callersMethodgetInlineWorkflowPrefixId
assemble the inline workflow id prefix based on workflow internal id.
maestro-common/src/main/java/com/netflix/maestro/utils/IdHelper.java:92
↓ 9 callersMethodgetNextToken
Get the next Token.
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:3608
↓ 9 callersMethodgetStepInstanceViews
Get the latest step attempts of all the steps for a given workflow instance run (workflow id, instance id, run id). @param workflowId workflow id @pa
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroStepInstanceDao.java:1278
↓ 9 callersMethodgetStepTagPermitStatus
Return the step tag permit status code of a step instance. @param uuid step uuid @return status, -1 if not found, 7 is acquired, otherwise, still wai
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:205
↓ 9 callersMethodinit
start up.
maestro-engine/src/test/java/com/netflix/maestro/engine/MaestroEngineBaseTest.java:33
↓ 9 callersMethodinsertFlow
Insert the flow into the flow table. It ensures the current flow group generation is correct so making sure the ownership is not expired. There is no
maestro-flow/src/main/java/com/netflix/maestro/flow/dao/MaestroFlowDao.java:69
↓ 9 callersMethodisNotEmpty
()
maestro-engine/src/main/java/com/netflix/maestro/engine/dto/OutputData.java:70
↓ 9 callersMethodisStepSkipped
(WorkflowSummary workflowSummary, StepRuntimeSummary runtimeSummary)
maestro-engine/src/main/java/com/netflix/maestro/engine/tasks/MaestroTask.java:513
↓ 9 callersMethodjj_save
(int index, int xla)
netflix-sel/src/main/java/com/netflix/sel/ast/SelParser.java:3753
↓ 9 callersMethodparse
Convert a Map of raw objects to a Map of ParamDefinitions. @param dslParams the raw param map @return map of ParamDefinitions
maestro-dsl/src/main/java/com/netflix/maestro/dsl/parsers/ParamParser.java:53
↓ 9 callersMethodpartitionList
Split a large list into a list of small batches with a size no greater than batch size.
maestro-common/src/main/java/com/netflix/maestro/utils/ObjectHelper.java:73
↓ 9 callersMethodpreprocess
Preprocess a step event by fetching the workflow instance from maestro-server.
maestro-extensions/src/main/java/com/netflix/maestro/extensions/processors/StepEventPreprocessor.java:44
↓ 9 callersMethodretrieveWorkflowSummary
Utility method to retrieve workflow summary from the key-value data. @param data all data in a map @return a workflow summary object
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/StepHelper.java:74
↓ 9 callersMethodskip
( String workflowId, long workflowInstanceId, String stepId, User user, RunReque
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/StepInstanceActionHandler.java:146
↓ 9 callersMethodstatusExistInIterations
Check if there is any iteration in a given status.
maestro-common/src/main/java/com/netflix/maestro/models/instance/ForeachStepOverview.java:154
↓ 9 callersMethodtoDoubleArray
Convert an object (might be double[], BigDecimal[], List, etc.) into a double array for a param with a given name. @param name name for identificatio
maestro-common/src/main/java/com/netflix/maestro/utils/ParamHelper.java:200
↓ 9 callersMethodtoParameters
Convert param definition to parameter.
maestro-common/src/testFixtures/java/com/netflix/maestro/MaestroBaseTest.java:108
↓ 9 callersMethodunblock
Unblock the failed workflow instances with a provided workflow id. <p>todo: this might not work well if there are millions of failed instances. If ne
maestro-engine/src/main/java/com/netflix/maestro/engine/handlers/WorkflowActionHandler.java:522
↓ 9 callersMethodvalidateAndParseUri
Validate and parse a URL string to prevent SSRF attacks. @param url the URL string to validate and parse @return the parsed URI @throws MaestroValida
maestro-http/src/main/java/com/netflix/maestro/engine/http/UrlValidator.java:60
↓ 8 callersMethodaddTimeline
Add an event to the timeline if not identical to the latest event.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/WorkflowRuntimeSummary.java:84
↓ 8 callersMethodannotate
Annotates a {@link MaestroTracingContext}.
maestro-engine/src/main/java/com/netflix/maestro/engine/tracing/MaestroTracingManager.java:103
↓ 8 callersMethodasKubernetes
Get Kubernetes type artifact. @return concrete artifact object.
maestro-common/src/main/java/com/netflix/maestro/models/artifact/Artifact.java:146
↓ 8 callersMethodasStringMapParamDef
get STRING_MAP type (Java Map<String, String> type) paramDefinition. @return concrete parameter definition object.
maestro-common/src/main/java/com/netflix/maestro/models/parameter/ParamDefinition.java:206
↓ 8 callersMethodassertRefused
Asserts the expression is refused with the given cause type and message substring. Evaluation runs on a worker thread, so a failure surfaces as Execut
netflix-sel/src/test/java/com/netflix/sel/SelJailbreakTest.java:67
↓ 8 callersMethodbackup
Retreat.
netflix-sel/src/main/java/com/netflix/sel/ast/JavaCharStream.java:346
↓ 8 callersMethodbuild
build method with param type check.
maestro-common/src/main/java/com/netflix/maestro/models/signal/SignalMatchParamDef.java:43
↓ 8 callersMethodcalculateEarliestExecutionDate
Calculate earliest execution date for time triggers. @param timeTriggers an array of time triggers with watermark @return the earliest date
maestro-timetrigger/src/main/java/com/netflix/maestro/timetrigger/utils/TimeTriggerExecutionPlanner.java:78
↓ 8 callersMethodcallJavaMethod
(Object javaObj, SelType[] args, MethodHandle m, String methodName)
netflix-sel/src/main/java/com/netflix/sel/type/SelTypeUtil.java:37
↓ 8 callersMethodcheckSingletonStats
( List<ForeachIterationOverview> stats, long instanceId, WorkflowInstance.Status status)
maestro-engine/src/test/java/com/netflix/maestro/engine/dao/MaestroWorkflowInstanceDaoTest.java:912
↓ 8 callersMethodcreate
Static method to create an WorkflowInstanceUpdateJobEvent. @param oldStatus old status @param newStatus new status @return status pending change even
maestro-queue/src/main/java/com/netflix/maestro/queue/jobevents/WorkflowInstanceUpdateJobEvent.java:104
↓ 8 callersMethodcreateInternalWorkflowRunRequest
Create workflow run requests within subworkflow and foreach steps.
maestro-engine/src/main/java/com/netflix/maestro/engine/utils/StepHelper.java:198
↓ 8 callersMethoddeleteWorkflow
(DataSource dataSource, String workflowId)
maestro-engine/src/testFixtures/java/com/netflix/maestro/engine/MaestroTestHelper.java:37
↓ 8 callersMethodgenerateTrigger
( String cronExpression, String triggerTs, String timezone, ParsableLong maxDelay)
maestro-timetrigger/src/test/java/com/netflix/maestro/timetrigger/utils/TimeTriggerExecutionPlannerTest.java:55
↓ 8 callersMethodgetDag
()
maestro-common/src/main/java/com/netflix/maestro/models/definition/Workflow.java:132
↓ 8 callersMethodgetRestartWorkflowId
Get the current restart workflow id.
maestro-engine/src/main/java/com/netflix/maestro/engine/execution/RunRequest.java:90
↓ 8 callersMethodgetStepInstance
( @Valid @NotNull @PathVariable("workflowId") String workflowId, @PathVariable("workflowInstanceId
maestro-server/src/main/java/com/netflix/maestro/server/controllers/StepInstanceController.java:68
↓ 8 callersMethodgetSyncedTagPermits
Get synced tag permits starting from the given cursor (exclusive) with the given limit. @param cursor the last tag from previous batch, pass empty st
maestro-engine/src/main/java/com/netflix/maestro/engine/dao/MaestroTagPermitDao.java:273
← previousnext →401–500 of 5,171, ranked by callers