A valid license is required upon pressing the start button in the G30L0 Infosystem and upon pressing the yg30l0calcgeoloc button in the Customer screen.
Use the [ESDK client api] (https://documentation.abas.cloud/en/esdk/#_use_the_esdk_client_api) for validating the license.
To make the tests run a cloud-connect installation is necessary, for Travis CI add the following to the .travis.yml file:
- mkdir -p cloud-connect
- wget -qO- 'https://esdk-hybrid.eu.abas.cloud/cloud-connect.tgz' | tar xfz - --directory cloud-connect
- sed -e "s/hostname/$(hostname)/g" ci/configuration.json > cloud-connect/configuration.json
- cloud-connect/setup.sh -n --tenant-configuration $TENANT_SECRET
- cloud-connect/run.sh
Also add the file configuration.json to the ci directory within your project:
{
"version": 1,
"installation_mode": 2,
"tenant": "esdk-hybrid",
"domain": "eu.abas.cloud",
"aws_region": "eu-central-1",
"stage": "prod",
"options": {
"useSSH": true,
"docker_host": "hostname",
"cloud_connect_host": "hostname",
"awslogsEnabled": "true"
},
"apps": {
"screenFetcher": {
"install": false,
"generate_all_screens": false
}
},
"add_ons": {
"fts": {
"install": false
}
},
"services": {
"environment": {},
"license_server": {
"enabled": true
},
"jwt": {
"port": 19951,
"userSyncMode": "full",
"workspaces": "26a",
"permissions": "26"
},
"workflow": {
"host": "localhost",
"port": 8088,
"enabled": false
},
"bapps": {
"host": "localhost",
"port": 9990,
"enabled": false
},
"search": {
"host": "localhost",
"port": 9200,
"enabled": false
},
"erp": {
"host": "hostname",
"port": 6560,
"user": null,
"ssh": {
"user": "s3",
"port": 2205
},
"password": "sy"
}
}
}
Due to an open issue you have to add the following lines to your build.gradle file in order to have the test coverage calculated correctly:
test {
jacoco {
excludes += ['**/*']
}
}
calculateCodeCoverage {
...
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(it).matching {
include "de/abas/esdk/g30l0/**/*.class"
}
})
}
}
codeCoverageVerification {
afterEvaluate {
classDirectories = files(classDirectories.files.collect {
fileTree(it).matching {
include "de/abas/esdk/g30l0/**/*.class"
}
})
}
}
A valid license is required upon pressing the start button in the G30L0 Infosystem and upon pressing the
yg30l0calcgeolocbutton in the Customer screen.Use the [ESDK client api] (https://documentation.abas.cloud/en/esdk/#_use_the_esdk_client_api) for validating the license.
To make the tests run a cloud-connect installation is necessary, for Travis CI add the following to the
.travis.ymlfile:Also add the file
configuration.jsonto thecidirectory within your project:{ "version": 1, "installation_mode": 2, "tenant": "esdk-hybrid", "domain": "eu.abas.cloud", "aws_region": "eu-central-1", "stage": "prod", "options": { "useSSH": true, "docker_host": "hostname", "cloud_connect_host": "hostname", "awslogsEnabled": "true" }, "apps": { "screenFetcher": { "install": false, "generate_all_screens": false } }, "add_ons": { "fts": { "install": false } }, "services": { "environment": {}, "license_server": { "enabled": true }, "jwt": { "port": 19951, "userSyncMode": "full", "workspaces": "26a", "permissions": "26" }, "workflow": { "host": "localhost", "port": 8088, "enabled": false }, "bapps": { "host": "localhost", "port": 9990, "enabled": false }, "search": { "host": "localhost", "port": 9200, "enabled": false }, "erp": { "host": "hostname", "port": 6560, "user": null, "ssh": { "user": "s3", "port": 2205 }, "password": "sy" } } }Due to an open issue you have to add the following lines to your
build.gradlefile in order to have the test coverage calculated correctly:test { jacoco { excludes += ['**/*'] } } calculateCodeCoverage { ... afterEvaluate { classDirectories = files(classDirectories.files.collect { fileTree(it).matching { include "de/abas/esdk/g30l0/**/*.class" } }) } } codeCoverageVerification { afterEvaluate { classDirectories = files(classDirectories.files.collect { fileTree(it).matching { include "de/abas/esdk/g30l0/**/*.class" } }) } }