Skip to content

Demo#139

Closed
StephanMeijer wants to merge 13 commits into
mainfrom
feat/demo-v1
Closed

Demo#139
StephanMeijer wants to merge 13 commits into
mainfrom
feat/demo-v1

Conversation

@StephanMeijer
Copy link
Copy Markdown
Collaborator

Purpose

PR for the first demo given.

Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
@StephanMeijer StephanMeijer mentioned this pull request May 13, 2026
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
The VCR cassettes capture real OpenSearch HTTP interactions, eliminating
the need to continuously update mocks when OpenSearch responses change.

Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
uri: http://opensearch:9200/test-index
response:
body:
string: '{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upserting indexes should not be part of the VCR. These are testing internals.

@@ -0,0 +1,107 @@
"""Convert query DSL to OpenSearch queries."""
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sampaccoud said in meeting he wants to reduce attack surface so in that light I will simplify the search.

@@ -0,0 +1,107 @@
"""Convert query DSL to OpenSearch queries."""
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Search shall only be done by users, not individual apps (Docs, Fichier)

@sampaccoud
Copy link
Copy Markdown
Member

sampaccoud commented May 20, 2026

@StephanMeijer Closing this PR as I think it's too far from the way we work in this team and we would lose good decisions and important features that were carefully thought.

Please start with a first PR importing the CONTRIBUTING.md from Docs https://github.com/suitenumerique/docs/blob/main/CONTRIBUTING.md

Read it carefully especially the handbook and how we write tests in this team 🙏

I'm not saying its content does not contain great things but try opening PR of max 500 lines with a PR description with 2 chapters :

  • PURPOSE : why you need to do this atomic change
  • PROPOSAL : what you propose and why it's a good idea

@sampaccoud sampaccoud closed this May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants