Uses of Class
com.yahoo.vespa.model.VespaModel
-
Packages that use VespaModel Package Description com.yahoo.config.model com.yahoo.config.model.builder.xml com.yahoo.searchdefinition com.yahoo.vespa.model Provides the classes for the Vespa config model framework.com.yahoo.vespa.model.application.validation com.yahoo.vespa.model.application.validation.change com.yahoo.vespa.model.application.validation.first -
-
Uses of VespaModel in com.yahoo.config.model
Methods in com.yahoo.config.model that return VespaModel Modifier and Type Method Description VespaModel
ConfigModelContext. vespaModel()
Methods in com.yahoo.config.model with parameters of type VespaModel Modifier and Type Method Description static ConfigModelContext
ConfigModelContext. create(ConfigModelContext.ApplicationType applicationType, DeployState deployState, VespaModel vespaModel, ConfigModelRepoAdder configModelRepoAdder, AbstractConfigProducer parent, java.lang.String producerId)
Create an application context from an application type, a parent producer and an id.static ConfigModelContext
ConfigModelContext. create(DeployState deployState, VespaModel vespaModel, ConfigModelRepoAdder configModelRepoAdder, AbstractConfigProducer parent, java.lang.String producerId)
Create an application context from a parent producer and an id.void
ConfigModelRepo. readConfigModels(DeployState deployState, VespaModel vespaModel, VespaModelBuilder builder, ApplicationConfigProducerRoot root, ConfigModelRegistry configModelRegistry)
Initialize part 1.: Reads the config models used in the application package.void
ApplicationConfigProducerRoot. setupRouting(DeployState deployState, VespaModel vespaModel, ConfigModelRepo configModels)
ConfigModelContext
ConfigModelContext. with(VespaModel vespaModel)
-
Uses of VespaModel in com.yahoo.config.model.builder.xml
Methods in com.yahoo.config.model.builder.xml with parameters of type VespaModel Modifier and Type Method Description MODEL
ConfigModelBuilder. build(DeployState deployState, VespaModel vespaModel, ConfigModelRepo configModelRepo, AbstractConfigProducer parent, org.w3c.dom.Element spec)
Builds an instance of this component model. -
Uses of VespaModel in com.yahoo.searchdefinition
Constructors in com.yahoo.searchdefinition with parameters of type VespaModel Constructor Description RankProfile(java.lang.String name, VespaModel model, RankProfileRegistry rankProfileRegistry)
Creates a global rank profile -
Uses of VespaModel in com.yahoo.vespa.model
Methods in com.yahoo.vespa.model that return VespaModel Modifier and Type Method Description static VespaModel
VespaModel. createIncomplete(DeployState deployState)
Creates a mutable model with no services instantiated -
Uses of VespaModel in com.yahoo.vespa.model.application.validation
Methods in com.yahoo.vespa.model.application.validation with parameters of type VespaModel Modifier and Type Method Description void
AccessControlFilterValidator. validate(VespaModel model, DeployState deployState)
void
AwsAccessControlValidator. validate(VespaModel model, DeployState deployState)
void
CloudWatchValidator. validate(VespaModel model, DeployState deployState)
void
ComplexAttributeFieldsValidator. validate(VespaModel model, DeployState deployState)
void
ComponentValidator. validate(VespaModel model, DeployState deployState)
void
DeploymentSpecValidator. validate(VespaModel model, DeployState deployState)
void
EndpointCertificateSecretsValidator. validate(VespaModel model, DeployState deployState)
This check is delayed until validation to allow node provisioning to complete while we are waiting for certvoid
NoPrefixForIndexes. validate(VespaModel model, DeployState deployState)
void
RankingConstantsValidator. validate(VespaModel model, DeployState deployState)
void
RankSetupValidator. validate(VespaModel model, DeployState deployState)
void
RoutingSelectorValidator. validate(VespaModel model, DeployState deployState)
void
RoutingValidator. validate(VespaModel model, DeployState deployState)
void
SearchDataTypeValidator. validate(VespaModel model, DeployState deployState)
void
SecretStoreValidator. validate(VespaModel model, DeployState deployState)
void
StreamingValidator. validate(VespaModel model, DeployState deployState)
static java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
Validation. validate(VespaModel model, com.yahoo.config.model.api.ValidationParameters validationParameters, DeployState deployState)
Validates the model supplied, and if there already exists a model for the application validates changes between the previous and current modelabstract void
Validator. validate(VespaModel model, DeployState deployState)
Validates the input vespamodel -
Uses of VespaModel in com.yahoo.vespa.model.application.validation.change
Methods in com.yahoo.vespa.model.application.validation.change with parameters of type VespaModel Modifier and Type Method Description java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ChangeValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
Validates the current active vespa model with the next model.java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ClusterSizeReductionValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ConfigValueChangeValidator. validate(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
Inspects the configuration in the new and old Vespa model to determine which services that require restartjava.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ContainerRestartValidator. validate(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides ignored, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ContentClusterRemovalValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ContentTypeRemovalValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
GlobalDocumentChangeValidator. validate(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
IndexedSearchClusterChangeValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
IndexingModeChangeValidator. validate(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
ResourcesReductionValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
StartupCommandChangeValidator. validate(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
java.util.List<com.yahoo.config.model.api.ConfigChangeAction>
StreamingSearchClusterChangeValidator. validate(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, java.time.Instant now)
-
Uses of VespaModel in com.yahoo.vespa.model.application.validation.first
Methods in com.yahoo.vespa.model.application.validation.first with parameters of type VespaModel Modifier and Type Method Description static boolean
AccessControlOnFirstDeploymentValidator. needsAccessControlValidation(VespaModel model, DeployState deployState)
void
AccessControlOnFirstDeploymentValidator. validate(VespaModel model, DeployState deployState)
-