Dashboard

MIRTH-3206

The EDI/ER7 serializer's have had their out-dated regexs updated.

Issue: MIRTH-3206

MIRTH-3708

The WebServiceDispatcher will now catch the NoRouteToHostException and queue the message. Errors are logged to be consistent with connector exception handling.

Issue: MIRTH-3708

MIRTH-3084

The DatabaseReader now has the option to convert binary data to a specified charset. A new combobox was added on this connectir, and a new property was added to the model, DatabaseReceiverProperties. When creating the string within the DatabaseReceiver, the charset encoding is now passed in from the model.

Issue: MIRTH-3084

MIRTH-3687

A new method, invokeConnectorServiceAsync, was added that executes the post method asynchronously instead.

Issue: MIRTH-3687

Draggable nodes that have no children are now ignored properly.

Issue: MIRTH-2162

-Modified AttachmentHandler interface to initialize with entire raw message in order to provide access to the source map. Updated all attachment handlers to reflect this change.

-Added access to source map in attachment handlers.

Issue: MIRTH-3734

Added a method to ChannelUtil to get channel name by ID.

Issue: MIRTH-3677

Importing a channel with an existing ID using "force" will now overwrite the original channel. Additionally, if you force import a channel with the same name of one and the same ID of another, the channel with the matching name will be overwritten.

Issue: MIRTH-3214

Now using Long instead of Float to compare last modified dates and file sizes.

Issue: MIRTH-3736

MIRTH-1905

A new alertConflict method has been added to the frame class which creates a new dialog, given a message, to display the number of conflicts with a checkbox to apply the option to all conflicts.

An enum has been created which will now pass back the result of the above selection.

The exportChannels method now performs an initial check to get the number of file collisions. It then defers to the aforementioned method within a loop to determine user action and perform the necessary exports.

Issue: MIRTH-1905

MIRTH-2886

A new Send Test Email button is now displayed on the Settings Panel.

A new operation and method have been added to the client class to send a test email from the ConfigurationServlet. The ConfigurationController now contains the code originally contained in the SmtpSenderService to dispatch a test email.

The SmtpSenderService now delegates the testing to the ConfigurationController.

Issue: MIRTH-2886

MIRTH-1763

The channelName was added as a variable in the JavaScriptScopeUtil and had its references updated everywhere to reflect these changes. To facilitate these changes, the channelName was added to the ConnectorMessage; the constructor has been modified to include the name as an argument.

Issue: MIRTH-1763

  1. … 19 more files in changeset.
MIRTH-1891

A new AdvancedSettings dialog has been introduced for the file writer connector and currently only shows up for SFTP. This dialog allows the user to add key authorization, hostchecking as well as a table for other configurable options. An AdvancedSettingsDialog interface and SchemeProperties abstract class were added to facilitate creating dialogs for other schemes and their properties.

A new class, FileSystemConnectionOptions, was added to reduce the number of arguments in the FileConnector. The poolkey for sftp connections has been updated to now include the new properties which may be dynamically replaced. All other methods across other file schemes have been updated to reflect these changes.

  1. … 8 more files in changeset.
Removed TSL v1.0 from default supported protocols for client/server and migration to 3.1.1.

Issue: MIRTH-3717

MIRTH-3704: Added migrate3_3_0 to the Migratable interface.
  1. … 58 more files in changeset.
Modified NativeJavaObject to properly convert Java numbers to JavaScript numbers instead of Strings.

Issue: MIRTH-3258

Adding Rhino's original NativeJavaObject class (1.7.6) to be modified in the next commit for a bug fix.

Issue: MIRTH-3258

    • -0
    • +967
    /trunk/server/src/org/mozilla/javascript/NativeJavaObject.java
Modified the script for XSLT steps to append .toString() to the transformation result when added to the channel map.

Issue: MIRTH-3100

Modified the double clicking behavior for the dashboard table to only open the Message Browser if there is only one row selected AND the double clicked row is the same as the row that is selected.

Issue: MIRTH-2952

Increased the Version column width for the connectors and plugins tables to fit build numbers.

Issue: MIRTH-3646

MIRTH-2288

For some reason this class didn't commit.

Issue: MIRTH-2288

A new task has been added to the ChannelPanel to view messages and only shows up if a single channel is selected. Messages viewed from this context, when the channel is not deployed, have limited options to remove messages.

The showMessages task now defers to either the dashboardPanel or channelPanel to get the channelId for the selected channel. If the current panel is the Channels view, then the deployed state is determined from the list of deployed channels. If the channel is not in this list, then the channel is not deployed.

The removeAllMessages task has also been refactored to defer to the correct panel. If the channelPanel has been viewed and the reference is non null, the selectedChannles are retrieved, and if this reference is not empty, that is to say a channel is selected, the channelId is added to the set of channelIds to remove messages from and the deployed state is checked. Otherwise, the task builds the channel list and checks the deployed state as per usual.

The MessageBrowser now disables any reprocessing message tasks when the channel is not deployed.

The message controller now

MIRTH-2288

A new task has been added to the ChannelPanel to view messages and only shows up if a single channel is selected. Messages viewed from this context, when the channel is not deployed, have limited options to remove messages.

The showMessages task now defers to either the dashboardPanel or channelPanel to get the channelId for the selected channel. If the current panel is the channels view, then the deployed state is determined from the list of deployed channels. If the channel is not in this list, then the channel is not deployed.

The removeAllMessages task has also been refactored to defer to the correct panel. If the channelPanel has been viewed and the reference is non null, the selectedChannles are retrieved, and if this reference is not empty, that is to say a channel is selected, the channelId is added to the set of channelIds to remove messages from and the deployed state is checked. Otherwise, the task builds the channel list and checks the deployed state as usual.

The MessageBrowser now disables any reprocessing message tasks when the channel is not deployed.

The MessageController now uses only the channelId as its parameter. All classes that inherit from it have been updated.

The DonkeyEngineController will now removes any selected messaged from channels regardless of deployed state. The RemoveAllMessagesTask now performs similar operations as the the Channel object.

Issue: MIRTH-2288

Tagging 3.2.2
MIRTH-2276 and MIRTH-2759

-Added JSON support as a serializer and data type. For now, the JSON serializer is used only for JSON messages.

-Made pretty print setting in Message Browser and Administrator Settings more generic to support both XML and JSON.

-Updated message tree panel to support JSON.

-JSON trees are a bit different from XML trees. JSON trees can contain annotations indicating if the element type is an object or an array.

-Modified builders for nodes’ variables, descriptions, and paths to support JSON format

-.toString() now only gets appended to XML nodes.

-Modified MirthTreeNode to add annotations for JSON arrays and objects.

-Added JSON data type client and server plugins.

-Added token marker for JSON messages. Keyword highlighting still needs to be done.

-Renamed Serializer classes to be more generic instead of XML specific.

-Updated Jackson jars.

-Added JSON data type properties.

-Added JSON serializer.

-Modified JavaScript builder’s transformer function to parse JSON messages and templates to JSON.

-Updated filter/transformer mapper’s validate function to only do string replacements on strings.

-Modified Rhino’s JSON.stringify() to be able to convert Java objects into strings.

-Modified Rhino to override JavaScript’s arrays’ and objects’ .toString() methods to use JSON.stringify() instead.

    • binary
    /trunk/client/lib/jackson-core-2.5.3.jar
    • binary
    /trunk/client/lib/jackson-databind-2.5.3.jar
  1. … 69 more files in changeset.
Adding original Rhino classes for modification in next commit.
    • -0
    • +2020
    /trunk/server/src/org/mozilla/javascript/NativeArray.java
    • -0
    • +692
    /trunk/server/src/org/mozilla/javascript/NativeObject.java
    • -0
    • +507
    /trunk/server/src/org/mozilla/javascript/NativeJSON.java
MIRTH-3724

(Merge from trunk to 3.2.x branch)

Trivial change to third party readme, changed JSON Processing API URL to it's homepage.

MIRTH-3724

Trivial change to third party readme, changed JSON Processing API URL to it's homepage.

MIRTH-3726: Fixed bug where the incorrect channel ID was being passed into JavaScriptScopeUtil for all batch scripts.

Merged from trunk.

MIRTH-3726: Fixed bug where the incorrect channel ID was being passed into JavaScriptScopeUtil for all batch scripts.
MIRTH-3724

Merging down to branch. Updated licensing information to include the new JSON API.

Issue: MIRTH-3724

Issue: MIRTH-3724