User Tools

Site Tools


airsupply_integration_tests

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
airsupply_integration_tests [2020/02/26 10:49] – created kalaschnikowairsupply_integration_tests [2020/02/26 14:59] (current) – [Airsupply Integration Tests] kalaschnikow
Line 1: Line 1:
 +====== 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.properties'' as follows:
 +<code properties>
 +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
 +</code>
 +
 +  * Important: the database should contain the table ''AIRSUPPLYINEGRATIONTESTSCHEMA''. I don't know whether it is important or not, but my table contains only one column ''DUMMY'' with type ''NUMBER(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 [[https://stackoverflow.com/questions/31205438/docker-on-windows-boot2docker-certificate-signed-by-unknown-authority-error|Docker on Windows (Boot2Docker) - certificate signed by unknown authority error]]