mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
Centralizes engine versions in a new OpenSearchVersions catalog and threads them through CreateDomain / UpdateDomainConfig / UpgradeDomain validation plus per-version Docker image resolution. - Adds OpenSearch 3.0–3.6 and 2.15 / 2.17 / 2.19 to the supported list; default version is now OpenSearch_2.19 (was 2.11). - EngineVersion now maps to a concrete image tag at start time, so CreateDomain --engine-version=OpenSearch_3.6 actually pulls opensearchproject/opensearch:3.6.0 instead of always pulling the default 2.x rolling tag. - Elasticsearch_7.10 / 7.9 / 7.8 now resolve to their OSS images on docker.elastic.co; previously these versions were advertised but the service silently ran an OpenSearch 2.x container under the hood. - OpenSearch 2.12+ start scripts require OPENSEARCH_INITIAL_ADMIN_PASSWORD even when the security plugin is disabled. Set automatically. - The Elasticsearch OSS distribution ships without x-pack, so any xpack.* setting is rejected as an unknown setting at boot. Don't touch xpack env on Elasticsearch_* domains. - CreateDomain / UpdateDomainConfig / UpgradeDomain now reject unknown engine versions and unsupported upgrade hops with ValidationException. - GetCompatibleVersions returns the full source→targets matrix when domainName is omitted and a single domain-scoped row when set, matching AWS's documented behavior. - INSTANCE_TYPES catalog gains Graviton2/3 (m6g, r6g, c6g, m7g, r7g, c7g) and or1.* OpenSearch-optimized families that AWS now exposes. Tests: 44 OpenSearch tests pass (31 integration + 13 new OpenSearchVersionsTest unit tests). All four engine version paths exercised live against Docker (OS 3.6, OS 2.11, ES 7.10 OSS, unknown version rejection).