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 TypeMethodDescriptionboolean
allowDisableMtls
(boolean value) boolean
com.yahoo.config.provision.ApplicationId
Optional<com.yahoo.config.provision.AthenzDomain>
Optional<com.yahoo.config.provision.CloudAccount>
List<com.yahoo.config.model.api.ConfigServerSpec>
boolean
containerDumpHeapOnShutdownTimeout
(boolean value) double
containerShutdownTimeout
(double value) int
List<com.yahoo.config.provision.DataplaneToken>
int
double
Optional<com.yahoo.config.model.api.EndpointCertificateSecrets>
Set<com.yahoo.config.model.api.ContainerEndpoint>
com.yahoo.config.model.api.ModelContext.FeatureFlags
double
double
int
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
maxUnCommittedMemory
(int maxUnCommittedMemory) int
int
int
int
int
double
boolean
com.yahoo.config.model.api.Quota
quota()
double
double
int
int
setAllowUserFilters
(boolean b) setApplicationId
(com.yahoo.config.provision.ApplicationId applicationId) setAsyncMessageHandlingOnSchedule
(boolean value) setAthenzDomain
(com.yahoo.config.provision.AthenzDomain domain) setCloudAccount
(com.yahoo.config.provision.CloudAccount cloudAccount) setConfigServerSpecs
(List<TestProperties.Spec> configServerSpecs) setContentLayerMetadataFeatureLevel
(int level) setDataplaneTokens
(Collection<com.yahoo.config.provision.DataplaneToken> tokens) setDefaultTermwiseLimit
(double limit) 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) setHeapSizePercentage
(int percentage) setHostedVespa
(boolean hostedVespa) setJvmGCOptions
(String gcOptions) setMbusCppEventsBeforeWakeup
(int value) setMbusCppRpcNumTargets
(int value) setMbusJavaEventsBeforeWakeup
(int value) setMbusJavaRpcNumTargets
(int value) setMbusNetworkThreads
(int value) setMinNodeRatioPerGroup
(double value) setMultitenant
(boolean multitenant) setOperatorCertificates
(List<X509Certificate> operatorCertificates) setQueryDispatchPolicy
(String policy) setQuota
(com.yahoo.config.model.api.Quota quota) setResourceLimitDisk
(double value) setResourceLimitMemory
(double value) setResponseNumThreads
(int numThreads) setRpcEventsBeforeWakeup
(int value) setRpcNumTargets
(int value) setSummaryDecodePolicy
(String type) setTenantSecretStores
(List<com.yahoo.config.model.api.TenantSecretStore> secretStores) setUseDedicatedNodeForLogserver
(boolean useDedicatedNodeForLogserver) 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
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, alwaysMarkPhraseExpensive, enableProxyProtocolMixedMode, forwardIssuesAsErrors, ignoredHttpUserAgents, logFileCompressionAlgorithm, queryDispatchWarmup, searchHandlerThreadpool, sortBlueprintsByCost, unknownConfigDefinition
Methods inherited from interface com.yahoo.config.model.api.ModelContext.Properties
endpointConnectionTtl, 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
-
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
-
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
-
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
-
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
-
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
-
heapSizePercentage
public int heapSizePercentage()- Specified by:
heapSizePercentage
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
rpcEventsBeforeWakeup
public int rpcEventsBeforeWakeup()- Specified by:
rpcEventsBeforeWakeup
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
queryDispatchPolicy
- Specified by:
queryDispatchPolicy
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
summaryDecodePolicy
- Specified by:
summaryDecodePolicy
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
cloudAccount
- Specified by:
cloudAccount
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
allowUserFilters
public boolean allowUserFilters()- Specified by:
allowUserFilters
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
dataplaneTokens
- Specified by:
dataplaneTokens
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
contentLayerMetadataFeatureLevel
public int contentLayerMetadataFeatureLevel()- Specified by:
contentLayerMetadataFeatureLevel
in interfacecom.yahoo.config.model.api.ModelContext.FeatureFlags
-
loadCodeAsHugePages
-
maxUnCommittedMemory
-
containerDumpHeapOnShutdownTimeout
-
containerShutdownTimeout
-
setFeedConcurrency
-
setFeedNiceness
-
setHeapSizePercentage
-
setAsyncMessageHandlingOnSchedule
-
setJvmGCOptions
-
setQueryDispatchPolicy
-
setSummaryDecodePolicy
-
setFeedSequencerType
-
setResponseSequencerType
-
setFirstTimeDeployment
-
setResponseNumThreads
-
setDefaultTermwiseLimit
-
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
-
setZoneDnsSuffixes
-
maxCompactBuffers
-
setUseV8GeoPositions
-
setEnvironmentVariables
-
setMbusNetworkThreads
-
setMbusJavaRpcNumTargets
-
setMbusJavaEventsBeforeWakeup
-
setMbusCppEventsBeforeWakeup
-
setMbusCppRpcNumTargets
-
setRpcNumTargets
-
setRpcEventsBeforeWakeup
-
setCloudAccount
-
setAllowUserFilters
-
setDataplaneTokens
public TestProperties setDataplaneTokens(Collection<com.yahoo.config.provision.DataplaneToken> tokens) -
setContentLayerMetadataFeatureLevel
-