Skip to content

Implement IBucket.CreateQueryLink method #93

Merged
atimin merged 2 commits into
mainfrom
support-query-links
Sep 19, 2025
Merged

Implement IBucket.CreateQueryLink method #93
atimin merged 2 commits into
mainfrom
support-query-links

Conversation

@atimin
Copy link
Copy Markdown
Member

@atimin atimin commented Sep 19, 2025

Closes #

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Feature

What was changed?

The PR introduces the IBucket.CreateQueryLink method, which is used to create query links for sharing particular data without permissions.

Related issues

reductstore/reductstore#938

Does this PR introduce a breaking change?

No

Other information:

@atimin atimin requested a review from Copilot September 19, 2025 13:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements the IBucket.CreateQueryLink method, which enables creating query links for sharing data without requiring permissions. The implementation includes comprehensive test coverage and proper integration with the existing codebase.

  • Adds new CreateQueryLink method to the IBucket interface with configurable options
  • Implements JSON serialization for query link options
  • Provides comprehensive test coverage for various query link scenarios

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/reduct/bucket.h Defines QueryLinkOptions struct and CreateQueryLink method interface
src/reduct/bucket.cc Implements CreateQueryLink method with HTTP client integration
src/reduct/internal/serialisation.h Declares QueryLinkOptionsToJsonString function
src/reduct/internal/serialisation.cc Implements JSON serialization for query link options
tests/reduct/bucket_api_test.cc Adds comprehensive test cases for CreateQueryLink functionality
CHANGELOG.md Documents the new feature addition
.github/workflows/ci.yml Updates API version tag exclusion for CI

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/reduct/internal/serialisation.cc
Comment thread tests/reduct/bucket_api_test.cc
@atimin atimin merged commit 6daf0c7 into main Sep 19, 2025
20 checks passed
@atimin atimin deleted the support-query-links branch September 19, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants