E5AEReleasenotesV4 1 0 3
E5AEReleasenotesV4 1 0 3
E5AEReleasenotesV4 1 0 3
Contents
1 Release summary ......................................................................................................................... 5
2 New installation ........................................................................................................................... 6
2.1 Prerequisites .......................................................................................................................... 6
2.2 Installing Aviation Extension 4.1.0.3 .................................................................................... 6
3 Update of an existing environment .............................................................................................. 7
3.1 Migration steps ...................................................................................................................... 7
3.1.1 Migration method 1 (small databases, relatively long down time) ................................ 7
3.1.2 Migration method 2 (larger databases, relatively short down time) .............................. 8
3.2 Prerequisites .......................................................................................................................... 9
3.3 Data validation using the Batchelor .................................................................................... 10
3.4 Uninstall the previous Aviation Extension.......................................................................... 12
3.5 Install the new Aviation Extension 4.1.0.3 ......................................................................... 12
3.6 Create a new database in your RDBMS environment ......................................................... 13
3.7 Build and configure your new Repository .......................................................................... 13
3.8 Number Generator ............................................................................................................... 14
3.8.1 Export the Number Generator table contents ............................................................... 14
3.8.2 Import the Number Generator table contents ............................................................... 16
3.9 Export existing data into a series of E5F files ..................................................................... 17
3.10 Import your data from the previously generated E5F files .............................................. 20
4 RefX implications ...................................................................................................................... 23
5 Changes with respect to version 4.0.0.7..................................................................................... 24
5.1 Taxonomy............................................................................................................................ 24
5.2 Views ................................................................................................................................... 24
2.1 Prerequisites
Setup your environment following the ECCAIRS 5 installation manual for the Server configuration.
Installation of this Extension requires version 5.2.x.x or higher of the ECCAIRS Common
Framework. To check which version of the ECF is installed you can use Windows Control Panel
Programs and Features.
The JRC always recommends using the latest version of the ECF distributed on the ECCAIRS
portal. This assures that the software used includes all identified fixes and provides the highest
degree of functionality.
1
C:\Program Files (x86)\Eccairs5\Extensions\AVIATION on 64 bits systems
3.2 Prerequisites
Before starting any work, make a backup of your current occurrence data. It is recommended to
perform a complete database backup using your RDBMS tools so that you can easily return to your
current situation, should this be required. Ask your database administrator to perform this procedure
in your SQL Server or Oracle environment.
If you use modified or customised versions of the Views and/or Dictionaries be sure to make
backups of the related files. If you do not have them anymore you can usually export them from
within the Repository Manager application (right-click on the item).
Export all your repository(s) from the Repository Manager application and keep these .ERX file(s)
in a safe place.
Export your and your user’s repository connection(s) from the Login dialogs (click the ‘More’
button) and save these .EUX files in a safe place.
Installation of the new Extension requires Version 5.2.1.8 or higher of the ECCAIRS Common
Framework to be installed at the start of the migration process. To check which version of the ECF
is installed you can use Windows Control Panel Programs and Features. If required, upgrade to
the indicated version before proceeding.
On the Configuration tab add a Batch Processor, give it a name and select from the Assembly
dropdown list “Validation AddIn”:
Note: the Validation AddIn does not use this setting, only validates and no data is actually written
to the database.
On the Logging activity tab enable logging in a file of your choice and be sure that at least
Warnings and Errors are stored:
When you have set the above parameters you can press the Execute button. This Validation process
takes some time and you could consider running it during the night. It is not necessary to stop usage
of your ECCAIRS 5 environment.
The Log File will report inconsistencies found on the data. Inconsistencies shall be resolved,
otherwise the migration of the current data set to the new version of the Extension could fail.
2
C:\Program Files (x86)\Eccairs5\Extensions\AVIATION on 64 bits systems
To duplicate the repository select your old/current repository (suppose it is called AVIATION) in
the Repository Manager and from the Repository Menu select ‘Duplicate’. A new repository called
COPY OF AVIATION will be created which is identical to the original one.
Change the name of the repository to something meaningful, which distinct it from AVIATION, for
instance AVIATION_4103. Note that at the end of the migration you can set the name to be
identical to the original name if you prefer (this might be more easy for the users).
Now edit your AVIATION_4103 repository and make the following changes:
1. On the highest level node (AVIATION_4103) modify the Database connection and
make it point to your new (and still empty) database. Do not forget to test the
connection;
3
C:\Program Files (x86)\Eccairs5\Extensions\AVIATION\Database Scripts on 64 bits systems
Now click on the Edit… button and a configuration form for the tunnel service will come up.
On this form click on the button with the red triangle to open the Configuration form which will
offer three choices, to Configure the database connection, to Export the current contents of the
Number generator Table or to Import a backed up table back into the Number Generator table.
On this form click on the button with the red triangle to open the Configuration form which will
offer three choices, to Configure the database connection, to Export the current contents of the
Number generator Table or to Import a backed up table back into the Number Generator table.
Check here again that the Database Connection is pointing to your new database and not anymore
to the old one (you should have changed this in Section 3.7 under point 4)
Select Import and open the file which was previously saved in an appropriate safe place (Section 3.8.1).
to see how your system performs you could do a test creation of an E5F file of about 1000
occurrences and extrapolate the obtained time to the total number of occurrences in your
repository(s).
Use the Data Manager to perform the export of your database data into a series of E5F files. Be sure
that the ECCAIRS user performing this export has full access rights on all the data. Select the Data
Exchanger – Save to E5F File function.
On the Configuration Tab be sure to split the generated destination file in 5000 occurrences (or
less if you prefer), to include attachments (!!) and to avoid deidentification of any attributes (see
example). Depending on your situation you might want to continue when inconsistencies are found
(which should not be the case if you performed a data quality check in the beginning of the
process):
On the Destination Tab indicate the place and name of the E5F file(s) you want to generate. Note
that the Data Manager will automattically add sequence numbers if the output is split up in multiple
files
Now press the Execute button and wait until the export has completed (note that this can take a
very long time for large databases).
During the export into it can happen that an occurrence with an attachment registered does not have
the attachment embedded. Depending on your way of working this can be a normal situation or not.
A dialog will come up indicating in the title bar the occurrence causing the alert.
You are offered the choice to abort processing, ignore this particular missing attachment or ignore
all missing attachments in the source.
Note: Instead of the Save to E5F/Load from E5F functions of the Data Exchange module of the
Data Manager, you could consider to use the Copy between repositories function of the same
module of the Data Manager. The risk of this function is that if there is an issue within your
environment (network drop or similar) during the copy process it is not possible to know where the
process was interrupted or blocked and the operations should be restarted from scratch.
to see how your system performs you could do a test load of an E5F file of about 1000 occurrences
and extrapolate the obtained time to the total number of occurrences in your repository(s);
Use the Data Manager to do load the E5F files (make sure you log on to the new Repository!).
Select the Data Exchanger – Load from E5F File function. Select the Source Tab and add all the
files you want to load into the database using this instance of the Data Manager (see example):
On the Configuration Tab make sure existing occurrences are overwritten (this can only happen
with Method 2 when changed data is loaded in step 13) and that the user is prompted in the case
of missing attachments. Of course avoid de-identification of attributes:
On the Logging Activity Tab enable logging for errors and warnings as indicated in the example
below.
You are offered the choice to abort processing, ignore this particular missing attachment or ignore
all missing attachments in the source.
Note: Instead of the Save to E5F/Load from E5F functions of the Data Exchange module of the
Data Manager, you could consider to use the Copy between repositories function of the same
module of the Data Manager. The risk of this function is that if there is an issue within your
environment (network drop or similar) during the copy process it is not possible to know where the
process was interrupted or blocked and the operations should be restarted from scratch.
5.1 Taxonomy
The taxonomy version has increased from 3.4.0.2 to 4.1.0.3. Value changes introduced by Member
States authorities via the Web Value manager application until mid-June 2017 have been integrated
in this version of the taxonomy. An overview of these taxonomy changes can be found in the
Distribution folder created by the self-extracting setup created by the setup.
5.2 Views
Some of the example views that are distributed by the Aviation Extension might have changed with
respect to older, previously distributed, versions. We suggest replacing the old versions of these
Views with the new ones, however:
The Views distributed with this version of the Aviation Taxonomy are compatible with
version 5.4.x.x of the ECCAIRS Common Framework or more recent. If you are using
an older version of the ECF (e.g. 5.2.x.x or 5.3.x.x) you should not replace the views
(the scripts in the new views calculating the totals of the injuries will not work).
Be aware that if you made changes to the original Views you will lose these changes if
you deploy a new version of a View.
If you have proprietary Sections and Views we recommend updating them in the User
Interface Designer applications to let them point to the latest versions of the taxonomy.
Note that a View is deployed by assigning it to a role in the Repository Manager
application. Just the installation of the Aviation Extension does not activate any of the
new Views.