Package de.dlr.proseo.ingestor
Class IngestorConfiguration
java.lang.Object
de.dlr.proseo.ingestor.IngestorConfiguration
@Configuration
@ConfigurationProperties(prefix="proseo")
@EntityScan(basePackages="de.dlr.proseo.model")
public class IngestorConfiguration
extends Object
Configuration class for the prosEO Ingestor component
- Author:
- Dr. Thomas Bassler
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe maximum number of results to be retrieved by REST requests -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the order cleanup cycleGets the maximum number of results to be retrieved by REST requestsIndicates whether the Production Planner should be notified about new product ingestionslongGets the timeout in milliseconds for Production Planner connectionsGets the URL of the prosEO Production Planner componentbyte[]Gets the shared secret for generating Storage Manager download tokens as 256-bit byte arraylongGets the timeout in milliseconds for Storage Manager connectionslongGets the validity period in milliseconds for Storage Manager download tokens
-
Field Details
-
maxResults
The maximum number of results to be retrieved by REST requests
-
-
Constructor Details
-
IngestorConfiguration
public IngestorConfiguration()
-
-
Method Details
-
getProductionPlannerUrl
Gets the URL of the prosEO Production Planner component- Returns:
- the productionPlannerUrl the URL of the Production Planner
-
getProductionPlannerTimeout
public long getProductionPlannerTimeout()Gets the timeout in milliseconds for Production Planner connections- Returns:
- the productionPlannerTimeout
-
getStorageManagerTimeout
public long getStorageManagerTimeout()Gets the timeout in milliseconds for Storage Manager connections- Returns:
- the Storage Manager timeout
-
getStorageManagerSecret
public byte[] getStorageManagerSecret()Gets the shared secret for generating Storage Manager download tokens as 256-bit byte array- Returns:
- the Storage Manager secret
-
getStorageManagerTokenValidity
public long getStorageManagerTokenValidity()Gets the validity period in milliseconds for Storage Manager download tokens- Returns:
- the Storage Manager token validity
-
getCleanupCycleTime
Gets the order cleanup cycle- Returns:
- the order cleanup cycle (in days)
-
getNotifyPlanner
Indicates whether the Production Planner should be notified about new product ingestions- Returns:
- true, if Planner notification is requested, false otherwise
-
getMaxResults
Gets the maximum number of results to be retrieved by REST requests- Returns:
- the maximum number of results to be retrieved by REST requests
-