Package de.dlr.proseo.planner
Class ProductionPlannerConfiguration
java.lang.Object
de.dlr.proseo.planner.ProductionPlannerConfiguration
@Configuration
@ConfigurationProperties(prefix="proseo")
@EntityScan(basePackages="de.dlr.proseo.model")
public class ProductionPlannerConfiguration
extends Object
Configuration class for the prosEO ProductionPlanner component.
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the AIP password.Gets the AIP URL.Gets the AIP user.Get the autogenerate flagGet the flag indicating whether to check for further job steps to run.Get the host alias entry.Get the HTTP timeout value.Get the URL of the prosEO Ingestor.Gets the job step sorting order.Get the URL of the prosEO notification service.Get the planning batch size.Get the mount point for the wrapper.Get the wait time for K8s job finish cycle.Get the wait time for the dispatcher in K8s job finish cycle.Get the maximum cycles for file size check.Get the wait time for file size check cycle.Get the wait time for K8s job finish cycle.Get the Kubernetes configuration file name.Get the maximum cycles for K8s job finish.Get the URL of the prosEO Production Planner.Get the password used for Production Planner/Ingestor logins by the wrapper.Get the user name used for Production Planner/Ingestor logins by the wrapper.voidsetCheckForFurtherJobStepsToRun(Boolean checkForFurtherJobStepsToRun) Set the flag indicating whether to check for further job steps to run.voidsetHttpTimeout(Integer httpTimeout) Set the HTTP timeout value.voidsetNotificationUrl(String notificationUrl) Set the URL of the prosEO notification service.voidsetPlanningBatchSize(Integer planningBatchSize) Set the planning batch size.voidsetProductionPlannerJobCreatedWaitTime(Integer productionPlannerJobCreatedWaitTime) Set the wait time for K8s job finish cycle.
-
Constructor Details
-
ProductionPlannerConfiguration
public ProductionPlannerConfiguration()
-
-
Method Details
-
getDetectOverlappingJobSteps
- Returns:
- the detectOverlappingJobSteps
-
getJobStepSort
Gets the job step sorting order.- Returns:
- the jobStepSort
-
getAipUser
Gets the AIP user.- Returns:
- the aipUser
-
getAipPassword
Gets the AIP password.- Returns:
- the aipPassword
-
getAipUrl
Gets the AIP URL.- Returns:
- the aipUrl
-
getHttpTimeout
Get the HTTP timeout value.- Returns:
- The HTTP timeout value in milliseconds.
-
setHttpTimeout
Set the HTTP timeout value.- Parameters:
httpTimeout- The HTTP timeout value to set in milliseconds.
-
getNotificationUrl
Get the URL of the prosEO notification service.- Returns:
- The URL of the notification service.
-
setNotificationUrl
Set the URL of the prosEO notification service.- Parameters:
notificationUrl- The URL of the notification service to set.
-
getCheckForFurtherJobStepsToRun
Get the flag indicating whether to check for further job steps to run.- Returns:
- True if further job steps need to be checked, false otherwise.
-
setCheckForFurtherJobStepsToRun
Set the flag indicating whether to check for further job steps to run.- Parameters:
checkForFurtherJobStepsToRun- The flag value to set.
-
getPlanningBatchSize
Get the planning batch size.- Returns:
- The planning batch size.
-
setPlanningBatchSize
Set the planning batch size.- Parameters:
planningBatchSize- The planning batch size to set.
-
getProductionPlannerJobCreatedWaitTime
Get the wait time for K8s job finish cycle.- Returns:
- The wait time for K8s job finish cycle in milliseconds.
-
setProductionPlannerJobCreatedWaitTime
Set the wait time for K8s job finish cycle.- Parameters:
productionPlannerJobCreatedWaitTime- The wait time for K8s job finish cycle to set in milliseconds.
-
getProductionPlannerFileCheckMaxCycles
Get the maximum cycles for file size check.- Returns:
- The maximum cycles for file size check.
-
getProductionPlannerFileCheckWaitTime
Get the wait time for file size check cycle.- Returns:
- The wait time for file size check cycle in milliseconds.
-
getProductionPlannerKubeConfig
Get the Kubernetes configuration file name.- Returns:
- The Kubernetes configuration file name.
-
getPosixWorkerMountPoint
Get the mount point for the wrapper.- Returns:
- The mount point for the wrapper.
-
getProductionPlannerCycleWaitTime
Get the wait time for K8s job finish cycle.- Returns:
- The wait time for K8s job finish cycle in milliseconds.
-
getProductionPlannerDispatcherWaitTime
Get the wait time for the dispatcher in K8s job finish cycle.- Returns:
- The wait time for the dispatcher in K8s job finish cycle in milliseconds.
-
getProductionPlannerMaxCycles
Get the maximum cycles for K8s job finish.- Returns:
- The maximum cycles for K8s job finish.
-
getProductionPlannerUrl
Get the URL of the prosEO Production Planner.- Returns:
- The URL of the Production Planner.
-
getWrapperUser
Get the user name used for Production Planner/Ingestor logins by the wrapper.- Returns:
- The user name used for logins.
-
getWrapperPassword
Get the password used for Production Planner/Ingestor logins by the wrapper.- Returns:
- The password used for logins.
-
getIngestorUrl
Get the URL of the prosEO Ingestor.- Returns:
- The URL of the Ingestor.
-
getHostAlias
Get the host alias entry.- Returns:
- The host alias entry or null if no entry was given and the default has been set.
-
getAutogenerate
Get the autogenerate flag- Returns:
- the autogenerate
-