Commit graph

395 commits

Author SHA1 Message Date
Leonard Lyubich
738d521214 object: remove Token field from PutRequest.PutHeader and DeleteRequest
Session token is presented in RequestVerificationHeader, therefore its
presence in request bodies is redundant.
2020-04-27 13:17:16 +03:00
Leonard Lyubich
360d3ae2ce docs: regenerate 2020-04-27 13:14:31 +03:00
Evgeniy Kulikov
78af092531
Merge pull request #9 from nspcc-dev/request-headers-body-changes
Changes for updated session token
2020-04-27 12:29:22 +03:00
Leonard Lyubich
da3cb02936 object: remove redundant Raw field from GetRequest and HeadRequest 2020-04-27 11:00:03 +03:00
Leonard Lyubich
6b68940643 token: update structure
This commit:

  * moves Token message to service package;

  * updates token structure (new verb field, some renaming);

  * replaces VerificationHeader header with Token in object package;

  * removes no longer used VerificationHeader message.
2020-04-27 10:59:44 +03:00
Leonard Lyubich
b84fab4d24 service: change RequestVerificationHeader message
This commit:

  * removes RequestVerificationHeader.Signature message;

  * renames RequestVerificationHeader.Sign message to Signature.
2020-04-23 13:44:21 +03:00
Leonard Lyubich
a891eff012 service: add Raw field to RequestMetaHeader 2020-04-23 13:34:06 +03:00
Evgeniy Kulikov
e411a89c52
CHANGELOG 2020-04-20 13:41:59 +03:00
Evgeniy Kulikov
f3ff630d9e
Merge pull request #8 from nspcc-dev/add-rpc-method-to-change-node-state
Add gRPC method to change current node state
2020-04-20 13:33:18 +03:00
Evgeniy Kulikov
c9edac72b4
docs: regenerate files 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
096e7211b4
proto: add method to change current node state 2020-04-20 13:29:30 +03:00
Evgeniy Kulikov
ad46d41313
make: change deps output 2020-04-20 12:03:55 +03:00
Leonard Lyubich
1d7c767759 update changelog for v0.7.0 2020-04-16 17:00:36 +03:00
Leonard Lyubich
974aaee0a2
Merge pull request #7 from nspcc-dev/put-header-copies-number
Add numerical field CopiesNumber into object.PutRequest.PutHeader
2020-04-15 20:03:45 +03:00
Leonard Lyubich
846a84cd0c regenerate docs 2020-04-15 18:27:46 +03:00
Leonard Lyubich
17e7c3ae30 add PutRequest.PutHeader.CopiesNumber uint32 field 2020-04-15 18:26:03 +03:00
Evgeniy Kulikov
4c4e3340d6
CHANGELOG 2020-04-15 14:37:31 +03:00
Evgeniy Kulikov
96aeb5e1e0
Merge pull request #6 from nspcc-dev/bootstrap_node_state
Bootstrap node state
2020-04-15 14:33:47 +03:00
Evgeniy Kulikov
15de641fb1
regenerate docs 2020-04-15 12:24:40 +03:00
Evgeniy Kulikov
e0f31302b5
add bootstrap.Request.State and enum 2020-04-15 12:24:21 +03:00
Evgeniy Kulikov
25b5c151c7
update license in readme 2020-04-10 09:25:00 +03:00
Evgeniy Kulikov
859cebf87a remove old license 2020-04-09 19:27:39 +03:00
Evgeniy Kulikov
81ba455cd2 Create LICENSE 2020-04-09 19:27:39 +03:00
Evgeniy Kulikov
f7f8f27de5
Merge pull request #4 from AlexVanin/docs/changelog
docs: Add changelog file
2020-04-02 14:55:21 +03:00
alexvanin
71ea2fccd1 docs: Add changelog file 2020-04-02 14:21:07 +03:00
alexvanin
2803a0788d docs: Update container docs with BasicACL field 2020-04-01 21:06:54 +03:00
alexvanin
18b698d429 container: Replace AccessGroup with BasicACL
With new ACL conception, access control lists in NeoFS
defined as a required basic ACL and optional extended ACL.

Basic ACL must be set up in container structure. It is a bit
mask stored in 32-bit unsigned integer.

Seven nibbles represent seven object operations: get, put,
head, search, delete, range, range-hash.

Every nibble defines access rules for three targets: user,
owner, others and has permission bit for bearer token.

There is a permission bit for extended ACL and three unused
bits.
2020-04-01 21:06:54 +03:00
alexvanin
2b667d13ec docs: Add Decimal section in readme file 2020-04-01 21:02:46 +03:00
alexvanin
5b8fecc93d docs: Add docs for new ACL package
This commit adds auto-generated proto-docs page and
ACL section in readme.
2020-04-01 21:02:46 +03:00
alexvanin
afd55ac90b acl: Define target of access control rules
Basic NeoFS ACL applies access rules to request sender. Request
senders are combined in groups that calls `targets`.

Basic ACL rules may be applied to these targets:

  1. User - request sender is the owner of the container,
     used in the request.

  2. System - request sender is the storage node
     within the container used in the request or
     inner ring node.

  3. Others - request sender is none of the above.

 Extended ACL rules may be applied for targets, provided with
 extra information.

  4. PubKey - request sender has provided public key.
2020-04-01 21:02:46 +03:00
alexvanin
b48cc534f4 docs: Update readme file for public release 2020-04-01 18:23:41 +03:00
Evgeniy Kulikov
ed82c23642
update netmap library version 2020-03-31 10:36:51 +03:00
Evgeniy Kulikov
54060e29be
update proto docs 2020-03-31 10:17:52 +03:00
Evgeniy Kulikov
d8a0c287c4
Migrate to NeoFS API Go 2020-03-31 09:58:22 +03:00
Leonard Lyubich
afd6a5f69e Add ResponseMetaHeader to all Object service response messages 2020-02-13 17:22:25 +03:00
Leonard Lyubich
f3595a85c5 Define ResponseMetaHeader in service package 2020-02-13 17:21:46 +03:00
Evgeniy Kulikov
7fc06acc9b
Add method to State service to dump debug variables
Variables should be stored in JSON encoded to slice of bytes.
2020-02-10 13:28:38 +03:00
Evgeniy Kulikov
d1d9b75f49
Add CSharp namespace to proto files 2020-02-05 15:14:39 +03:00
Leonard Lyubich
9b2cb915ac update GetRangeRequest docs 2020-02-05 14:23:14 +03:00
Leonard Lyubich
8959621826 change GetRangeResponse type from 'repeated bytes' to 'bytes' 2020-02-05 14:21:15 +03:00
Leonard Lyubich
6bd0d99ddd make object.GetRange to be server-side streaming RPC 2020-02-05 13:38:53 +03:00
Leonard Lyubich
63b956e50c make object.Search to be server-side streaming RPC 2020-02-03 12:08:18 +03:00
Evgeniy Kulikov
cc35580700
rename gopackage from neofs-proto to neofs-api 2020-01-30 16:29:38 +03:00
Evgeniy Kulikov
b7cd44ed13
fix readme 2020-01-30 15:13:04 +03:00
Evgeniy Kulikov
fe877a169f
initialize 2020-01-30 14:43:09 +03:00