directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <>
Subject [jira] Updated: (DIRSERVER-1480) Generalize test framework and test suites to use different partition implementations
Date Fri, 02 Apr 2010 10:44:30 GMT


Kiran Ayyagari updated DIRSERVER-1480:

    Fix Version/s:     (was: 1.5.7)

Postponed to release 2.0.0-RC1

> Generalize test framework and test suites to use different partition implementations
> ------------------------------------------------------------------------------------
>                 Key: DIRSERVER-1480
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 2.0.0-RC1
> With the new test framework it is possible to use annotations to define different partition
implementations to use for the tests. Howerver such a test then only uses one particular partition
type. Additional, when using the DefaultDirectoryServiceFactory the system partition is always
a JDBM partition and the schema partition is always a LDIF partition.
> It would be nice if the core-integ and server-integ tests can be configured to use any
partition implementations. This way they can be used as test suite for existing and new partition
> To achieve this I propose the following changes:
> - create a new PartionFactory interface that creates partitions and appropriate indices
> - create PartionFactory implmentations for Jdbm, Ldif, Avl, and HBase
> - use the PartitionFactory within DefaultDirectoryServiceFactory and the DSAnnotationProcessor
to create partition instances
> - use a system property (-Dapacheds.partition.factory) to configure the PartitionFactory
implementation to use. This way is is possible to select the partition implementation in the
maven build.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message