summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic commit of package [vespa] release [6.316.12-1].vespa-6.316.12-1by-screwdriver2018-11-284-1/+2
| | | | | | Created by command: /usr/bin/tito tag --use-version=6.316.12 --no-auto-changelog
* Merge pull request #7779 from ↵Geir Storli2018-11-2717-30/+670
|\ | | | | | | | | vespa-engine/toregge/derive-config-for-imported-struct-fields Handle limited import of array of struct/map of struct/map of primitives
| * Fix typo.Tor Egge2018-11-272-31/+25
| | | | | | | | | | | | Factor out logic to check for nested field name. Use camel case instead of underscore for compound function name. Simplify test.
| * Handle import of array of struct fields, map of struct fields, and map ofTor Egge2018-11-2717-30/+676
| | | | | | | | primitive fields as long as required attributes are present.
* | Merge pull request #7782 from vespa-engine/mpolden/node-repo-flagsMartin Polden2018-11-2714-20/+566
|\ \ | | | | | | Support feature flags in node repository
| * | SimplifyMartin Polden2018-11-272-43/+20
| | |
| * | Support feature flags in node repositoryMartin Polden2018-11-2714-20/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements feature flags for the node repository. A feature flag can be toggled on/off for the following dimensions: 1) The node repository (entire zone) 2) A specific node 3) A specific application Flags must be declared in the `FlagId` enum, this is typically done when implementing the feature that should be guarded by a flag. Flag status is stored in ZooKeeper. Inspecting and toggling flag status is done through a REST API, see `RestApiTest#test_flags()`.
* | | Merge pull request #7781 from vespa-engine/ollivir/invoker-factory-bugfixHarald Musum2018-11-272-3/+1
|\ \ \ | |/ / |/| | Java dispatch -- invoker factory bugfix
| * | Remove duplicated setResponseMonitor callOlli Virtanen2018-11-271-2/+0
| | |
| * | Remove extra parameter from call to List.addOlli Virtanen2018-11-271-1/+1
|/ /
* | Merge pull request #7771 from vespa-engine/bjorncs/tls-certificate-validationBjørn Christian Seime2018-11-276-0/+286
|\ \ | | | | | | Add PeerAuthorizer
| * | Use AssertJ to improve assertionsBjørn Christian Seime2018-11-273-17/+25
| | |
| * | Add PeerAuthorizerBjørn Christian Seime2018-11-264-0/+278
| | |
* | | Merge pull request #7770 from ↵Tor Brede Vekterli2018-11-279-36/+112
|\ \ \ | |_|/ |/| | | | | | | | vespa-engine/vekterli/support-test-and-set-with-auto-create-updates Support test-and-set for auto-create document updates
| * | Support test-and-set for auto-create document updatesTor Brede Vekterli2018-11-269-36/+112
| | | | | | | | | | | | | | | | | | | | | Has the obvious consistency caveats that if all your existing replicas are down, the update will go through since the document from an weak consistency perspective does not exist anywhere. But can be a useful feature if this is an acceptable tradeoff.
* | | Merge pull request #7777 from ↵Jon Bratseth2018-11-271-0/+7
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/bratseth/import-model-integration-into-config-model-fat Bratseth/import model integration into config model fat
| * | | Import ai.vespa.rankingexpression.importer.configmodelviewJon Bratseth2018-11-271-0/+1
| | | |
| * | | Import model-integration into config-model-fatJon Bratseth2018-11-271-0/+6
| | | |
* | | | Merge pull request #7776 from ↵Håkon Hallingstad2018-11-271-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | vespa-engine/hakonhall/use-correct-inject-for-components Use correct Inject for components
| * | | Use correct Inject for componentsHåkon Hallingstad2018-11-271-1/+2
|/ / /
* | | Merge pull request #7775 from vespa-engine/bratseth/model-compatibilityJon Bratseth2018-11-272-0/+104
|\ \ \ | | | | | | | | Temporary re-add for compatibility in CD
| * | | Temporary re-add for compatibility in CDJon Bratseth2018-11-272-0/+104
| | | |
* | | | Merge pull request #7774 from ↵Håkon Hallingstad2018-11-272-44/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | vespa-engine/hakonhall/remove-redundant-utils-in-ioexceptionutil Remove redundant utils in IOExceptionUtil
| * | | Remove redundant utils in IOExceptionUtilHåkon Hallingstad2018-11-272-44/+7
|/ / /
* | | Merge pull request #7773 from ↵Henning Baldersheim2018-11-2634-38/+46
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/bratseth/config-model-api-under-model-integration Create a config model view (api) package under model-integration
| * | | Create a config model view (api) package under model-integrationJon Bratseth2018-11-2634-38/+46
|/ / / | | | | | | | | | | | | | | | This is to avoid having to install config-mode and dependencies in the container at startup as a consequence of wanting model-integration there to make TensorFlow available.
* | | Merge pull request #7772 from vespa-engine/bratseth/install-config-model-apiJon Bratseth2018-11-261-0/+1
|\ \ \ | | | | | | | | Install config model API
| * | | Install config model APIJon Bratseth2018-11-261-0/+1
|/ / /
* | | Merge pull request #7760 from vespa-engine/hakonhall/new-flags-moduleHåkon Hallingstad2018-11-2622-12/+733
|\ \ \ | | | | | | | | Add flags module
| * | | Require default value for FeatureFlagHåkon Hallingstad2018-11-262-15/+7
| | | |
| * | | Remove Optional classesHåkon Hallingstad2018-11-267-148/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After review & new ideas: - All Optional classes have been removed: They must take a default argument to avoid having clients test whether the flag has been set or not, in order to allow local file flag source to undo a file flag setting from config server. - FeatureFlag is now backed by FlagSource::getString, and FlagSource::hasFeature has been removed. - FeatureFlag now allows default-true to facilitate default-enabled features
| * | | Remove change to jacksonClass typeHåkon Hallingstad2018-11-251-1/+1
| | | |
| * | | Replace timeout- with io-exceptionHåkon Hallingstad2018-11-252-4/+3
| | | |
| * | | Add flags moduleHåkon Hallingstad2018-11-2324-12/+818
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FileFlagSource reads flags from files in /etc/vespa/flags and is a component that can be injected in host admin, config server, etc. A flag named foo corresponds to filename foo. In general a FlagSource manages: - Feature flags: A feature is either set (true/enabled) or otherwise false. Touching a file foo means the feature flag foo is set (true). - Value flags: Either a String or empty if not set. The String corresponds to the file content. The plan is to make the config server another source of flags. A unified FlagSource can merge the two sources with some priority and used in e.g. parts of node-admin. In other parts one would only have access to the file source. Defines various flag facades: - FeatureFlag: Used to test whether a feature has been enabled or not. - IntFlag - JacksonFlag: Deserializes JSON to Jackson class, or return default if unset. - LongFlag - OptionalJacksonFlag: Deserializes JSON to Jackson class, or empty if unset. - OptionalStringFlag - StringFlag This is part of removing some of the last Chef recipes. Some minor tweaks have been necessary as part of this and are included in this PR (test whether a systemd service exists, task-friendly file deletion, allow capitalized letters in YUM package name).
* | | | Merge pull request #7766 from ↵Tor Egge2018-11-261-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | vespa-engine/toregge/do-not-add-imported-struct-fields-to-default-summary Don't add imported array of struct/map of struct/map of primitive to default summary.
| * | | | Don't add imported array of struct/map of struct/map of primitiveTor Egge2018-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | to default summary.
* | | | | Merge pull request #7764 from ↵Tor Egge2018-11-261-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | vespa-engine/toregge/handle-imported-attributes-in-attribute-combiner-dfw Handle imported attributes in AttributeCombinerDFW.
| * | | | | Handle imported attributes in AttributeCombinerDFW.Tor Egge2018-11-261-6/+6
| |/ / / /
* | | | | Merge pull request #7769 from vespa-engine/bratseth/move-model-integration-apiHarald Musum2018-11-2634-235/+278
|\ \ \ \ \ | |_|_|_|/ |/| | | | Model the config model view of model-integration
| * | | | Model the config model view of model-integrationJon Bratseth2018-11-2634-235/+278
| |/ / / | | | | | | | | | | | | | | | | This is to make it clearer that these methods are part of the config model API.
* | | | Merge pull request #7768 from vespa-engine/bjorncs/fixBjørn Christian Seime2018-11-266-13/+158
|\ \ \ \ | |_|_|/ |/| | | Bjorncs/fix
| * | | Escape '!' which is also a regex meta characterBjørn Christian Seime2018-11-262-6/+6
| | | |
| * | | Allow empty 'required-credentials'Bjørn Christian Seime2018-11-262-3/+3
| | | |
| * | | Make 'roles' field optionalBjørn Christian Seime2018-11-262-5/+7
| | | |
| * | | Disallow empty 'authorized-peers' fieldBjørn Christian Seime2018-11-264-5/+47
| | | | | | | | | | | | | | | | | | | | - Fail deserializing if 'authorized-peers' is an empty list - Only serialize 'authorized-peers' field when necessary
| * | | Add glob pattern matching for host expressionsBjørn Christian Seime2018-11-262-0/+101
| |/ /
* | | Merge pull request #7767 from ↵Jon Bratseth2018-11-261-0/+421
|\ \ \ | |/ / |/| | | | | | | | vespa-engine/arnej/add-forward-compatible-xml-renderer add XmlRenderer from 7 branch
| * | add XmlRenderer from 7 branchArne Juul2018-11-261-0/+421
|/ / | | | | | | | | * this allows customers to start using "XmlRenderer" instead of "DefaultRenderer" in their code in order to prepare for Vespa 7
* | Merge pull request #7763 from ↵Jon Bratseth2018-11-2614-23/+81
|\ \ | | | | | | | | | | | | vespa-engine/hakonhall/ignore-nosuchfileexception-with-ifexists Use yolean Exceptions instead of IOExceptionUtil
| * | Allow ignoring any IOExceptionHåkon Hallingstad2018-11-263-24/+39
| | |