terraform init -upgrade
terraform plan -out main.tfplan
terraform apply main.tfplan
terraform plan -destroy -out main.destroy.tfplan
terraform apply main.destroy.tfplan
- Private Key must be saved so that a Connection to the VM is possible.
touch id_rsa.pem
- Owner of Private Key will have Read and Write Permissions, while the Group and others will have no Permissions for Private Key.
chmod 600 id_rsa.pem
- Connect to VM as User
mvdadmin
by using Private Key.
ssh -i ~/.ssh/azure/id_rsa.pem [email protected]
- The Prerequisite is that Java 17, Docker and Docker Compose are installed
./gradlew build -x test
./gradlew -DuseFsVault="true" :launchers:connector:shadowJar
./gradlew -DuseFsVault="true" :launchers:registrationservice:shadowJar
- The Configuration
src/assets/config/app.config.json
needs to be updated with the current IP Address of the VM
{
"apiKey": "ApiKeyDefaultValue",
"managementApiUrl": "http://20.170.12.156:9192/api/v1/data",
"catalogUrl": "http://20.170.12.156:9191/api/v1/data/",
"storageAccount": "company2assets",
"storageExplorerLinkTemplate": "storageexplorer://v=1",
"theme": "theme-2"
}
export MVD_UI_PATH=../../DataDashboard
cd system-tests/
sudo docker compose --profile ui -f docker-compose.yml up --build
- When the following Error is displayed:
failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount123456789/Dockerfile: no such file or directory
, then the Setting of theMVD_UI_PATH
Variable does not work - The Solution is to set the UI Path manually to
../../DataDashboard
in thedocker-compose
File
conn_str="DefaultEndpointsProtocol=http;AccountName=company1assets;AccountKey=key1;BlobEndpoint=http://127.0.0.1:10000/company1assets;"
az storage container create --name src-container --connection-string $conn_str
az storage blob upload -f ./deployment/azure/terraform/modules/participant/sample-data/text-document.txt --container-name src-container --name text-document.txt --connection-string $conn_str