aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java
Commit message (Collapse)AuthorAgeFilesLines
* Add support for serializing document update to jsonHarald Musum2024-03-122-1/+6
|
* Indent two characters for every line in outputHarald Musum2024-03-122-17/+19
|
* Support serializing document remove operation to json formatHarald Musum2024-03-112-16/+40
|
* Minor code health while reading codeHenning Baldersheim2024-03-011-12/+11
|
* Move Jackson util from vespajlib to container-core.Henning Baldersheim2023-11-242-2/+2
|
* jackson 2.16 changes some of its default settings so we consolidate our use ↵Henning Baldersheim2023-11-232-6/+4
| | | | | | of the ObjectMapper. Unless special options are used, use a common instance, or create via factory metod.
* switch to io.airlift:aircompressorArne Juul2023-10-261-1/+1
|
* Update copyrightJon Bratseth2023-10-0979-80/+80
|
* Use consistent timer instance, and set meaningful message timestampsjonmv2023-07-101-6/+6
|
* Create crypto tool output streams with RW permissions for owner onlyTor Brede Vekterli2023-05-022-4/+13
|
* pick up create flag for put operationsHåvard Pettersen2023-04-281-0/+3
|
* Remove common ConditionalFeedOperationHenning Baldersheim2023-04-271-7/+18
|
* Unify passing of all feed operations through the various feed apis.Henning Baldersheim2023-04-271-22/+17
|
* Add a "null-rendering" option to `vespa-visit`Tor Brede Vekterli2023-03-063-1/+51
| | | | | | | | | | This makes it easy to benchmark whether document rendering is a bottleneck when visiting. For instance, large floating point tensor fields are notoriously expensive to render as JSON. This is more accurate than just redirecting the visit output to `/dev/null` as that still requires documents to be rendered before being evicted into the void.
* Backport visit slicing to `vespa-visit` CLI toolTor Brede Vekterli2023-03-012-30/+111
| | | | | | | | | | Allows for efficient parallelization across multiple visitor instances, mirroring the existing support in Document V1. Also clean up some legacy option value parsing code. Note: changing the parsed type for `maxtotalhits` from `int` to `long` is intentional; the internal limit is already a `long` and a cluster may have a lot more than `INT32_MAX` documents.
* Batch `vespa-visit` progress file updatesTor Brede Vekterli2023-02-242-31/+57
| | | | | Avoids writing and syncing to disk for every bucket updated. Instead, write every 10 seconds and at process shutdown.
* Add JSONL output support to `vespa-visit` CLI toolTor Brede Vekterli2023-02-233-72/+168
| | | | | JSONL output is enabled via new `--jsonl` argument. Mutually exclusive with `--jsonoutput` and (deprecated) `--xmloutput`.
* Correct checks for redirected I/O during interactive token resealingTor Brede Vekterli2023-02-141-1/+1
|
* Rename script-utils -> vespa-wrapperMartin Polden2023-02-061-1/+1
|
* Add missing error count to reportHenning Baldersheim2023-02-031-20/+20
|
* Add an "interactive" token resealing protocol and basic tooling supportTor Brede Vekterli2023-01-314-19/+89
| | | | | | | | | | | | | | Implements a protocol for delegated access to a shared secret key of a token whose private key we do not possess. This builds directly on top of the existing token resealing mechanisms. The primary benefit of the resealing protocol is that none of the data exchanged can reveal anything about the underlying secret. Security note: neither resealing requests nor responses are explicitly authenticated (this is a property inherited from the sealed shared key tokens themselves). It is assumed that an attacker can observe all requests and responses in transit, but cannot modify them.
* Json it is..Henning Baldersheim2023-01-301-1/+1
|
* Let json be default explicitHenning Baldersheim2023-01-301-2/+2
|
* Deprecate xml methodsHenning Baldersheim2023-01-274-1/+4
|
* Avoid deprecated apache http 5.2 methods, by adding it to the builder.Henning Baldersheim2023-01-261-1/+1
|
* Upgrade apache 5.1 => 5.2 and add deprecation suppressions.Henning Baldersheim2023-01-261-0/+1
|
* Minor code cleanup.Henning Baldersheim2023-01-261-18/+12
|
* Revert apache 5.1 -> 5.2Henning Baldersheim2023-01-261-13/+18
|
* More consistent naming of set/build methodsHenning Baldersheim2023-01-251-1/+1
|
* VespaHttpClientBuilder follow builder pattern and add connect and socket ↵Henning Baldersheim2023-01-251-2/+1
| | | | timeout to builder.
* Bump apache httpclient from 5.1 to 5.2.Henning Baldersheim2023-01-251-17/+13
|
* Build classic fatjar for standalone useBjørn Christian Seime2023-01-243-1/+40
|
* Inline apache http client artifacts in container-apache-http-client-bundleBjørn Christian Seime2023-01-201-6/+4
| | | | | | Allows container-apache-http-client-bundle to be used on classpath for classic fatjars. Since the bundle is now built with Felix's bundle plugin, there is no need to depend on jdisc_core or manually export through `@PublicApi` annotations.
* Support direct tensor renderingJon Bratseth2023-01-147-25/+54
|
* Don't embed JARs installed in lib/jarsBjørn Christian Seime2023-01-111-8/+8
| | | | | | Define installed JARs in vespa-3party-jars. Add bundle-plugin goal wrapping maven-shade-plugin's DefaultShader that excludes installed JARs and lists them in manifest's Class-Path instead.
* Use ChaCha20-Poly1305 instead of AES-GCM for shared key-based cryptoTor Brede Vekterli2023-01-052-2/+2
| | | | | | | | | | | | | | | | | | | | | This is to get around the limitation where AES GCM can only produce a maximum of 64 GiB of ciphertext for a particular <key, IV> pair before its security properties break down. ChaCha20-Poly1305 does not have any practical limitations here. ChaCha20-Poly1305 uses a 256-bit key whereas the shared key is 128 bits. A HKDF is used to internally expand the key material to 256 bits. To let token based decryption be fully backwards compatible, introduce a token version 2. V1 tokens will be decrypted with AES-GCM 128, while V2 tokens use ChaCha20-Poly1305. As a bonus, cryptographic operations will generally be _faster_ after this cipher change, as we use BouncyCastle ciphers and these do not use any native AES instructions. ChaCha20-Poly1305 is usually considerably faster when running without specialized hardware support. An ad-hoc experiment with a large ciphertext showed a near 70% performance increase over AES-GCM 128.
* Support Zstd (un)compression during crypto CLI encryption and decryptionTor Brede Vekterli2023-01-046-5/+93
| | | | | Simplifies working with compressed plaintext, as it removes the need for piping via `unzstd` or using a temporary file.
* We have relied on dynamic throttling for 12 years or so.Henning Baldersheim2023-01-031-1/+0
| | | | Time to let the old one go.
* add exclusion, avoid embedding huge native librariesArne Juul2022-12-131-0/+6
|
* Allow trailing dots in decryption tool key IDTor Brede Vekterli2022-12-091-1/+1
| | | | Makes it easier to include an explicit key version as part of the ID.
* Merge pull request #25115 from vespa-engine/balder/gc-unused-security-toolsHenning Baldersheim2022-12-052-0/+110
|\ | | | | GC unused security-tools
| * GC unused security-toolsHenning Baldersheim2022-12-052-0/+110
| |
* | Rename short tensor output CLI optionTor Brede Vekterli2022-12-054-11/+10
| | | | | | | | | | `tensor-short-form` -> `shorttensors` to be in line with existing option formatting.
* | Add tensor short form output option to vespa-getTor Brede Vekterli2022-12-056-5/+27
| |
* | Add tensor short form output option to vespa-visit toolTor Brede Vekterli2022-12-054-9/+94
|/ | | | | | Specified with `--tensor-short-form`. No single-char option alias, as short form output will be the default on Vespa 9 and we're running out of usable option characters for this tool anyway.
* Use latest junitHenning Baldersheim2022-12-021-2/+3
|
* Move vespa-status-filedistribution to where the other clients are and use a ↵Henning Baldersheim2022-12-025-0/+412
| | | | common jar file.
* Use larger heap and simple throughput GC algorithmHenning Baldersheim2022-12-011-5/+1
|
* Use latest junit.Henning Baldersheim2022-11-293-16/+16
|
* Collapse the vespa_feed_perf into the other feed clients.Henning Baldersheim2022-11-298-0/+1443
|