### _Why are the changes needed?_ - Reuse extractor singleton instance for less memory footprint, as Authz's extractors are stateless and ready for sharing - Reneralized getter crossing supported extractor types - get extractor by class type - get extractor by explicit class name ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4914 from bowenliang123/authz-get-extractor. Closes #4914 11dde777f [liangbowen] update 77ce00276 [liangbowen] make extractorKey of lookupExtractor not null by default 5f5b6e580 [liangbowen] Revert "extractorKey: String = null => extractorKey: Option[String] = None" 400c3b054 [liangbowen] extractorKey: String = null => extractorKey: Option[String] = None 60acd27ec [liangbowen] rename `getExtractor` to `lookupExtractor` e6fbb450f [liangbowen] generalize getExtractor for getting instance of supported types of extractors Authored-by: liangbowen <liangbowen@gf.com.cn> Signed-off-by: liangbowen <liangbowen@gf.com.cn> |
||
|---|---|---|
| .. | ||
| server/kyuubi-server-plugin | ||
| spark | ||
| README.md | ||
For developers
This folder contains plugins/extension for kyuubi server and different engine types.
- ext
- kyuubi-server
- spark
- flink
- trino
- hive
- others
- ...