Table of Contents
Airsupply Integration Tests
Airsupply integration tests are contained in the module “airsupply-integration”. They are implemented as JUnit tests.
A small documentation can be found in the file “read.me” in the root of module “airsupply-integration”.
But…I couldn't bring it running, so I've used the OpenStack database, which every Airsupply developer should have. Here the quick start (using database running on OpenStack):
- change
dbschema.propertiesas follows:
airsupply.integration.db.url=jdbc:oracle:thin:@10.15.129.57:1521:orcl airsupply.integration.db.user=AIRS_LOCAL_MIGRATION_VKA airsupply.integration.db.password=AIRS_LOCAL_MIGRATION_VKA airsupply.integration.db.setupdatabase=false # first time it should be set to true
- Important: the database should contain the table
AIRSUPPLYINEGRATIONTESTSCHEMA. I don't know whether it is important or not, but my table contains only one columnDUMMYwith typeNUMBER(38,0). Maybe it is only necessary to have the table and it is not important how many and which columns it have.
Misc
Docker problems on Windows
Docker for Windows 8.1
There is no up-to-date Docker version for Windows 8.1. So “Docker Toolbox” should be installed.
Image installation with self-signed certificates
Docker seems to have problems fetching image if the repo has self-signed certificates. The certificates should be exported (e.g. from Chrome) as “Base64…” and renamed from “xyz.cer” to “xyz.pem”. And after that copied to the virtual machine. The full description can be found on StackOverflow Docker on Windows (Boot2Docker) - certificate signed by unknown authority error
