GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: implemented getParameter command by jmarkerink · Pull Request #267 · bwaldvogel/mongo-java-server

Conversation

@jmarkerink

@jmarkerink jmarkerink commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jmarkerink
jmarkerink force-pushed the feat/getParameter-command branch 2 times, most recently from bdeca9c to 4508c1a Compare November 15, 2026 15:41
bwaldvogel
bwaldvogel requested changes Nov 15, 2026
View reviewed changes
Comment thread core/src/main/java/de/bwaldvogel/mongo/backend/AbstractMongoBackend.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread core/src/main/java/de/bwaldvogel/mongo/backend/AbstractMongoBackend.java Outdated
boolean getAllParameters = "*".equals(value);
boolean showDetails = false;
if (value instanceof Document options) {
getAllParameters = Utils.isTrue(options.get("allParameters"));

@bwaldvogel bwaldvogel Nov 15, 2026

Copy link
Copy Markdown
Owner

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Upstream MongoDB rejects non-boolean values with a TypeMismatch error

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmarkerink jmarkerink Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

thanks, will revise it

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread core/src/main/java/de/bwaldvogel/mongo/backend/AbstractMongoBackend.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jmarkerink
jmarkerink force-pushed the feat/getParameter-command branch 2 times, most recently from 315bf26 to 8c4e08b Compare November 16, 2026 09:42
@jmarkerink
jmarkerink requested a review from bwaldvogel November 19, 2026 19:58
bwaldvogel
bwaldvogel reviewed Nov 22, 2026
View reviewed changes
Comment thread test-common/src/main/java/de/bwaldvogel/mongo/backend/AbstractBackendTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread test-common/src/main/java/de/bwaldvogel/mongo/backend/AbstractBackendTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jmarkerink
feat: implemented getParameter command
5bba1b2
@jmarkerink
jmarkerink force-pushed the feat/getParameter-command branch from c17cdc3 to 5bba1b2 Compare November 22, 2026 12:36
@jmarkerink
jmarkerink requested a review from bwaldvogel November 22, 2026 12:41
@bwaldvogel

bwaldvogel commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Could you return Unauthorized (13) when getParameter is called outside admin, matching MongoDB? The current code returns CommandNotFound (59).

Which client or workflow needs these eight parameters?

In the wildcard tests, containsKeys(...) is redundant because the containsEntry(...) assertions already check every listed key.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@bwaldvogel bwaldvogel Awaiting requested review from bwaldvogel

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jmarkerink @bwaldvogel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.