Commit graph

97 commits

Author SHA1 Message Date
087a1c79db [#2] Update docs
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2022-12-21 11:49:19 +03:00
803cafbbd5 [#1] Build REST Gateway with FrostFS dependencies 2022-12-16 12:48:05 +03:00
Denis Kirillov
2345fe6441 [#83] Update flag bindings
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-12-02 16:50:22 +03:00
Denis Kirillov
fc13e5407c [#71] Update changelog
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-10 11:30:06 +03:00
Denis Kirillov
6f789f149e [#71] Validate config for unknown keys
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-10 11:30:06 +03:00
Denis Kirillov
3f05207530 [#2] Allow unauthenticated requests to GET and SEARCH
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-11-02 15:05:36 +03:00
Denis Kirillov
ac5750670f [#66] Group pool config parameters
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-20 11:03:37 +03:00
Denis Kirillov
8d83320120 [#79] Fix panic on get empty object
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-20 11:01:22 +03:00
anastasia prasolova
e79189045e Add CODEOWNERS file
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-10-16 20:39:01 +03:00
Denis Kirillov
91d6ec0918 [#76] Update SDK to support interrupt pool dial
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-11 15:55:19 +03:00
Denis Kirillov
3a1a17b8aa Release v0.5.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-07 16:03:49 +03:00
Denis Kirillov
feaea15aa7 [#73] Add missed CORS
Allow X-Bearer-For-All-Users, X-Bearer-Lifetime headers.
Add CORS to /auth/bearer route.

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-10-07 11:23:25 +03:00
Denis Kirillov
b2fdb8c5f8 [#26] Cross compile build
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-30 10:07:31 +03:00
Denis Kirillov
e055e3955f [#69] Update CHANGELOG.md
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-22 12:29:56 +03:00
Denis Kirillov
630547d488 [#69] Forbid SetEACL operation if basic acl final
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-22 12:29:56 +03:00
Denis Kirillov
09e8196ed4 [#68] Check basic ACL size
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-22 12:29:56 +03:00
47691727d4 [#67] Do not store builds in GitHub artifactory
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-16 11:50:40 +04:00
Stanislav Bogatyrev
843f099108 [#65] Typo fixes
SWAGGER_URL must be defined externally and fall back to default only
when not set.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-09-12 10:17:23 +03:00
Denis Kirillov
a3e196c5d4 [#64] Return go1.17 in CI tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-09-09 12:26:45 +03:00
ab590407bb [#63] Update go.mod
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-06 13:44:52 +03:00
360e80b949 [#63] Fail build on dirty version
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-06 13:44:52 +03:00
dd35b859e1 [#63] Fix commit abbrev length in version
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-06 13:44:52 +03:00
0ed4e37e77 [#62] Add expiration header tests
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:24:35 +04:00
fa2bcf198f [#62] Fix expiration epoch calculation
Previous implementation does not provide 'at least'
lifetime guarantee.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-01 17:24:35 +04:00
Denis Kirillov
70eec56f8a [#61] Fix CI build
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:45:50 +03:00
Denis Kirillov
7c979aded7 [#61] Fix tests
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:45:50 +03:00
Denis Kirillov
901f70d3c9 [#61] Update lint version to 1.49.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:45:50 +03:00
Denis Kirillov
746caa06d9 [#61] Update go version to 1.19
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 16:45:50 +03:00
ebe2c19bdb Release v0.4.0
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-08-30 12:12:45 +03:00
Denis Kirillov
47e061a440 [#54] Support keys in eacl
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-30 10:00:41 +03:00
Denis Kirillov
4b9ee3936c [#58] Update SDK
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-29 15:03:50 +03:00
Denis Kirillov
d99c248a46 [#56] Add Allow-Origin header to all responses
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 17:44:42 +03:00
Denis Kirillov
ab2a2abbd5 [#53] Update SDK to fix panic on go1.19
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:31:44 +03:00
Denis Kirillov
c9aa772538 [#32] Add test for using full bearer token
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
8d5d19f3c4 [#32] Support full bearer token for object routes
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
e68cda7f9c [#32] Support bearer token for all users
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
07786dd94b [#32] Add route to form full binary bearer token
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 11:15:00 +03:00
Denis Kirillov
ada5bf5f9f [#52] Use gauge instead of counter for metrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-25 10:48:21 +03:00
Denis Kirillov
e0504fec78 [#38] Add cannedAcl field to ContainerInfo
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-18 15:55:50 +03:00
Denis Kirillov
357426426f [#49] Unify app version format
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-15 16:59:41 +03:00
Denis Kirillov
1e5b5f47b4 Release v0.3.0
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-15 13:37:28 +03:00
Denis Kirillov
afdc062723 [#46] Add building in docker
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-15 13:01:18 +03:00
Denis Kirillov
97c8942684 [#47] Add license to README and reword overview
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-15 12:48:45 +03:00
b701f4f103 [#43] Filter version tags for version calculation
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-08-12 12:19:54 +03:00
Denis Kirillov
aeeafd5d1d [#45] Add documentation for defaults parameters
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-12 09:57:28 +03:00
Denis Kirillov
c397efb1c2 [#44] Expose metrics
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-11 18:14:30 +03:00
Denis Kirillov
8221ec317c [#42] Add contribution guide
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-11 15:53:29 +03:00
Denis Kirillov
4fbd5a0c58 [#40] Add FilePath field to ObjectBaseInfo
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-11 15:04:33 +03:00
Denis Kirillov
8917100857 [#39] Update CHANGELOG.md
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-10 21:41:26 +03:00
Denis Kirillov
1c344dd576 [#39] Fix lint issue
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2022-08-10 21:41:26 +03:00