coner-tech / coner-core

DEPRECATED A REST API for autocross event operations
GNU Affero General Public License v3.0
7 stars 3 forks source link

Allow inspection of in-memory HSQLDB, closes #168 #169

Closed carltonwhitehead closed 7 years ago

carltonwhitehead commented 7 years ago

To enable, start service with a config file containing the below settings:

database.url: Contains :hsqldb:mem: database.properties.org.coner.core.task.HsqlDatabaseManagerSwingTask: true

To start the HSQL DatabaseManagerSwing, POST http://localhost:8081/tasks/org.hsqldb.util.DatabaseManagerSwing

If the above mentioned settings are set correctly, the POST will respond with HTTP status 200, and org.hsqldb.util.DatabaseManagerSwing will appear on the display of the service's host.

If the above mentioned settings are not set correctly, the POST will respond with HTTP status 404, and no further action will be taken.