Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.0-M6
-
None
-
None
Description
The added indexes though annotations, like with :
@CreateDS(name = "ClientApiPerfTestDS", partitions =
{
@CreatePartition(
name = "example",
suffix = "dc=example,dc=com",
contextEntry = @ContextEntry(
entryLdif =
"dn: dc=example,dc=com\n" +
"dc: example\n" +
"objectClass: top\n" +
"objectClass: domain\n\n"),
indexes =
)
})
does not create any index.
Injecting new index through the DirectoryServiceFactory does not work either :
DirectoryServiceFactory dsFactory = DefaultDirectoryServiceFactory.class.newInstance();
dsFactory.getPartitionFactory().addIndex( systemPartition, "gidNumber", 100 );
does not add the index for the gidNumber AT.