BlueWaveTechnologies / BlueWave

Web application used to create charts and dashboards using a graph database
MIT License
5 stars 3 forks source link

Doc Comparison - Add admin capabilities #279

Closed sashatrubetskoy closed 2 years ago

sashatrubetskoy commented 2 years ago

@pborissow Mentioned it would be nice to have a capability for admins to be able to clear the cache, and perform other slightly advanced maintenance tasks. This will require integrating an admin panel somewhere in the tool.

markssss commented 2 years ago

Use the following GET endpoint to hook into the UI refresh index button: /document/RefreshDocumentIndex

markssss commented 2 years ago

Each test iteration should consist of:

  1. Confirm bluewave app is NOT running
  2. Delete BLUEWAVE_HOME/temp/index directory
  3. java -jar target/bluewave-dev.jar -config config.json -delete index
  4. add a few documents/pdfs to the BLUEWAVE_HOME/temp/uploads dir
  5. Start the bluewave app
  6. confirm docs are present http://localhost:8080/DocumentAnalysis
  7. Manually copy additional pdfs to the BLUEWAVE_HOME/temp/uploads dir
  8. Now call/execute http://localhost:8080/document/RefreshDocumentIndex
  9. confirm additional docs are present by refreshing the page http://localhost:8080/DocumentAnalysis
  10. Repeat