From d5dc14c639a99b7c0338dea665851e88a5a59202 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Fri, 12 Jul 2024 12:02:20 +0300 Subject: [PATCH] [#1243] object: Make APE checker set x-headers to request properties * Update go.mod, go.sum; * Add x-headers to request properties; * Add a unit-test. Signed-off-by: Airat Arifullin --- go.mod | 2 +- go.sum | Bin 42738 -> 42738 bytes pkg/services/object/ape/checker.go | 4 ++ pkg/services/object/ape/checker_test.go | 48 ++++++++++++++++++++++++ pkg/services/object/ape/request.go | 6 +++ pkg/services/object/ape/service.go | 10 +++++ 6 files changed, 69 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index d4eb52f4d..ee8b1bb16 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20231101111734-b3ad3335ff65 git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20240617140730-1a5886e776de git.frostfs.info/TrueCloudLab/hrw v1.2.1 - git.frostfs.info/TrueCloudLab/policy-engine v0.0.0-20240513163744-1f6f4163d40d + git.frostfs.info/TrueCloudLab/policy-engine v0.0.0-20240712081403-2628f6184984 git.frostfs.info/TrueCloudLab/tzhash v1.8.0 git.frostfs.info/TrueCloudLab/zapjournald v0.0.0-20240124114243-cb2e66427d02 github.com/cheggaaa/pb v1.0.29 diff --git a/go.sum b/go.sum index 84fdbd47a321d38cf2ba2d350b72678ceec1c7a2..c7c3b87eb4e45a640be021193673e21727cff14c 100644 GIT binary patch delta 111 zcmex#mg&=3rVVS@UCj-R3@i*y42*S+%#1A3%nU6|EGeIFgTkZC vEOLXY3@eHwi~R!p%A$PABMl6ke6=g`Ba;lX{jw*2WVaH-ZqjB)j*asGlb|7? delta 111 zcmex#mg&=3rVVS@T}=&*4b6