Evgenii Stratonikov
97e54066d0
[ #1095 ] adm: Support user/group target for APE
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-16 11:03:50 +00:00
Evgenii Stratonikov
2ca5dfc2f6
Reapply "[ #972 ] Adopt slices.BinarySearch()"
...
This reverts commit 4bfc6d29b9
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-10 12:09:34 +00:00
Evgenii Stratonikov
3dc81cb4fc
Reapply "[ #972 ] Use min/max builtins"
...
This reverts commit dad56d2e98
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-10 12:09:34 +00:00
Alexander Chuprov
17f7adb640
[ #1065 ] adm: Add support EC parameters
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-04-08 12:27:30 +03:00
Alexander Chuprov
0290f86579
[ #1065 ] adm: refactor dump-config
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-04-08 12:06:23 +03:00
Anton Nikiforov
7278201753
[ #1030 ] adm: Add command `morph ape list-targets`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-03-15 13:48:43 +03:00
Anton Nikiforov
bf70d77844
[ #976 ] adm: Allow to remove all chains by target
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-03-13 15:33:26 +03:00
Dmitrii Stepanov
d433b49265
[ #973 ] node: Resolve perfsprint linter
...
`fmt.Errorf can be replaced with errors.New` and `fmt.Sprintf can be replaced with string addition`
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-11 17:55:50 +03:00
Dmitrii Stepanov
66a26b7775
[ #973 ] node: Resolve revive: unused-parameter linter
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-11 17:11:49 +03:00
Alexander Chuprov
e5d18e7a85
[ #1023 ] adm: Make --namespace flag required
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-03-05 16:03:39 +03:00
Airat Arifullin
b84cf91f73
[ #1009 ] adm: Make workaround for get-admin and list-rule-chains
...
* Inroduce workaround to create actor for contract storage interface
without passing a real alphabet wallet. This is made by creating
a dummy account.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-03-05 12:34:53 +00:00
Anton Nikiforov
ae5bb87e70
Revert "[ #866 ] Use TTL for blobovnicza tree cache"
...
This reverts commit d9cbb16bd3
.
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-03-01 19:29:33 +03:00
Dmitrii Stepanov
d6534fd755
[ #1016 ] frostfs-node: Fix gopls issues
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-03-01 12:13:43 +03:00
Anton Nikiforov
bc9dbb26ec
[ #932 ] adm: Add custom `Actor` to sign tx by all committee accounts
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-28 18:57:16 +00:00
Anton Nikiforov
61c58e2f92
[ #932 ] adm: Add commands to manipulate with `NNS` contract
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-28 18:57:16 +00:00
Anton Nikiforov
9801d08438
[ #932 ] adm: Move defaults for NNS to package `constants`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-28 18:57:16 +00:00
Evgenii Stratonikov
abea258b65
[ #1000 ] adm: Use default batch size for TraverseIterator()
...
Nothing is broken now, but will easily become if we change nnsMaxTokens,
thus this change.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-23 06:24:40 +00:00
Airat Arifullin
613e11c4d2
[ #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-20 07:42:29 +00:00
Evgenii Stratonikov
dad56d2e98
Revert "[ #972 ] Use min/max builtins"
...
This reverts commit 89784b2e0a
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-19 15:36:01 +00:00
Evgenii Stratonikov
4bfc6d29b9
Revert "[ #972 ] Adopt slices.BinarySearch()"
...
This reverts commit d2f13a29de
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-19 15:36:01 +00:00
Evgenii Stratonikov
d2f13a29de
[ #972 ] Adopt slices.BinarySearch()
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-19 13:13:09 +00:00
Evgenii Stratonikov
89784b2e0a
[ #972 ] Use min/max builtins
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-19 13:13:09 +00:00
Anton Nikiforov
5cbf57081f
[ #980 ] adm: Introduce flag `chain-name` for APE managing commands
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-14 09:41:56 +03:00
Anton Nikiforov
35370283ba
[ #948 ] adm: Move `TestNextPollInterval` to package `helper`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 10:08:49 +03:00
Anton Nikiforov
802192cfef
[ #932 ] adm: Rename `util` to `helper`
...
To avoid conflicts with `util` packages in other imports.
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
e2cee4cf09
[ #932 ] adm: Move `const` to package `constants`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
814c411f4a
[ #932 ] adm: Move flags to package `commonflags`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
7b0e3f5010
[ #932 ] adm: Remove unnecessary import alias usage
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
63c34ea707
[ #932 ] adm: Move command `init` to package `initialize`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
86b2515744
[ #932 ] adm: Move `generate.go` to package `generate`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
b8cf0a6b88
[ #932 ] adm: Move `deploy` to package `contract`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
76343f19e5
[ #932 ] adm: Move `update-contracts` to package `contract`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
e2557b2f0b
[ #932 ] adm: Move `dump-hashes` to package `contract`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
9b65f1595a
[ #932 ] adm: Move `force-new-epoch` to package `netmap`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
ce42547980
[ #932 ] adm: Move `remove-nodes` to package `node`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
9690bd02aa
[ #932 ] adm: Move `netmap-candidates` to package `netmap`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
36fd6c663c
[ #932 ] adm: Move `dump/restore/list-containers` to package `container`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
be15eab82a
[ #932 ] adm: Move `dump/set-config` to package `config`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
f7a8f51c66
[ #932 ] adm: Move command `deposit-notary` to package `notary`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
beb9d80e34
[ #932 ] adm: Move command `dump-balances` to package `balance`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
8148c9dc19
[ #932 ] adm: Move command `morph proxy` to package `proxy`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
218bd72f9a
[ #932 ] adm: Move command `frostfsid` to package `frostfsid`
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
a92188e5f9
[ #932 ] adm: Reduce methods visibility in `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
f6ff3de0ae
[ #932 ] adm: Move `set-/dump-policy` to `policy` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
77694a2f3b
[ #932 ] adm: Move `InitializeContext` to `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
b68f7be0b6
[ #932 ] adm: Prepare to move `InitializeContext` to `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
bee3741f4e
[ #932 ] adm: Move cmd `morph ape` to `ape` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
ba00fc4971
[ #932 ] adm: Move contract name constants to `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
fdeb99c52f
[ #932 ] adm: Move `DomainOf` to `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00
Anton Nikiforov
34fcab3498
[ #932 ] adm: Move `alphabet-wallets` flag to `util` package
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-02-13 09:59:27 +03:00