Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
Description
Found by arafat2198:
We have a class named as RangerAccessPolicy which has a method deserializePolicyFromJsonString that takes in a parameter of type JsonObject which is a representation of JSON data in memory and is a part of the GSON lib
deserializePolicyFromJsonString is part of the AccessPolicy interface, too.
Previously it was used by MultiTenantAccessAuthorizerRangerPlugin, which was removed in HDDS-6909.
smeng, can you please help us understand if AccessPolicy#deserializePolicyFromJsonString is still needed or can be removed?
We should strive to avoid using types defined in third-party libraries as part of public API. Such usage may cause trouble when trying to upgrade/replace these dependencies.
Attachments
Issue Links
- is related to
-
HDDS-6909 [Multi-Tenant] Use RangerClient for Ranger operations
- Resolved
- is required by
-
HDDS-10122 GSON requires tweaks for Java 17
- Resolved
- links to