02 Sep, 2007

2 commits


01 Sep, 2007

5 commits

  • whether the server should maintain a configuration archvie, and if so the
    maximum number of archived configurations that it should keep.  By default, the
    archive will be enabled and will be configured to keep an unlimited number of
    previous configurations.
    
    This needs to be controlled via a directory environment property rather than a
    configuration option, since first part of configuration archive processing
    happens before the server has read and processed the configuration.  The
    DirectoryEnvironmentConfig class provides methods for interacting with these
    settings.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2899 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • entries use the extensibleObject object class, and to ensure that none of the
    schema elements use non-numeric OIDs.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2898 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • …is able to enable, disable and initialize suffixes.  The latest modifications introduced by Scott in the class Installer are also included in this commit.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2897 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • With this set of changes, when a program using Installer#updateADS (e.g., ./setup) configures a new instance into an existing topology, the new instance's ads-truststore is "seeded" with the instance key public-key certificate entries in the ADS-based truststore. Thus, when replication is intitialized for the new instance's suffixes (those to be updated from the existing topology; e.g., cn=admin data), the new instance's replication client connection establishment will "trust" the existing instances in the topology.
    
    Note that the key infratructure for this change is implemented in ADSContext and ServerDescriptor, but only utilized in Installer (hence by setup GUI and the webstart installer). I need to discuss some of the cases in the nascent ReplicationCliMain#updateConfiguration.
    
    These changes also contain some miscellaneous cleanup - mostly to get rid of IDEA warnings.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2896 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     
  • Update schema and config files with OIDs issued by Neil.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2895 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     

31 Aug, 2007

15 commits

  • configuration.  This also includes allocating object classes for each of these
    types.  This will help make it easier for users to create new instances of
    these kinds of configuration objects because they will not need to know the
    fully-qualified name of the Java class that implements the associated logic.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2894 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • This change refactors the client APIs so that it is now possible to easily implement features that require direct access to properties and managed objects (e.g. dependency/constraint enforcement call-backs - issue 1451). Previous to this change an application would have to drill down from the root managed object in order to find the required managed object and its properties.
    
    This change is required by issue 1451 (dependency support), which in turn is required by issue 1449 (aggregation support).
    
    
    Description:
    ------------
    
    This change splits the client API into two:
    
    * org.opends.server.admin.client: this contains APIs which client applications such as dsconfig should use to interact with the admin framework
    
    * org.opends.server.admin.client.spi: (new package) this contains the APIs which driver implementations (e.g. JNDI driver) should use as a basis for their implementation. This package includes a Driver class which is intended for use by ManagedObject implementations as well as dependency call-backs.
    
    In addition, I have refactored the LDAPManagedObject implementation so that code that is likely to be used by other driver implementations is pushed up into an AbstractManagedObject and the Driver base class.
    
    
    Testing:
    --------
    
    All unit tests pass and basic walk-through of dsconfig interactive mode also works fine.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2893 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • …es the error notification.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2892 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@2891 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • …alueEditor package private and make several DSConfig inner classes and methods class private.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2890 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • encoding data in the database itself, and re-enable compact encoding by default
    in the configuration.  By storing the compact schema encoding data in the
    database (a separate copy for each backend), we have eliminated the potential
    problems in backup/restore and binary copy initialization if there are
    dependencies on an external schematokens.dat file.
    
    OpenDS Issue Number:  2158
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2889 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • Use the proper confirmation message when the user did not ask to start the server.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2888 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • Fix for issue 2191
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2887 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • Fix for issue 2206
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2886 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • …wn before the entry cache has been created.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2885 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • … was intended to be exposed as a new script but in order to avoid the negativity of having a command devoted to undoing the upgrade and to avoid more scripts in the top-level directory, I've exposed the functionality as 2 new options in the existing upgrade script.  I will update the Wiki with documentation for these new options soon.
    
    In order to support custom return codes for quicksetup applications I've overhauled the class formerly called ApplicationReturnCode, converting the inner enum to static instances of a new class ReturnCode.  This change touched lots of file in a minor way.
    
    Also addressed here:
    
    - Interactivity for both the upgrade and reversion operations
    
    - Additional work needed to tie the reverter into the version issue (flag day) notification framework.
    
    - issue 2170 - upgrader emits NoClassDefFoundError following usage 
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2884 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • Follow-on to commit r2858.  ADSContext#updateServer is called by Installer#updateADS (via registerOrUpdateServer) in the case the server entry already exists in ADS. With this commit, updateServer checks 'cn=instance keys,cn=admin data' for an entry with the instance key public-key certificate of the server being (re)registered (or otherwise updated and the instance-key certificate server property is supplied). If the entry exists, it is used. Otherwise, a new entry is created.  The new routine ADSContext#registerInstanceKeyCertificate contains the code common to registerServer and updateServer.
    
    Note that the updateServer is not fully tested since I cannot figure out how to re-register an existing instance (i.e., unregister, but not uninstall, an instance; then re-register the instance so the existing instance-key entry is reused).
    
    M      src/ads/org/opends/admin/ads/ServerDescriptor.java
    M      src/ads/org/opends/admin/ads/ADSContext.java
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2883 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     
  • When the replication code replay a modify operation on an entry
    that contain historical information for an attribute that is 
    not defined in the schema, the modify operation 
    is not replayed because an AssertionError is thrown by AttributeValue constructor.
    
    This fixes the problem by avoiding the AssertionError
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@2882 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gbellato
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@2881 41b1ffd8-f28e-4786-ab96-9950f0a78031
    lutoff
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@2880 41b1ffd8-f28e-4786-ab96-9950f0a78031
    al_xipe
     

30 Aug, 2007

18 commits