ApiRangerReplicationTransformArgs Data Model

Arguments for TRANSFORMING Ranger services and policies, executed after EXPORT (see ApiRangerReplicationExportArgs).

Properties
name data type description
rangerServiceNamesMapping map of string A mapping between source to destination ranger services.

Note that if a mapping is not given for a service then it will stay the same on the destination.

Example: {"cm_hdfs":"dr_hdfs", "cm_hive":"dr_hive"}
Default: empty or null, every service name will stay the same on the destination

rangerUsersMapping map of string A mapping between source to destination ranger usernames.

Note that if a mapping is not given for a username then it will stay the same on the destination.

Example: {"testuser1":"testuser1@host.com", "testuser2":"testuser2@host.com" }
Default: empty or null, every username will stay the same on the destination

rangerResourcesMapping map of string A mapping between source to destination ranger resources.

Note that if a mapping is not given for a resource then it will stay the same on the destination.

Example: {"/srcdir1/srcfile1":"/destdir1/destfile1", "/srcdir2/srcfile2":"/destdir2/destfile2" }
Default: empty or null, every resource will have the same path on the destination

Example

{
  "rangerServiceNamesMapping" : {
    "property1" : "...",
    "property2" : "..."
  },
  "rangerUsersMapping" : {
    "property1" : "...",
    "property2" : "..."
  },
  "rangerResourcesMapping" : {
    "property1" : "...",
    "property2" : "..."
  }
}