Skip to content

Commit

Permalink
object: Make notification attributes as deprecated
Browse files Browse the repository at this point in the history
Notification attributes turned out to be unusable. Nobody uses them, so
they are deprecated.

Closes #279.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Feb 26, 2024
1 parent dcead71 commit bc98431
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
### Removed

### Deprecated
- Object attributes `__NEOFS__TICK_EPOCH` and `__NEOFS__TICK_TOPIC` (#279)

## [2.15.0] - 2024-01-30

Expand Down
6 changes: 4 additions & 2 deletions object/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ message Header {
// Decimal number that defines what epoch must produce
// object notification with UTF-8 object address in a
// body (`0` value produces notification right after
// object put)
// object put).
// DEPRECATED: attribute ignored by servers.
// * __NEOFS__TICK_TOPIC \
// UTF-8 string topic ID that is used for object notification
// UTF-8 string topic ID that is used for object notification.
// DEPRECATED: attribute ignored by servers.
//
// And some well-known attributes used by applications only:
//
Expand Down
6 changes: 4 additions & 2 deletions proto-docs/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,9 +907,11 @@ that affect system behaviour:
Decimal number that defines what epoch must produce
object notification with UTF-8 object address in a
body (`0` value produces notification right after
object put)
object put).
DEPRECATED: attribute ignored by servers.
* __NEOFS__TICK_TOPIC \
UTF-8 string topic ID that is used for object notification
UTF-8 string topic ID that is used for object notification.
DEPRECATED: attribute ignored by servers.

And some well-known attributes used by applications only:

Expand Down

0 comments on commit bc98431

Please sign in to comment.