Groovy Scripted Proxy Transformation provide proxy transformation implementations defined in a dynamically-loaded Groovy script which implements the ScriptedProxyTransformation class defined in the UnboundID server SDK.
The Groovy Scripted Proxy Transformation component inherits from the Scripted Proxy Transformation
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
enabled | |
request-criteria | |
script-argument | |
script-class |
Description | A description for this Proxy Transformation |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | Indicates whether this proxy transformation is enabled for use in the server. |
Default Value | None |
Allowed Values | true false |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
Description | Criteria indicating the set of operations for which the transformation will be invoked. |
Default Value | This Proxy Transformation will be invoked for all operations. |
Allowed Values | The DN of any Request Criteria. |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | The set of arguments used to customize the behavior for the Scripted Proxy Transformation. Each configuration property should be given in the form 'name=value'. |
Default Value | None |
Allowed Values | An argument in the form 'name=value'. Argument names are allowed to contain only ASCII alphabetic characters, numeric digits, dashes, and underscores. |
Multi-Valued | Yes |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | The fully-qualified name of the Groovy class providing the logic for the Groovy Scripted Proxy Transformation. |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
To list the configured Proxy Transformations:
dsconfig list-proxy-transformations [--property {propertyName}] ...
To view the configuration for an existing Proxy Transformation:
dsconfig get-proxy-transformation-prop --transformation-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Proxy Transformation:
dsconfig set-proxy-transformation-prop --transformation-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To create a new Groovy Scripted Proxy Transformation:
dsconfig create-proxy-transformation --transformation-name {name} --type groovy --set enabled:{propertyValue} --set script-class:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Proxy Transformation:
dsconfig delete-proxy-transformation --transformation-name {name}