Commit graph

549 commits

Author SHA1 Message Date
alexvanin
d5072d20f0 docs: Add doc for container ACL field
ACL support still under development. Detailed documentation on
container access rules will be added later.
2020-01-15 17:13:05 +03:00
Evgeniy Kulikov
35e92e5227
Merge tag 'v0.2.8' into develop
Release v0.2.8
2019-12-21 12:25:53 +03:00
Evgeniy Kulikov
abc3c371ce
Merge branch 'release/0.2.8' 2019-12-21 12:25:45 +03:00
Evgeniy Kulikov
e1b7d0a7a6
CHANGELOG 2019-12-21 12:25:35 +03:00
Evgeniy Kulikov
c671e9b568
Merge pull request #31 from nspcc-dev/optimize-sign-verify-request-headers
service: Use sync pool for Sign/Verify request headers
2019-12-21 12:12:11 +03:00
Evgeniy Kulikov
8d028100e9
service: Use sync pool for Sign/Verify request headers
```
// Before
BenchmarkSignRequestHeader-8   	     146	   8070375 ns/op	 4210607 B/op	      48 allocs/op
BenchmarkVerifyRequestHeader-8   	      14	  83058325 ns/op	42085955 B/op	    1601 allocs/op

// After
BenchmarkSignRequestHeader-8   	     156	   7709172 ns/op	   33902 B/op	      45 allocs/op
BenchmarkVerifyRequestHeader-8   	      15	  76910232 ns/op	   54368 B/op	    1563 allocs/op

// Summary:
benchmark                          old ns/op     new ns/op     delta
BenchmarkSignRequestHeader-8       8070375       7709172       -4.48%
BenchmarkVerifyRequestHeader-8     83058325      76910232      -7.40%

benchmark                          old allocs     new allocs     delta
BenchmarkSignRequestHeader-8       48             45             -6.25%
BenchmarkVerifyRequestHeader-8     1601           1563           -2.37%

benchmark                          old bytes     new bytes     delta
BenchmarkSignRequestHeader-8       4210607       33902         -99.19%
BenchmarkVerifyRequestHeader-8     42085955      54368         -99.87%
```
2019-12-20 17:14:51 +03:00
Evgeniy Kulikov
b76841b4b8
Merge pull request #28 from nspcc-dev/container-acl
Container access control type definitions
2019-12-19 01:41:46 +03:00
Leonard Lyubich
6ad23612c9 Use expanded field naming in AccessGroup structure 2019-12-17 19:48:44 +03:00
Evgeniy Kulikov
1d4f28dd48
Merge tag 'v0.2.7' into develop
Release v0.2.7
2019-12-17 18:04:22 +03:00
Evgeniy Kulikov
a7f2026db0
Merge branch 'release/0.2.7' 2019-12-17 18:04:11 +03:00
Evgeniy Kulikov
a52e26389e
CHANGELOG 2019-12-17 18:03:24 +03:00
Evgeniy Kulikov
41167eb040
Merge pull request #29 from nspcc-dev/fix-bug-with-decoding-metrics
Fix bug with DecodeMetrics (empty metrics returns)
2019-12-17 18:00:28 +03:00
Evgeniy Kulikov
f557f24616
Fix bug with DecodeMetrics (empty metrics returns) 2019-12-17 17:53:48 +03:00
Leonard Lyubich
7e6e30b850 Add unit tests for container access modes 2019-12-17 16:15:51 +03:00
Leonard Lyubich
6b6728356a Container access control type definitions 2019-12-17 15:47:54 +03:00
Evgeniy Kulikov
805ef243ee
Merge tag 'v0.2.6' into develop
Release v0.2.6
2019-12-17 14:30:49 +03:00
Evgeniy Kulikov
96e38dd90f
Merge branch 'release/0.2.6' 2019-12-17 14:30:38 +03:00
Evgeniy Kulikov
13bc423c45
CHANGELOG 2019-12-17 14:30:23 +03:00
Evgeniy Kulikov
c9a913d419
Merge pull request #27 from nspcc-dev/add-rpc-method-for-dumping-node-settings
Add rpc method for dumping node settings
2019-12-17 14:26:50 +03:00
Evgeniy Kulikov
55b9a2447c
state: add method to encode config into response message 2019-12-17 14:09:52 +03:00
Evgeniy Kulikov
11eb541f23
state: add request to dump node config
- regenerate proto files
- regenerate proto docs
2019-12-17 14:08:59 +03:00
Evgeniy Kulikov
3e30d3bb16
Merge branch 'release/0.2.5' into develop 2019-12-05 14:46:01 +03:00
Evgeniy Kulikov
3fc1c74ee5
Merge branch 'release/0.2.5' 2019-12-05 14:45:51 +03:00
Evgeniy Kulikov
1f22bcc9c1
CHANGELOG 2019-12-05 14:45:40 +03:00
Evgeniy Kulikov
8acd4da89a
Merge pull request #26 from nspcc-dev/get-rid-of-proto-Message-from-Maintainable-and-VerifiableRequest
service: get rid of proto.Message in Maintainable/Verifiable requests
2019-12-05 14:39:39 +03:00
Evgeniy Kulikov
891ba27ede
service: get rid of proto.Message in Maintainable/Verifiable requests 2019-12-05 14:30:08 +03:00
Evgeniy Kulikov
173f0366ac
Merge branch 'release/0.2.4' into develop 2019-12-03 13:22:00 +03:00
Evgeniy Kulikov
f7b10e48e1
Merge branch 'release/0.2.4' 2019-12-03 13:21:24 +03:00
Evgeniy Kulikov
90b6e5c4c1
CHANGELOG 2019-12-03 13:20:54 +03:00
Evgeniy Kulikov
5f999280d2
Merge pull request #25 from nspcc-dev/publish-storage-group
proto: publish sg lib, rewrite object
2019-12-03 13:14:10 +03:00
Evgeniy Kulikov
0fce8a6ba2
proto: publish sg lib, rewrite object 2019-12-02 19:46:15 +03:00
Evgeniy Kulikov
b646388840
Merge branch 'release/0.2.3' into develop 2019-11-28 20:22:56 +03:00
Evgeniy Kulikov
d05b7f3d41
Merge branch 'release/0.2.3' 2019-11-28 20:22:43 +03:00
Evgeniy Kulikov
b4df24aab9
CHANGELOG 2019-11-28 20:22:34 +03:00
Evgeniy Kulikov
79edc14759
Merge pull request #23 from nspcc-dev/feature/get-rid-of-bytefmt
service: get rid of bytefmt
2019-11-26 16:33:08 +03:00
Evgeniy Kulikov
ac44e4bb9f
service: get rid of bytefmt
- add ByteSize type + Stringer
- add test coverage
- cleanup modules

closes #22
2019-11-26 16:14:10 +03:00
Evgeniy Kulikov
999fcb5927
Merge pull request #24 from nspcc-dev/fix/get-rid-of-service-sign-and-verify-requests
Get rid of Sign and Verify requests
2019-11-26 16:10:53 +03:00
Evgeniy Kulikov
7099e2083e
docs: regenerate documentation 2019-11-26 15:54:40 +03:00
Evgeniy Kulikov
14f85ced84
service: get rid of signature field in container + proto generate 2019-11-26 15:54:27 +03:00
Evgeniy Kulikov
5fa7d72bba
service: get rid of signature field in accounting + proto generate 2019-11-26 15:53:55 +03:00
Evgeniy Kulikov
ab70f84999
Merge pull request #21 from nspcc-dev/fix/get-status-error-even-if-it-is-wrapped
Get status error even if it is wrapped
2019-11-26 14:20:05 +03:00
Evgeniy Kulikov
602c17778d
Merge pull request #20 from nspcc-dev/feature/remove-unnecessary
service: Renamed EpochRequest to EpochHeader and merged with MetaHeader
2019-11-26 14:12:38 +03:00
Evgeniy Kulikov
a893e389b0
service: test coverage for wrapped status errors 2019-11-26 14:09:23 +03:00
Evgeniy Kulikov
d08f5a5811
service: get status error even if it is wrapped 2019-11-26 14:08:52 +03:00
Evgeniy Kulikov
20c10a2afd
service: rename EpochRequest to EpochHeader and merge with MetaHeader 2019-11-26 13:57:29 +03:00
Evgeniy Kulikov
b6de95b740
Merge pull request #18 from nspcc-dev/feature/remove-sign-and-verify-request-from-service
Remove Sign and Verify request from service
- removed sign/verify request
- added method to validate owner

fix #16
2019-11-26 13:50:28 +03:00
Evgeniy Kulikov
40038cc860
service: test coverage for CheckOwner 2019-11-26 13:43:01 +03:00
Evgeniy Kulikov
eda9ea3829
service: add method to RequestVerificationHeader to validate owner 2019-11-26 13:43:01 +03:00
Evgeniy Kulikov
8967a0d1f5
service: remove SignRequest, VerifyRequest and accompanying code 2019-11-26 13:36:48 +03:00
Evgeniy Kulikov
1f399beb12
Merge branch 'release/0.2.2' into develop 2019-11-25 16:00:17 +03:00