Repository for the Atlas Explorer Tool service layer
./gradlew test
./gradlew build docker
The default tag is the github branch name if no verison is provided
To pass a version when building the docker image execute
./gradlew build docker -Ptag=<tagNumber>
docker kill spring
cd ~/proj/heavens-docker/atlas/knowledge-environment
docker-compose -f docker-compose.dev.yml up -d
docker-compose -f docker-compose.dev.yml logs --f spring
- Update .env ENV_MYSQL_HOST to the IP address of QA KE
- Update .env ENV_MYSQL_PASSWORD to the password for QA KE
- Add your IP address to a new security group called sg-0597e054f11d2e31a (Developer to KE Mariadb)
- Restart your knowledge-environment (don't worry that you have your own copy of mariadb, it'll be ignored)
If you have already followed these steps and are still having trouble connecting, check to see if your ip address has changed, you may need to update the security group rules
- Start up your atlas/knowledge-environment server
- Open a tool like GraphQLPlayground and connect to "http://localhost:3030/graphql"
- Write and execute your query
Notes to ourselves about the non-dynamic nature of some things in the app (this is not exhaustive)
- The endpoint
getDataTypeInformationByParticipant
is only partially dynamic. If we add new data types to the Spatial Viewer, it will pick those up without an issue, BUT if/when we add new data types to the Explorer, we will need to update the code that gets counts for data types in Explorer to include the new one.