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 classUnfortunately 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 Modifier and Type Class Description static class
TestProperties.Spec
-
Constructor Summary
Constructors Constructor Description TestProperties()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
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
public List<com.yahoo.config.model.api.ConfigServerSpec> 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
public URI ztsUrl()
- Specified by:
ztsUrl
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
athenzDnsSuffix
public String 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
public Set<com.yahoo.config.model.api.ContainerEndpoint> endpoints()
- Specified by:
endpoints
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
jvmGCOptions
public String jvmGCOptions(Optional<com.yahoo.config.provision.ClusterSpec.Type> clusterType)
- Specified by:
jvmGCOptions
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
feedSequencerType
public String 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
-
sharedFieldWriterExecutor
public String sharedFieldWriterExecutor()
- Specified by:
sharedFieldWriterExecutor
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
public Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> 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
public Optional<com.yahoo.config.provision.AthenzDomain> athenzDomain()
- Specified by:
athenzDomain
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
responseSequencerType
public String 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
-
enableFeedBlockInDistributor
public boolean enableFeedBlockInDistributor()
- Specified by:
enableFeedBlockInDistributor
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxActivationInhibitedOutOfSyncGroups
public int maxActivationInhibitedOutOfSyncGroups()
- Specified by:
maxActivationInhibitedOutOfSyncGroups
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
tenantSecretStores
public List<com.yahoo.config.model.api.TenantSecretStore> tenantSecretStores()
- Specified by:
tenantSecretStores
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
jvmOmitStackTraceInFastThrowOption
public String jvmOmitStackTraceInFastThrowOption(com.yahoo.config.provision.ClusterSpec.Type type)
- 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
public List<X509Certificate> operatorCertificates()
- Specified by:
operatorCertificates
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
largeRankExpressionLimit
public int largeRankExpressionLimit()
- Specified by:
largeRankExpressionLimit
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
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
-
ignoreMergeQueueLimit
public boolean ignoreMergeQueueLimit()
- Specified by:
ignoreMergeQueueLimit
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
-
metricsproxyNumThreads
public int metricsproxyNumThreads()
- Specified by:
metricsproxyNumThreads
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
-
distributorMergeBusyWait
public int distributorMergeBusyWait()
- Specified by:
distributorMergeBusyWait
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
diskBloatFactor
public double diskBloatFactor()
- Specified by:
diskBloatFactor
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
docstoreCompressionLevel
public int docstoreCompressionLevel()
- Specified by:
docstoreCompressionLevel
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
distributorEnhancedMaintenanceScheduling
public boolean distributorEnhancedMaintenanceScheduling()
- Specified by:
distributorEnhancedMaintenanceScheduling
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
maxUnCommittedMemory
public int maxUnCommittedMemory()
- Specified by:
maxUnCommittedMemory
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
asyncApplyBucketDiff
public boolean asyncApplyBucketDiff()
- Specified by:
asyncApplyBucketDiff
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
unorderedMergeChaining
public boolean unorderedMergeChaining()
- Specified by:
unorderedMergeChaining
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
zoneDnsSuffixes
public List<String> zoneDnsSuffixes()
- Specified by:
zoneDnsSuffixes
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
maxUnCommittedMemory
public TestProperties maxUnCommittedMemory(int maxUnCommittedMemory)
-
docstoreCompressionLevel
public TestProperties docstoreCompressionLevel(int docstoreCompressionLevel)
-
diskBloatFactor
public TestProperties diskBloatFactor(double diskBloatFactor)
-
containerDumpHeapOnShutdownTimeout
public TestProperties containerDumpHeapOnShutdownTimeout(boolean value)
-
containerShutdownTimeout
public TestProperties containerShutdownTimeout(double value)
-
largeRankExpressionLimit
public TestProperties largeRankExpressionLimit(int value)
-
setFeedConcurrency
public TestProperties setFeedConcurrency(double feedConcurrency)
-
setAsyncMessageHandlingOnSchedule
public TestProperties setAsyncMessageHandlingOnSchedule(boolean value)
-
setJvmGCOptions
public TestProperties setJvmGCOptions(String gcOptions)
-
setFeedSequencerType
public TestProperties setFeedSequencerType(String type)
-
setFeedTaskLimit
public TestProperties setFeedTaskLimit(int value)
-
setFeedMasterTaskLimit
public TestProperties setFeedMasterTaskLimit(int value)
-
setSharedFieldWriterExecutor
public TestProperties setSharedFieldWriterExecutor(String value)
-
setResponseSequencerType
public TestProperties setResponseSequencerType(String type)
-
setFirstTimeDeployment
public TestProperties setFirstTimeDeployment(boolean firstTimeDeployment)
-
setResponseNumThreads
public TestProperties setResponseNumThreads(int numThreads)
-
setMaxConcurrentMergesPerNode
public TestProperties setMaxConcurrentMergesPerNode(int maxConcurrentMergesPerNode)
-
setMaxMergeQueueSize
public TestProperties setMaxMergeQueueSize(int maxMergeQueueSize)
-
setIgnoreMergeQueueLimit
public TestProperties setIgnoreMergeQueueLimit(boolean ignoreMergeQueueLimit)
-
setDefaultTermwiseLimit
public TestProperties setDefaultTermwiseLimit(double limit)
-
setUseThreePhaseUpdates
public TestProperties setUseThreePhaseUpdates(boolean useThreePhaseUpdates)
-
setApplicationId
public TestProperties setApplicationId(com.yahoo.config.provision.ApplicationId applicationId)
-
setHostedVespa
public TestProperties setHostedVespa(boolean hostedVespa)
-
setMultitenant
public TestProperties setMultitenant(boolean multitenant)
-
setConfigServerSpecs
public TestProperties setConfigServerSpecs(List<TestProperties.Spec> configServerSpecs)
-
setUseDedicatedNodeForLogserver
public TestProperties setUseDedicatedNodeForLogserver(boolean useDedicatedNodeForLogserver)
-
setEndpointCertificateSecrets
public TestProperties setEndpointCertificateSecrets(Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets)
-
setZone
public TestProperties setZone(com.yahoo.config.provision.Zone zone)
-
setAthenzDomain
public TestProperties setAthenzDomain(com.yahoo.config.provision.AthenzDomain domain)
-
setQuota
public TestProperties setQuota(com.yahoo.config.model.api.Quota quota)
-
enableFeedBlockInDistributor
public TestProperties enableFeedBlockInDistributor(boolean enabled)
-
maxActivationInhibitedOutOfSyncGroups
public TestProperties maxActivationInhibitedOutOfSyncGroups(int nGroups)
-
setTenantSecretStores
public TestProperties setTenantSecretStores(List<com.yahoo.config.model.api.TenantSecretStore> secretStores)
-
setJvmOmitStackTraceInFastThrowOption
public TestProperties setJvmOmitStackTraceInFastThrowOption(String value)
-
allowDisableMtls
public TestProperties allowDisableMtls(boolean value)
-
setOperatorCertificates
public TestProperties setOperatorCertificates(List<X509Certificate> operatorCertificates)
-
setResourceLimitDisk
public TestProperties setResourceLimitDisk(double value)
-
setResourceLimitMemory
public TestProperties setResourceLimitMemory(double value)
-
setMinNodeRatioPerGroup
public TestProperties setMinNodeRatioPerGroup(double value)
-
setDistributorMergeBusyWait
public TestProperties setDistributorMergeBusyWait(int value)
-
distributorEnhancedMaintenanceScheduling
public TestProperties distributorEnhancedMaintenanceScheduling(boolean enhancedScheduling)
-
setAsyncApplyBucketDiff
public TestProperties setAsyncApplyBucketDiff(boolean value)
-
setUnorderedMergeChaining
public TestProperties setUnorderedMergeChaining(boolean unordered)
-
setZoneDnsSuffixes
public TestProperties setZoneDnsSuffixes(List<String> zoneDnsSuffixes)
-
-