...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
my.id=0 all.ids=0 my.public.ip=localhost all.public.ips=localhost ####################################### # Optional current values are defaults ####################################### # If using docker this would point to the specific docker name. #zookeeper.host=localhost #cassandra.host=localhost #music.ip=localhost #debug=true #music.rest.ip=localhost #lock.lease.period=6000 # Cassandra Login - Do not user cassandra/cassandra cassandra.user=<new_user> cassandra.password=<new_password> # AAF Endpoint #aaf.endpoint.url=<aaf url> |
...
Build Music
Documentation will be updated to show that. Code can be downloaded from Music Gerrit.
To build you will need to ensure you update your settings with the ONAP settings.xml (Workspace and Development Tools)
...
Make a directory for MUSIC logs. The logs will be placed here after MUSIC starts
Code Block language bash theme Midnight title music.properties mkdir /opt/app/music/logs
Build the MUSIC.war and place in tomcat webapps dir.
Download MUSIC from the Music Gerrit into your music folder (/opt/app/music/)
Code Block language bash theme Midnight cd /opt/app/music/ git clone https://gerrit.onap.org/r/music
Build music
- Authentications/AAF Setup For Authentication setup.
- Start tomcat and you should now have MUSIC running.
...
using maven
Code Block language bash theme Midnight cd music # If you installed settings.
...
xml in your ./m2 folder mvn clean package
...
If the build is successful, you will find the MUSIC.war in the ./target folder.
...
Copy this to your tomcat's webapp folder
Code Block language bash theme Midnight cp target/MUSIC.WAR $TOMCAT_HOME/webapps
Start tomcat and you should now have MUSIC running.
There is a folder called postman that contains a postman collection for testing with postman.
...
Continue with Authentication
...