ape, adm, container: Form APE requests properly #940

Merged
fyrchik merged 3 commits from aarifullin/frostfs-node:fix/934-invalid_ape_request into master 2024-02-01 17:38:27 +00:00

3 commits

Author SHA1 Message Date
0587fce97a [#934] container: Make container APE middleware read namespaces
All checks were successful
DCO action / DCO (pull_request) Successful in 2m41s
Vulncheck / Vulncheck (pull_request) Successful in 3m13s
Build / Build Components (1.20) (pull_request) Successful in 4m8s
Build / Build Components (1.21) (pull_request) Successful in 4m22s
Tests and linters / Staticcheck (pull_request) Successful in 4m46s
Tests and linters / Lint (pull_request) Successful in 5m52s
Tests and linters / Tests (1.21) (pull_request) Successful in 6m18s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m21s
Tests and linters / Tests with -race (pull_request) Successful in 9m16s
* Those methods that can access already existing containers and thus
  can get container properties should read namespace from Zone
  property. If Zone is not set, take a namespace for root.
* Otherwise, define namespaces by owner ID via frostfs-id contract.
* Improve unit-tests, consider more cases.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-01 15:22:23 +03:00
9453920ccb [#934] adm: Make frostfsid commands read alphabet wallets
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-01-30 11:55:33 +03:00
600f279fc7 [#934] ape: Transform empty namespace within chainbase
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-01-30 11:55:33 +03:00