16 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12095 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Apr, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12094 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12093 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Apr, 2015
7 commits
-
As suggested by Ludo, in general it's better to do delete before add. git-svn-id: https://svn.forgerock.org/opendj/trunk@12092 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12091 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* src/main/java/org/opends/guitools/controlpanel/util/ConfigFromFile.java ** Apply r12079 refqctoring git-svn-id: https://svn.forgerock.org/opendj/trunk@12090 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* org.opends.guitools.controlpanel.ui.VLVIndexPanel.java * org.opends.guitools.controlpanel.ui.AbstractVLVIndexPanel.java * org.opends.guitools.controlpanel.ui.NewVLVIndexPanel.java * org.opends.guitools.controlpanel.task.DeleteIndexTask.java ** Use List instead of ArrayList as declarative type ** Reformat ** Add final keyword ** Add @Override annotations ** Remove unecessary javadoc * org.opends.guitools.controlpanel.task.Task.java ** In method getConfigCommandLineArguments(): *** Returns a List instead of ArrayList git-svn-id: https://svn.forgerock.org/opendj/trunk@12089 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* VLVIndexDescriptor.java ** Add final keyword ** Reformat git-svn-id: https://svn.forgerock.org/opendj/trunk@12088 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* indexDescriptor.java ** Add final keyword ** Add override annotations ** Extract local constants for database indexes ** Reformat and improve a bit javadoc git-svn-id: https://svn.forgerock.org/opendj/trunk@12087 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This change is a backport to opendj-server-legacy of the bug fixing done in opendj-config at revision r11503. * org.opends.server.client.spi.Driver ** Fix bug in config framework that prevented management of Persistit backend indexes using dsconfig. git-svn-id: https://svn.forgerock.org/opendj/trunk@12086 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Apr, 2015
1 commit
-
* NewIndexPanel.java ** Revert changes from revision 10554 git-svn-id: https://svn.forgerock.org/opendj/trunk@12085 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Apr, 2015
14 commits
-
Some code was using read-locks before calling Backend.getEntry(DN), but read-locks are no longer required. git-svn-id: https://svn.forgerock.org/opendj/trunk@12084 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12083 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* JE/Pluggable EntryContainer: defend against cases where caller does not hold any locks (very common) * Backend/DirectoryServer: update getEntry() and entryExists() Javadoc to specify that no locks are required * other miscellaneous code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@12082 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
* BackendDescriptor.java ** Sort Type enum values git-svn-id: https://svn.forgerock.org/opendj/trunk@12080 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* ConfigFromDirContext.java ** readConfiguration(InitialLdapContext) *** Reformat *** Add final keyword *** Rename local variables to make the code more readable *** Extracted methods **** readSchemaIfNeeded(InitialLdapContext, List) **** readConfig(InitialLdapContext, Set<ConnectionHandlerDescriptor>, Set<BackendDescriptor>, Set<DN>, List<OpenDsException>) **** readAdminConnector(RootCfgClient, List<OpenDsException>) **** readConnectionHandlers(Set<ConnectionHandlerDescriptor>, RootCfgClient, List<OpenDsException>) **** readBackendConfiguration(Set<BackendDescriptor>, RootCfgClient, List<OpenDsException>) **** refreshLocalDBBackendConfig(Set<IndexDescriptor>, Set<VLVIndexDescriptor>, BackendCfgClient backend, List<OpenDsException>) **** readIfReplicationIsSecure(RootCfgreadSyncProviderIfExists(final RootCfgClient root)Client, List<OpenDsException>) **** readSyncProviderIfExists(RootCfgClient) **** readReplicationConfig(Set<ConnectionHandlerDescriptor>, Set<BackendDescriptor>, ReplicationSynchronizationProviderCfgClient, boolean, List<OpenDsException>) **** readAlternateBindDNs(Set<DN>, RootCfgClient, List<OpenDsException>) git-svn-id: https://svn.forgerock.org/opendj/trunk@12079 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* IndexPanel.java ** Reformat ** Add final keyword ** Use list as declarative type git-svn-id: https://svn.forgerock.org/opendj/trunk@12078 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* NewBaseDNPanel.java ** validateAutomaticallyGenerated(final Set<LocalizableMessage> errors) *** Extract local constants *** Add final keyword * StatusGenericPanel.java ** checkIntValue(Collection<LocalizableMessage> errors, String stringValue,int minValue, int maxValue, LocalizableMessage errMsg) *** Now return a boolean to allow client code to use conditionnal code after call *** Don't throw runtime exception anymore (Thanks Jean-Noël for refactoring advices!) * ExportLDIFPanel.java ** okClicked() ** Consequences of checkIntValue changes git-svn-id: https://svn.forgerock.org/opendj/trunk@12077 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* NewBaseDNPanel.java ** refactor okClicked() *** Reformat *** Add final keyword *** Extract local NEW_BACKEND_TEXT constant *** Extracted methods **** resetLabelAsValid() **** validateBackendName(final Set<BackendDescriptor> existingBackends, final Set<LocalizableMessage> errors) **** validateBaseDN(final String backendName, final Set<BackendDescriptor> existingBackends, final Set<LocalizableMessage> errors) **** validateImportLDIFFilePath(final Set<LocalizableMessage> errors) **** validateAutomaticallyGenerated(final Set<LocalizableMessage> errors) git-svn-id: https://svn.forgerock.org/opendj/trunk@12076 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/NewBaseDNPanel.java ** Reformat ** Removes unecessary javadocs ** Use interface List declarative type instead of ArrayList git-svn-id: https://svn.forgerock.org/opendj/trunk@12075 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12074 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12073 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Problem was due to multiple threads sharing the same Persistit exchanges. Generally speaking DBs do not like mixing transactions and threads. By using transactions for each DB access, the problem disappears. Are we losing any performance by using full fledged transactions? Could we somehow do these operations in a thread safe manner without the need to use transactions? Importer.java: Use transactions for read/write operations on DN cache. git-svn-id: https://svn.forgerock.org/opendj/trunk@12072 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added generics Ignored javadocs warnings etc. git-svn-id: https://svn.forgerock.org/opendj/trunk@12071 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Apr, 2015
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12070 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* removed listDatabases(), getConfiguration(), and substringKeys() in AttributeIndex * added AttributeIndex.isIndexed() and modified BackendImpl.isIndexed() to delegate to AttributeIndex. git-svn-id: https://svn.forgerock.org/opendj/trunk@12069 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12068 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12067 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Prevent too many allocations git-svn-id: https://svn.forgerock.org/opendj/trunk@12066 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…myriad of compare() methods. ImportRecord is composed of a key as a ByteSequence and an indexID being an int. git-svn-id: https://svn.forgerock.org/opendj/trunk@12065 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* 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
08 Apr, 2015
8 commits
-
Removed unnecessary declaration of toString() in an interface. git-svn-id: https://svn.forgerock.org/opendj/trunk@12063 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* 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
-
Protect against accidental changes. git-svn-id: https://svn.forgerock.org/opendj/trunk@12061 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed more duplicated code. git-svn-id: https://svn.forgerock.org/opendj/trunk@12060 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12059 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12057 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
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