...
- Build and start A&AI simulator
Code Block language bash $ cd ~/has/conductor/conductor/tests/functional/simulators $ ./build_aaisim.sh $ ./run_aaisim.sh
Note: DNS name resolution issue may arise during building the simulator, because it needs the **web** Python package. TBD: Provide more detailed instructions. How does one there is an issues? what can one do about it?
- Verify A&AI Simulator (Hint: in examples, 0.0.0.0 is IPAddress of A&AI container as per $ docker container ls)
- $ docker container ls
- expected result: image names should include: aaisim
- $ curl http://0.0.0.0:8081/healthcheck
- expected result: {"status": "success"}
- $ curl http://0.0.0.0:8081/aai/v13/cloud-infrastructure/cloud-regions/
- expected result: {"cloud-region": [{"group-assignments": ...much more...
- Build and start MUSIC
- Configure access to MUSIC:
Edit music/distribution/dockermusic/music.sh to change user/password:
Code Block language bash ```text -CASS_USERNAME=cassandra1 -CASS_PASSWORD=cassandra1 +CASS_USERNAME=conductor +CASS_PASSWORD=c0nduct0r ```
Edit music/distribution/dockermusic/properties/music.properties to change user/password:
Code Block language bash ```text -cassandra.user=cassandra1 -cassandra.password=cassandra1 +cassandra.user=conductor +cassandra.password=c0nduct0r ```
Build and start MUSIC containers
Code Block language bash $ cd ~//music/distribution/dockermusic
$ ./music.sh start
- Verify MUSIC components
- $ docker container ls
- expected result: image names should include:
- music-tomcat
- music-zk
- music-war
- music-db
...