[#24] Client: Implement pool part1

first iteration - base classes and methods

Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
Pavel Gross 2024-10-21 10:48:00 +03:00
parent d1271df207
commit c9a75ea025
72 changed files with 2786 additions and 468 deletions

View file

@ -7,24 +7,24 @@ namespace FrostFS.SDK.SmokeTests;
public abstract class SmokeTestsBase
{
protected readonly string key = "KzPXA6669m2pf18XmUdoR8MnP1pi1PMmefiFujStVFnv7WR5SRmK";
protected readonly string url = "http://172.23.32.4:8080";
internal readonly string keyString = "KzPXA6669m2pf18XmUdoR8MnP1pi1PMmefiFujStVFnv7WR5SRmK";
protected ECDsa Key { get; }
internal readonly string url = "http://172.23.32.4:8080";
protected FrostFsOwner OwnerId { get; }
protected ECDsa? Key { get; }
protected FrostFsVersion Version { get; }
protected FrostFsOwner? OwnerId { get; }
protected Context Ctx { get; }
protected FrostFsVersion? Version { get; }
protected CallContext? Ctx { get; }
protected SmokeTestsBase()
{
Key = key.LoadWif();
Key = keyString.LoadWif();
OwnerId = FrostFsOwner.FromKey(Key);
Version = new FrostFsVersion(2, 13);
Ctx = new Context { Key = Key, OwnerId = OwnerId, Version = Version };
Ctx = new CallContext { Key = Key, OwnerId = OwnerId, Version = Version };
}
}