For UUI UI and UUI server, we can start corresponding services on Windows system for debugging. In Windows system, the configuration is simple, the debugging is convenient, and the modified code can be verified quickly. In this article, detailed configuration methods are provided.

1. UUI Server configuration

UUI server is a service developed based on springboot. It can be started in the way of springboot service. Here, some additional configuration is required.

1.1. Environment variables configuration

In UUI server, the interfaces of SDC / so / AAI / MSB and other services will be called through MSB, so the IP and port information of MSB need to be configured in the form of environment variables. At the same time, you also need to configure main class, working directory, JRE and other information. Taking IntelliJ as an example, the corresponding configuration information is shown as follows:

1.2. PostgreSQL configuration

UUI server uses the PostgreSQL database, so we need to install and configure the PostgreSQL database on windows.

1.2.1. Install the PostgreSQL database

The PostgreSQL version used in UUI server is 13.4, so you can choose the similar 13.5 version on Windows platform to download and install.

1.2.2. Configuring the PostgreSQL database

During PostgreSQL installation, you can configure it according to the following information.


Ensure that the configuration in PostgreSQL is consistent with that in application.properties of UUI server.

1.2.3. Configure Client Authentication

Configure client authentication in the pg_hba.conf file in Postgresql installation directory. For debugging purposes, you can simply configure it as "trust".

1.2.4. Create database and data table

You can create corresponding databases and data tables in the PostgreSQL database according to the uui_create_db.sql/uui_create_table.sql/uui_init_data.sql under standalone\SRC\main\assembly\resources\dbscripts\Postgres\. You can use PostgreSQL GUI tools such as Pgadmin for quick configuration.

2. UUI UI configuration

2.1. Configure the IP and port information of the server

In proxy.conf.json, you need to configure the IP and port information of UUI server, as follows:


If the UUI server is a local service, you can use localhost as the IP address. If it is not a local service, configure the corresponding IP and port information.

2.2. Start UUI UI service

   Use the "npm run server" command to start the UUI service. After it is started correctly, log in http://localhost:4200/ to access the UI interface and debug the corresponding code.

  • No labels