Project uses Java 21.
The service can be started from command line with command mvn spring-boot:run or using wrapper ./mvnw spring-boot:run
By default, the server run on port 8080
curl --request POST \
--url http://localhost:8080/devices \
--header 'content-type: application/json' \
--data '{
"deviceType": "Gateway",
"macAddress": "00-B0-D0-63-C2-52",
"upLinkMacAddress": null
}'curl --request GET \
--url http://localhost:8080/devicescurl --request GET \
--url http://localhost:8080/devices/00-B0-D0-63-C2-52curl --request GET \
--url http://localhost:8080/devices/topologycurl --request GET \
--url http://localhost:8080/devices/topology/00-B0-D0-63-C2-52Using in-memory h2 database. The DB console can be accessed here http://localhost:8080/h2-console/
JDBC_URL: jdbc:h2:file:./nddb
username: sa
password: password