UA-Smart-Signage-Platform / Content-Manager-System-and-Content-Creator-Tool

Content Manager System and Content Creator Tool developed to facilitate the presentation of information.
GNU General Public License v3.0
1 stars 0 forks source link

influxdb, add influxdb logs to backend #87

Closed Rafa548 closed 6 months ago

Rafa548 commented 6 months ago

Issue

Closes #86.

Reason for this change

Logs were local/temporary

Description of changes

Docker file now has influxdb and configuration files New controller for logs (currently 1 endpoint that returns all backend logs) BackendLogs class (Monitor logs could be different (and should be added in the future)) LogsService (connects to influxdb and has a method to write logs) New configuration file to use influx properties

Description of how you validated changes

Get request in the getFilesAtRoot endpoint was done to insert logs. Confirmed the insertion in the InfluxDB interface. Did the get (logController), and it returned the logs in the format that was expected.

Checklist

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud