Commit graph

423 commits

Author SHA1 Message Date
Evgenii Stratonikov
3878a09e42 [#173] acl: add filter for service headers
Service headers are ignored by NeoFS nodes but can be
used to save access-related information by services
built on top of NeoFS.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-09-15 14:23:12 +03:00
Alex Vanin
ece09a1812 Release v2.9.1
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-26 16:56:24 +03:00
Alex Vanin
233f777d0c [#84] Fix string presentation object type enum
Default string presentations of enums in protobuf are the same
as definitions. In our case it is going to be UPPER_SNAKE_CASE
string constants. Default presentation is easier to maintain.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-08-26 13:03:31 +03:00
Pavel Karpy
260db6b3df Release v2.9.0 - Anmyeondo (안면도, 安眠島)
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-16 18:52:57 +03:00
Pavel Karpy
e6226c27d2 [#166] doc: Generate doc COMMON_PREFIX matchtype
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-16 15:15:58 +03:00
Pavel Karpy
0040853986 [#166] object: Define COMMON_PREFIX value in MatchType enum
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-16 15:15:58 +03:00
Pavel Karpy
3cc5852f3f [#167] doc: Generate doc for attribute escaping description
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-16 15:15:32 +03:00
Pavel Karpy
2536e5a97b [#167] netmap: Add attribute escaping description
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-08-16 15:15:32 +03:00
Leonard Lyubich
7f67c378a7 Update changelog for v2.8.0 release
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-25 23:41:30 +03:00
Leonard Lyubich
6846e300e7 [#160] netmap: Provide the ability to announce multiple addresses
Make `address` field of `netmap.NodeInfo` message repeated (with
corresponding renaming).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-23 15:28:36 +03:00
Leonard Lyubich
030c59ccba Update changelog for v2.7.0 release
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 16:36:46 +03:00
Leonard Lyubich
52992d7150 Re-generate docs for release
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 16:36:46 +03:00
Leonard Lyubich
81d6c73147 [#157] container: Add session token to GetResponse body
Container can be created within a session. The presence of a session token
in the GET response body allows you to reflect this fact.

Add `session_token` field of `session.SessionToken` type to
`container.GetResponse.Body` message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 11:36:17 +03:00
Leonard Lyubich
4b3794cbb9 [#157] container: Add session token to GetExtendedACLResponse body
Extended ACL can be set within a session. The presence of a session token in
the GET response body allows you to reflect this fact.

Add `session_token` field of `session.SessionToken` type to
`container.GetExtendedACLResponse.Body` message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 11:36:17 +03:00
Leonard Lyubich
77c4b55100 [#156] session: Add ContainerServiceContext to SessionToken.Body oneof
Extend `session.SessionToken.Body.context` oneof with `container` field of
type `ContainerServiceContext`. This field is going to be used for RPCs of
`container.ContainerService`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 11:36:17 +03:00
Leonard Lyubich
dbd5ed1978 [#156] session: Define structure of container session context
Define `session.ContainerSessionContext` message with context information of
container service RPCs.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-06-03 11:36:17 +03:00
Alex Vanin
a425e55d99 Release v2.6.0 - Daecheongdo
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-07 13:01:00 +03:00
Alex Vanin
99177c2906 docs: Generate docs for reputation package
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-05-07 13:01:00 +03:00
Stanislav Bogatyrev
37e13c5475 reputation: Rename and reformat
* Rename:
  - SendLocalTrust → AnnounceLocalTrust
  - SendIntermediateResult → AnnounceIntermediateResult

  Those methods don't expect to Send anything, but to further announce
  the trust information from the node.

* Change PeerID to explicitly use public key as a node identifier

* Minor comments reformat

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-05-07 11:52:40 +03:00
Pavel Karpy
b50b951dd0 [#149] reputation: Change SendIntermediateResultRequest.Body
Add `epoch` field to the `SendIntermediateResultRequest.Body`
message.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
028f9e8c1a [#143] reputation: Change SendIntermediateResultRequest.Body.trust type
Change `trust` field type of `SendIntermediateResultRequest.Body` message to
`PeerToPeerTrust` since `SendIntermediateResult` call transfers the node's
directed trust to the node.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
6d572e78ff [#143] reputation: Define peer-to-peer trust message
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
453beb8c34 [#143] reputation: Add version field to GlobalTrust message
Add `version` field as a first field of `GlobalTrust` message. This field
will allow you to quickly extract the version of the message from the binary
representation.

Additionally fix `signature` field's package format.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
3b78785e57 [#143] reputation: Define global trust message structure
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
5bf79d3dbf [#143] reputation: Add dedicated type for peer ID
Define `PeerID` message. Change `Trust.peer` field type to `PeerID`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
f4974b0e44 [#143] reputation: Add SendIntermediateResult RPC
Add `SendIntermediateResult` RPC to `ReputationService`. Define structures
of request and response messages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Leonard Lyubich
b334bada34 [#143] Add proto definitions of Reputation service
Define `Trust` message structure. Define `ReputationService` service. Add
`SendLocalTrust` RPC to `ReputationService`. Define structures of request
and response messages.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-07 11:52:40 +03:00
Alex Vanin
10278f741a Release v2.5.0 - Jebudo (제부도, 濟扶島)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-19 16:02:18 +03:00
Stanislav Bogatyrev
e33f784e05 [#141] Add well-known attribute for content type
Neo3 Oracles need a way to check object's MIME content type, as
described in neo-project/neo-modules#555.

The proposal was to add Content-Type as a well-known attribute.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-03-15 10:33:31 +03:00
ZhangTao
69f09c8030
change csharp namespace (#140)
* change csharp namespace

Signed-off-by: ZhangTao1596 <zhangtao@ngd.neo.org>

* use Neo.FileStorage.API as base namespace

Signed-off-by: ZhangTao1596 <zhangtao@ngd.neo.org>
2021-03-10 13:54:06 +03:00
Alex Vanin
f9e7643402 Release v2.4.0 - Ganghwado (강화도, 江華島)
Added `netmap.NetworkInfo` RPC.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-26 14:31:54 +03:00
Alex Vanin
1594dc1f60 [#127] netmap: Add doc comments
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-24 20:59:56 +03:00
Leonard Lyubich
1affb7e458 [#127] netmap: Define NetworkInfo rpc in NetmapService
Define `NetworkInfo` rpc which can be used to read the recent NeoFS network
information. Request body is empty, response body contains NetworkInfo
message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-24 20:59:56 +03:00
Leonard Lyubich
3a2e01741a [#127] netmap: Define NetworkInfo message
Define `NetworkInfo` message which groups configuration and state values of
NeoFS network.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-24 20:59:56 +03:00
Stanislav Bogatyrev
82f2b4cbc1 [#135] Clarify empty search filter behaviour
It may be confusing for the user to get all types of objects as the
result of a search with no filters set. Human users may expect to see
only the objects intended for direct manipulation by humans.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-02-20 14:15:03 +03:00
Alex Vanin
1f89c9a0d8 [#136] tombstone: Specify connection with object attribute
Expiration epoch value should be the same in tombstone object
body and in tombstone object header.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-02-19 12:13:03 +03:00
Stanislav Bogatyrev
a39e0be2bd doc: Add release instructions
We need release instructions to use them as a check-list at release
creation time.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-02-15 09:06:48 +03:00
Stanislav Bogatyrev
a37a7c5ef4 Release v2.3.0 - Seonyudo (선유도, 仙遊島)
UN-LOCODE support and Container's used space reporting

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-02-11 16:38:54 +03:00
Stanislav Bogatyrev
5152f607f1 [#129] netmap: Describe UN-LOCODE related attributes
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
854281608e [#129] netmap: Define Continent node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
8410362db3 [#129] netmap: Define SubDiv node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
e71f7fd5a6 [#129] netmap: Define SubDivCode node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
4f7828a1be [#129] netmap: Define Location node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
5d41fa7348 [#129] netmap: Define LocationCode node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
556485c0f4 [#129] netmap: Define CountryCode node attribute
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
b61b7d2f30 [#129] netmap: Rename key to LOCODE attribute of the node
Rename `Locode` attribute to `UN-LOCODE`.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
0f8fb25969 [#128] object: Add json_name tags to fields of SearchRequest.Body.Filter
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
3b6f5d70ec [#120] object: Document processing of filters with match type NOT_PRESENT
The behavior of the node when processing system search filters with match
type NOT_PRESENT is declared undefined.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
90160db0ac [#120] object: Define NOT_PRESENT value in MatchType enum
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00
Leonard Lyubich
ad4a9142ab [#119] object: Define STRING_NOT_EQUAL value in MatchType enum
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-11 14:53:59 +03:00