ranger icon indicating copy to clipboard operation
ranger copied to clipboard

RANGER-5175: Functional Test Case Support for KMS API and HDFS Encryption

Open ChinmayHegde24 opened this issue 9 months ago • 3 comments

This PR involves developing a functional test suite using Pytest to validate the Key Management Service (KMS) REST API endpoints and test HDFS encryption functionalities. The scope includes:

Automating API endpoint tests for key creation, deletion and further operation on keys. Managing encryption zones in HDFS and validating key association. Performing read/write operations on encrypted files. Verifying access control and permissions within encrypted zones.

For further information please refer [PyTest-KMS-HDFS/readme.md] [PyTest-KMS-HDFS/test_hdfs/readme.md] [PyTest-KMS-HDFS/test_kms/readme.md]

ChinmayHegde24 avatar Mar 24 '25 11:03 ChinmayHegde24

Is it required for the directories to be named with test_ in the prefix? like test_hdfs, test_kms?

kumaab avatar Jun 12 '25 01:06 kumaab

I suggest keeping a generic name for test directory instead of PyTest-KMS-HDFS, the test suite can be extended later to add more services.

kumaab avatar Jun 12 '25 01:06 kumaab

Is it required for the directories to be named with test_ in the prefix? like test_hdfs, test_kms?

No, It's not necessary

ChinmayHegde24 avatar Jun 12 '25 05:06 ChinmayHegde24