Skip to content
The UI to manage the infrastructure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker-release
gradle/wrapper
scripts
sql
src
.gitignore
InfraUiApp - LOCAL - Debug.launch
InfraUiApp - LOCAL.launch
InfraUiGenSql.launch
LICENSE
README.md
build.gradle
create-local-release-no-tests.sh
create-local-release.sh
create-public-release.sh
download-local-plugins-jars.sh
gradle.properties
gradlew
gradlew.bat
settings.gradle
step-clean-compile.sh
step-clean.sh
step-compile-no-tests.sh
step-compile.sh
step-create-docker-image.sh
step-git-tag.sh
step-update-copyrights.sh
step-upload-docker-image.sh
test-ui-local.sh
test-ui-test.sh

README.md

About

The UI to manage the infrastructure of multiple Linux machines.

Usage

Configuration environment

Some configuration options can be overridden with the environment variables:

  • CONFIG_FILE : The path to the config file
  • PLUGINS_JARS : The path to the jars containing the plugings
  • MYSQL_PORT_3306_TCP_ADDR : To change mysqlHostName (used by Docker Links)
  • MYSQL_PORT_3306_TCP_PORT : To change mysqlPort (used by Docker Links)
  • INFINITE_LOOP_TIMEOUT_IN_MS : To change infiniteLoopTimeoutInMs

Configuration file

You need to create a json configuration file that maps the object InfraUiConfig.

Here is an example of the content:

{
	"baseUrl" : "http://infra.localhost",
	"infiniteLoopTimeoutInMs" : 120000,
	"csrfSalt" : "404117EAC615CC20867B2150B",
	
	"mailHost" : "127.0.0.1",
	"mailPort" : 25,
	"mailUsername" : null,
	"mailPassword" : null,
	
	"mailAlertsTo" : "admin@localhost",
	"mailFrom" : "infra-ui@localhost",
	
	"mysqlHostName" : "127.0.0.1",
	"mysqlPort" : 3306,
	"mysqlDatabaseName" : "infra_ui",
	"mysqlDatabaseUserName" : "infra_ui",
	"mysqlDatabasePassword" : "7b6618c64f538a7b181e24642",
	
	"loginConfigDetails" : {
		"appId" : "BC805427E1",
		"baseUrl" : "http://login.localhost",
		"certFile" : null,
		"certText" : null
	},
	"loginCookieSignatureSalt" : "fa7c8c64f538931381e245661"
}

You can then specify the full path of that file as the configFile argument when launching the app or as the CONFIG_FILE environment variable.

Development

Local in Eclipse

To be able to execute the application in Eclipse, you first need to download all the plugins jars:

./download-local-plugins-jars.sh

Then, run InfraUiApp - LOCAL.launch

Local in Docker

Simply execute ./test-ui-local.sh .

TEST in Docker

Simply execute ./test-ui-test.sh .

When done, cleanup by stopping the DB: docker stop infra_ui_db .

You can’t perform that action at this time.