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.Properties
public class TestProperties extends java.lang.Object implements com.yahoo.config.model.api.ModelContext.Properties
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.config.provision.ApplicationId
applicationId()
java.util.Optional<com.yahoo.config.model.api.ApplicationRoles>
applicationRoles()
java.lang.String
athenzDnsSuffix()
java.util.Optional<com.yahoo.config.provision.AthenzDomain>
athenzDomain()
java.util.List<com.yahoo.config.model.api.ConfigServerSpec>
configServerSpecs()
int
defaultNumResponseThreads()
double
defaultTermwiseLimit()
java.util.Optional<com.yahoo.config.model.api.EndpointCertificateSecrets>
endpointCertificateSecrets()
java.util.Set<com.yahoo.config.model.api.ContainerEndpoint>
endpoints()
java.lang.String
feedSequencerType()
boolean
hostedVespa()
boolean
isBootstrap()
boolean
isFirstTimeDeployment()
java.lang.String
jvmGCOptions()
com.yahoo.config.provision.HostName
loadBalancerName()
boolean
multitenant()
double
queueSizeFactor()
java.lang.String
responseSequencerType()
TestProperties
setApplicationId(com.yahoo.config.provision.ApplicationId applicationId)
TestProperties
setApplicationRoles(com.yahoo.config.model.api.ApplicationRoles applicationRoles)
TestProperties
setAthenzDomain(com.yahoo.config.provision.AthenzDomain domain)
TestProperties
setConfigServerSpecs(java.util.List<TestProperties.Spec> configServerSpecs)
TestProperties
setDefaultTermwiseLimit(double limit)
TestProperties
setEndpointCertificateSecrets(java.util.Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets)
TestProperties
setFeedSequencerType(java.lang.String type)
TestProperties
setHostedVespa(boolean hostedVespa)
TestProperties
setJvmGCOptions(java.lang.String gcOptions)
TestProperties
setMultitenant(boolean multitenant)
TestProperties
setQueueSizeFactor(double queueSizeFactor)
TestProperties
setResponseNumThreads(int numThreads)
TestProperties
setResponseSequencerType(java.lang.String type)
TestProperties
setThreadPoolSizeFactor(double threadPoolSizeFactor)
TestProperties
setUseContentNodeBtreeDB(boolean useBtreeDb)
TestProperties
setUseDedicatedNodeForLogserver(boolean useDedicatedNodeForLogserver)
TestProperties
setUseThreePhaseUpdates(boolean useThreePhaseUpdates)
TestProperties
setZone(com.yahoo.config.provision.Zone zone)
boolean
skipCommunicationManagerThread()
boolean
skipMbusReplyThread()
boolean
skipMbusRequestThread()
double
threadPoolSizeFactor()
boolean
useContentNodeBtreeDb()
boolean
useDedicatedNodeForLogserver()
boolean
useThreePhaseUpdates()
com.yahoo.config.provision.Zone
zone()
java.net.URI
ztsUrl()
-
-
-
Method Detail
-
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 java.util.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 java.net.URI ztsUrl()
- Specified by:
ztsUrl
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
athenzDnsSuffix
public java.lang.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 java.util.Set<com.yahoo.config.model.api.ContainerEndpoint> endpoints()
- Specified by:
endpoints
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
jvmGCOptions
public java.lang.String jvmGCOptions()
- Specified by:
jvmGCOptions
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
feedSequencerType
public java.lang.String feedSequencerType()
- Specified by:
feedSequencerType
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
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 java.util.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.Properties
-
threadPoolSizeFactor
public double threadPoolSizeFactor()
- Specified by:
threadPoolSizeFactor
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
queueSizeFactor
public double queueSizeFactor()
- Specified by:
queueSizeFactor
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
useContentNodeBtreeDb
public boolean useContentNodeBtreeDb()
- Specified by:
useContentNodeBtreeDb
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
useThreePhaseUpdates
public boolean useThreePhaseUpdates()
- Specified by:
useThreePhaseUpdates
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
athenzDomain
public java.util.Optional<com.yahoo.config.provision.AthenzDomain> athenzDomain()
- Specified by:
athenzDomain
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
applicationRoles
public java.util.Optional<com.yahoo.config.model.api.ApplicationRoles> applicationRoles()
- Specified by:
applicationRoles
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
responseSequencerType
public java.lang.String responseSequencerType()
- Specified by:
responseSequencerType
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
defaultNumResponseThreads
public int defaultNumResponseThreads()
- Specified by:
defaultNumResponseThreads
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
skipCommunicationManagerThread
public boolean skipCommunicationManagerThread()
- Specified by:
skipCommunicationManagerThread
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
skipMbusRequestThread
public boolean skipMbusRequestThread()
- Specified by:
skipMbusRequestThread
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
skipMbusReplyThread
public boolean skipMbusReplyThread()
- Specified by:
skipMbusReplyThread
in interfacecom.yahoo.config.model.api.ModelContext.Properties
-
setJvmGCOptions
public TestProperties setJvmGCOptions(java.lang.String gcOptions)
-
setFeedSequencerType
public TestProperties setFeedSequencerType(java.lang.String type)
-
setResponseSequencerType
public TestProperties setResponseSequencerType(java.lang.String type)
-
setResponseNumThreads
public TestProperties setResponseNumThreads(int numThreads)
-
setDefaultTermwiseLimit
public TestProperties setDefaultTermwiseLimit(double limit)
-
setUseContentNodeBtreeDB
public TestProperties setUseContentNodeBtreeDB(boolean useBtreeDb)
-
setUseThreePhaseUpdates
public TestProperties setUseThreePhaseUpdates(boolean useThreePhaseUpdates)
-
setThreadPoolSizeFactor
public TestProperties setThreadPoolSizeFactor(double threadPoolSizeFactor)
-
setQueueSizeFactor
public TestProperties setQueueSizeFactor(double queueSizeFactor)
-
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(java.util.List<TestProperties.Spec> configServerSpecs)
-
setUseDedicatedNodeForLogserver
public TestProperties setUseDedicatedNodeForLogserver(boolean useDedicatedNodeForLogserver)
-
setEndpointCertificateSecrets
public TestProperties setEndpointCertificateSecrets(java.util.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)
-
setApplicationRoles
public TestProperties setApplicationRoles(com.yahoo.config.model.api.ApplicationRoles applicationRoles)
-
-