You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ju...@apache.org on 2019/11/20 06:58:11 UTC

[fineract-cn-docker-compose] 39/41: first idea of an integration test

This is an automated email from the ASF dual-hosted git repository.

juhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fineract-cn-docker-compose.git

commit e44bb688e89a04e943225ea2692d5b8176f2a74b
Author: Juhan Aasaru <Ju...@nortal.com>
AuthorDate: Wed Nov 20 08:48:34 2019 +0200

    first idea of an integration test
---
 integration_test.sh | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/integration_test.sh b/integration_test.sh
new file mode 100755
index 0000000..4abf7b4
--- /dev/null
+++ b/integration_test.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+cd external_tools
+docker-compose stop
+docker-compose rm -v -f
+
+docker volume rm external_tools_cassandra-volume
+docker volume rm external_tools_postgres-volume
+
+docker-compose pull
+
+docker-compose up -d
+sleep 180
+cd ..
+
+java -cp external_tools/lang-0.1.0-BUILD-SNAPSHOT.jar  org.apache.fineract.cn.lang.security.RsaKeyPairFactory UNIX > .env
+cat env_variables >> .env
+
+docker-compose stop
+docker-compose rm -f
+docker-compose pull
+
+docker-compose up -d provisioner-ms
+sleep 180
+
+docker-compose up -d rhythm-ms identity-ms customer-ms accounting-ms deposit-ms portfolio-ms office-ms teller-ms fims-web-app
+sleep 180
+
+