cli: Improve APE rule parsing #1124

Merged
fyrchik merged 2 commits from aarifullin/frostfs-node:feat/improve_ape_parsing into master 2024-09-04 19:51:08 +00:00
Member

Picked commit from support branch: #1108

ape: Update policy-engine version for listing by iteration

  • Update go.mod with a new version of policy-engine pacakge.
  • Adapt SwitchRPCGuardedActor to ContractStorage interface.
  • Fix frostfs-adm util.

Updating policy-engine (depends on previos commit):

  • Make APE rule parser to read condition's kind in unambiguous using lexemes
    ResourceCondition, RequestCondition instead confusing Object.Request, Object.Resource.
  • Fix unit-tests.
Picked commit from support branch: https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1108 ape: Update policy-engine version for listing by iteration * Update go.mod with a new version of policy-engine pacakge. * Adapt SwitchRPCGuardedActor to ContractStorage interface. * Fix `frostfs-adm` util. Updating policy-engine (depends on previos commit): * Make APE rule parser to read condition's kind in unambiguous using lexemes `ResourceCondition`, `RequestCondition` instead confusing `Object.Request`, `Object.Resource`. * Fix unit-tests.
aarifullin requested review from storage-core-committers 2024-05-07 17:59:26 +00:00
aarifullin requested review from storage-core-developers 2024-05-07 17:59:27 +00:00
acid-ant approved these changes 2024-05-08 06:26:02 +00:00
Member

Please fix commit message.

Please fix commit message.
aarifullin force-pushed feat/improve_ape_parsing from 7161fad8cd to cb95fb6020 2024-05-08 07:18:26 +00:00 Compare
aarifullin requested review from acid-ant 2024-05-08 07:19:03 +00:00
acid-ant approved these changes 2024-05-13 06:54:00 +00:00
aarifullin changed title from cli: Improve APE rule parsing to WIP: cli: Improve APE rule parsing 2024-05-13 14:29:42 +00:00
aarifullin added the
blocked
label 2024-05-13 15:20:55 +00:00
aarifullin force-pushed feat/improve_ape_parsing from cb95fb6020 to 952d13cd2b 2024-05-14 09:24:35 +00:00 Compare
aarifullin changed title from WIP: cli: Improve APE rule parsing to cli: Improve APE rule parsing 2024-05-14 09:26:02 +00:00
aarifullin requested review from acid-ant 2024-05-14 09:26:28 +00:00
fyrchik approved these changes 2024-05-14 10:03:04 +00:00
fyrchik merged commit 952d13cd2b into master 2024-05-14 10:03:13 +00:00
fyrchik referenced this pull request from a commit 2024-05-14 10:03:15 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1124
No description provided.