THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
Sealed trait ResourceType extends BaseEnum with Ordered[ ResourceType ] { ..... // this method output will not include "All" Operation type def supportedOperations: Set[Operation] } case object Topic extends ResourceType { ... val supportedOperations = Set(Read, Write, Create, Describe, Delete, Alter, DescribeConfigs, AlterConfigs) } case object Group extends ResourceType { ... val supportedOperations = Set(Read, Describe, Delete) } case object Cluster extends ResourceType { ... val supportedOperations = Set(Create, ClusterAction, DescribeConfigs, AlterConfigs, IdempotentWrite, Alter, Describe) } case object TransactionalId extends ResourceType { ... val supportedOperations = Set(Describe, Write) } case object DelegationToken extends ResourceType { ... val supportedOperations = Set(Describe) } |
...