Skip to content

Commit

Permalink
Added new soap message for exceptions, added log to track system flow
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinoAvonEFSA committed Jan 22, 2018
1 parent 91366d9 commit 88eb4a7
Show file tree
Hide file tree
Showing 9 changed files with 96 additions and 82 deletions.
Binary file added compat/tablesSchema.1.1.2.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion config/appConfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<properties>
<comment>Application configuration</comment>
<entry key="Application.Name">EFSA TSE data submission tool</entry> <!-- main title of the application -->
<entry key="Application.Version">1.1.0</entry> <!-- version of the application that will displayed after the application name -->
<entry key="Application.Version">1.1.2</entry> <!-- version of the application that will displayed after the application name -->
<entry key="Db.MinRequiredVersion">1.1.0</entry> <!-- version of the database needed -->
<entry key="Application.Icon">app-icon.png</entry> <!-- application icon (in the icon folder) -->
<entry key="TechnicalSupport.Email">[email protected]</entry> <!-- email which will be displayed in occasion of serious errors (when the unique possibility is to contact EFSA) -->
Expand Down
1 change: 1 addition & 0 deletions config/env.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<properties>
<comment>Production/test configuration</comment>
<entry key="Environment.Production">YES</entry>
<entry key="Console.Level">VERBOSE</entry> <!-- NONE/INFO/VERBOSE -->
</properties>
10 changes: 0 additions & 10 deletions config/proxyConfig.xml

This file was deleted.

Binary file modified doc/messages.xlsx
Binary file not shown.
1 change: 1 addition & 0 deletions src/tse_config/CustomStrings.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public class CustomStrings {

public static final String PREDEFINED_RESULTS_FILE = AppPaths.CONFIG_FOLDER + "predefinedResults.xlsx";
public static final String PREFERENCE_FOLDER = "preferences" + System.getProperty("file.separator");
public static final String LOG_FOLDER = "logs" + System.getProperty("file.separator");

// sheets names
public static final String RESULT_SHEET = "AnalyticalResults";
Expand Down
2 changes: 1 addition & 1 deletion src/tse_config/GeneralWarnings.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.eclipse.swt.widgets.Shell;

import app_config.PropertiesReader;
import exception_manager.ExceptionConverter;
import converter.ExceptionConverter;
import i18n_messages.TSEMessages;
import message.SendMessageErrorType;
import message.SendMessageException;
Expand Down
2 changes: 2 additions & 0 deletions src/tse_main/MainMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import org.xml.sax.SAXException;

import app_config.PropertiesReader;
import global_utils.Warnings;
import i18n_messages.TSEMessages;
import message.MessageConfigBuilder;
import message_creator.OperationType;
Expand Down Expand Up @@ -234,6 +235,7 @@ public void widgetSelected(SelectionEvent arg0) {
downloader.download();
} catch (MySOAPException e) {
e.printStackTrace();
Warnings.showSOAPWarning(shell, e);
}
}
});
Expand Down
Loading

0 comments on commit 88eb4a7

Please sign in to comment.