cli: Read ape rule from JSON file #989

Merged
fyrchik merged 4 commits from aarifullin/frostfs-node:feat/cli_parse_json into master 2024-02-20 07:42:30 +00:00

4 commits

Author SHA1 Message Date
d3a6e289be [#986] cli: Allow add-rule command to parse new actions
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 1m52s
DCO action / DCO (pull_request) Successful in 1m49s
Build / Build Components (1.21) (pull_request) Successful in 4m16s
Build / Build Components (1.22) (pull_request) Successful in 4m13s
Tests and linters / Lint (pull_request) Successful in 4m21s
Tests and linters / Staticcheck (pull_request) Successful in 5m15s
Tests and linters / Tests (1.21) (pull_request) Successful in 7m28s
Tests and linters / Tests with -race (pull_request) Successful in 8m14s
Tests and linters / Tests (1.22) (pull_request) Successful in 8m38s
* Introduce Object.* and Container.* actions that
  span all methods for services.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-19 17:47:17 +03:00
4ed781be17 [#989] util: Introduce any and all statements for ape rule parsing
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-19 17:09:35 +03:00
efc978b9e2 [#989] adm: Read and parse chains from file
* Slightly fix the approach to read encoded chain from file
  in frostfs-adm.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-19 17:09:35 +03:00
b2491881bd [#989] cli: Read and parse chains from file
* Introduce path flag to make add-rule command read and parse
  chain from file. File is binary/JSON-encoded chain.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-02-19 17:09:35 +03:00