Deprecate request and service header types in EACL

オープン
#438 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
領域
api

調査の方向性

Start by reading the EACL protocol definitions and the API-versioning approach; the issue does not name specific files or tests. Determine how HeaderType is defined and used, then assess the compatibility implications of allowing only the object header type or deprecating the type entirely. Done means the chosen change is reflected consistently in the versioned API definitions.

索引モデルが issue の本文から書いたものです。

説明

enhancement I2 S2 U3

Is your feature request related to a problem? Please describe.

I'm always frustrated when we have unimplemented or unused things in the protocol. Consider HeaderType definition in EACL:

  • SERVICE header type is not implemented, it just doesn't do anything
  • REQUEST header type is implemented over X-Headers that are currently used just for EC parts and will be gone soon anyway (#427), so while it can match some abstract things that have no meaning to node no one is using it

Describe the solution you'd like

Make "object" the only valid header type for filters. But I'd go as far as deprecating HeaderType completely. If we're to require something like #422 we better have another magic prefix for request fields (like $Request:) which is much easier to understand and manage.

Luckily EACL tables are API-versioned, so this can be done in a backwards-compatible manner.

Describe alternatives you've considered

Not a lot.

主要言語
Makefile
スター
12
フォーク
15
平均マージ
1日 19時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nspcc-dev/neofs-api のほかの issue

nspcc-dev/neofs-api の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。