Add, Search, Compare or Delete FIFO Entry Cache
/rest/v1/admin
Add, Search, Compare or Delete FIFO Entry Cache
Request
- application/json
object
-
assertion(optional):
string
Assertion string for the LDAP compare operation. Note: To be used only while performing LDAP compare operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.
-
attributes(optional):
object FIFO Entry Cache Properties
-
base(optional):
string
Search Base DN to be used for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest. It is also mandatory for such operation
-
controls(optional):
array controls
LDAP controls to be sent to server for the LDAP operation.
-
dn(optional):
string
LDAP DN of the entry to be created or deleted or compared. Note: To be used only while performing LDAP add, delete or compare operations, i.e, if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest, urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest or urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest.It is mandatory for such operations.
-
filter(optional):
string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax. Note: To be used only while performing LDAP search operation using POST request, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
msgType:
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:AddRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteRequest", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareRequest" ]
The REST message type -
requiredAttributes(optional):
array requiredAttributes
List of attributes to be fetched for the entry. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
-
scope(optional):
string
Allowed Values:
[ "base", "sub", "one" ]
Scope for the LDAP search operation. Note: To be used only while performing LDAP search operation using POST, i.e., if the msgType is urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchRequest.
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-cache-level:
integer(int32)
Specifies the cache level in the cache order if more than one instance of the cache is configured.
-
ds-cfg-enabled:
boolean
Indicates whether the Entry Cache is enabled.
-
ds-cfg-exclude-filter(optional):
array ds-cfg-exclude-filter
The set of filters that define the entries that should be excluded from the cache.
-
ds-cfg-include-filter(optional):
array ds-cfg-include-filter
The set of filters that define the entries that should be included in the cache.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.FIFOEntryCache
Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation. -
ds-cfg-lock-timeout(optional):
string
Default Value:
2000.0ms
Specifies the length of time to wait while attempting to acquire a read or write lock. -
ds-cfg-max-entries(optional):
integer(int32)
Default Value:
2147483647
Specifies the maximum number of entries that we will allow in the cache. -
ds-cfg-max-memory-percent(optional):
integer(int32)
Default Value:
90
Specifies the maximum memory usage for the entry cache as a percentage of the total JVM memory. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
Response
- application/json
200 Response
object
-
compareResult(optional):
boolean
Indicates the result of LDAP compare operation.
-
msgType:
string
Allowed Values:
[ "urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:DeleteResponse", "urn:ietf:params:rest:schemas:oracle:oud:1.0:CompareResponse" ]
The REST message type -
searchResultEntries:
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults:
integer(int32)
Specifies the number of entries created, and returned.
array
-
Array of:
object FIFO Entry Cache SearchResultEntry
object
-
attributes:
object FIFO Entry Cache Properties
-
dn:
string
LDAP DN of the entry to be created
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-cache-level:
integer(int32)
Specifies the cache level in the cache order if more than one instance of the cache is configured.
-
ds-cfg-enabled:
boolean
Indicates whether the Entry Cache is enabled.
-
ds-cfg-exclude-filter(optional):
array ds-cfg-exclude-filter
The set of filters that define the entries that should be excluded from the cache.
-
ds-cfg-include-filter(optional):
array ds-cfg-include-filter
The set of filters that define the entries that should be included in the cache.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.FIFOEntryCache
Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation. -
ds-cfg-lock-timeout(optional):
string
Default Value:
2000.0ms
Specifies the length of time to wait while attempting to acquire a read or write lock. -
ds-cfg-max-entries(optional):
integer(int32)
Default Value:
2147483647
Specifies the maximum number of entries that we will allow in the cache. -
ds-cfg-max-memory-percent(optional):
integer(int32)
Default Value:
90
Specifies the maximum memory usage for the entry cache as a percentage of the total JVM memory. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
201 Response
object
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:AddResponse
The REST message type -
searchResultEntries:
array searchResultEntries
-
totalResults:
integer(int32)
Specifies the number of entries created, and returned.
array
-
Array of:
object FIFO Entry Cache SearchResultEntry
object
-
attributes:
object FIFO Entry Cache Properties
-
dn:
string
LDAP DN of the entry to be created
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-cache-level:
integer(int32)
Specifies the cache level in the cache order if more than one instance of the cache is configured.
-
ds-cfg-enabled:
boolean
Indicates whether the Entry Cache is enabled.
-
ds-cfg-exclude-filter(optional):
array ds-cfg-exclude-filter
The set of filters that define the entries that should be excluded from the cache.
-
ds-cfg-include-filter(optional):
array ds-cfg-include-filter
The set of filters that define the entries that should be included in the cache.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.FIFOEntryCache
Specifies the fully-qualified name of the Java class that provides the FIFO Entry Cache implementation. -
ds-cfg-lock-timeout(optional):
string
Default Value:
2000.0ms
Specifies the length of time to wait while attempting to acquire a read or write lock. -
ds-cfg-max-entries(optional):
integer(int32)
Default Value:
2147483647
Specifies the maximum number of entries that we will allow in the cache. -
ds-cfg-max-memory-percent(optional):
integer(int32)
Default Value:
90
Specifies the maximum memory usage for the entry cache as a percentage of the total JVM memory. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
204 Response
406 Response
object
-
ldapErrorCode(optional):
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message:
string
Error message returned returned for the operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponse
The REST message type