tasker-engine 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tasker-engine might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +12 -9
- data/app/controllers/tasker/analytics_controller.rb +2 -2
- data/app/controllers/tasker/graphql_controller.rb +3 -3
- data/app/controllers/tasker/health_controller.rb +1 -1
- data/app/controllers/tasker/metrics_controller.rb +3 -3
- data/app/controllers/tasker/task_diagrams_controller.rb +30 -0
- data/app/jobs/tasker/metrics_export_job.rb +1 -1
- data/app/models/tasker/application_record.rb +5 -5
- data/app/models/tasker/diagram/edge.rb +106 -0
- data/app/models/tasker/diagram/flowchart.rb +137 -0
- data/app/models/tasker/diagram/node.rb +99 -0
- data/app/models/tasker/task.rb +11 -1
- data/app/models/tasker/task_diagram.rb +332 -0
- data/app/models/tasker/workflow_step_edge.rb +4 -5
- data/app/views/tasker/task/_diagram.html.erb +32 -0
- data/config/routes.rb +3 -3
- data/db/init/schema.sql +23 -0
- data/docs/APPLICATION_GENERATOR.md +1 -1
- data/docs/AUTH.md +51 -12
- data/docs/DEVELOPER_GUIDE.md +9 -8
- data/docs/EXECUTION_CONFIGURATION.md +1 -1
- data/docs/HEALTH.md +3 -3
- data/docs/METRICS.md +4 -4
- data/docs/OPTIMIZATION_PLAN.md +3 -3
- data/docs/OVERVIEW.md +4 -0
- data/docs/QUICK_START.md +1 -1
- data/docs/REST_API.md +1 -1
- data/docs/TASK_DIAGRAM.md +252 -0
- data/docs/TELEMETRY.md +5 -5
- data/docs/TROUBLESHOOTING.md +3 -3
- data/docs/TaskHandlerGenerator.html +55 -55
- data/docs/Tasker/Analysis/RuntimeGraphAnalyzer.html +1 -1
- data/docs/Tasker/Analysis/TemplateGraphAnalyzer.html +1 -1
- data/docs/Tasker/Analysis.html +1 -1
- data/docs/Tasker/AnalyticsController.html +1 -1
- data/docs/Tasker/AnalyticsService/BottleneckAnalytics.html +1 -1
- data/docs/Tasker/AnalyticsService/PerformanceAnalytics.html +1 -1
- data/docs/Tasker/AnalyticsService.html +1 -1
- data/docs/Tasker/AnnotationType.html +1 -1
- data/docs/Tasker/AnnotationTypeSerializer.html +1 -1
- data/docs/Tasker/ApplicationController.html +2 -2
- data/docs/Tasker/ApplicationJob.html +1 -1
- data/docs/Tasker/ApplicationRecord.html +6 -6
- data/docs/Tasker/Authentication/AuthenticationError.html +1 -1
- data/docs/Tasker/Authentication/ConfigurationError.html +1 -1
- data/docs/Tasker/Authentication/Coordinator.html +1 -1
- data/docs/Tasker/Authentication/Interface.html +1 -1
- data/docs/Tasker/Authentication/InterfaceError.html +1 -1
- data/docs/Tasker/Authentication/NoneAuthenticator.html +1 -1
- data/docs/Tasker/Authentication.html +1 -1
- data/docs/Tasker/Authorization/AuthorizationError.html +1 -1
- data/docs/Tasker/Authorization/BaseCoordinator.html +2 -2
- data/docs/Tasker/Authorization/ConfigurationError.html +1 -1
- data/docs/Tasker/Authorization/ResourceConstants/ACTIONS.html +10 -10
- data/docs/Tasker/Authorization/ResourceConstants/RESOURCES.html +13 -8
- data/docs/Tasker/Authorization/ResourceConstants.html +1 -1
- data/docs/Tasker/Authorization/ResourceRegistry.html +40 -33
- data/docs/Tasker/Authorization/UnauthorizedError.html +1 -1
- data/docs/Tasker/Authorization.html +2 -2
- data/docs/Tasker/CacheCapabilities.html +1 -1
- data/docs/Tasker/CacheStrategy.html +1 -1
- data/docs/Tasker/Concerns/Authenticatable.html +1 -1
- data/docs/Tasker/Concerns/Authorizable/AdminStatusChecker.html +1 -1
- data/docs/Tasker/Concerns/Authorizable.html +1 -1
- data/docs/Tasker/Concerns/ControllerAuthorizable.html +1 -1
- data/docs/Tasker/Concerns/EventPublisher.html +1 -1
- data/docs/Tasker/Concerns/IdempotentStateTransitions.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/ClassMethods.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase/ClassMethods.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase.html +1 -1
- data/docs/Tasker/Concerns/StructuredLogging.html +1 -1
- data/docs/Tasker/Concerns.html +1 -1
- data/docs/Tasker/Configuration/ConfigurationProxy.html +1 -1
- data/docs/Tasker/Configuration/TelemetryConfigurationProxy.html +1 -1
- data/docs/Tasker/Configuration.html +1 -1
- data/docs/Tasker/ConfigurationError.html +1 -1
- data/docs/Tasker/ConfiguredTask.html +2 -2
- data/docs/Tasker/Constants/EventDefinitions.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents/Step.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents/Task.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents.html +1 -1
- data/docs/Tasker/Constants/RegistryEvents.html +1 -1
- data/docs/Tasker/Constants/StepEvents.html +1 -1
- data/docs/Tasker/Constants/TaskEvents.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/ExecutionStatus.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/HealthStatus.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/RecommendedAction.html +1 -1
- data/docs/Tasker/Constants/TaskExecution.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/ErrorMessages.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/PendingReasons.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/ReenqueueReasons.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization.html +1 -1
- data/docs/Tasker/Constants/TaskStatuses.html +1 -1
- data/docs/Tasker/Constants/TestEvents.html +1 -1
- data/docs/Tasker/Constants/WorkflowEvents.html +1 -1
- data/docs/Tasker/Constants/WorkflowStepStatuses.html +1 -1
- data/docs/Tasker/Constants.html +1 -1
- data/docs/Tasker/DependentSystem.html +1 -1
- data/docs/Tasker/DependentSystemObjectMap.html +1 -1
- data/docs/Tasker/DetectorRegistry.html +1 -1
- data/docs/Tasker/Diagram/Edge.html +1 -1
- data/docs/Tasker/Diagram/Flowchart.html +1 -1
- data/docs/Tasker/Diagram/Node.html +1 -1
- data/docs/Tasker/Diagram.html +1 -1
- data/docs/Tasker/Engine.html +1 -1
- data/docs/Tasker/Error.html +1 -1
- data/docs/Tasker/Events/Catalog/CatalogPrinter.html +1 -1
- data/docs/Tasker/Events/Catalog/CustomEventRegistrar.html +1 -1
- data/docs/Tasker/Events/Catalog/ExamplePayloadGenerator.html +1 -1
- data/docs/Tasker/Events/Catalog.html +1 -1
- data/docs/Tasker/Events/CustomRegistry.html +1 -1
- data/docs/Tasker/Events/DefinitionLoader.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder/ErrorInfoExtractor.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder/StepPayloadBuilder.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder.html +1 -1
- data/docs/Tasker/Events/Publisher.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer/ErrorTypeClassifier.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/MetricTagsExtractor.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber.html +1 -1
- data/docs/Tasker/Events/Subscribers/MetricsSubscriber.html +2 -2
- data/docs/Tasker/Events/Subscribers/TelemetrySubscriber.html +5 -5
- data/docs/Tasker/Events/Subscribers.html +1 -1
- data/docs/Tasker/Events/SubscriptionLoader.html +1 -1
- data/docs/Tasker/Events.html +1 -1
- data/docs/Tasker/EventsGenerator.html +2 -2
- data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics/AnalyticsMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedDependencyLevels.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestSteps/SlowestStep.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestSteps.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestTasks/SlowestTask.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestTasks.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedStepReadinessStatus.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts/HealthMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedTaskExecutionContext.html +1 -1
- data/docs/Tasker/Functions/FunctionWrapper.html +1 -1
- data/docs/Tasker/Functions.html +1 -1
- data/docs/Tasker/Generators/AuthenticatorGenerator/UsageInstructionsFormatter.html +1 -1
- data/docs/Tasker/Generators/AuthenticatorGenerator.html +1 -1
- data/docs/Tasker/Generators/AuthorizationCoordinatorGenerator.html +1 -1
- data/docs/Tasker/Generators/SubscriberGenerator.html +1 -1
- data/docs/Tasker/Generators/TaskHandlerGenerator.html +4 -4
- data/docs/Tasker/Generators.html +1 -1
- data/docs/Tasker/GraphQLTypes/AnnotationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseArgument.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseConnection.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseEdge.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseEnum.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseField.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseInputObject.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseInterface.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseObject.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseScalar.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseUnion.html +1 -1
- data/docs/Tasker/GraphQLTypes/DependentSystemObjectMapType.html +1 -1
- data/docs/Tasker/GraphQLTypes/DependentSystemType.html +1 -1
- data/docs/Tasker/GraphQLTypes/MutationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedTaskType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedTasksNamedStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NodeType.html +1 -1
- data/docs/Tasker/GraphQLTypes/QueryType.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskAnnotationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskInterface.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskType.html +1 -1
- data/docs/Tasker/GraphQLTypes/WorkflowStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes.html +1 -1
- data/docs/Tasker/GraphqlController.html +1 -1
- data/docs/Tasker/HandlerFactory.html +44 -54
- data/docs/Tasker/HandlerSerializer.html +1 -1
- data/docs/Tasker/HandlersController.html +1 -1
- data/docs/Tasker/HashIdentityStrategy.html +1 -1
- data/docs/Tasker/Health/ReadinessChecker.html +2 -2
- data/docs/Tasker/Health/StatusChecker.html +2 -2
- data/docs/Tasker/Health.html +1 -1
- data/docs/Tasker/HealthController.html +1 -1
- data/docs/Tasker/IdentityStrategy.html +1 -1
- data/docs/Tasker/InvalidTaskHandlerConfig.html +1 -1
- data/docs/Tasker/Logging/CorrelationIdGenerator.html +2 -2
- data/docs/Tasker/Logging.html +1 -1
- data/docs/Tasker/MetricsController.html +1 -1
- data/docs/Tasker/MetricsExportJob.html +1 -1
- data/docs/Tasker/Mutations/BaseMutation.html +1 -1
- data/docs/Tasker/Mutations/CancelStep.html +1 -1
- data/docs/Tasker/Mutations/CancelTask.html +1 -1
- data/docs/Tasker/Mutations/CreateTask.html +1 -1
- data/docs/Tasker/Mutations/UpdateStep.html +1 -1
- data/docs/Tasker/Mutations/UpdateTask.html +1 -1
- data/docs/Tasker/Mutations.html +1 -1
- data/docs/Tasker/NamedStep.html +1 -1
- data/docs/Tasker/NamedTask.html +1 -1
- data/docs/Tasker/NamedTasksNamedStep.html +1 -1
- data/docs/Tasker/Orchestration/BackoffCalculator.html +1 -1
- data/docs/Tasker/Orchestration/ConnectionBuilder/ConfigValidator.html +1 -1
- data/docs/Tasker/Orchestration/ConnectionBuilder.html +2 -2
- data/docs/Tasker/Orchestration/ConnectionPoolIntelligence.html +3 -3
- data/docs/Tasker/Orchestration/Coordinator.html +1 -1
- data/docs/Tasker/Orchestration/FutureStateAnalyzer.html +1 -1
- data/docs/Tasker/Orchestration/PluginIntegration.html +1 -1
- data/docs/Tasker/Orchestration/ResponseProcessor.html +1 -1
- data/docs/Tasker/Orchestration/RetryHeaderParser.html +1 -1
- data/docs/Tasker/Orchestration/StepExecutor.html +4 -4
- data/docs/Tasker/Orchestration/StepSequenceFactory.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/BlockageChecker.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ContextManager.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/DelayCalculator.html +2 -2
- data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationDecisionMaker.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationProcessor.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ReasonDeterminer.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ReenqueueManager.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/UnclearStateHandler.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer.html +1 -1
- data/docs/Tasker/Orchestration/TaskInitializer.html +1 -1
- data/docs/Tasker/Orchestration/TaskReenqueuer.html +1 -1
- data/docs/Tasker/Orchestration/ViableStepDiscovery.html +1 -1
- data/docs/Tasker/Orchestration/WorkflowCoordinator.html +1 -1
- data/docs/Tasker/Orchestration.html +1 -1
- data/docs/Tasker/PageSort/PageSortParamsBuilder.html +1 -1
- data/docs/Tasker/PageSort.html +1 -1
- data/docs/Tasker/PermanentError.html +1 -1
- data/docs/Tasker/ProceduralError.html +1 -1
- data/docs/Tasker/Queries/AllAnnotationTypes.html +1 -1
- data/docs/Tasker/Queries/AllTasks.html +1 -1
- data/docs/Tasker/Queries/BaseQuery.html +1 -1
- data/docs/Tasker/Queries/Helpers.html +1 -1
- data/docs/Tasker/Queries/OneStep.html +1 -1
- data/docs/Tasker/Queries/OneTask.html +1 -1
- data/docs/Tasker/Queries/TasksByAnnotation.html +1 -1
- data/docs/Tasker/Queries/TasksByStatus.html +1 -1
- data/docs/Tasker/Queries.html +1 -1
- data/docs/Tasker/Railtie.html +1 -1
- data/docs/Tasker/Registry/BaseRegistry.html +2 -2
- data/docs/Tasker/Registry/EventPublisher.html +1 -1
- data/docs/Tasker/Registry/InterfaceValidator.html +1 -1
- data/docs/Tasker/Registry/RegistrationError.html +1 -1
- data/docs/Tasker/Registry/RegistryError.html +1 -1
- data/docs/Tasker/Registry/StatisticsCollector.html +1 -1
- data/docs/Tasker/Registry/SubscriberRegistry.html +1 -1
- data/docs/Tasker/Registry/ValidationError.html +1 -1
- data/docs/Tasker/Registry.html +1 -1
- data/docs/Tasker/RetryableError.html +1 -1
- data/docs/Tasker/StateMachine/Compatibility.html +1 -1
- data/docs/Tasker/StateMachine/InvalidStateTransition.html +1 -1
- data/docs/Tasker/StateMachine/StepStateMachine.html +1 -1
- data/docs/Tasker/StateMachine/TaskStateMachine.html +1 -1
- data/docs/Tasker/StateMachine.html +1 -1
- data/docs/Tasker/StepDagRelationship.html +1 -1
- data/docs/Tasker/StepHandler/Api/Config.html +1 -1
- data/docs/Tasker/StepHandler/Api.html +1 -1
- data/docs/Tasker/StepHandler/AutomaticEventPublishing.html +1 -1
- data/docs/Tasker/StepHandler/Base.html +1 -1
- data/docs/Tasker/StepHandler.html +1 -1
- data/docs/Tasker/StepReadinessStatus.html +1 -1
- data/docs/Tasker/Task.html +210 -113
- data/docs/Tasker/TaskAnnotation.html +1 -1
- data/docs/Tasker/TaskAnnotationSerializer.html +1 -1
- data/docs/Tasker/TaskBuilder/StepNameValidator.html +1 -1
- data/docs/Tasker/TaskBuilder/StepTemplateDefiner.html +1 -1
- data/docs/Tasker/TaskBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram/StepToStepEdgeBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram/TaskToRootStepEdgeBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram.html +1 -1
- data/docs/Tasker/TaskDiagramsController.html +1 -1
- data/docs/Tasker/TaskExecutionContext.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/ClassBasedEventRegistrar.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/YamlEventRegistrar.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods.html +6 -44
- data/docs/Tasker/TaskHandler/InstanceMethods.html +1 -1
- data/docs/Tasker/TaskHandler/StepGroup.html +1 -1
- data/docs/Tasker/TaskHandler.html +1 -1
- data/docs/Tasker/TaskNamespace.html +1 -1
- data/docs/Tasker/TaskRunnerJob.html +1 -1
- data/docs/Tasker/TaskSerializer.html +1 -1
- data/docs/Tasker/TaskTransition.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/InvalidObjectTypeError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/TypeResolutionError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/UnknownInterfaceError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema.html +1 -1
- data/docs/Tasker/TasksController.html +1 -1
- data/docs/Tasker/Telemetry/EventMapping.html +1 -1
- data/docs/Tasker/Telemetry/EventRouter.html +1 -1
- data/docs/Tasker/Telemetry/Events/ExportEvents.html +1 -1
- data/docs/Tasker/Telemetry/Events.html +1 -1
- data/docs/Tasker/Telemetry/ExportCoordinator.html +1 -1
- data/docs/Tasker/Telemetry/IntelligentCacheManager.html +2 -2
- data/docs/Tasker/Telemetry/LogBackend.html +1 -1
- data/docs/Tasker/Telemetry/MetricTypes/Counter.html +2 -2
- data/docs/Tasker/Telemetry/MetricTypes/Gauge.html +73 -73
- data/docs/Tasker/Telemetry/MetricTypes/Histogram.html +103 -103
- data/docs/Tasker/Telemetry/MetricTypes.html +1 -1
- data/docs/Tasker/Telemetry/MetricsBackend.html +1 -1
- data/docs/Tasker/Telemetry/MetricsExportService.html +1 -1
- data/docs/Tasker/Telemetry/PluginRegistry.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/BaseExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/CsvExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/JsonExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins.html +1 -1
- data/docs/Tasker/Telemetry/PrometheusExporter.html +1 -1
- data/docs/Tasker/Telemetry/TraceBackend.html +1 -1
- data/docs/Tasker/Telemetry.html +1 -1
- data/docs/Tasker/Types/AuthConfig.html +1 -1
- data/docs/Tasker/Types/BackoffConfig.html +1 -1
- data/docs/Tasker/Types/BaseConfig.html +1 -1
- data/docs/Tasker/Types/CacheConfig.html +1 -1
- data/docs/Tasker/Types/DatabaseConfig.html +1 -1
- data/docs/Tasker/Types/DependencyGraph.html +1 -1
- data/docs/Tasker/Types/DependencyGraphConfig.html +1 -1
- data/docs/Tasker/Types/EngineConfig.html +1 -1
- data/docs/Tasker/Types/ExecutionConfig.html +1 -1
- data/docs/Tasker/Types/GraphEdge.html +1 -1
- data/docs/Tasker/Types/GraphMetadata.html +1 -1
- data/docs/Tasker/Types/GraphNode.html +1 -1
- data/docs/Tasker/Types/HealthConfig.html +1 -1
- data/docs/Tasker/Types/StepSequence.html +1 -1
- data/docs/Tasker/Types/StepTemplate.html +1 -1
- data/docs/Tasker/Types/TaskRequest.html +1 -1
- data/docs/Tasker/Types/TelemetryConfig.html +2 -2
- data/docs/Tasker/Types.html +1 -1
- data/docs/Tasker/WorkflowStep/StepFinder.html +1 -1
- data/docs/Tasker/WorkflowStep.html +1 -1
- data/docs/Tasker/WorkflowStepEdge.html +4 -6
- data/docs/Tasker/WorkflowStepSerializer.html +1 -1
- data/docs/Tasker/WorkflowStepTransition/TransitionDescriptionFormatter.html +1 -1
- data/docs/Tasker/WorkflowStepTransition.html +1 -1
- data/docs/Tasker/WorkflowStepsController.html +1 -1
- data/docs/Tasker.html +5 -21
- data/docs/VISION.md +1 -1
- data/docs/_index.html +77 -21
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +14 -10
- data/docs/index.html +14 -10
- data/docs/method_list.html +1433 -1105
- data/docs/top-level-namespace.html +1 -1
- data/lib/generators/tasker/authenticator_generator.rb +5 -5
- data/lib/generators/tasker/authorization_coordinator_generator.rb +1 -1
- data/lib/generators/tasker/events_generator.rb +1 -1
- data/lib/generators/tasker/task_handler_generator.rb +4 -4
- data/lib/generators/tasker/templates/api_token_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/authorization_coordinator.rb.erb +13 -0
- data/lib/generators/tasker/templates/authorization_coordinator_spec.rb.erb +7 -1
- data/lib/generators/tasker/templates/custom_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/devise_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/initialize.rb.erb +1 -1
- data/lib/generators/tasker/templates/jwt_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/omniauth_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/opentelemetry_initializer.rb +4 -4
- data/lib/generators/tasker/templates/task_config.yaml.erb +25 -25
- data/lib/generators/tasker/templates/task_handler.rb.erb +2 -3
- data/lib/generators/tasker/templates/task_handler_spec.rb.erb +43 -49
- data/lib/tasker/analysis/runtime_graph_analyzer.rb +1 -1
- data/lib/tasker/authentication/coordinator.rb +2 -2
- data/lib/tasker/authorization/base_coordinator.rb +1 -1
- data/lib/tasker/authorization/resource_constants.rb +2 -1
- data/lib/tasker/authorization/resource_registry.rb +7 -0
- data/lib/tasker/authorization.rb +1 -1
- data/lib/tasker/concerns/authenticatable.rb +1 -1
- data/lib/tasker/concerns/controller_authorizable.rb +3 -3
- data/lib/tasker/concerns/structured_logging.rb +2 -2
- data/lib/tasker/events/definition_loader.rb +1 -1
- data/lib/tasker/events/subscribers/metrics_subscriber.rb +1 -1
- data/lib/tasker/events/subscribers/telemetry_subscriber.rb +5 -5
- data/lib/tasker/handler_factory.rb +2 -7
- data/lib/tasker/health/readiness_checker.rb +1 -1
- data/lib/tasker/health/status_checker.rb +1 -1
- data/lib/tasker/logging/correlation_id_generator.rb +1 -1
- data/lib/tasker/orchestration/backoff_calculator.rb +1 -1
- data/lib/tasker/orchestration/connection_builder.rb +1 -1
- data/lib/tasker/orchestration/connection_pool_intelligence.rb +3 -3
- data/lib/tasker/orchestration/step_executor.rb +2 -2
- data/lib/tasker/orchestration/task_finalizer.rb +1 -1
- data/lib/tasker/registry/base_registry.rb +1 -1
- data/lib/tasker/task_builder.rb +1 -1
- data/lib/tasker/task_handler/class_methods.rb +1 -4
- data/lib/tasker/telemetry/intelligent_cache_manager.rb +1 -1
- data/lib/tasker/telemetry/metric_types.rb +9 -57
- data/lib/tasker/telemetry/metrics_backend.rb +3 -3
- data/lib/tasker/telemetry/metrics_export_service.rb +1 -1
- data/lib/tasker/telemetry/prometheus_exporter.rb +2 -2
- data/lib/tasker/types/telemetry_config.rb +1 -1
- data/lib/tasker/version.rb +1 -2
- data/lib/tasks/tasker_tasks.rake +4 -85
- metadata +11 -7
- data/db/functions/get_step_readiness_status_single_and_batch_v02.sql +0 -223
- data/db/migrate/20250710110830_step_readiness_sql_functions_v02.rb +0 -39
- data/docs/REVERSIONING.md +0 -404
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
</div>
|
|
368
368
|
|
|
369
369
|
<div id="footer">
|
|
370
|
-
Generated on
|
|
370
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
371
371
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
372
372
|
0.9.37 (ruby-3.2.4).
|
|
373
373
|
</div>
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
|
|
208
208
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_task_handler_files'>create_task_handler_files</span>
|
|
209
209
|
<span class='comment'># Set variables first
|
|
210
|
-
</span> <span class='ivar'>@module_namespace</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:module_namespace</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='
|
|
210
|
+
</span> <span class='ivar'>@module_namespace</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:module_namespace</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="../../Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_engine'><span class='object_link'><a href="../Configuration.html#engine-instance_method" title="Tasker::Configuration#engine (method)">engine</a></span></span><span class='period'>.</span><span class='id identifier rubyid_default_module_namespace'><span class='object_link'><a href="../Types/EngineConfig.html#default_module_namespace-instance_method" title="Tasker::Types::EngineConfig#default_module_namespace (method)">default_module_namespace</a></span></span>
|
|
211
211
|
<span class='ivar'>@module_path</span> <span class='op'>=</span> <span class='ivar'>@module_namespace</span><span class='op'>&.</span><span class='id identifier rubyid_underscore'>underscore</span>
|
|
212
212
|
<span class='ivar'>@task_handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_camelize'>camelize</span>
|
|
213
213
|
<span class='ivar'>@task_name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_underscore'>underscore</span>
|
|
@@ -220,8 +220,8 @@
|
|
|
220
220
|
</span> <span class='id identifier rubyid_ensure_configuration_loaded'>ensure_configuration_loaded</span>
|
|
221
221
|
|
|
222
222
|
<span class='comment'># Get directory paths from configuration
|
|
223
|
-
</span> <span class='ivar'>@task_handler_directory</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='
|
|
224
|
-
<span class='ivar'>@task_config_directory</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='
|
|
223
|
+
</span> <span class='ivar'>@task_handler_directory</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="../../Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_engine'><span class='object_link'><a href="../Configuration.html#engine-instance_method" title="Tasker::Configuration#engine (method)">engine</a></span></span><span class='period'>.</span><span class='id identifier rubyid_task_handler_directory'><span class='object_link'><a href="../Types/EngineConfig.html#task_handler_directory-instance_method" title="Tasker::Types::EngineConfig#task_handler_directory (method)">task_handler_directory</a></span></span>
|
|
224
|
+
<span class='ivar'>@task_config_directory</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="../../Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_engine'><span class='object_link'><a href="../Configuration.html#engine-instance_method" title="Tasker::Configuration#engine (method)">engine</a></span></span><span class='period'>.</span><span class='id identifier rubyid_task_config_directory'><span class='object_link'><a href="../Types/EngineConfig.html#task_config_directory-instance_method" title="Tasker::Types::EngineConfig#task_config_directory (method)">task_config_directory</a></span></span>
|
|
225
225
|
|
|
226
226
|
<span class='comment'># Ensure directories exist
|
|
227
227
|
</span> <span class='id identifier rubyid_ensure_directories_exist'>ensure_directories_exist</span><span class='lparen'>(</span>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
</div>
|
|
254
254
|
|
|
255
255
|
<div id="footer">
|
|
256
|
-
Generated on
|
|
256
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
257
257
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
258
258
|
0.9.37 (ruby-3.2.4).
|
|
259
259
|
</div>
|
data/docs/Tasker/Generators.html
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
111
111
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.9.37 (ruby-3.2.4).
|
|
113
113
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
<div id="footer">
|
|
123
|
-
Generated on
|
|
123
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
124
124
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
125
125
|
0.9.37 (ruby-3.2.4).
|
|
126
126
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</div>
|
|
107
107
|
|
|
108
108
|
<div id="footer">
|
|
109
|
-
Generated on
|
|
109
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
110
110
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
111
111
|
0.9.37 (ruby-3.2.4).
|
|
112
112
|
</div>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on
|
|
121
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
122
122
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.9.37 (ruby-3.2.4).
|
|
124
124
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div id="footer">
|
|
117
|
-
Generated on
|
|
117
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
118
118
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
119
119
|
0.9.37 (ruby-3.2.4).
|
|
120
120
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
</div>
|
|
109
109
|
|
|
110
110
|
<div id="footer">
|
|
111
|
-
Generated on
|
|
111
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
112
112
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
113
113
|
0.9.37 (ruby-3.2.4).
|
|
114
114
|
</div>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
|
|
131
131
|
<div id="footer">
|
|
132
|
-
Generated on
|
|
132
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
133
133
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
134
134
|
0.9.37 (ruby-3.2.4).
|
|
135
135
|
</div>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
<div id="footer">
|
|
125
|
-
Generated on
|
|
125
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
126
126
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
127
127
|
0.9.37 (ruby-3.2.4).
|
|
128
128
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
|
|
103
103
|
<div id="footer">
|
|
104
|
-
Generated on
|
|
104
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
105
105
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
106
106
|
0.9.37 (ruby-3.2.4).
|
|
107
107
|
</div>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
</div>
|
|
192
192
|
|
|
193
193
|
<div id="footer">
|
|
194
|
-
Generated on
|
|
194
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
195
195
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
196
196
|
0.9.37 (ruby-3.2.4).
|
|
197
197
|
</div>
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
</div>
|
|
685
685
|
|
|
686
686
|
<div id="footer">
|
|
687
|
-
Generated on
|
|
687
|
+
Generated on Tue Jul 1 16:47:41 2025 by
|
|
688
688
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
689
689
|
0.9.37 (ruby-3.2.4).
|
|
690
690
|
</div>
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
<div id="footer">
|
|
123
|
-
Generated on
|
|
123
|
+
Generated on Tue Jul 1 16:47:34 2025 by
|
|
124
124
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
125
125
|
0.9.37 (ruby-3.2.4).
|
|
126
126
|
</div>
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
</div>
|
|
242
242
|
|
|
243
243
|
<div id="footer">
|
|
244
|
-
Generated on
|
|
244
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
245
245
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
246
246
|
0.9.37 (ruby-3.2.4).
|
|
247
247
|
</div>
|
|
@@ -676,12 +676,12 @@
|
|
|
676
676
|
<pre class="lines">
|
|
677
677
|
|
|
678
678
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
679
|
+
156
|
|
680
|
+
157
|
|
681
|
+
158</pre>
|
|
682
682
|
</td>
|
|
683
683
|
<td>
|
|
684
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
684
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 156</span>
|
|
685
685
|
|
|
686
686
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_items'>all_items</span>
|
|
687
687
|
<span class='ivar'>@handler_classes</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span>
|
|
@@ -735,12 +735,12 @@
|
|
|
735
735
|
<pre class="lines">
|
|
736
736
|
|
|
737
737
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
738
|
+
163
|
|
739
|
+
164
|
|
740
|
+
165</pre>
|
|
741
741
|
</td>
|
|
742
742
|
<td>
|
|
743
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
743
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 163</span>
|
|
744
744
|
|
|
745
745
|
<span class='kw'>def</span> <span class='id identifier rubyid_clear!'>clear!</span>
|
|
746
746
|
<span class='id identifier rubyid_clear_all!'>clear_all!</span>
|
|
@@ -794,17 +794,17 @@
|
|
|
794
794
|
<pre class="lines">
|
|
795
795
|
|
|
796
796
|
|
|
797
|
+
170
|
|
798
|
+
171
|
|
799
|
+
172
|
|
800
|
+
173
|
|
801
|
+
174
|
|
797
802
|
175
|
|
798
803
|
176
|
|
799
|
-
177
|
|
800
|
-
178
|
|
801
|
-
179
|
|
802
|
-
180
|
|
803
|
-
181
|
|
804
|
-
182</pre>
|
|
804
|
+
177</pre>
|
|
805
805
|
</td>
|
|
806
806
|
<td>
|
|
807
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
807
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 170</span>
|
|
808
808
|
|
|
809
809
|
<span class='kw'>def</span> <span class='id identifier rubyid_clear_all!'>clear_all!</span>
|
|
810
810
|
<span class='id identifier rubyid_thread_safe_operation'>thread_safe_operation</span> <span class='kw'>do</span>
|
|
@@ -953,12 +953,7 @@
|
|
|
953
953
|
55
|
|
954
954
|
56
|
|
955
955
|
57
|
|
956
|
-
58
|
|
957
|
-
59
|
|
958
|
-
60
|
|
959
|
-
61
|
|
960
|
-
62
|
|
961
|
-
63</pre>
|
|
956
|
+
58</pre>
|
|
962
957
|
</td>
|
|
963
958
|
<td>
|
|
964
959
|
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 42</span>
|
|
@@ -967,8 +962,7 @@
|
|
|
967
962
|
<span class='id identifier rubyid_namespace_name'>namespace_name</span> <span class='op'>=</span> <span class='id identifier rubyid_namespace_name'>namespace_name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
968
963
|
<span class='id identifier rubyid_name_sym'>name_sym</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
969
964
|
|
|
970
|
-
<span class='
|
|
971
|
-
</span> <span class='id identifier rubyid_handler_class'>handler_class</span> <span class='op'>=</span> <span class='id identifier rubyid_thread_safe_operation'>thread_safe_operation</span> <span class='kw'>do</span>
|
|
965
|
+
<span class='id identifier rubyid_thread_safe_operation'>thread_safe_operation</span> <span class='kw'>do</span>
|
|
972
966
|
<span class='comment'># Direct namespace lookup - allows same name in different systems
|
|
973
967
|
</span> <span class='id identifier rubyid_handler_class'>handler_class</span> <span class='op'>=</span> <span class='ivar'>@handler_classes</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace_name'>namespace_name</span><span class='comma'>,</span> <span class='id identifier rubyid_name_sym'>name_sym</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='rparen'>)</span>
|
|
974
968
|
<span class='id identifier rubyid_raise_handler_not_found'>raise_handler_not_found</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_namespace_name'>namespace_name</span><span class='comma'>,</span> <span class='id identifier rubyid_version'>version</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_handler_class'>handler_class</span>
|
|
@@ -978,12 +972,8 @@
|
|
|
978
972
|
<span class='label'>entity_id:</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_namespace_name'>namespace_name</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name_sym'>name_sym</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
|
979
973
|
<span class='label'>handler_class:</span> <span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Class</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_handler_class'>handler_class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>:</span> <span class='id identifier rubyid_handler_class'>handler_class</span><span class='rparen'>)</span>
|
|
980
974
|
|
|
981
|
-
<span class='id identifier rubyid_handler_class'>handler_class</span>
|
|
975
|
+
<span class='id identifier rubyid_instantiate_handler'>instantiate_handler</span><span class='lparen'>(</span><span class='id identifier rubyid_handler_class'>handler_class</span><span class='rparen'>)</span>
|
|
982
976
|
<span class='kw'>end</span>
|
|
983
|
-
|
|
984
|
-
<span class='comment'># Instantiate the handler OUTSIDE the mutex lock to avoid recursive locking
|
|
985
|
-
</span> <span class='comment'># when ConfiguredTask handlers try to register themselves during instantiation
|
|
986
|
-
</span> <span class='id identifier rubyid_instantiate_handler'>instantiate_handler</span><span class='lparen'>(</span><span class='id identifier rubyid_handler_class'>handler_class</span><span class='rparen'>)</span>
|
|
987
977
|
<span class='kw'>end</span></pre>
|
|
988
978
|
</td>
|
|
989
979
|
</tr>
|
|
@@ -1056,16 +1046,16 @@
|
|
|
1056
1046
|
<pre class="lines">
|
|
1057
1047
|
|
|
1058
1048
|
|
|
1049
|
+
126
|
|
1050
|
+
127
|
|
1051
|
+
128
|
|
1052
|
+
129
|
|
1053
|
+
130
|
|
1059
1054
|
131
|
|
1060
|
-
132
|
|
1061
|
-
133
|
|
1062
|
-
134
|
|
1063
|
-
135
|
|
1064
|
-
136
|
|
1065
|
-
137</pre>
|
|
1055
|
+
132</pre>
|
|
1066
1056
|
</td>
|
|
1067
1057
|
<td>
|
|
1068
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
1058
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 126</span>
|
|
1069
1059
|
|
|
1070
1060
|
<span class='kw'>def</span> <span class='id identifier rubyid_list_handlers'>list_handlers</span><span class='lparen'>(</span><span class='label'>namespace:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
1071
1061
|
<span class='kw'>if</span> <span class='id identifier rubyid_namespace'>namespace</span>
|
|
@@ -1276,6 +1266,11 @@
|
|
|
1276
1266
|
<pre class="lines">
|
|
1277
1267
|
|
|
1278
1268
|
|
|
1269
|
+
71
|
|
1270
|
+
72
|
|
1271
|
+
73
|
|
1272
|
+
74
|
|
1273
|
+
75
|
|
1279
1274
|
76
|
|
1280
1275
|
77
|
|
1281
1276
|
78
|
|
@@ -1320,15 +1315,10 @@
|
|
|
1320
1315
|
117
|
|
1321
1316
|
118
|
|
1322
1317
|
119
|
|
1323
|
-
120
|
|
1324
|
-
121
|
|
1325
|
-
122
|
|
1326
|
-
123
|
|
1327
|
-
124
|
|
1328
|
-
125</pre>
|
|
1318
|
+
120</pre>
|
|
1329
1319
|
</td>
|
|
1330
1320
|
<td>
|
|
1331
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
1321
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 71</span>
|
|
1332
1322
|
|
|
1333
1323
|
<span class='kw'>def</span> <span class='id identifier rubyid_register'>register</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_class_or_class_name'>class_or_class_name</span><span class='comma'>,</span> <span class='label'>namespace_name:</span> <span class='symbol'>:default</span><span class='comma'>,</span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
1334
1324
|
<span class='id identifier rubyid_name_sym'>name_sym</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span>
|
|
@@ -1429,12 +1419,12 @@
|
|
|
1429
1419
|
<pre class="lines">
|
|
1430
1420
|
|
|
1431
1421
|
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1422
|
+
137
|
|
1423
|
+
138
|
|
1424
|
+
139</pre>
|
|
1435
1425
|
</td>
|
|
1436
1426
|
<td>
|
|
1437
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
1427
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 137</span>
|
|
1438
1428
|
|
|
1439
1429
|
<span class='kw'>def</span> <span class='id identifier rubyid_registered_namespaces'>registered_namespaces</span>
|
|
1440
1430
|
<span class='ivar'>@namespaces</span><span class='period'>.</span><span class='id identifier rubyid_to_a'>to_a</span>
|
|
@@ -1488,17 +1478,17 @@
|
|
|
1488
1478
|
<pre class="lines">
|
|
1489
1479
|
|
|
1490
1480
|
|
|
1481
|
+
144
|
|
1482
|
+
145
|
|
1483
|
+
146
|
|
1484
|
+
147
|
|
1485
|
+
148
|
|
1491
1486
|
149
|
|
1492
1487
|
150
|
|
1493
|
-
151
|
|
1494
|
-
152
|
|
1495
|
-
153
|
|
1496
|
-
154
|
|
1497
|
-
155
|
|
1498
|
-
156</pre>
|
|
1488
|
+
151</pre>
|
|
1499
1489
|
</td>
|
|
1500
1490
|
<td>
|
|
1501
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line
|
|
1491
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/handler_factory.rb', line 144</span>
|
|
1502
1492
|
|
|
1503
1493
|
<span class='kw'>def</span> <span class='id identifier rubyid_stats'>stats</span>
|
|
1504
1494
|
<span class='id identifier rubyid_base_stats'>base_stats</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span>
|
|
@@ -1518,7 +1508,7 @@
|
|
|
1518
1508
|
</div>
|
|
1519
1509
|
|
|
1520
1510
|
<div id="footer">
|
|
1521
|
-
Generated on
|
|
1511
|
+
Generated on Tue Jul 1 16:47:36 2025 by
|
|
1522
1512
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1523
1513
|
0.9.37 (ruby-3.2.4).
|
|
1524
1514
|
</div>
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
</div>
|
|
673
673
|
|
|
674
674
|
<div id="footer">
|
|
675
|
-
Generated on
|
|
675
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
676
676
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
677
677
|
0.9.37 (ruby-3.2.4).
|
|
678
678
|
</div>
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
</div>
|
|
565
565
|
|
|
566
566
|
<div id="footer">
|
|
567
|
-
Generated on
|
|
567
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
568
568
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
569
569
|
0.9.37 (ruby-3.2.4).
|
|
570
570
|
</div>
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
</div>
|
|
269
269
|
|
|
270
270
|
<div id="footer">
|
|
271
|
-
Generated on
|
|
271
|
+
Generated on Tue Jul 1 16:47:36 2025 by
|
|
272
272
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
273
273
|
0.9.37 (ruby-3.2.4).
|
|
274
274
|
</div>
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
<pre class="code"><span class="info file"># File 'lib/tasker/health/readiness_checker.rb', line 27</span>
|
|
353
353
|
|
|
354
354
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>timeout:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
355
|
-
<span class='ivar'>@timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_timeout'>timeout</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='
|
|
355
|
+
<span class='ivar'>@timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_timeout'>timeout</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="../../Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_health'><span class='object_link'><a href="../Configuration.html#health-instance_method" title="Tasker::Configuration#health (method)">health</a></span></span><span class='period'>.</span><span class='id identifier rubyid_readiness_timeout_seconds'><span class='object_link'><a href="../Types/HealthConfig.html#readiness_timeout_seconds-instance_method" title="Tasker::Types::HealthConfig#readiness_timeout_seconds (method)">readiness_timeout_seconds</a></span></span>
|
|
356
356
|
<span class='kw'>end</span></pre>
|
|
357
357
|
</td>
|
|
358
358
|
</tr>
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
</div>
|
|
703
703
|
|
|
704
704
|
<div id="footer">
|
|
705
|
-
Generated on
|
|
705
|
+
Generated on Tue Jul 1 16:47:38 2025 by
|
|
706
706
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
707
707
|
0.9.37 (ruby-3.2.4).
|
|
708
708
|
</div>
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
<pre class="code"><span class="info file"># File 'lib/tasker/health/status_checker.rb', line 27</span>
|
|
355
355
|
|
|
356
356
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>cache_duration:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
357
|
-
<span class='ivar'>@cache_duration</span> <span class='op'>=</span> <span class='id identifier rubyid_cache_duration'>cache_duration</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='
|
|
357
|
+
<span class='ivar'>@cache_duration</span> <span class='op'>=</span> <span class='id identifier rubyid_cache_duration'>cache_duration</span> <span class='op'>||</span> <span class='const'><span class='object_link'><a href="../../Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="../../Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_health'><span class='object_link'><a href="../Configuration.html#health-instance_method" title="Tasker::Configuration#health (method)">health</a></span></span><span class='period'>.</span><span class='id identifier rubyid_cache_duration_seconds'><span class='object_link'><a href="../Types/HealthConfig.html#cache_duration_seconds-instance_method" title="Tasker::Types::HealthConfig#cache_duration_seconds (method)">cache_duration_seconds</a></span></span>
|
|
358
358
|
<span class='kw'>end</span></pre>
|
|
359
359
|
</td>
|
|
360
360
|
</tr>
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
</div>
|
|
644
644
|
|
|
645
645
|
<div id="footer">
|
|
646
|
-
Generated on
|
|
646
|
+
Generated on Tue Jul 1 16:47:37 2025 by
|
|
647
647
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
648
648
|
0.9.37 (ruby-3.2.4).
|
|
649
649
|
</div>
|
data/docs/Tasker/Health.html
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
111
111
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
112
|
0.9.37 (ruby-3.2.4).
|
|
113
113
|
</div>
|