Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1310

Improve the way we handle controls encoding/decoding

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 2.0.0-M13
    • Component/s: None
    • Labels:
      None

      Description

      Controls encoding and decoding could be improved a lot. Currently, we have two different data structure :

      • one in codec for each control
      • one in message storing the same data (almost)

      We should be able to merge both of them.

      Also as we need to convert controls in the twixTransformer class (this is to be reviewed), we have to find a better way to do it since it'"s done in a big if ... then ... else switch.

      Last, not least, we have to register any control in many places in the server? Into the rootDSE of course (this is done in the DefaultPartitionNexus class), but also in the LdapService class. We could do a better job in this area...

        Activity

        Emmanuel Lecharny created issue -
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Affects Version/s 1.5.4 [ 12313147 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0-M1 [ 12316055 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Version 2.0.0-M1 has been released.
        Moving all related non-resolved issues to the next version.

        Show
        Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M1 has been released. Moving all related non-resolved issues to the next version.
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Fix Version/s 2.0.0-M1 [ 12316055 ]
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Fix Version/s 2.0.0-M2 [ 12316056 ]
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Version 2.0.0-M3 has been released a couple months ago.

        Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).

        Show
        Pierre-Arnaud Marcelot added a comment - Version 2.0.0-M3 has been released a couple months ago. Assigned the remaining opened JIRA to the next iteration (2.0.0-M4).
        Pierre-Arnaud Marcelot made changes -
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Fix Version/s 2.0.0-M3 [ 12316467 ]
        Hide
        Emmanuel Lecharny added a comment -

        This has been completely refactored a long time ago

        Show
        Emmanuel Lecharny added a comment - This has been completely refactored a long time ago
        Emmanuel Lecharny made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Emmanuel Lecharny made changes -
        Fix Version/s 2.0.0-M13 [ 12324631 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1557d 8h 11m 1 Emmanuel Lecharny 16/May/13 18:23
        Resolved Resolved Closed Closed
        34d 16h 48m 1 Emmanuel Lecharny 20/Jun/13 11:12

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development