summaryrefslogtreecommitdiffstats
path: root/local-setup/README.md
diff options
context:
space:
mode:
authorkurczews <krzysztof.kurczewski@nokia.com>2019-01-07 07:10:10 +0100
committerkurczews <krzysztof.kurczewski@nokia.com>2019-01-07 07:27:21 +0100
commite64f08ac8242a7db6eb3238ee0ad1a30c8aecf0d (patch)
treed152c7418987fe79260943a6c8b1467d201f69cb /local-setup/README.md
parent57a4c074857c33ba74dcce1ae4818e56ceb6c603 (diff)
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 <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'local-setup/README.md')
-rw-r--r--local-setup/README.md34
1 files changed, 34 insertions, 0 deletions
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