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
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
Vicente Pinto
9d3d888178
Small acc test fixes ( #279 )
2024-02-26 16:01:12 +00:00
João Palet
dfc9e391d5
Fix Argus Scrape Config SAML2 field default ( #239 )
...
* Fix Argus Scrape Config SAML2 field default
* Adjust acceptance test
2024-01-31 10:05:48 +01:00
João Palet
bb8df8b1b2
Extend Argus acc test to update instance plan ( #236 )
...
* Extend Argus acc test to update instance plan
* Update Argus SDK module to have longer wait timeouts
2024-01-26 18:38:17 +01:00
Piet van der Meulen
c975a933bc
add sample limit for argus scraper jobs ( #219 )
...
* add sample limit for argus scraper jobs
* adjust range
* Add sampleLimit to acceptance test
* Fix missing config
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2024-01-18 14:13:54 +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
fee47a6400
Rename DSA credentials to credential ( #76 )
...
* Rename in LogMe
* Rename in other DSA
* Rename examples
* Rename folder names
* Rename in error messages
2023-10-11 09:54:08 +02:00
Henrique Santos
7354808f02
Update services dependencies ( #64 )
...
* Update services dependencies
* Move reference
---------
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-04 15:18:23 +01: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