10 Feb, 2014

3 commits

  • getAttrValue() now returns String instead of AttributeValue.
    Extracted methods asBoolean(), asLong(), asInteger().
    javadocs cleanup.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10333 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Output throwable class names and message in the trace.
    
    StaticUtilsTestCase.java:
    Added more tests + fixed the existing ones.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10331 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Extracted DataProvider methods.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10330 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

07 Feb, 2014

10 commits


06 Feb, 2014

7 commits

  • * ByteStringBuilder - cache the output stream view
    * ASN1*Writer - truncate cached internal buffers if they grow too big.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10299 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Added opendj-server3x-adapter to map the SDK Connection to an Internal Client Connection.
    This module will only be used to link the opendj3-server-dev branch to opendj-rest2ldap.
    This module will be deleted once the opendj3-server-dev branch uses only the OpenDJ SDK 3 types.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10297 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • - Added subcommand for Setup CLI.
    - Added logger.
    - Removed javacheckversion from model. The function is now in the Utils.
    - Added unit tests for subcommands.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10296 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • Added opendj-server3x-adapter to map the SDK Connection to an Internal Client Connection.
    This module will only be used to link the opendj3-server-dev branch to opendj-rest2ldap.
    This module will be deleted once the opendj3-server-dev branch uses only the OpenDJ SDK 3 types.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10295 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • - Renamed CommonArguments which are used here.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10294 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • - Added ReturnCode class.
    - Added/Renamed common arguments.
    - Added messages.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10293 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • 
    Code review: Matthew Swift
    
    
    ByteStringBuilder.java:
    Renamed clear(int capacity) to clearAndTruncate(int thresholdCapacity, int newCapacity).
    Minor code cleanups.
    
    ASN1OutputStreamWriter.java
    In writeEndSequence(), moved some code to ByteStringBuilder.clearAndTruncate() + called the latter.
    
    ByteStringBuilderTestCase.java:
    Added tests for ByteStringBuilder.clearAndTruncate().
    Added method "_" to ease bytes readability.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10287 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

05 Feb, 2014

11 commits

  • Remove dependency on server ACI support:
    
    * use regular expression for basic validation. The RE is taken from the server's Aci class
    * change value type of ACI properties from "Aci" to "String".
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10286 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • * rename ConfigurationFramework#isEnabled() to isInitialized().
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10285 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • * removed dependencies on DirectoryServer class
    * renamed ClassLoaderProvider to ConfigurationFramework to make its responsibility for overall management of the configuration framework more obvious
    * removed PropertyDefinitionsOptions and replaced with single "isClient" getter/setter in ConfigurationFramework. This is now used throughout the framework
    * use default schema throughout. If we need to add support for customization of the schema then we could provide the capability via the ConfigurationFramework class
    * pass in install/instance paths to ConfigurationFramework during initialization. Default to "user.dir" property if no paths are provided.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10284 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • … running as a windows service
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10280 41b1ffd8-f28e-4786-ab96-9950f0a78031
    cjr
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10279 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10278 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • - Modified classes for their future use in the opendj3-server-dev
    - Migrate tests from server.
     
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10276 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed CONTROLS_LOG and SCHEMA_LOG + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10275 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed IO_LOG + replaced every uses of it by using per class LocalizedLoggers.
    
    pom.xml:
    Added a compile time dependency to 18n-slf4j.
    
    OpenDJLoggerAdapter.java:
    Removed an empty line.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10274 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10272 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • …en passing 'ServerSocket' in parameter.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10270 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

04 Feb, 2014

6 commits

  • Code review: Matthew Swift
    
    Preparation work to allow opendj3-server-dev branch to use the SDK ASN1 types.
    
    ASN1.java:
    Added UNIVERSAL_BIT_STRING_TYPE.
    Reordered the UNIVERSAL_* fields.
    Made a few TYPE_MASK_* public.
    Added getWriter(ByteStringBuilder, int maxBufferSize)
    Added getWriter(OutputStream, int maxBufferSize)
    
    ASN1Reader.java, ASN1*Reader:
    Added readEndExplicitTag() and readStartExplicitTag().
    
    ASN1OutputStreamWriter.java, ASN1OutputStreamWriterTestCase.java:
    Changed ASN1OutputStreamWriter(OutputStream) to ASN1OutputStreamWriter(OutputStream, int maxBufferSize) + updated the test.
    Added maxBufferSize field and used it in writeEndSequence().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10269 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • OPENDJ-1301 Implement model for installing OpenDJ as a directory server
    - Added package org.forgerock.opendj.server.setup.model
    - Added unit tests
    ****************************************************************************
    OPENDJ-1306 Implement setup CLI for directory server
    - Added package org.forgerock.opendj.server.setup.cli
    - Added unit tests
    ****************************************************************************
    - modified pom to add a dependency on the opendj-CLI module.
    - added some classes needed by the setup see : package org.opends.server.types (TODO those files are just here temporary, they will be removed!).
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10266 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • … into a separate Maven module, "opendj-cli"
    - Added SubCommand && SubCommandParser.
    - Added more commonsArguments.
    - Replaced "double" in IntegerArgument to "int".
    - Added LINE_SEPARATOR in Utils.
    - Updated Constants.
    - Updated messages.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10265 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • Used Utils.joinAsString().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10262 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@10261 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@10259 41b1ffd8-f28e-4786-ab96-9950f0a78031
    cjr
     

03 Feb, 2014

3 commits