Commit graph

119 commits

Author SHA1 Message Date
Evgeniy Kulikov
53af48372f
prepare to rename neofs-proto to neofs-api 2020-01-30 16:35:30 +03:00
Evgeniy Kulikov
9366b51ace
Fix NaN ObjectSize 2020-01-27 15:02:14 +03:00
Leonard Lyubich
5bd19fe0d2 Add Raw flag to Get and Head request bodies
Raw flag provides the ability to switch the expected representation
of the object between the physically stored and the system-wide.
The response to the request may vary when the flag is set for some
classes of objects (e.g. linking).
2020-01-21 10:22:40 +03:00
alexvanin
81cdfcc502 object: Update verify routine
Verify routine now supports public key field to check
if integrity header contains correct signature of
object header.

Verify also have strict check that integrity header is
last header in the list of headers.
2020-01-16 17:32:57 +03:00
alexvanin
f1418ef79d object: Add CreateIntegrityHeader function
CreateIntegrityHeader function allow to optimize
object put pipeline in neofs nodes.
2020-01-16 17:32:32 +03:00
alexvanin
50d3649acf object: Add public key header type
Object can contain public key header. It will be used
for object verification. This header can contain owner's
public key or be the part of x509 chain verification in
couple with verification header.
2020-01-16 17:32:27 +03:00
alexvanin
e4d761be06 object: Remove tombstone creation field in tombstone header
Tombstone header contains timestamp when tombstone was created.
This timestamp duplicates object creation timestamp in object
system header. This commit removes redundant field.
2020-01-15 17:13:05 +03:00
Evgeniy Kulikov
0fce8a6ba2
proto: publish sg lib, rewrite object 2019-12-02 19:46:15 +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
3b2ea6b8f4
Remove SendPutRequest and update MakePutRequestHeader
- SendPutRequest unused and work not like expected
- MakePutRequestHeader should not set epoch / ttl
- remove unused internal functions and consts
- update to latest neofs-crypto
2019-11-22 17:14:34 +03:00
Evgeniy Kulikov
1a9a840d17
proto: regenerate proto files 2019-11-21 16:16:39 +03:00
Evgeniy Kulikov
cc3b4d9087
proto: SearchRequest rename Version to QueryVersion 2019-11-21 16:16:20 +03:00
Evgeniy Kulikov
24e5497b1d
Update develop branch 2019-11-21 13:10:57 +03:00
Evgeniy Kulikov
e333a13557
docs: regenerate proto files 2019-11-21 10:34:38 +03:00
Evgeniy Kulikov
3d445aeb0b
docs: add deprecation notice for epoch and ttl fields 2019-11-21 10:32:07 +03:00
Evgeniy Kulikov
15b997bdb5
docs: update proto doc comments to satisfy go-doc comment 2019-11-21 10:26:01 +03:00
alexvanin
0af63c42cc docs: regenerate proto files 2019-11-20 21:43:04 +03:00
alexvanin
5aaea793da docs: add object proto documentation 2019-11-20 21:09:47 +03:00
Evgeniy Kulikov
1cf33e5ffd
initial 2019-11-18 16:34:06 +03:00