Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate LoggingRequestHandler constructors taking AccessLog | Bjørn Christian Seime | 2021-01-21 | 1 | -1/+2 |
| | | | | | Add replacement constructors without AccessLog. Remove use of deprecated constructors for internal handlers. | ||||
* | Remove old /document/v1 handler | Jon Marius Venstad | 2020-11-03 | 1 | -422/+5 |
| | |||||
* | Use trace level from parameters, and pass on to Response | Jon Marius Venstad | 2020-09-24 | 1 | -0/+1 |
| | |||||
* | Inject container threadpool directly to FeedHandler and RestApi | Bjørn Christian Seime | 2020-09-03 | 1 | -9/+14 |
| | |||||
* | Remove control of slow start. That was a blind alley. | Henning Baldersheim | 2020-05-29 | 1 | -4/+1 |
| | |||||
* | LogLevel.WARNING -> Level.WARNING | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Import java.util.logging.Level instead of com.yahoo.log.LogLevel | gjoranv | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Log warning on internal exception during Document V1 request handling | Tor Brede Vekterli | 2019-10-31 | 1 | -0/+2 |
| | |||||
* | Support `cluster` parameter for Document V1 Get operations | Tor Brede Vekterli | 2019-07-19 | 1 | -2/+3 |
| | | | | | | Makes point lookup cluster routing functionality equal to that of visiting operations. Especially useful as the difference between these is minimal when used via the Document V1 REST API. | ||||
* | Eradicate warnings | Olli Virtanen | 2019-05-10 | 1 | -2/+1 |
| | |||||
* | Explicitly require non-empty (or null) route | Jon Bratseth | 2019-04-29 | 1 | -1/+8 |
| | |||||
* | Minor cleanup | Jon Bratseth | 2019-04-29 | 1 | -46/+48 |
| | |||||
* | Revert "Merge pull request #9207 from ↵ | Jon Bratseth | 2019-04-29 | 1 | -6/+11 |
| | | | | | | | vespa-engine/revert-9204-bratseth/document-api-donct-blame-users" This reverts commit 3575ceec65b3787a4f3e412c86479c79cf1d6453, reversing changes made to e535c8fa9c1264d7164fef7f55d10dc585e13e88. | ||||
* | Revert "Separate user and system exceptions" | Harald Musum | 2019-04-27 | 1 | -11/+6 |
| | |||||
* | Separate user and system exceptions | Jon Bratseth | 2019-04-26 | 1 | -6/+11 |
| | |||||
* | Replace the multipurpose VespaXMLFeeder.Operation with more to the point ↵ | Henning Baldersheim | 2019-04-25 | 1 | -11/+11 |
| | | | | classes with proper final members. | ||||
* | Return HTTP 400 instead of 403 on bad requests | Tor Brede Vekterli | 2019-01-23 | 1 | -2/+2 |
| | | | | | Add explicit checking of HTTP response status codes to many REST API unit tests. | ||||
* | Add and use cross-cluster bucket space config | Tor Brede Vekterli | 2018-12-07 | 1 | -0/+11 |
| | | | | | | | | Adds a new config `AllClustersBucketSpacesConfig` which includes all document type to bucket space mappings across all configured content clusters. Inject this config into `RestApi` to ensure all changes to the mapping is observed. This also removes the remaining per-request config fetching during Document V1 visit ops. | ||||
* | Revert "Add and use cross cluster bucket space config" | Tor Brede Vekterli | 2018-12-06 | 1 | -11/+0 |
| | |||||
* | Add and use cross-cluster bucket space config | Tor Brede Vekterli | 2018-12-05 | 1 | -0/+11 |
| | | | | | | | | Adds a new config `AllClustersBucketSpacesConfig` which includes all document type to bucket space mappings across all configured content clusters. Inject this config into `RestApi` to ensure all changes to the mapping is observed. This also removes the remaining per-request config fetching during Document V1 visit ops. | ||||
* | Inject RestApi ClusterListConfig instead of fetching it every time | Tor Brede Vekterli | 2018-12-05 | 1 | -2/+15 |
| | |||||
* | Support cross-document type visiting via /document/v1/ root | Tor Brede Vekterli | 2018-10-09 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | Requires `cluster` to be set since we don't have a document type to auto-infer the target cluster from. Can use `bucketSpace` parameter to explicitly state the target bucket space to visit (if not given, implicitly visits the 'default' space). Note: since we are not bound to a single document type, the field set used is `[all]`, not `doctype:[document]`. This means that this does _not_ have parity with non-root Document V1 visitor requests, though it _does_ have parity with legacy `/visit` and `vespa-visit`. To have same behavior for a single document type, use an explicit document `selection=mydoctype` parameter combined with a `fieldSet` parameter of `mydoctype:[document]`. This fixes #5794 | ||||
* | Ensure selection parameter sub-expression is complete and valid | Tor Brede Vekterli | 2018-04-10 | 1 | -2/+22 |
| | | | | | | Also add validation that specified group only contains allowed text characters. This mirrors the check that is done for group names in IDs when documents are originally fed. | ||||
* | Allow both group/numeric ID and selection to be specified at the same time | Tor Brede Vekterli | 2018-04-10 | 1 | -10/+14 |
| | | | | | Resulting selection expression is a conjunction of the group/number ID sub-expression and the provided selection sub-expression. | ||||
* | Improve validation and escaping of number/group visiting parameters | Tor Brede Vekterli | 2018-04-10 | 1 | -9/+42 |
| | | | | Also use explicit `==` equality operator instead of `=` in generated expression. | ||||
* | Also support fieldSet for Document V1 get operations | Tor Brede Vekterli | 2018-02-08 | 1 | -3/+4 |
| | | | | Now has parity with visit operations and the legacy API. | ||||
* | Refactor extraction of visit parameters from HTTP request parameters | Tor Brede Vekterli | 2018-01-31 | 1 | -29/+42 |
| | |||||
* | Add `fieldSet` and `concurrency` parameter support to Document V1 visiting API | Tor Brede Vekterli | 2018-01-31 | 1 | -7/+31 |
| | | | | This fixes #4847 | ||||
* | use LoggingRequestHandler.Context in constructors | Arne Juul | 2018-01-05 | 1 | -4/+7 |
| | | | | | * this implicitly wires in a Metric, allowing handler invocations to be measured in the ThreadedRequestHandler superclass. | ||||
* | Add wantedDocumentCount parameter to Document V1 visiting API | Tor Brede Vekterli | 2017-09-28 | 1 | -17/+43 |
| | | | | | | | | | | | Visiting will continue until the provided number of documents has been returned, or the session times out. Parameter is bounded by an implementation defined maximum. Remove old visit() interface method, as it should not have been covered by an ExportPackage and therefore no one should have managed to actually use it externally. This fixes #3394 | ||||
* | Update copyright headers | Jon Bratseth | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Revert "Update copyright headers" | Jon Bratseth | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Update copyright headers | Jon Bratseth | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Revert "Copyright header" | Jon Bratseth | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Copyright header | Jon Bratseth | 2017-06-13 | 1 | -1/+1 |
| | |||||
* | Report feed metrics against /document/v1 | valerijf | 2017-05-11 | 1 | -3/+4 |
| | |||||
* | Extend APIs with condition-not-met. | Haakon Dybdahl | 2017-03-06 | 1 | -5/+6 |
| | |||||
* | Merge pull request #1865 from yahoo/dybdahl/add-route | Haakon Dybdahl | 2017-02-27 | 1 | -3/+6 |
|\ | | | | | Add route option, to be tested in system test. | ||||
| * | Add route option, to be tested in system test. | Haakon Dybdahl | 2017-02-27 | 1 | -3/+6 |
| | | |||||
* | | Make visit work for numbers. | Haakon Dybdahl | 2017-02-27 | 1 | -1/+6 |
|/ | |||||
* | Merge pull request #1608 from yahoo/dybdahl/threads | Henning Baldersheim | 2017-01-26 | 1 | -4/+12 |
|\ | | | | | Make document API use max 40% of threads, and feeding use max 40%. | ||||
| * | Make final. | Haakon Dybdahl | 2017-01-26 | 1 | -2/+2 |
| | | |||||
| * | Make document API use max 40% of threads, and feeding use max 40%. | Haakon Dybdahl | 2017-01-26 | 1 | -3/+11 |
| | | |||||
* | | Allow visiting based on group selection automatically. | Haakon Dybdahl | 2017-01-26 | 1 | -6/+8 |
|/ | |||||
* | update test | Haakon Dybdahl | 2017-01-24 | 1 | -1/+3 |
| | |||||
* | Allow more threads for document/v1 api. | Haakon Dybdahl | 2017-01-24 | 1 | -1/+1 |
| | |||||
* | Support document-api in application | Jon Bratseth | 2016-09-28 | 1 | -3/+6 |
| | |||||
* | Make constant. | Haakon Dybdahl | 2016-09-14 | 1 | -2/+3 |
| | |||||
* | Set correct content-type. | Haakon Dybdahl | 2016-09-14 | 1 | -0/+4 |
| | |||||
* | update author field. | Haakon Dybdahl | 2016-06-17 | 1 | -2/+2 |
| |