Skip to content

[pull] main from opensearch-project:main#113

Merged
pull[bot] merged 2 commits into
miqdigital:mainfrom
opensearch-project:main
Jun 26, 2026
Merged

[pull] main from opensearch-project:main#113
pull[bot] merged 2 commits into
miqdigital:mainfrom
opensearch-project:main

Conversation

@pull

@pull pull Bot commented Jun 26, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

lsh1215 and others added 2 commits June 26, 2026 09:32
* Make document lifecycle guidance verifiable for Java users

Constraint: Issue #431 asks for a Java document lifecycle guide similar to the Ruby guide while matching existing Java guide conventions.

Rejected: Guide-only snippets | A runnable sample keeps the documented examples compileable and Docker-verified.

Rejected: Repository-order CI workaround in this PR | It fixed a transient upstream Maven 503 but widened the guide-focused review scope.

Confidence: high

Scope-risk: narrow

Directive: Keep guide snippets aligned with DocumentLifecycle when changing lifecycle examples.

Tested: git diff --check

Tested: ./gradlew :samples:compileJava :samples:spotlessJavaCheck

Tested: Docker Compose OpenSearch 3.2.0 health green; PASSWORD=0_aD^min_0 ./gradlew :samples:run -Dsamples.mainClass=DocumentLifecycle

Not-tested: Full repository test suite

Signed-off-by: sanghun <vitash1215@gmail.com>

* Align document lifecycle guide with review wording

Constraint: Maintainer review requested wording, heading, and setup-style adjustments in guides/document_lifecycle.md.

Rejected: Changing the runnable sample | The review feedback targeted guide phrasing, and the sample still compiles unchanged.

Confidence: high

Scope-risk: narrow

Directive: Keep the guide TOC anchors synchronized with section heading changes.

Tested: git diff --check

Tested: ./gradlew :samples:compileJava :samples:spotlessJavaCheck

Not-tested: Full repository test suite

Signed-off-by: sanghun <vitash1215@gmail.com>

* Align document lifecycle sample setup with guide

Constraint: Maintainer review requested DocumentLifecycle.java to match the setup snippet already applied in guides/document_lifecycle.md.

Rejected: Reintroducing SampleClient.create | The review suggestion asks for the explicit HttpHost transport setup.

Confidence: high

Scope-risk: narrow

Directive: Keep sample setup aligned with guide setup code.

Tested: git diff --check

Tested: ./gradlew :samples:compileJava :samples:spotlessJavaCheck

Tested: OPENSEARCH_VERSION=3.2.0 SECURE_INTEGRATION=false docker compose --project-directory .ci/opensearch up -d --build; ./gradlew :samples:run -Dsamples.mainClass=DocumentLifecycle; docker compose down

Not-tested: Full repository test suite
Signed-off-by: sanghun <vitash1215@gmail.com>

---------

Signed-off-by: sanghun <vitash1215@gmail.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Jun 26, 2026
@pull pull Bot added the ⤵️ pull label Jun 26, 2026
@pull pull Bot merged commit 29bef19 into miqdigital:main Jun 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants