[#28] Client: add method to calculate ObjectId #38

Merged
PavelGrossSpb merged 3 commits from PavelGrossSpb/frostfs-sdk-csharp:misc/CalculateObjectId into master 2024-12-12 12:28:46 +00:00
Member

Signed-off-by: Pavel Gross p.gross@yadro.com

Signed-off-by: Pavel Gross <p.gross@yadro.com>
PavelGrossSpb added 1 commit 2024-12-10 07:52:33 +00:00
[#28] Client: add method to calculate ObjectId
All checks were successful
lint-build / dotnet8.0 (pull_request) Successful in 55s
DCO / DCO (pull_request) Successful in 1m6s
8cfa9a4937
Signed-off-by: Pavel Gross <p.gross@yadro.com>
PavelGrossSpb requested review from dstepanov-yadro 2024-12-10 07:52:59 +00:00
PavelGrossSpb requested review from orikik 2024-12-10 07:53:00 +00:00
dstepanov-yadro reviewed 2024-12-10 07:57:36 +00:00
@ -66,2 +66,4 @@
public Task<string?> Dial(CallContext ctx);
FrostFsObjectId CalculateObjectId(FrostFsObjectHeader header);

I don't think that IFrostFSClient should have this method, as there is no need to do any FrostFS RPC's to calculate object ID.

I don't think that `IFrostFSClient` should have this method, as there is no need to do any FrostFS RPC's to calculate object ID.
Author
Member

OK, I had the same thounghts. I've moved the method to static tools.

OK, I had the same thounghts. I've moved the method to static tools.
Author
Member

@dstepanov-yadro @orikik Please take a look at the PR

@dstepanov-yadro @orikik Please take a look at the PR
PavelGrossSpb added 1 commit 2024-12-10 12:02:07 +00:00
[#28] Client: Move CalculateObjectId from IFrostFsClient to statis tools
All checks were successful
DCO / DCO (pull_request) Successful in 42s
lint-build / dotnet8.0 (pull_request) Successful in 1m18s
a643baa4af
Signed-off-by: Pavel Gross <p.gross@yadro.com>
PavelGrossSpb added 1 commit 2024-12-11 09:58:23 +00:00
[#28] Client: Move CalculateObjectId from IFrostFsClient to statis tools
All checks were successful
lint-build / dotnet8.0 (pull_request) Successful in 1m13s
DCO / DCO (pull_request) Successful in 2m41s
7fd60805e7
Get payload hash as an argument

Signed-off-by: Pavel Gross <p.gross@yadro.com>
orikik approved these changes 2024-12-12 12:20:21 +00:00
PavelGrossSpb merged commit 8637515869 into master 2024-12-12 12:28:46 +00:00
PavelGrossSpb deleted branch misc/CalculateObjectId 2024-12-12 12:28:47 +00:00
Sign in to join this conversation.
No description provided.