Skip to content

The importer step by step#

The importer is a four-step wizard (Connection, What is imported, Analyze and Import) that brings the Empowerment Center 7 installation to ECenter 8. This page goes through each step with its options and explains how to follow a run and consult the history.

Before you start#

  • You need System administration. Without it, the page says “The importer is used by system administrators.”.
  • Have the inventory data at hand: the URL of the EC7 database, the read user, the schemas and the target connections already created, active, with a catalog and without metadata (see Prepare the migration).
  • There can be only one analysis or import in progress at a time in the whole installation.

Open Administration › Import from EC7. The page is titled Import from Empowerment Center 7. On one side are the wizard's steps, and below the content of each step, the History of analyses and imports. At the bottom, Previous and Next move from one step to another, and a line says the first thing missing in the current step.

Step 1: Connection#

In Connection to the EC7 database you indicate the EC7 database.

Option What it is
JDBC URL The address of the EC7 database, for example jdbc:oracle:thin:@//ec7-db.example.org:1521/EC7 or jdbc:sqlserver://servidor:1433;databaseName=ecenter. Below, Engine says the one it recognizes: Oracle, SQL Server or PostgreSQL.
User and Password Those of the read user. The password is not stored.
Security schema The EC7 security schema. It is mandatory also to import only the metadata: the universes come from it.

Click Check. ECenter connects to the EC7 database and shows a table with one column per schema (the Security one and those of each connection you have already indicated) and one row per kind of element: the Build of each schema and how many rows its tables of Users, Roles, Privileges, Universes, Fact tables, Dimensions, Metrics, Lists, Groupings and Workbooks have. A dash means that the schema does not have that table.

If a schema has no EC7 tables, or one cannot be read, it appears below with the reason. If it cannot connect, a strip says so.

The importer's Connection step with the Check table for the demonstration schemasThe importer's Connection step with the Check table for the demonstration schemas
The importer's Connection step with the Check table for the demonstration schemas

Changing any database detail forgets what Check said: click it again.

Step 2: What is imported#

Security#

Option What it does
The security: folders and privileges, roles and users Imports the security of the whole EC7 installation.
User passwords Also imports the passwords. Only with the security.
EC7 internal key The EC7 internal key with which the passwords are decrypted. It is not stored. Without it, users are left without a password.

The metadata of the connections can be imported without the security, for example to repeat it in another connection: the privileges it uses that do not exist are created unassigned.

Connections#

One row for each EC7 connection that is imported. Click Add connection for each one and Remove to delete a row.

Column What it is
Metadata schema The metadata schema of that EC7 connection. Mandatory.
User metadata schema The user metadata one. Empty, the same as Metadata.
Target connection The ECenter 8 connection into which it is imported: with a catalog and without metadata. Each EC7 connection goes to a different connection.
The What is imported step with the security checked and one EC7 connection towards its target connectionThe What is imported step with the security checked and one EC7 connection towards its target connection
The What is imported step with the security checked and one EC7 connection towards its target connection

If something is missing, the footer line says so. The most frequent problems:

Message What to do
“The URL must be an Oracle, SQL Server or PostgreSQL JDBC one” Check the jdbc:oracle:, jdbc:sqlserver: or jdbc:postgresql: prefix.
“The Security schema is missing (the universes also come from it)” Type it in the Connection step.
“Indicate what is imported: the security, some connection or both” Check the security or add a connection.
“To import the passwords, the EC7 internal key is required” Type the key or uncheck the passwords.
“Choose the connection to import into” Choose the Target connection.
“Each EC7 connection is imported into a different connection” Do not repeat the same target connection.
“La conexión destino «…» está inactiva: actívela en Conexiones para analizar o importar en ella (las agrupaciones y los universos se leen y se comprueban en su base de datos)” The server says it when you click Analyze or Import, and nothing starts: the target connection is inactive (the groupings and universes are read and checked in its database). Activate the connection in Administration › Connections and launch it again.

Step 3: Analyze#

Click Analyze. The analysis changes nothing: it does the whole import in a transaction and rolls it back at the end, so its report says exactly what the import would do.

While it runs, the status says In progress and “Analyzing…”. When it finishes:

  • “Analysis finished with N errors and M warnings: correct the errors before importing.”
  • “Analysis finished with 0 errors and M warnings: it can be imported.”

Read the report (see The report). Correct what is needed, in EC7 or in ECenter 8, and analyze again until there are no errors.

Step 4: Import#

  1. Move to the Import step. If you have not analyzed, a strip says “It is advisable to analyze before importing.”; if the last analysis has errors, it says that the import will not go in until they are corrected.
  2. Click Import….
  3. Confirm in the Import “…” now? dialog with Import.

The import goes in whole or not at all: if the report has any error, nothing is changed and the status is Not imported. If it has no errors, the status is Imported and what was created is recorded in your name in the audit.

When it finishes, continue with After importing.

Follow a run#

An analysis or an import is a server job: you can leave the page and come back, or follow it in the activity. The run shown goes in the page address (?run=12), so you can share the link to a report.

The statuses are:

Status What it means
In progress It is running.
Analyzed The analysis finished. Read its errors and warnings.
Imported The import went in.
Not imported The import had errors and changed nothing.
Failed It was interrupted: it could not connect to EC7, the server stopped or there was an unexpected error. The report carries the reason.

If you try to launch another while one is still in progress, the server rejects it: “An EC7 analysis or import is already in progress”.

If a target connection is deactivated after launching the run, the report states it as an error of that connection, with the same message. As the import is all or nothing, an import with that error changes nothing.

The history#

The History table lists the analyses and imports, from the most recent to the oldest: Start, What was done (Analysis or Import), Status, What (the security, with or without passwords, and the connections), Errors, Warnings and User. View opens its report.

The history keeps no secrets: neither the EC7 database password nor the internal key. The last 20 analyses and all imports are kept, which are the trace of what was imported.

Through the API#

The importer also has its API, with the session of a user with System administration:

Route What it does
POST /api/legacy-import/check What Check does
POST /api/legacy-import/runs Launches an analysis ("mode": "ANALYSIS") or an import ("mode": "IMPORT"): 202 with the run
GET /api/legacy-import/runs The history, without reports
GET /api/legacy-import/runs/{id} A run with its report

It carries the application's CSRF, like any route with a session.

See also#