ApiRangerReplicationArgs Data Model

Replication arguments for Ranger services. It's replicated the following way:

  1. EXPORT the Ranger services and policies from the source, then COPY to the destination, see available arguments in ApiRangerReplicationExportArgs
  2. TRANSFORM the exported Ranger services and policies on the destination, see available arguments in ApiRangerReplicationTransformArgs
  3. IMPORT the exported and transformed Ranger services to the destination Ranger service, see available arguments in ApiRangerReplicationImportArgs

Properties
name data type description
sourceRangerService ApiServiceRef The source service to replicate from.
exportArgs ApiRangerReplicationExportArgs Replication arguments for the EXPORT operation.
transformArgs ApiRangerReplicationTransformArgs Replication arguments for the TRANSFORM operation.
importArgs ApiRangerReplicationImportArgs Replication arguments for the IMPORT operation.

Example

{
  "sourceRangerService" : {
    "peerName" : "...",
    "clusterName" : "...",
    "serviceName" : "...",
    "serviceDisplayName" : "...",
    "serviceType" : "..."
  },
  "exportArgs" : {
    "rangerServiceNames" : [ "...", "..." ]
  },
  "transformArgs" : {
    "rangerServiceNamesMapping" : {
      "property1" : "...",
      "property2" : "..."
    },
    "rangerUsersMapping" : {
      "property1" : "...",
      "property2" : "..."
    },
    "rangerResourcesMapping" : {
      "property1" : "...",
      "property2" : "..."
    }
  },
  "importArgs" : {
    "importStrategy" : "OVERRIDE"
  }
}