Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: support schema introspection #380

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

DifferentialOrange
Copy link
Member

This patch add crud.schema introspection handle, which allows to inspect which spaces are available and what format do they have. The feature covers two use cases:

  • when application users want to know what data they can manipulate,
  • when crud integration tools want to know data format for pre-processing (for example, CRUD HTTP API).

I didn't forget about

  • Tests
  • Changelog
  • Documentation

@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/no-gh-schema branch 5 times, most recently from 00ebe5f to 06a92c8 Compare October 9, 2023 13:40
@DifferentialOrange DifferentialOrange marked this pull request as ready for review October 9, 2023 13:59
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/no-gh-schema branch 2 times, most recently from 06a92c8 to 5065dbb Compare October 10, 2023 07:59
This patch add `crud.schema` introspection handle, which allows
to inspect which spaces are available and what format do they have.
The feature covers two use cases:
- when application users want to know what data they can manipulate,
- when crud integration tools want to know data format
  for pre-processing (for example, CRUD HTTP API).
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/no-gh-schema branch from 5065dbb to 4eb2a36 Compare October 10, 2023 08:55
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 10, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 10, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
Copy link
Contributor

@oleg-jukovec oleg-jukovec left a comment

Choose a reason for hiding this comment

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

Thank you for the patch!

@DifferentialOrange DifferentialOrange merged commit bbe1bd5 into master Oct 12, 2023
29 checks passed
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/no-gh-schema branch October 12, 2023 08:50
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 12, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 12, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 16, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
DifferentialOrange added a commit that referenced this pull request Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
@DifferentialOrange DifferentialOrange mentioned this pull request Oct 16, 2023
DifferentialOrange added a commit that referenced this pull request Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit that referenced this pull request Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 16, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
DifferentialOrange added a commit to tarantool/go-tarantool that referenced this pull request Oct 18, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
oleg-jukovec pushed a commit to tarantool/go-tarantool that referenced this pull request Oct 18, 2023
Support `crud.schema` request [1] and response parsing.

1. tarantool/crud#380
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