djordje-mijatovic commented on PR #218:
URL: https://github.com/apache/ranger/pull/218#issuecomment-1442137769

   We have added the json and xml files in order to have the Ranger configured 
differently in the test envireoument. For example, in the file ozone_test.json 
we have some preconfigured policies needed for the tests like this one for 
example:
   
   ```
   "service": "test",
   "name": "Snapshot",
   "policyType": 0,
   "policyPriority": 0,
   "description": "Policy for user Snapshot",
   "isAuditEnabled": true,
   "resources": {
        "volume": {
                "values": [
                        "volume"
                ],
                "isExcludes": false,
                "isRecursive": false
        },
        "bucket": {
                "values": [
                        "bucket"
                ],
                "isExcludes": false,
                "isRecursive": false
        },
        "key": {
                "values": [
                        ".snapshot/snapshotUser/*"
                ],
                "isExcludes": false,
                "isRecursive": true
        }
   }
   ```
                
   When we write more tests in the future it might be possible we will need 
more policies to be configured and this is the right place to do it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to