Diogo Ferrão
a35b887315
Onboard Argus alert configs ( #449 )
...
* Onboard Argus alert config receivers (#439 )
* initial schema and to payload
* finish receiver resource implementation (schema, topayload and mapfields)
* fix toUpdate payload lists
* fix resource and datasource on alert config attr removal, add testing
* fix linting and testing
* initial test map fields
* improve testing, remove logging
* rename vars in acc testing
* refactor mapAlertConfig
* improve mock alert config, fix testing
* make the mock alert config receivers match the default
* generate docs
* Onboard Argus Alert Config global configuration (#446 )
* initial implementation
* initial map fields
* extend datasource, finish resource impl and extend acc testing
* remove unmapped fields
* add all attributes back
* remove commented inhibit rules
* generate docs, fix testing
* address PR comments
* Onboard Alert Config route (#447 )
* Initial implementation
* add schema to datasource, improve acc testing
* fix linting, generate docs
* address PR comments
* fix and improve acceptance tests
* update test titles (comments)
* address acceptance comments (#452 )
* Onboard Argus Alert Config child routes in Route (#463 )
* initial schema and map fields implementation
* initial working solution
* improve implementation, generate docs
* fix description, add more unit testing
* address PR comments
* add unit and acc testing, fix datasource schema, fix plan_id mapping
* add checks to acceptance testing
* update acceptance tests
2024-07-18 15:05:35 +01:00
Diogo Ferrão
a5fd87c367
Revert "Improve Argus metrics data retention policy ( #401 )" ( #404 )
...
This reverts commit 33e4417e61 .
2024-06-14 11:14:55 +01:00
Diogo Ferrão
33e4417e61
Improve Argus metrics data retention policy ( #401 )
...
* update argus instance examples
* Set update metrics to default when not provided
* address PR comments
2024-06-12 16:28:46 +01:00
Diogo Ferrão
f941e53b15
Allow users to set Argus metrics storage retention policy ( #393 )
...
* implement crud commands
* resource testing
* acceptance tests
* move function to utils, cleanup tests
* fix linting
* use conversion pkg for int conversion, extend testing
* address PR comments
* address PR comments
2024-06-06 16:54:03 +01:00
Diogo Ferrão
394d5bf8d6
Onboard Argus (ACL): fix edge cases ( #314 )
...
* fix empty acl update/create, update CIDR validator
* fix sigsegv in test, acl description
* Split field mapping, better handle edge cases
* Update stackit/internal/services/argus/instance/resource.go
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
---------
Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-26 13:54:09 +00:00
Diogo Ferrão
c2389be47b
Onboard Argus ACL ( #304 )
...
* resource create and schema/model
* consider empty value in resource creation
* Address issue in mapfields that came up in testing
* Unit testing the mapFields func
* extend update
* extend read
* extend datasource.go
* update example
* extended acceptance tests and generated docs
* update description and comments
* improve messages and var names, fix update acceptance test
* extend acceptance tests, improve error messages
2024-03-22 17:35:10 +00:00
Henrique Santos
c7effac5c7
Update SDK dependency ( #177 )
...
* Update dependencies
* Update dependencies
* Update dependencies
* Update dependencies
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-12-21 09:33:36 +00:00
João Palet
f8c9e4c0af
Move internal packages into internal folder ( #33 )
...
* Move internal packages into internal folder
* Fix testutil imports
2023-09-26 19:44:16 +02:00