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

Allow different key sizes in REST API #228

Merged

Conversation

vovac12
Copy link
Contributor

@vovac12 vovac12 commented Jun 23, 2021

Closes #227

@vovac12 vovac12 marked this pull request as draft June 23, 2021 09:30
@vovac12 vovac12 force-pushed the 227-allow-different-key-types-in-rest branch from e829277 to 9a6ec44 Compare June 23, 2021 09:42
@vovac12 vovac12 changed the base branch from allow-different-key-sizes to master June 23, 2021 09:43
@vovac12 vovac12 marked this pull request as ready for review June 23, 2021 09:44
@vovac12 vovac12 linked an issue Jun 23, 2021 that may be closed by this pull request
Use uuid from rocket_contrib
Fix for escape sequences
GUID without brackets
bob-apps/bin/bobc.rs Outdated Show resolved Hide resolved
bob-backend/build.rs Outdated Show resolved Hide resolved
bob-common/build.rs Show resolved Hide resolved
bob-common/src/data.rs Outdated Show resolved Hide resolved
bob/src/api/http.rs Show resolved Hide resolved
bob/src/api/http.rs Outdated Show resolved Hide resolved
@vovac12 vovac12 changed the base branch from master to allow-different-key-sizes August 12, 2021 07:50
@piakushin piakushin merged commit cc36ef5 into allow-different-key-sizes Aug 13, 2021
@piakushin piakushin deleted the 227-allow-different-key-types-in-rest branch August 13, 2021 13:09
piakushin added a commit that referenced this pull request Aug 13, 2021
* add key_size as constant

* add bytes as blob key to proto

* add keysize to bobc and bobp

* change KEY_SIZE to BOB_KEY_SIZE

* add key size to docker

* fix typo

* use tryinto instead of manual copy

* Fix mod op for slice

* Test build

* Fix From<u64> trait implementation

* update changelog

* fix use of new bobkey in http

* use le encoding

* fix le impl

* fix key saturation

* update vdisk id retrieval

* fix key formatting

* fix smaller size behaviour in bobp and bobc

* add panic in bobc and bobp in case of key truncation

* fix usage of keysize in bobc

* remove use of extend in favor of resize

* Allow different key sizes in REST API (#228)

* Different key sizes in REST API

* Add key size validation

* Big integer parsing

* Remove manual number parsing
Use uuid from rocket_contrib

* Error explanation instead of 404
Fix for escape sequences
GUID without brackets

* Fix hex bytes order

* Update CHANGELOG.md

* Key overflow check before copying

* Fix misleading function name

Co-authored-by: pyakushin <jetpilot412@gmail.com>

* pass keysize from command line

* re-add env vars to bobp and bobc

* Return parse error instead of Not found.
Fix key parsing

* Update pearl to 0.6.1

Co-authored-by: Pavel Perestoronin <p_perestoronin@mail.ru>
Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>
Co-authored-by: pyakushin <jetpilot412@gmail.com>
piakushin added a commit that referenced this pull request Oct 19, 2021
* add key_size as constant

* add bytes as blob key to proto

* add keysize to bobc and bobp

* change KEY_SIZE to BOB_KEY_SIZE

* add key size to docker

* fix typo

* use tryinto instead of manual copy

* Fix mod op for slice

* Test build

* Fix From<u64> trait implementation

* update changelog

* fix use of new bobkey in http

* use le encoding

* fix le impl

* fix key saturation

* update vdisk id retrieval

* fix key formatting

* fix smaller size behaviour in bobp and bobc

* add panic in bobc and bobp in case of key truncation

* fix usage of keysize in bobc

* remove use of extend in favor of resize

* update gitgnore for complex filestructure

* Allow different key sizes in REST API (#228)

* Different key sizes in REST API

* Add key size validation

* Big integer parsing

* Remove manual number parsing
Use uuid from rocket_contrib

* Error explanation instead of 404
Fix for escape sequences
GUID without brackets

* Fix hex bytes order

* Update CHANGELOG.md

* Key overflow check before copying

* Fix misleading function name

Co-authored-by: pyakushin <jetpilot412@gmail.com>

* pass keysize from command line

* re-add env vars to bobp and bobc

* update gitignore

* add matrics accumulator

* refactor warnings

* propagate shared metrics

* split metrics exporter into accumulator and recorder

* update changelog

* fix active wait

* update write lock in accumulator

* reorganiza metrics collection

* fix discussions

* update http method

* update http interface

* disable preservation of mean time

* reduce number of metric models

* add timestamps to metrics

* reduce timestamp calculation calls

* add cap on metrics received in one period

Co-authored-by: Pavel Perestoronin <p_perestoronin@mail.ru>
Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>
Co-authored-by: pyakushin <jetpilot412@gmail.com>
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.

Support different key types in REST API
4 participants