20 Aug, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12763 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Aug, 2015
1 commit
-
replication*.properties: ERR_RSQUEUE_DIFFERENT_MSGS_WITH_SAME_CN => ERR_RSQUEUE_DIFFERENT_MSGS_WITH_SAME_CSN git-svn-id: https://svn.forgerock.org/opendj/trunk@12744 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Aug, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12717 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Aug, 2015
1 commit
-
Removed an "error" message that should only be in access log. git-svn-id: https://svn.forgerock.org/opendj/trunk@12716 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Jul, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12692 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jul, 2015
1 commit
-
Factorize code for tools message printing. * opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java ** Introduce handly methods to print a message/string on a stream. * Other files uses the methods described above. git-svn-id: https://svn.forgerock.org/opendj/trunk@12684 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Jul, 2015
1 commit
-
Removed code duplication. Code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@12679 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jul, 2015
1 commit
-
Regardless of options specified to import-ldif, all indexes are systematically set as not trusted before importing and reset to trusted once it's finished. On the other hand if the suffix is simply appended to, indexes not up to date with the data should not be set to trusted, since they may end up with partial data. Before import we should set all trusted indexes as candidates for updates, but leave not trusted indexes alone. In order to do that, use index lists from Suffix, building the list of indexes to update taking into account the append flag: if it is specified only consider trusted indexes. Import code should only get index information from the Suffix. Rebuild index should still be based on the EntryContainer though, since we are managing indexes directly. git-svn-id: https://svn.forgerock.org/opendj/trunk@12646 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Jul, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12630 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jun, 2015
1 commit
-
This was found due to one functional test that was working with 2.6 code base, but no longer works with 2.8. Here is the sequence of events: time1 change 1 => changenumber=1, changelogcookie=dc=com:csn1; time2 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1; time3 enable domain dc=fr time4 change 2 => changenumber=2, changelogcookie=dc=com:csn1;dc=fr:csn2; 2.6: time5 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1;dc=fr; time6 ldapsearch (changelogcookie=dc=com:csn1;) resultcode=UNWILLING_TO_PERFORM message=Full resynch is required...[...]...use dc=com:csn1;dc=fr; time6 ldapsearch (changelogcookie=dc=com:csn1;dc=fr;) resultcode=SUCCESS returns changes with csn1 and csn2 2.8: time5 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1; time6 ldapsearch (changelogcookie=dc=com:csn1;) resultcode=UNWILLING_TO_PERFORM message=Full resynch is required...[...]...use dc=com:csn1;dc=fr; time6 ldapsearch (changelogcookie=dc=com:csn1;dc=fr;) resultcode=SUCCESS returns changes with csn1 and csn2 Note the different values for changelogcookie attribute at time4. I think this difference is due to the fact the change number index DB was storing the previous cookie (thus returning it), while the new change number index DB is not storing it anymore (thus building it on the fly). So the new domain baseDN cannot be included until one change has been seen for it. I think this error message was originally added as the result of a leaky abstraction: In 2.6, doing a search in the cookie mode was driven by the cookie provided by the user. So when a search was performed using a cookie that did not have all domains, no results would be returned for the missing domains. Hence this restriction was added to force users to iterate over all the domains. With the new changelog implementation, all domains are iterated by default and this restriction is no longer necessary. By removing this limitation here is how the results would compare: time1 change 1 => changenumber=1, changelogcookie=dc=com:csn1; time2 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1; time3 enable domain dc=fr time4 change 2 => changenumber=2, changelogcookie=dc=com:csn1;dc=fr:csn2; 2.6: time5 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1;dc=fr; time6 ldapsearch (changelogcookie=dc=com:csn1;) resultcode=UNWILLING_TO_PERFORM message=Full resynch is required...[...]...use dc=com:csn1;dc=fr; time6 ldapsearch (changelogcookie=dc=com:csn1;dc=fr;) resultcode=SUCCESS returns changes with csn1 and csn2 2.8: time5 ldapsearch (changenumber=1) returns entry with changenumber=1 and changelogcookie=dc=com:csn1; time6 ldapsearch (changelogcookie=dc=com:csn1;) resultcode=SUCCESS returns changes with csn1 and csn2 ReplicationServer.java: Removed error ERR_RESYNC_REQUIRED_MISSING_DOMAIN_IN_PROVIDED_COOKIE, no longer necessary with the new changelog implementation. git-svn-id: https://svn.forgerock.org/opendj/trunk@12580 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Jun, 2015
1 commit
-
Take out include/exclude branch reduction from the import code to a new class, returning what kind of policy should be used for creating a Suffix. The same class can be used by upper layers during import to decide if the operation is supported or not. git-svn-id: https://svn.forgerock.org/opendj/trunk@12552 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Jun, 2015
1 commit
-
Check no include or exclude branches have been specified before starting an impo rt, fail otherwise. git-svn-id: https://svn.forgerock.org/opendj/trunk@12527 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Jun, 2015
1 commit
-
Main changes in Log class: cursors are aborted when purging and clearing Add new exception AbortedChangelogCursorException git-svn-id: https://svn.forgerock.org/opendj/trunk@12476 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jun, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12453 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
CR-7196 This commit fixes tools error messages when * instance is not configured or user have insufficient access rights * src/main/java/org/opends/server/tools/tasks/TaskTool.java ** Creates a checkVersion() method to allow better encapsulation * src/main/java/org/opends/server/util/BuildVersion.java ** Filter IOException raised to check if the instance has been configured (i.e buildinfo file exists) and if user has sufficient priviledges to read it. * src/messages/org/opends/messages/tool.properties * src/main/java/org/opends/server/tools/BackUpDB.java * src/main/java/org/opends/server/tools/ExportLDIF.java * src/main/java/org/opends/server/tools/ImportLDIF.java * src/main/java/org/opends/server/tools/RebuildIndex.java * src/main/java/org/opends/server/tools/RestoreDB.java ** Consequences of changes described above git-svn-id: https://svn.forgerock.org/opendj/trunk@12437 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Jun, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12407 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 May, 2015
1 commit
-
A user is now able to choose backend type for suffix to replicate * src/main/java/org/opends/quicksetup/installer/Installer.java ** Use data stored in UserData to retrieve backendTypes ** Do not force the new backend to have the same type as the replicated backend * src/main/java/org/opends/quicksetup/installer/SuffixesToReplicateOptions.java ** Add the map of new backend to replicate with their types * src/main/java/org/opends/quicksetup/installer/SuffixesToReplicatePanel.java ** Change UI to display backend name and backend type list box selector. ** Create a tooltip icon to display host, port and number of entries ** Add separator beetween backends git-svn-id: https://svn.forgerock.org/opendj/trunk@12367 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12337 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12335 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 May, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12313 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 May, 2015
1 commit
-
…eplicate dc=replicationChanges Even though dc=replicationChanges does not exist anymore in trunk, it should still be referenced in the tools in order to be filtered out. We should also prevent it from being specified as argument for dsreplication. git-svn-id: https://svn.forgerock.org/opendj/trunk@12253 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 May, 2015
1 commit
-
As follow up of OPENDJ-1869, upgrade removes ds-cfg-entry-cache-preload from cn=config. git-svn-id: https://svn.forgerock.org/opendj/trunk@12227 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 May, 2015
1 commit
-
Review: Matt (uppon the shoulder) This commit replaces Java 6 occurences by Java 7 in messages. It also performs the Java version check against Java 7. * org.opends.quicksetup.util.Utils.java ** Use opendj-cli check java version, this allow us to remove old check process based on CompatibleJava * Other changes are just messages or text update. git-svn-id: https://svn.forgerock.org/opendj/trunk@12208 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 May, 2015
2 commits
-
This change allows a user to create a new base DN and/on a new pluggable backend from the control panel. * org.opends.guitools.controlpanel.ui.NewBaseDNPanel ** Improves UI design a bit ** Adds a combo box and a label to allow a user to choose a backend type ** Extracts method to manage the creation of a new backend and/or the creation of a new base DN. * org.opends.server.tools.BackendCreationHelper ** Creates this new class to factorize backend creation code ** Moves DefaultIndex inner class from ConfigureDS ** Moves DEFAULT_INDEXES from ConfigureDS * org.opends.server.tools.BackendTypeHelper ** Creates a new (ugly) method to retrieve a old configuration framework backend object corresponding from the same new configuration framework object. This allows to factorize backend creation code. ** Moves the new configuration framework initialization to Utilities. * org.opends.server.tools.ConfigureDS ** Consequences of creation of BackendCreationHelper. * org.opends.guitools.controlpanel.util.Utilities ** Migrates the new config framework initialization as it is use in many places now. * org.opends.messages.admin_tools.properties ** Add two new messages git-svn-id: https://svn.forgerock.org/opendj/trunk@12204 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Remove all cross references between pluggable and JE backends, in code and comments. Also refactor messages for all backend types, finally merging backend.properties with jeb.properties. JE specific messages are now in backend.properties, since there are not many of them now. git-svn-id: https://svn.forgerock.org/opendj/trunk@12202 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Apr, 2015
1 commit
-
Move pluggable.BackupManager to util.BackupManager Make util.BackupManager generic to handle any backup Add Backupable interface , to represent an entity that can be backed up Replace createBackup(), restoreBackup() and removeBackup() implementations by call to BackupManager in several classes: - jeb.BackupManager - SchemaBackend - TaskBackend - ConfigFileHandler Add new test case BackupManagerTestCase Update properties files : backend, jeb, utility git-svn-id: https://svn.forgerock.org/opendj/trunk@12162 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12102 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Apr, 2015
1 commit
-
Disk space monitoring is now a global service, per DirectoryServer instance. Backends can get the service through a serverContext and will be notified of any trigger of the configured thresholds. Instead of using raw directories, if the JVM supports it, try to gather the mountpoints or global root folders and monitor those instead. Still messages logged by the backends will reference only their own directories. Each backend can also log its own messages in addition to what already logged by the general service. git-svn-id: https://svn.forgerock.org/opendj/trunk@12081 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Apr, 2015
1 commit
-
* Installer.java ** Remove temparary OPENDJ-1927 fix * DataOptionsPanel.java ** Add a combo box to allow user to select a backend type (default value is JE) * Utils.java ** Update UI installation review and equivalent setup command * FieldName.java ** Add the backend type field name git-svn-id: https://svn.forgerock.org/opendj/trunk@12064 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Apr, 2015
1 commit
-
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
02 Apr, 2015
1 commit
-
* 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
31 Mar, 2015
1 commit
-
This is a partial fix. Unit tests to follow in subsequent commit. git-svn-id: https://svn.forgerock.org/opendj/trunk@12007 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Mar, 2015
1 commit
-
***** opendj-cli ***** * ArgumentConstants.java ** Add constant for testonly long option * CommonArguments.java ** Removes getTestOnly(...) static method as it is only used in InstallDS. * cli.properties ** Removes INFO_ARGUMENT_DESCRIPTION_TESTONLY message and migrate it to server tool.properties to have consistant import in InstallDS.java ***** opendj-ldap-toolkit ***** * resources/.../_script_util.bat ** Replace short option call by long option call ***** opendj-server-legacy ***** * resources/.../bin/_script-util.sh _script-util.bat ** Replace short option call by long option call * InstallDSArgumentParser.java ** Inline static call to CommonArguments * tools.properties ** Add testonly argument information message git-svn-id: https://svn.forgerock.org/opendj/trunk@11968 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Mar, 2015
1 commit
-
Available memory in Old Gen (Runtime as fallback) is now strictly checked for pluggable backends and a warning logged for JEB backends. git-svn-id: https://svn.forgerock.org/opendj/trunk@11944 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Mar, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11858 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Feb, 2015
2 commits
-
This additional patch adds short descriptions to the tools. The descriptions are suitable for use in man page summary lines. This is a subtask of the following issue: OPENDJ-386 Move to single reference document git-svn-id: https://svn.forgerock.org/opendj/trunk@11814 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch accounts for other types of indexed backend implementations that involved databases, distinguishing between local-db and other types. This patch does not correct everything in the reference, notably the subcommand list for dsconfig. The fix for OPENDJ-386 is expected to address that. git-svn-id: https://svn.forgerock.org/opendj/trunk@11813 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Feb, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11785 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
occured => occurred is cannot => cannot git-svn-id: https://svn.forgerock.org/opendj/trunk@11777 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Feb, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11730 41b1ffd8-f28e-4786-ab96-9950f0a78031