08 Apr, 2015

7 commits

  • * Installer.java
    ** Minor refactorings in method updateUserDataForNewSuffixOptionsPanel(QuickSetup)
    *** Fix minor UI bug with invalid/valid fields
    *** Reformat
    *** Add final keyword
    *** Replace hardcoded line separator by constant
    *** Extracted methods:
    **** checkProvidedBaseDn(QuickSetup, List<String>, List<LocalizableMessage>)
    **** checkImportLDIFFile(QuickSetup, List, boolean, List)
    **** checkImportGeneratedData(QuickSetup, List, boolean, List)
    **** checkImportData(QuickSetup, List, boolean, List)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12062 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • Protect against accidental changes.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12061 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Removed more duplicated code.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12060 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12059 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • AttributeIndex.java:
    Removed extensibleIndexesMapping field + getter getExtensibleIndexes() + computeExtensibleIndexesMapping() and isDefaultIndex().
    Removed getDefaultNameToIndexes(), superseded by getNameToIndexes()
    
    Importer.java:
    Removed extensibleIndexMap, superseded by indexMap.
    Removed one fillIndexMap(), superseded by the other fillIndexMap()
    Removed processExtensibleIndexes().
    
    VerifyJob.java:
    Consequence of removing AttributeIndex.getDefaultNameToIndexes().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12058 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12057 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • This patch prevents generated man pages
    from using the default host name of the build system.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12056 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     

07 Apr, 2015

18 commits

  • Partial revert of r11027 for entriesSent and referencesSent fields going from AtomicInteger to int (as pointed out by Ludo).
    
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12055 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • This patch moves long document strings out of properties files,
    replacing them with XIncluded files.
    
    Tested with a manual doc build and visual check.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12054 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * Utils.java
    ** Refactor getSetupEquivalentCommandLine(UserData) method:
    *** Reformat
    *** Add final keyword
    *** Change return type to List<?> instead of ArrayList<?>
    *** Extract addSecurityOptionSetupEquivalentCmdLine(List<String>, UserData) to make the code more readable
    
    * InstallDS.java
    ** Consequences of changes in Utils.java
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12053 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • Progressively getting rid of getExtensibleIndexes(), replaced by getNameToIndexes() wherever possible.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12052 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • In buildIndexes(), "fix" the code even though it always works today (because MatchingRule.getIndexers() only ever return singleton lists).
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12051 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12050 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • AttributeIndex.java:
    Inlined getAllIndexes().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12049 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Code review: Matthew Swift
    
    
    AttributeIndex.java:
    Removed getEqualityIndex(), getApproximateIndex(), getOrderingIndex(), getSubstringIndex(), getPresenceIndex() and getIndexById() methods, all replaced with the new getNameToIndexes() and getDefaultNameToIndexes() methods.
    
    Importer.java, IndexQueryFactoryImpl.java, Suffix.java, VerifyJob.java:
    Consequence of the change to AttributeIndex + added toImportIndexType(String IndexID)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12048 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • * InstallReviewPanel
    ** Use Constants.LINE_SEPARATOR instead of redefined it
    
    * Utils.java
    ** Refactor getDataDisplayString() method:
    *** Reformat
    *** Add final keyword
    *** ** Use Constants.LINE_SEPARATOR instead of hardcoded "\n"
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12047 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • This patch demonstrates how to change
    more than one JSON field in a REST resource.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12046 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * InstallReviewPanel
    ** Remove unecessary String.valueOf()
    ** Update formatting
    ** Add final keyword
    ** Remove unecessary javadocs
    ** Fix imports
    ** imports static from Utils class
    ** replace ArrayList<?> declarative types by List<?>
    
    * Utils.java
    ** Replace declarative ArrayList<?> variable by List<?>
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12045 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • This patch speeds up a basic clean install
    by moving doc generation out of the common path into a profile.
    
    This patch requires that both native package builds and also doc builds
    now use -Pman-pages to build the man pages.
    
    Otherwise the build breaks with a message:
    Man pages not found. You must build with -P man-pages.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12044 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * Installer.java
    ** Enforce default backend type if UI is used to setup the server
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12042 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • * BackendTypeHelper.java
    ** Create class to manage backend type utilities.
    
    * ConfigureDS, InstallDS
    ** Consequences of the change
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12041 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12040 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • This patch updates the documentation to account for
    the default base DN provided during interactive command-line setup.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12039 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * DatabaseContainer / Index
        - now interfaces providing minimal set of methods
    * NullIndex
        - implements Index interface and forces us to override new interface methods when they are added
    * AbstractDatabaseContainer
        - common base class for all indexes (was DatabaseContainer)
    * DefaultIndex
        - implementation of id2children, id2subtree, and base implementation for attribute indexes
    * AttributeIndex
        - includes MatchingRuleIndex inner class which is used for all matching rule based indexes and presence indexing (presence is now implemented using a specialized Indexer)
        - pushed down all attribute index specific logic from Index API to AttributeIndex/MatchingRuleIndex
    * IndexBuffer
        - remove feature envy between this class and Index
        - used consistent method/field/paramet names throughout.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12038 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • This patch repairs the broken examples in the Admin Guide.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12037 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     

03 Apr, 2015

5 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12035 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • * FieldName.java
    ** Sorts member
    ** Format javadoc
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12032 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • * DataOptions.java
    ** Autorefactor'ed file
    ** Format file
    ** Removed unecesseray javadoc
    ** Cleanup in methods:
    *** displayFieldInvalid(FieldName, boolean)
    *** getDefaultValue(FieldName)
    ** Removed methods:
    *** getDefaultStringValue(FieldName)
    ** Extracted methods:
    *** firstElementOrNull(List<String>)
    *** createDirectoryDataChoiceRadioButton(JLabel)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12031 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • This patch fixes broken links found by docbook-linktester.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12029 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • This patch brings the doc generation plugins together
    in a single module, and adapts the implementation
    of the log ref generation plugin to use a FreeMarker template
    as is already in use in other plugins.
    
    This patch also uses sections in the log ref.
    Sections, rather than naked variablelists,
    make the log ref easier to navigate.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12027 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     

02 Apr, 2015

7 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@12024 41b1ffd8-f28e-4786-ab96-9950f0a78031
    cjr
     
  • Whitespace is not generally significant in doc sources
    except where markup specifies that it is
    such as within ProgramListing, Screen, and LiteralLayout elements.
    
    Some usage messages in the generated reference docs
    are formatted for use in terminal windows,
    with significant whitespace and newlines
    that get lost when pulled as is into the documentation source.
    
    This patch works around usage() message content
    that contains significant whitespace, specifically newlines.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12023 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * opendj-cli/src/main/java/com/forgerock/opendj/cli/ArgumentConstants.java
    ** Add backend type short and long optiion
    
    * opendj-core/src/main/java/org/forgerock/opendj/ldap/MemoryBackend.java
    ** Change code to allow root DSE sub-entriees
    
    * opendj-server-legacy/resource/config/config.ldif
    ** Remove harcoded userRoot backend ldif definition
    
    * opendj-server-legacy/src/main/java/org/opends/quicksetup/UserData.java
    ** Add backend type argument
    
    *  opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
    ** Forward backend type argument to ConfigureDS
    
    * opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendImpl.java
    ** Check if storage db directory exists before trying to remove all storage files
    
    * opendj-server-legacy/src/main/java/org/opends/server/tools/ConfigureDS.java
    ** Adapt the way to configure server base DNs
    
    * opendj-server-legacy/src/main/java/org/opends/server/tools/InstallDS.java
    ** Add method to retrieve all available backend types from the config framework
    ** Adapt console UI to add the backend type choice
    
    * opendj-server-legacy/src/main/java/org/opends/server/tools/InstallDSArgumentParser.java
    ** Add the backend type argument
    
    * opendj-server-legacy/src/messages/org/opends/messages/tool.properties
    ** Add messages related to console UI
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12022 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • * BackendToolUtils
    ** Extract methods to make the getBackends(...) method more readable
    ** Add final keyword
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12021 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gaetan
     
  • This patch adds man pages to the .deb, RPM, and SVR4 packaging.
    It removes the non-generated man pages as they are no longer needed.
    
    This patch introduces a profile for building server docs, -P docs.
    
    Thanks to Gaetan for review and help testing.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12020 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • Add unit tests for key encoding:
    
    * fixed a bug where bytes were incorrectly escaped in descending order
    * optimized null key encoding
    * added Javadoc describing key encoding logic.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12019 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Implement comprehensive unit test suite for indexed and unindexed VLV based searches, which include missing keys, multi-valued keys, reverse ordering, etc.
    
    Fix various bugs exposed by the unit tests.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@12017 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

01 Apr, 2015

1 commit


31 Mar, 2015

2 commits