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
-
Constructor Summary
-
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>
List<com.yahoo.config.model.api.ConfigServerSpec>
boolean
containerDumpHeapOnShutdownTimeout
(boolean value) double
containerShutdownTimeout
(double value) int
double
boolean
Optional<com.yahoo.config.model.api.EndpointCertificateSecrets>
Set<com.yahoo.config.model.api.ContainerEndpoint>
com.yahoo.config.model.api.ModelContext.FeatureFlags
double
double
boolean
boolean
boolean
jvmGCOptions
(Optional<com.yahoo.config.provision.ClusterSpec.Type> clusterType) jvmOmitStackTraceInFastThrowOption
(com.yahoo.config.provision.ClusterSpec.Type type) com.yahoo.config.provision.HostName
boolean
loadCodeAsHugePages
(boolean loadCodeAsHugePages) int
maxActivationInhibitedOutOfSyncGroups
(int nGroups) int
maxCompactBuffers
(int maxCompactBuffers) int
int
int
maxUnCommittedMemory
(int maxUnCommittedMemory) int
int
int
int
int
double
boolean
boolean
int
double
double
double
com.yahoo.config.model.api.Quota
quota()
double
double
int
int
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) setConfigServerSpecs
(List<TestProperties.Spec> configServerSpecs) setDefaultTermwiseLimit
(double limit) setEnableBitVectors
(boolean value) setEndpointCertificateSecrets
(Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets) setEnvironmentVariables
(List<String> value) setFeedConcurrency
(double feedConcurrency) setFeedNiceness
(double feedNiceness) setFeedSequencerType
(String type) setFirstTimeDeployment
(boolean firstTimeDeployment) setHostedVespa
(boolean hostedVespa) setJvmGCOptions
(String gcOptions) setMaxConcurrentMergesPerNode
(int maxConcurrentMergesPerNode) setMaxMergeQueueSize
(int maxMergeQueueSize) setMbusCppEventsBeforeWakeup
(int value) setMbusCppRpcNumTargets
(int value) setMbusJavaEventsBeforeWakeup
(int value) setMbusJavaRpcNumTargets
(int value) setMbusNetworkThreads
(int value) 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) setRpcEventsBeforeWakeup
(int value) setRpcNumTargets
(int value) 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
sharedStringRepoNoReclaim
(boolean sharedStringRepoNoReclaim) 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
allowedAthenzProxyIdentities, availableProcessors, avoidRenamingSummaryFeatures, defaultPoolNumThreads, enableProxyProtocolMixedMode, enableServerOcspStapling, experimentalSdParsing, forwardIssuesAsErrors, ignoredHttpUserAgents, ignoreThreadStackSizes, logFileCompressionAlgorithm, mbusDispatchOnDecode, mbusDispatchOnEncode, mbusThreads, skipCommunicationManagerThread, skipMbusReplyThread, skipMbusRequestThread, useQrserverServiceName
Methods inherited from interface com.yahoo.config.model.api.ModelContext.Properties
cloudAccount, 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
-
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
-
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
-
feedNiceness
public double feedNiceness()- Specified by:
feedNiceness
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
-
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
-
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
-
enableBitVectors
public boolean enableBitVectors()- Specified by:
enableBitVectors
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
-
loadCodeAsHugePages
public boolean loadCodeAsHugePages()- Specified by:
loadCodeAsHugePages
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mbusNetworkThreads
public int mbusNetworkThreads()- Specified by:
mbusNetworkThreads
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mbusJavaRpcNumTargets
public int mbusJavaRpcNumTargets()- Specified by:
mbusJavaRpcNumTargets
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mbusJavaEventsBeforeWakeup
public int mbusJavaEventsBeforeWakeup()- Specified by:
mbusJavaEventsBeforeWakeup
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mbusCppRpcNumTargets
public int mbusCppRpcNumTargets()- Specified by:
mbusCppRpcNumTargets
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
mbusCppEventsBeforeWakeup
public int mbusCppEventsBeforeWakeup()- Specified by:
mbusCppEventsBeforeWakeup
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
rpcNumTargets
public int rpcNumTargets()- Specified by:
rpcNumTargets
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
rpcEventsBeforeWakeup
public int rpcEventsBeforeWakeup()- Specified by:
rpcEventsBeforeWakeup
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
loadCodeAsHugePages
-
maxUnCommittedMemory
-
containerDumpHeapOnShutdownTimeout
-
containerShutdownTimeout
-
setFeedConcurrency
-
setFeedNiceness
-
setAsyncMessageHandlingOnSchedule
-
setJvmGCOptions
-
setFeedSequencerType
-
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
-
setMergeThrottlingPolicy
-
setPersistenceThrottlingWsDecrementFactor
-
setPersistenceThrottlingWsBackoff
-
setPersistenceThrottlingWindowSize
-
setPersistenceThrottlingWsResizeRate
-
setPersistenceThrottlingOfMergeFeedOps
-
setUseV8GeoPositions
-
setEnvironmentVariables
-
setEnableBitVectors
-
setMbusNetworkThreads
-
setMbusJavaRpcNumTargets
-
setMbusJavaEventsBeforeWakeup
-
setMbusCppEventsBeforeWakeup
-
setMbusCppRpcNumTargets
-
setRpcNumTargets
-
setRpcEventsBeforeWakeup
-
setAdminClusterNodeResourcesArchitecture
public TestProperties setAdminClusterNodeResourcesArchitecture(com.yahoo.config.provision.NodeResources.Architecture architecture)
-