X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=local-setup%2FREADME.md;fp=local-setup%2FREADME.md;h=e8cab90a749022ded9e59a5ecadf67a020dab964;hb=e64f08ac8242a7db6eb3238ee0ad1a30c8aecf0d;hp=0000000000000000000000000000000000000000;hpb=57a4c074857c33ba74dcce1ae4818e56ceb6c603;p=aai%2Ftest-config.git 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