Skip to content

Overview i-refactory web app

In this section we introduce the i-refactory web application and its main functionalities.

What does the i-refactory web app do?

The i-refactory web app is a browser application with which you can execute most of the Rest API functions of the i-refactory server in an intuitive way.

Start i-Refactory web app

Before you begin

Starting the i-Refactory web app

In the section below you can find an instruction for starting the web app locally or on a server.

  • If you're working in a local i-Refactory server, you can start a local version of the i-Refactory web app.
  • If you're working at a company, the i-Refactory web app is probably already installed on a company server. You can navigate to the i-refactory web app url provided by your company.

Starting the i-Refactory web app locally

  1. Start the i-Refactory web app
  2. If you use Docker: start irefactory-i-refactory, i-refactory-sql-server-db, and irefactory-oauth2.
  3. If you use Windows and no Docker:
    1. Make sure you have Nodejs installed
    2. Open a command line in the i-refactory-engine folder
    3. Type node src in the command line.
  4. Start your browser
  5. Go to the following url: https://localhost:3002. A login page appears. login web app
  6. Enter your Username and Password
  7. When you've entered your Username and Password correctly, the page with the overview of active deliveries is automatically opened. monitor

Tip

You can find your username and password in the section users in the config-oauth2.json file.

Starting the i-Refactory web app on a server

  1. Start your browser
  2. Go to the url that is provided by your company. A login page appears. login web app
  3. Enter the Username and Password that is provided by your company.

When the application is started, you will see the Delivery Monitor screen. The monitor presents an overview of all the active deliveries, their tasks and status. You have the ability to show details for each task, retry failed tasks et cetera.

The figure below shows an example page of our web application.

i-refactory web application

  1. In the top left of the page, you will see the three lines. Click on it to show a drop down navigation menu. Navigation menu
  2. On the top right of the page, you will see three vertical dots. Click on it to log out.
  3. The donut graphs represent the updates per layer. The graphs represent the number of active entity updates per Layer and their status.
  4. In this section you will see the details of the active delivery. For each active delivery you can see the status, start time, elapsed time and entity updates per layer, per status.
  5. Click on the ˆ to expand the details of the active delivery. Here you'll see the entity update for a specific segment.

How to use the i-refactory web app functions?

Start i-Refactory web app for the first time

If you start the i-Refactory for the first time, you need to configure the settings, deploy a data model, add a tenant and a delivery agreement.

Settings:

Model deployment:

Delivery agreements:

During model deployment

During model deployment you need to import the metadata of the data model in the i-Refactory web app. This will update the information about the data model in the i-refactory database. You can also set model constraints or delivery agreement specific constraints.

Model deployment:

Delivery agreements:

Deliveries

After you've configured the i-Refactory web app, you can create, monitor and analyze a delivery.

Deliveries:

User roles

i-refactory has five user roles: DataManager, DataOperator, DataViewer, Developer and SystemManager.

  • DataViewer: The DataViewer role gives users read permission in the i-Refactory GUI, with the exception of violated records as they contain (sensitive) reported customer data. This also applies for data retrieval (GET) requests for the API.

  • DataManager is a user who manages the supply contracts with the customers (tenants). A DataManager has the following permissions:

    • View and remove constraint violations of a delivery
    • Import data model
    • Archive data model
    • Alter constraint settings (create & remove of constraints are performed by a data model import)
    • Create, alter and remove delivery agreement constraint settings
    • Create and alter delivery agreement settings
    • Create, alter and delete tenant
  • DataOperator is the user who manages the data delivery process. A DataOperator has the following permissions:

    • Create and reject delivery
    • Alter deliverable entity status
    • Alter constraint settings
    • Alter delivery agreement constraint settings
    • Alter Architecture layer settings
    • Alter Interface settings
    • Alter base entity settings of an interface
    • Alter entity settings of an interface
    • Alter helper entity settings of an interface
  • Developer gives a user the option to cancel a failed (FAILED) delivery. Canceling a delivery will stop all pending actions and leave the databases in the current state, even if it is a failed state.

  • SystemManager is a user who manages the i-refactory system settings (connection, databases, architecture layer). A SystemManager has the following permissions:

    • Create, alter and delete database settings
    • Alter Connection Settings