Class 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 class

    Unfortunately this has to be placed in non-test source tree since lots of code already have test code (fix later)

    Author:
    hakonhall
    • Constructor Detail

      • TestProperties

        public TestProperties()
    • Method Detail

      • multitenant

        public boolean multitenant()
        Specified by:
        multitenant in interface com.yahoo.config.model.api.ModelContext.Properties
      • applicationId

        public com.yahoo.config.provision.ApplicationId applicationId()
        Specified by:
        applicationId in interface com.yahoo.config.model.api.ModelContext.Properties
      • configServerSpecs

        public java.util.List<com.yahoo.config.model.api.ConfigServerSpec> configServerSpecs()
        Specified by:
        configServerSpecs in interface com.yahoo.config.model.api.ModelContext.Properties
      • loadBalancerName

        public com.yahoo.config.provision.HostName loadBalancerName()
        Specified by:
        loadBalancerName in interface com.yahoo.config.model.api.ModelContext.Properties
      • ztsUrl

        public java.net.URI ztsUrl()
        Specified by:
        ztsUrl in interface com.yahoo.config.model.api.ModelContext.Properties
      • athenzDnsSuffix

        public java.lang.String athenzDnsSuffix()
        Specified by:
        athenzDnsSuffix in interface com.yahoo.config.model.api.ModelContext.Properties
      • hostedVespa

        public boolean hostedVespa()
        Specified by:
        hostedVespa in interface com.yahoo.config.model.api.ModelContext.Properties
      • zone

        public com.yahoo.config.provision.Zone zone()
        Specified by:
        zone in interface com.yahoo.config.model.api.ModelContext.Properties
      • endpoints

        public java.util.Set<com.yahoo.config.model.api.ContainerEndpoint> endpoints()
        Specified by:
        endpoints in interface com.yahoo.config.model.api.ModelContext.Properties
      • jvmGCOptions

        public java.lang.String jvmGCOptions()
        Specified by:
        jvmGCOptions in interface com.yahoo.config.model.api.ModelContext.Properties
      • feedSequencerType

        public java.lang.String feedSequencerType()
        Specified by:
        feedSequencerType in interface com.yahoo.config.model.api.ModelContext.Properties
      • isBootstrap

        public boolean isBootstrap()
        Specified by:
        isBootstrap in interface com.yahoo.config.model.api.ModelContext.Properties
      • isFirstTimeDeployment

        public boolean isFirstTimeDeployment()
        Specified by:
        isFirstTimeDeployment in interface com.yahoo.config.model.api.ModelContext.Properties
      • useDedicatedNodeForLogserver

        public boolean useDedicatedNodeForLogserver()
        Specified by:
        useDedicatedNodeForLogserver in interface com.yahoo.config.model.api.ModelContext.Properties
      • endpointCertificateSecrets

        public java.util.Optional<com.yahoo.config.model.api.EndpointCertificateSecrets> endpointCertificateSecrets()
        Specified by:
        endpointCertificateSecrets in interface com.yahoo.config.model.api.ModelContext.Properties
      • defaultTermwiseLimit

        public double defaultTermwiseLimit()
        Specified by:
        defaultTermwiseLimit in interface com.yahoo.config.model.api.ModelContext.Properties
      • threadPoolSizeFactor

        public double threadPoolSizeFactor()
        Specified by:
        threadPoolSizeFactor in interface com.yahoo.config.model.api.ModelContext.Properties
      • queueSizeFactor

        public double queueSizeFactor()
        Specified by:
        queueSizeFactor in interface com.yahoo.config.model.api.ModelContext.Properties
      • useContentNodeBtreeDb

        public boolean useContentNodeBtreeDb()
        Specified by:
        useContentNodeBtreeDb in interface com.yahoo.config.model.api.ModelContext.Properties
      • useThreePhaseUpdates

        public boolean useThreePhaseUpdates()
        Specified by:
        useThreePhaseUpdates in interface com.yahoo.config.model.api.ModelContext.Properties
      • athenzDomain

        public java.util.Optional<com.yahoo.config.provision.AthenzDomain> athenzDomain()
        Specified by:
        athenzDomain in interface com.yahoo.config.model.api.ModelContext.Properties
      • applicationRoles

        public java.util.Optional<com.yahoo.config.model.api.ApplicationRoles> applicationRoles()
        Specified by:
        applicationRoles in interface com.yahoo.config.model.api.ModelContext.Properties
      • responseSequencerType

        public java.lang.String responseSequencerType()
        Specified by:
        responseSequencerType in interface com.yahoo.config.model.api.ModelContext.Properties
      • defaultNumResponseThreads

        public int defaultNumResponseThreads()
        Specified by:
        defaultNumResponseThreads in interface com.yahoo.config.model.api.ModelContext.Properties
      • skipCommunicationManagerThread

        public boolean skipCommunicationManagerThread()
        Specified by:
        skipCommunicationManagerThread in interface com.yahoo.config.model.api.ModelContext.Properties
      • skipMbusRequestThread

        public boolean skipMbusRequestThread()
        Specified by:
        skipMbusRequestThread in interface com.yahoo.config.model.api.ModelContext.Properties
      • skipMbusReplyThread

        public boolean skipMbusReplyThread()
        Specified by:
        skipMbusReplyThread in interface com.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)
      • 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)