Dashboard

MIRTH-2516: Removed the Raw <-> XML data type conversion templates.
MIRTH-2516: Removed the Raw <-> XML data type conversion templates.
MIRTH-2479: Updated the default Channel Writer timeout to 0 ms, indicating that by default, the dispatcher will not spawn a new thread and wait on it.
MIRTH-2479: Updated the default Channel Writer timeout to 0 ms, indicating that by default, the dispatcher will not spawn a new thread and wait on it.
MIRTH-2250: Fixed incorrect error constant reference in HttpDispatcher.
MIRTH-2250: Fixed incorrect error constant reference in HttpDispatcher.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
Changed the way the data pruner uses the block size setting when pruning by a list or range of message ids: instead of passing the entire list of message ids with a LIMIT, it splits the message id lis…
Changed the way the data pruner uses the block size setting when pruning by a list or range of message ids: instead of passing the entire list of message ids with a LIMIT, it splits the message id list into block size chunks. This allows Derby to use the block size without running into problems with it's manual cascade deletes.

Issue: MIRTH-2495

Forgot to commit server side code.…
Forgot to commit server side code.

Issue: MIRTH-1040

Show a warning if one or more of the connectors chosen to be stopped was a destination connector with queueing disabled. Destination connectors must have queueing enabled to be stopped individually.…
Show a warning if one or more of the connectors chosen to be stopped was a destination connector with queueing disabled. Destination connectors must have queueing enabled to be stopped individually.

Issue: MIRTH-1040

Fixed poll connectors not stopping gracefully if they failed to start. The same fix also takes care of the potential null pointer exceptions in stop() and halt()…
Fixed poll connectors not stopping gracefully if they failed to start. The same fix also takes care of the potential null pointer exceptions in stop() and halt()

Issue: MIRTH-2643

MIRTH-2648: Updated the HTTP connectors so that they check for unsupported protocols on deploy and on dispatch.
MIRTH-2648: Updated the HTTP connectors so that they check for unsupported protocols on deploy and on dispatch.
MIRTH-2552

MIRTH-1700

Fixed problem in ImportConverter3_0_0.migrateJmsReceiverProperties if an error occurred while reading the old connection properties - needed to log an error and fail gracefully.

Moved the Version enum from DMC into it's own file.

Renamed Migrator to ServerMigrator.

Rewrote migration code in Migrate2_0_0 so that it does migrates global scripts and server properties manually, without referencing controller classes - fixes errors when migrating from version 1.8.x.

Modified Migrate2_0_0, Migrate3_0_0 and ServerMigrator so that they do not reference any controller classes.

Added additional utility methods to DonkeyElement.

MIRTH-2645: Fixed NullPointerException in MigratableConverter that happens when the converter is registered after NullConverter is added to the internal converter map.
MIRTH-2645: Fixed NullPointerException in MigratableConverter that happens when the converter is registered after NullConverter is added to the internal converter map.
MIRTH-1674: Updated JSch to the latest version (0.1.50).
MIRTH-1674: Updated JSch to the latest version (0.1.50).
    • binary
    /trunk/server/lib/jsch-0.1.50.jar
Fixed problem with the channel add tag dialog showing up all black under certain circumstances in Windows.…
Fixed problem with the channel add tag dialog showing up all black under certain circumstances in Windows.

Changed the dialog so that it is created/disposed on open/close instead of using setVisible().

Issue: MIRTH-2569

MIRTH-2188: Fixed bug that caused dragging a user cell onto itself to break drag-and-drop handling. The CustomTransferHandler that ChannelPanel and DefaultAlertPanel used has been extracted to a separ…
MIRTH-2188: Fixed bug that caused dragging a user cell onto itself to break drag-and-drop handling. The CustomTransferHandler that ChannelPanel and DefaultAlertPanel used has been extracted to a separate MirthTableTransferHandler, which is used in UserPanel now as well.
If the user is importing a channel that matches the current server version, do not prompt the user to migrate it to the current version.…
If the user is importing a channel that matches the current server version, do not prompt the user to migrate it to the current version.

Issue: MIRTH-2594

MIRTH-1700

MIRTH-2499

Updated the XStream lib to 1.4.4 on Client and Donkey.

Cleaned up error/exception handling with object serialization and migration. If one or more serialized objects in the database fails to deserialize or migrate to the current version, an error will be logged and the offending object will be ignored (channels, code templates and alerts).

Renamed the previous SerializerException to XmlSerializerException since it is referenced by the XmlSerializer interface. Added a new SerializerException that is intended to be used by implementations of the Serializer interface in Donkey.

ObjectXMLSerializer now throws a SerializerException when serialization/deserialization or migration fails, instead of returning null. This is now consistent with the fact that XStream itself throws a runtime exception when it encounters an error when serializing or deserializing.

Refactored and rearranged code in DefaultMigrationController, Migrate2_0_0 and Migrate3_0_0.

    • binary
    /trunk/donkey/lib/xstream/xstream-1.4.3.jar
    • binary
    /trunk/donkey/lib/xstream/xstream-1.4.4.jar
  1. … 37 more files in changeset.
MIRTH-2495

MIRTH-2471

Reverted change to allow cascade deletes in Derby on the donkey message tables, since Derby uses a table-level lock when doing cascade deletes, which increases the risk of deadlocks.

Modified the DataPruner so that when pruning by message ids, it generates two message id lists, one for pruning content and one for pruning messages. That way it does not have to reference the d_mm.received date in the delete where clause, which allows Derby to still delete messages based on the d_mm.received_date instead of d_m.received_date.

    • -4
    • +10
    /trunk/donkey/donkeydbconf/derby.xml
    • -1
    • +24
    /trunk/server/dbconf/derby/derby-message.xml
Don't disable the pruner block size option when the pruner is disabled, since the user can now manually run the pruner.…
Don't disable the pruner block size option when the pruner is disabled, since the user can now manually run the pruner.

Issue: MIRTH-2539

Updated error message when the VmDispatcher's response timeout is reached with a suggestion to increase the response timeout if the channel is not in fact writing to itself.…
Updated error message when the VmDispatcher's response timeout is reached with a suggestion to increase the response timeout if the channel is not in fact writing to itself.

Issue: MIRTH-2479

MIRTH-2471

MIRTH-1699

Changed Derby's donkey schema to allow cascade deletion on foreign keys.

Updated Derby's pruner statements to work with the cascade deletion and support pruning based on d_mm.received_date instead of d_m.received_date.

Refactored DataPruner so that it can delete messages based on a list of message ids even when not archiving. If a pruning strategy has been explicitly defined or if the current database has the "pruneMessagesByIds" query defined, it will automatically prune based on a message id list, rather than a date threshold. This improves performance dramatically in Derby.

Cleaned up code in DataPruner and made it easier to read.

Removed the MessageExportResult class since it is no longer needed.

Cleaned up and fixed problems with the DataPrunerTest unit tests.

    • -7
    • +25
    /trunk/server/dbconf/oracle/oracle-message.xml
    • -7
    • +21
    /trunk/server/dbconf/mysql/mysql-message.xml
    • -99
    • +61
    /trunk/server/dbconf/derby/derby-message.xml
MIRTH-2639: Fixed the File Reader "Sort Files By Name" option so that it ignores case with lexicographic sorting.
MIRTH-2639: Fixed the File Reader "Sort Files By Name" option so that it ignores case with lexicographic sorting.
MIRTH-2639: Fixed the File Reader "Sort Files By Name" option so that it ignores case with lexicographic sorting.
MIRTH-2639: Fixed the File Reader "Sort Files By Name" option so that it ignores case with lexicographic sorting.
MIRTH-1441: Added support to the File Reader for recursive subdirectory traversal. If recursion is on, FileReceiver keeps track of a set of visited directories so that the same directory would never b…
MIRTH-1441: Added support to the File Reader for recursive subdirectory traversal. If recursion is on, FileReceiver keeps track of a set of visited directories so that the same directory would never be read twice (due to symlinks, etc.). The traversal is done in a pre-order, depth-first manner. A dialog has been added to the UI when recursion is enabled to warn users of the implications. In order to facilitate the set of visited directories, a getCanonicalPath method has been added to FileInfo, so that FileSystemConnection implementations have a way to retrieve an absolute and unique path string for the file.
Changed the forceQueue boolean into an AtomicBoolean…
Changed the forceQueue boolean into an AtomicBoolean

Don't set forceQueue to false when starting the connector until after onStart(). This ensures the connector does not try to send anything until after it has finished starting.

Issue: MIRTH-1040

Individual connectors can now be stopped from the Dashboard.…
Individual connectors can now be stopped from the Dashboard.

Stopping/starting a source connector performs the same action as pausing/resuming the channel.

Destination connectors can only be stopped individually if queueing is enabled. When a destination connector is stopped, its filter and transformer are still executed, but the message is always queued (even if attempt first is enabled). The queue thread is stopped and does not attempt to send.

When a destination connector is stopped, the channel still shows up as Started, but the icon is colored orange instead of green.

Added new task items for startConnector and stopConnector.

Updated popup menu logic to handle stopping individual connectors.

Removed some legacy code in MessageObjectServlet pertaining to temp tables.

Issue: MIRTH-1040

MIRTH-2638: Added a comment to explain why we're using saveDisabled rather than saveEnabled.
MIRTH-2638: Added a comment to explain why we're using saveDisabled rather than saveEnabled.
Fix query for deleting channels on MySQL.…
Fix query for deleting channels on MySQL.

Issue: MIRTH-2552