Package com.yahoo.config.model.deploy
Class TestProperties
java.lang.Object
com.yahoo.config.model.deploy.TestProperties
- All Implemented Interfaces:
com.yahoo.config.model.api.ModelContext.FeatureFlags
,com.yahoo.config.model.api.ModelContext.Properties
public class TestProperties
extends Object
implements com.yahoo.config.model.api.ModelContext.Properties, com.yahoo.config.model.api.ModelContext.FeatureFlags
A test-only Properties class
Unfortunately this has to be placed in non-test source tree since lots of code already have test code (fix later)
- Author:
- hakonhall
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.config.provision.NodeResources.Architecture
boolean
allowDisableMtls
(boolean value) com.yahoo.config.provision.ApplicationId
Optional<com.yahoo.config.provision.AthenzDomain>
boolean
List<com.yahoo.config.model.api.ConfigServerSpec>
boolean
containerDumpHeapOnShutdownTimeout
(boolean value) double
containerShutdownTimeout
(double value) int
double
Optional<com.yahoo.config.model.api.EndpointCertificateSecrets>
Set<com.yahoo.config.model.api.ContainerEndpoint>
boolean
boolean
failDeploymentWithInvalidJvmOptions
(boolean fail) com.yahoo.config.model.api.ModelContext.FeatureFlags
double
int
int
boolean
boolean
inhibitDefaultMergesWhenGlobalMergesPending
(boolean value) boolean
boolean
jvmGCOptions
(Optional<com.yahoo.config.provision.ClusterSpec.Type> clusterType) jvmOmitStackTraceInFastThrowOption
(com.yahoo.config.provision.ClusterSpec.Type type) com.yahoo.config.provision.HostName
int
maxActivationInhibitedOutOfSyncGroups
(int nGroups) int
maxCompactBuffers
(int maxCompactBuffers) int
int
int
maxUnCommittedMemory
(int maxUnCommittedMemory) double
boolean
boolean
int
double
double
double
com.yahoo.config.model.api.Quota
quota()
double
double
setAdminClusterNodeResourcesArchitecture
(com.yahoo.config.provision.NodeResources.Architecture architecture) setApplicationId
(com.yahoo.config.provision.ApplicationId applicationId) setAsyncMessageHandlingOnSchedule
(boolean value) setAthenzDomain
(com.yahoo.config.provision.AthenzDomain domain) setAvoidRenamingSummaryFeatures
(boolean value) setConfigServerSpecs
(List<TestProperties.Spec> configServerSpecs) setDefaultTermwiseLimit
(double limit) setEndpointCertificateSecrets
(Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets) setEnvironmentVariables
(List<String> value) setExperimentalSdParsing
(boolean value) setFeedConcurrency
(double feedConcurrency) setFeedMasterTaskLimit
(int value) setFeedSequencerType
(String type) setFeedTaskLimit
(int value) setFirstTimeDeployment
(boolean firstTimeDeployment) setHostedVespa
(boolean hostedVespa) setJvmGCOptions
(String gcOptions) setMaxConcurrentMergesPerNode
(int maxConcurrentMergesPerNode) setMaxMergeQueueSize
(int maxMergeQueueSize) setMergeThrottlingPolicy
(String policy) setMinNodeRatioPerGroup
(double value) setMultitenant
(boolean multitenant) setOperatorCertificates
(List<X509Certificate> operatorCertificates) setPersistenceThrottlingOfMergeFeedOps
(boolean throttleOps) setPersistenceThrottlingWindowSize
(int windowSize) setPersistenceThrottlingWsBackoff
(double backoff) setPersistenceThrottlingWsDecrementFactor
(double factor) setPersistenceThrottlingWsResizeRate
(double resizeRate) setQuota
(com.yahoo.config.model.api.Quota quota) setResourceLimitDisk
(double value) setResourceLimitMemory
(double value) setResponseNumThreads
(int numThreads) setTenantSecretStores
(List<com.yahoo.config.model.api.TenantSecretStore> secretStores) setUnorderedMergeChaining
(boolean unordered) setUseDedicatedNodeForLogserver
(boolean useDedicatedNodeForLogserver) setUseThreePhaseUpdates
(boolean useThreePhaseUpdates) setUseV8GeoPositions
(boolean value) setZone
(com.yahoo.config.provision.Zone zone) setZoneDnsSuffixes
(List<String> zoneDnsSuffixes) boolean
boolean
boolean
List<com.yahoo.config.model.api.TenantSecretStore>
boolean
boolean
boolean
boolean
boolean
com.yahoo.config.provision.Zone
zone()
ztsUrl()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.config.model.api.ModelContext.FeatureFlags
adminClusterNodeArchitecture, allowedAthenzProxyIdentities, availableProcessors, defaultPoolNumThreads, enableFeedBlockInDistributor, enableJdiscPreshutdownCommand, enableServerOcspStapling, forwardIssuesAsErrors, ignoredHttpUserAgents, ignoreThreadStackSizes, mergeGroupingResultInSearchInvoker, useQrserverServiceName, useV8DocManagerCfg
Methods inherited from interface com.yahoo.config.model.api.ModelContext.Properties
applicationRoles, jvmGCOptions, tlsCiphersOverride
-
Constructor Details
-
TestProperties
public TestProperties()
-
-
Method Details
-
featureFlags
public com.yahoo.config.model.api.ModelContext.FeatureFlags featureFlags()- Specified by:
featureFlags
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
multitenant
public boolean multitenant()- Specified by:
multitenant
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
applicationId
public com.yahoo.config.provision.ApplicationId applicationId()- Specified by:
applicationId
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
configServerSpecs
- Specified by:
configServerSpecs
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
loadBalancerName
public com.yahoo.config.provision.HostName loadBalancerName()- Specified by:
loadBalancerName
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
ztsUrl
- Specified by:
ztsUrl
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
athenzDnsSuffix
- Specified by:
athenzDnsSuffix
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
hostedVespa
public boolean hostedVespa()- Specified by:
hostedVespa
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
zone
public com.yahoo.config.provision.Zone zone()- Specified by:
zone
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
endpoints
- Specified by:
endpoints
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
jvmGCOptions
- Specified by:
jvmGCOptions
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
feedSequencerType
- Specified by:
feedSequencerType
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
feedTaskLimit
public int feedTaskLimit()- Specified by:
feedTaskLimit
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
feedMasterTaskLimit
public int feedMasterTaskLimit()- Specified by:
feedMasterTaskLimit
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
isBootstrap
public boolean isBootstrap()- Specified by:
isBootstrap
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
isFirstTimeDeployment
public boolean isFirstTimeDeployment()- Specified by:
isFirstTimeDeployment
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
useDedicatedNodeForLogserver
public boolean useDedicatedNodeForLogserver()- Specified by:
useDedicatedNodeForLogserver
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
endpointCertificateSecrets
- Specified by:
endpointCertificateSecrets
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
defaultTermwiseLimit
public double defaultTermwiseLimit()- Specified by:
defaultTermwiseLimit
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
useThreePhaseUpdates
public boolean useThreePhaseUpdates()- Specified by:
useThreePhaseUpdates
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
athenzDomain
- Specified by:
athenzDomain
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
responseSequencerType
- Specified by:
responseSequencerType
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
defaultNumResponseThreads
public int defaultNumResponseThreads()- Specified by:
defaultNumResponseThreads
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
skipCommunicationManagerThread
public boolean skipCommunicationManagerThread()- Specified by:
skipCommunicationManagerThread
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
skipMbusRequestThread
public boolean skipMbusRequestThread()- Specified by:
skipMbusRequestThread
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
skipMbusReplyThread
public boolean skipMbusReplyThread()- Specified by:
skipMbusReplyThread
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
quota
public com.yahoo.config.model.api.Quota quota()- Specified by:
quota
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
useAsyncMessageHandlingOnSchedule
public boolean useAsyncMessageHandlingOnSchedule()- Specified by:
useAsyncMessageHandlingOnSchedule
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
feedConcurrency
public double feedConcurrency()- Specified by:
feedConcurrency
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxActivationInhibitedOutOfSyncGroups
public int maxActivationInhibitedOutOfSyncGroups()- Specified by:
maxActivationInhibitedOutOfSyncGroups
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
tenantSecretStores
- Specified by:
tenantSecretStores
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
jvmOmitStackTraceInFastThrowOption
- Specified by:
jvmOmitStackTraceInFastThrowOption
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
allowDisableMtls
public boolean allowDisableMtls()- Specified by:
allowDisableMtls
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
operatorCertificates
- Specified by:
operatorCertificates
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
maxConcurrentMergesPerNode
public int maxConcurrentMergesPerNode()- Specified by:
maxConcurrentMergesPerNode
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxMergeQueueSize
public int maxMergeQueueSize()- Specified by:
maxMergeQueueSize
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
resourceLimitDisk
public double resourceLimitDisk()- Specified by:
resourceLimitDisk
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
resourceLimitMemory
public double resourceLimitMemory()- Specified by:
resourceLimitMemory
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
minNodeRatioPerGroup
public double minNodeRatioPerGroup()- Specified by:
minNodeRatioPerGroup
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
containerShutdownTimeout
public double containerShutdownTimeout()- Specified by:
containerShutdownTimeout
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
containerDumpHeapOnShutdownTimeout
public boolean containerDumpHeapOnShutdownTimeout()- Specified by:
containerDumpHeapOnShutdownTimeout
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxUnCommittedMemory
public int maxUnCommittedMemory()- Specified by:
maxUnCommittedMemory
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
unorderedMergeChaining
public boolean unorderedMergeChaining()- Specified by:
unorderedMergeChaining
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
zoneDnsSuffixes
- Specified by:
zoneDnsSuffixes
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
maxCompactBuffers
public int maxCompactBuffers()- Specified by:
maxCompactBuffers
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
failDeploymentWithInvalidJvmOptions
public boolean failDeploymentWithInvalidJvmOptions()- Specified by:
failDeploymentWithInvalidJvmOptions
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceAsyncThrottling
- Specified by:
persistenceAsyncThrottling
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mergeThrottlingPolicy
- Specified by:
mergeThrottlingPolicy
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceThrottlingWsDecrementFactor
public double persistenceThrottlingWsDecrementFactor()- Specified by:
persistenceThrottlingWsDecrementFactor
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceThrottlingWsBackoff
public double persistenceThrottlingWsBackoff()- Specified by:
persistenceThrottlingWsBackoff
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceThrottlingWindowSize
public int persistenceThrottlingWindowSize()- Specified by:
persistenceThrottlingWindowSize
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceThrottlingWsResizeRate
public double persistenceThrottlingWsResizeRate()- Specified by:
persistenceThrottlingWsResizeRate
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
persistenceThrottlingOfMergeFeedOps
public boolean persistenceThrottlingOfMergeFeedOps()- Specified by:
persistenceThrottlingOfMergeFeedOps
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
inhibitDefaultMergesWhenGlobalMergesPending
public boolean inhibitDefaultMergesWhenGlobalMergesPending()- Specified by:
inhibitDefaultMergesWhenGlobalMergesPending
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
useV8GeoPositions
public boolean useV8GeoPositions()- Specified by:
useV8GeoPositions
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
environmentVariables
- Specified by:
environmentVariables
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
avoidRenamingSummaryFeatures
public boolean avoidRenamingSummaryFeatures()- Specified by:
avoidRenamingSummaryFeatures
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
experimentalSdParsing
public boolean experimentalSdParsing()- Specified by:
experimentalSdParsing
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
adminClusterArchitecture
public com.yahoo.config.provision.NodeResources.Architecture adminClusterArchitecture()- Specified by:
adminClusterArchitecture
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxUnCommittedMemory
-
containerDumpHeapOnShutdownTimeout
-
containerShutdownTimeout
-
setFeedConcurrency
-
setAsyncMessageHandlingOnSchedule
-
setJvmGCOptions
-
setFeedSequencerType
-
setFeedTaskLimit
-
setFeedMasterTaskLimit
-
setResponseSequencerType
-
setFirstTimeDeployment
-
setResponseNumThreads
-
setMaxConcurrentMergesPerNode
-
setMaxMergeQueueSize
-
setDefaultTermwiseLimit
-
setUseThreePhaseUpdates
-
setApplicationId
-
setHostedVespa
-
setMultitenant
-
setConfigServerSpecs
-
setUseDedicatedNodeForLogserver
-
setEndpointCertificateSecrets
public TestProperties setEndpointCertificateSecrets(Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets) -
setZone
-
setAthenzDomain
-
setQuota
-
maxActivationInhibitedOutOfSyncGroups
-
setTenantSecretStores
public TestProperties setTenantSecretStores(List<com.yahoo.config.model.api.TenantSecretStore> secretStores) -
setJvmOmitStackTraceInFastThrowOption
-
allowDisableMtls
-
setOperatorCertificates
-
setResourceLimitDisk
-
setResourceLimitMemory
-
setMinNodeRatioPerGroup
-
setUnorderedMergeChaining
-
setZoneDnsSuffixes
-
maxCompactBuffers
-
failDeploymentWithInvalidJvmOptions
-
setPersistenceAsyncThrottling
-
setMergeThrottlingPolicy
-
setPersistenceThrottlingWsDecrementFactor
-
setPersistenceThrottlingWsBackoff
-
setPersistenceThrottlingWindowSize
-
setPersistenceThrottlingWsResizeRate
-
setPersistenceThrottlingOfMergeFeedOps
-
inhibitDefaultMergesWhenGlobalMergesPending
-
setUseV8GeoPositions
-
setEnvironmentVariables
-
setAvoidRenamingSummaryFeatures
-
setExperimentalSdParsing
-
setAdminClusterNodeResourcesArchitecture
public TestProperties setAdminClusterNodeResourcesArchitecture(com.yahoo.config.provision.NodeResources.Architecture architecture)
-