mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 23:45:15 +00:00
API Key expiration value has millisecond precision as we use {@link Instant#toEpoqueMilli()} when creating the API key document. It could often happen that `Instant.now()` Instant in the testCreateApiKey was close enough to the ApiKeyService's `clock.instant()` Instant, when the nanos were removed from the latter ( due to the call to `toEpoqueMilli()` ) the result of comparing these two Instants was a few nanos short of a 7 days. Resolves: #47958
Elastic License Functionality
This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.