generated from TrueCloudLab/basic
Create chain serialization format #1
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/policy-engine#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Define protobuf message that stores policy. It would be nice to have at least:
Protobuf is not fast to deserialize and in api-go we have wrappers which provide faster serialization.
What about some custom format? It doesn't need to be complex.
Anyway, The final decision can be postponed and/or changed later.
I agree with @fyrchik
Access policy engine chains are not protocol-specific at all. At the same time we would need to support correct translation between go-types to protobufs the same way we do this in
frostfs-sdk-go
and this may slows down the development of APE.I have already tried to generate protobufs for chains (doing the match between fields) and this only led to errors.
It's fine to use serialized JSON-format because:
Current serialization format hash problem with non utf8 bytes in chainid