Commit Graph

6 Commits

Author SHA1 Message Date
Jack
b8b7cc6be3
Feature/support bazarr (#214)
* remove the branch requirement to run tests

feature/support-bazarr

* lint makefile

feature/support-bazarr

* add bazarr to readme

feature/support-bazarr

* also comment out release image as we only want tests to happen

feature/support-bazarr

* initial changes to start attempting to pull bazarr i thinnk?

feature/support-bazarr

* make it only run the tests, but skip release image

feature/support-bazarr

* add a genric makefile to build container localy, run and test

feature/support-bazarr

* rename build command

feature/support-bazarr

* add pic and grafana dashboard adjustments

feature/support-bazarr

* refactor metrics to just be contained within 1 class

* add logic to allow csv values to params

* remove some todos

* make api version optional

feature/support-bazarr

* adjust makefile to auto kill and start

feature/support-bazarr

* remove now invalid test

feature/support-bazarr

* add a test for no api version instead

feature/support-bazarr

* add a test to enforce csv params moving forward

feature/support-bazarr

* add saml payloads for all endpoints, add test that mocks and verifies result

feature/support-bazarr

* Update .env.dist

* Update .gitignore

* Update internal/client/client.go

* add a tidy task

---------

Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
2023-10-08 02:32:59 -04:00
Russell Troxel
6dcb7b4d92
Add Sabnzbd Support (#141)
* Add Sabnzbd Support

Signed-off-by: Russell Troxel <russell@troxel.io>

* Fix collector name in sabnzbd logger

Signed-off-by: Russell Troxel <russell@troxel.io>

---------

Signed-off-by: Russell Troxel <russell@troxel.io>
2023-04-03 19:59:42 -04:00
Russell Troxel
73fbf8dfaf
Add Panic Recovery & Logging to Client JSON Unmarshalling (#139) 2023-03-28 14:33:13 -04:00
Russell Troxel
78c9991d1e
(2/3) Use Cobra, Koanf, and Ozzo rather than urfave/cli (#114)
* Refactor to use Cobra and Koanf for CLI parsing

Signed-off-by: Russell Troxel <russell.troxel@segment.com>

* use gookit/validate rather than ozzo-validation

Signed-off-by: Russell Troxel <russell.troxel@segment.com>

---------

Signed-off-by: Russell Troxel <russell.troxel@segment.com>
2023-03-18 07:31:35 -04:00
Russell Troxel
05b277dec9
fix: Fix Query Param addition in client.go (#116)
Signed-off-by: Russell Troxel <russell.troxel@segment.com>
2023-03-17 16:04:26 -04:00
Russell Troxel
3d59a7a462
[Refactor] (1/2) Refactor client to leverage a custom Transport & url.URL (#106)
* Refactor Client & Add Retries

Signed-off-by: Russell Troxel <russelltroxel@gmail.com>

* Add Tests

Signed-off-by: Russell Troxel <russelltroxel@gmail.com>

* Catch a few missed DoRequest callsites

Signed-off-by: Russell Troxel <russelltroxel@gmail.com>

---------

Signed-off-by: Russell Troxel <russelltroxel@gmail.com>
2023-03-13 18:59:20 -04:00