Uses of Class
com.yahoo.vespa.model.VespaModel
Packages that use VespaModel
Package
Description
Provides the classes for the Vespa config model framework.
-
Uses of VespaModel in com.yahoo.config.model
Methods in com.yahoo.config.model that return VespaModelMethods in com.yahoo.config.model with parameters of type VespaModelModifier and TypeMethodDescriptionstatic ConfigModelContext
ConfigModelContext.create
(ConfigModelContext.ApplicationType applicationType, DeployState deployState, VespaModel vespaModel, ConfigModelRepoAdder configModelRepoAdder, AbstractConfigProducer<?> parent, 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, 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.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 VespaModelModifier and TypeMethodDescriptionfinal MODEL
ConfigModelBuilder.build
(DeployState deployState, VespaModel vespaModel, ConfigModelRepo configModelRepo, AbstractConfigProducer<?> parent, Element spec) Builds an instance of this component model. -
Uses of VespaModel in com.yahoo.vespa.model
Methods in com.yahoo.vespa.model that return VespaModelModifier and TypeMethodDescriptionstatic 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 VespaModelModifier and TypeMethodDescriptionfinal void
AbstractBundleValidator.validate
(VespaModel model, DeployState state) void
AccessControlFilterExcludeValidator.validate
(VespaModel model, DeployState deployState) void
AccessControlFilterValidator.validate
(VespaModel model, DeployState deployState) void
CloudDataPlaneFilterValidator.validate
(VespaModel model, DeployState deployState) void
CloudUserFilterValidator.validate
(VespaModel model, DeployState state) void
CloudWatchValidator.validate
(VespaModel model, DeployState deployState) void
ComplexFieldsWithStructFieldAttributesValidator.validate
(VespaModel model, DeployState deployState) void
ComplexFieldsWithStructFieldIndexesValidator.validate
(VespaModel model, DeployState deployState) void
ConstantValidator.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
QuotaValidator.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
SchemasDirValidator.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) 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 modelvoid
ValidationOverridesValidator.validate
(VespaModel model, DeployState deployState) abstract 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 VespaModelModifier and TypeMethodDescriptionList<com.yahoo.config.model.api.ConfigChangeAction>
CertificateRemovalChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) Validates the current active vespa model with the next model.List<com.yahoo.config.model.api.ConfigChangeAction>
CloudAccountChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ClusterSizeReductionValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ConfigValueChangeValidator.validate
(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) Inspects the configuration in the new and old Vespa model to determine which services that require restartList<com.yahoo.config.model.api.ConfigChangeAction>
ContainerRestartValidator.validate
(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides ignored, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ContentClusterRemovalValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ContentTypeRemovalValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
GlobalDocumentChangeValidator.validate
(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
IndexedSearchClusterChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
IndexingModeChangeValidator.validate
(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
NodeResourceChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
RedundancyIncreaseValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
ResourcesReductionValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
StartupCommandChangeValidator.validate
(VespaModel currentModel, VespaModel nextModel, com.yahoo.config.application.api.ValidationOverrides overrides, Instant now) List<com.yahoo.config.model.api.ConfigChangeAction>
StreamingSearchClusterChangeValidator.validate
(VespaModel current, VespaModel next, com.yahoo.config.application.api.ValidationOverrides overrides, 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 VespaModelModifier and TypeMethodDescriptionvoid
RedundancyOnFirstDeploymentValidator.validate
(VespaModel model, DeployState deployState)