Stanislav Bogatyrev
d0d74c3a2f
[ #73 ] Add JSON field names to container package
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-19 14:49:14 +03:00
Stanislav Bogatyrev
98dab3f354
[ #73 ] Change JSON field names in acl package
...
Changing naming style to meet Protobuf and Goggle JSON style guides.
https://google.github.io/styleguide/jsoncstyleguide.xml
https://developers.google.com/protocol-buffers/docs/proto3#json
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-19 14:49:14 +03:00
Stanislav Bogatyrev
44d7f7a622
[ #73 ] Add JSON field names to accounting package
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-19 14:49:14 +03:00
Evgenii Stratonikov
4f01f4b902
[ #73 ] Add json field names to oblect struct
...
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2020-10-19 14:49:14 +03:00
Stanislav Bogatyrev
a6ecab41b8
Update auto-generated docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 14:40:24 +03:00
Stanislav Bogatyrev
095a6cb043
Remove docs
directory
...
Human-written API documentation is now in NeoFS Specification.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
bfe43818eb
Update storagegroup package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
b72847006a
Update session package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
154f4aa581
Update refs package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
27f4b1ad63
Update object package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
3f6c211fef
Update netmap package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
f51ee1ba9d
Update container package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
d2f984eb57
Update acl package docs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
cad80a2c86
Add well-known attributes for containers
...
Adding the list of currently well-known container attributes. More to come
later.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
af909ec3eb
Add well-known attributes for storage nodes
...
Adding the list of currently well-known node attributes. More to come later.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
c793503167
Add well-known attributes for objects
...
Adding the list of currently well-known object attributes. More to come later.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
99e701e70d
Update accounting package docs
...
Adding comments on the formats used in messages.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
28a917028d
Fix typos in Makefile and READMEs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-10-16 12:37:19 +03:00
Stanislav Bogatyrev
e36c9228e3
Add GH Action for protobuf linter
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-22 09:45:08 +03:00
Stanislav Bogatyrev
0b1d53565d
[ #69 ] Fix wrong action config
...
This action can be used with PRs only.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-21 22:45:05 +03:00
Stanislav Bogatyrev
b94f554ed4
cicd: Add simple DCO check
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-21 22:35:46 +03:00
Stanislav Bogatyrev
81841f0f63
Update Jindo release date
2020-09-07 18:39:05 +03:00
Stanislav Bogatyrev
ea61d4e0e9
[ #68 ] Add SAME|DISTINCT selector clause
...
Helps to define how selection is formed
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-07 18:31:31 +03:00
Stanislav Bogatyrev
84907f6b04
Add Pavel Korotkov to contributors
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 20:14:16 +03:00
Stanislav Bogatyrev
153d29d371
Add credits file
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 18:31:32 +03:00
Stanislav Bogatyrev
7f539a5785
Add contribution guide
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 18:31:32 +03:00
Stanislav Bogatyrev
2f808917d1
Add README.md
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 18:31:32 +03:00
Stanislav Bogatyrev
3eab0c4b22
Add changelog for Jindo
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 18:31:32 +03:00
Stanislav Bogatyrev
6014665fa6
[ #67 ] Typo fixes
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-04 15:50:31 +03:00
Alex Vanin
4aea595cc6
[ #67 ] Use tuple of header and signature in object head response
...
Object.Head method returns either full header or short header.
Since it can't return anything else, signature must be paired
with full header in explicit tuple message.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-09-04 13:27:05 +03:00
Stanislav Bogatyrev
a07a518a1e
[ #66 ] object: Add object_id signature to Head response
...
Object ID signature is needed to check Header authenticity.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-03 16:10:05 +03:00
Stanislav Bogatyrev
eab2210ffe
[ #59 ] netmap: Add LocalNodeInfo request
...
This should be used as a handshake to know API Version supported by peer and to
update local netmap view in future.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-03 12:47:23 +03:00
Stanislav Bogatyrev
b169954806
acl: Fix naming mismatch
...
Field naming was different in protobuf and JSON notation.
Fixed to avoid confusion.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-02 15:03:03 +03:00
Stanislav Bogatyrev
79baf3b637
[ #61 ] acl: Add version field to eACL Table
...
eACL Table is stored in SC storage, hence format version may be needed to
correctly process it in future.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-02 15:03:03 +03:00
Stanislav Bogatyrev
c8054c5daa
[ #58 ] netmap: Simplify Placement Policy
...
Proposed protobuf format for Placement Policy simplifies direct editing in
visual editors and import/export from other formats like JSON.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-09-01 21:15:09 +03:00
Stanislav Bogatyrev
e72dceebd3
[ #62 ] Put NodeInfo public_key field first
...
To simplify decoding of NodeInfo structure inside netmap smart contract, the
first field, also used as a storage key inside contract, has to be of the fixed
length.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-31 14:02:18 +03:00
Stanislav Bogatyrev
fc170f56bf
[ #57 ] Merge service and session packages
...
Merging session and service packages to increase clarity and reduce
cross-dependencies.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-20 10:33:49 +03:00
Stanislav Bogatyrev
762c9762ef
[ #56 ] Fix typos and regenerate docs
...
Sorry =)
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:41:44 +03:00
Stanislav Bogatyrev
526792324d
[ #56 ] Add separate checksum type
...
NeoFS uses different checksum algorithms. It looks like we need to explicitly
define what algorithm is used in each particular case.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:36:31 +03:00
Stanislav Bogatyrev
579a618f72
docs: Update docs with new token locations
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:31:36 +03:00
Stanislav Bogatyrev
e5f78eb927
Move SessionToken to session package
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:31:36 +03:00
Stanislav Bogatyrev
7d72061fb3
Move BearerToken type to acl package
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:31:36 +03:00
Stanislav Bogatyrev
54778a86ed
Move Version to refs
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 18:31:36 +03:00
Stanislav Bogatyrev
b07c1c3173
Separate accounting service from it's types
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 15:04:15 +03:00
Stanislav Bogatyrev
13a80df882
Use common signature type
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 15:04:15 +03:00
Stanislav Bogatyrev
a78b8a1ea5
Move all service types to types.proto
...
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 15:04:15 +03:00
Stanislav Bogatyrev
1647242397
[ #46 ] Rename session context fields
...
It should simplify reading.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-18 15:04:15 +03:00
Stanislav Bogatyrev
4e908a17b1
[ #50 ] Add version fields where it makes sense
...
Some pieces of data (container, object, etc) may be stored for a long time and
there will be a need in the future to understand which obscure format from the
past was used to create it.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-17 12:12:30 +03:00
Stanislav Bogatyrev
7555e166b2
[ #49 ] Minor reformat
...
- Trying to move enums to the package level
- Trying to keep all definitions in types.proto
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-17 12:12:16 +03:00
Stanislav Bogatyrev
e63a482529
[ #48 ] Add grpc suffix to go_package option
...
To simplify adding more transport level protocols to neofs-api-go in future, we
need to separate currently default gRPC.
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2020-08-17 12:11:38 +03:00