Skip to content
herve91 edited this page Sep 29, 2016 · 25 revisions

This is a plugin for Archi, the free Archimate Tool.

It allows to store models into a database.

Installation

Download the latest JAR file and copy it into Archi's plugins folder and restart Archi. You should see new import and export menus: import_menu

Database connection

When importing or exporting a model, the plugin asks information about the database to connect to: database_information

At the moment, the following databases drivers are included:

  • MySQL
  • Oracle
  • PostGreSQL
  • SQLite

The Remember option allows to memorize the information provided. Next time the plugin is used, the values will be automatically filled-in.

The Do not ask me again option tells the plugin not to show this popup again as long as it can connect to the database.

The information is stored in a file called org.archicontribs.database in the Archi folder. Please be aware that this file is unencrypted and that your database password will be readable by everybody.

Should you selected the Do not ask me again option and want to see the popup again, you may edit the org.archicontribs.database file and either remove the line doNotAskAgain=true either change the value to false.

Import a model

Once connected to the database, a windows shows up and list the models found in the database:

import_model

When a model is selected in the list, the model versions are updated. When a version is selected, the name, relase note, owner and purpose are updated.

It is possible to filter the models listed. The filter is case insensitive and use SQL wildcard character ('%').

the import mode let you choose how your model will be imported:

  • Shared: in this mode, it is possible to import several models (one after the other) inside a shared container, each of them being located into a separate folder.
  • Standalone: in this mode, each model is imported into a separate Archi model.

Export a model

Exporting a model to the database allows to store all its components (well not really all of them at the moment) in the database rather that in a XML file.

export_model

The window lists the model selected when in standalone mode, or all the models inside the shared container.

The fields are filled in with information retrieve from the Archi model, but it is possible to change all of them. It is even possible to rename the model (as long the ID remains the same).

Changing the ID allows to duplicate the model to a new one. The ID may be customized and must only contain alphanum characters.

It is of course possible to export a model that has not be imported first.

Progress bar

During the import and the export process, a statistics window shows up with a progress bar, which is especially usefull in case of big models that take some time to import or export. import

Clone this wiki locally