From e64f08ac8242a7db6eb3238ee0ad1a30c8aecf0d Mon Sep 17 00:00:00 2001 From: kurczews Date: Mon, 7 Jan 2019 07:10:10 +0100 Subject: Add simplified local setup Simplify local setup described at: https://wiki.onap.org/display/DW/AAI+Developer+Environment+Setup+-+Casablanca * simplified janus-server setup * simplified haproxy setup * added docker-compose * introduce automatic tests for containers * added run instruction Issue-ID: AAI-2049 Change-Id: I7c033c6a4464f3da94bdf11566060693c0f8b005 Signed-off-by: kurczews --- local-setup/README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 local-setup/README.md (limited to 'local-setup/README.md') diff --git a/local-setup/README.md b/local-setup/README.md new file mode 100644 index 0000000..e8cab90 --- /dev/null +++ b/local-setup/README.md @@ -0,0 +1,34 @@ +# Local setup for AAI + +### Usage + +Build dev images: + +``` +mvn clean package +``` + +Run integration tests: + +``` +mvn clean verify -P integration-test +``` + +### Start local AAI + +1. Janus setup + +Modify both `janus-cached.properties` and `janus-realtime.properties` to the following (for all micro-services that will connect to the local Cassandra backend) + +``` +storage.backend=cassandra +storage.hostname=localhost +storage.cassandra.keyspace=onap # or different keyspace name of your choosing +``` + +2. Start compose + +``` +cd src/main/docker +docker-compose up --force-recreate +``` \ No newline at end of file -- cgit 1.2.3-korg