Commit graph

16 commits

Author SHA1 Message Date
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
João Palet
66d6ec2bd0
Remove deleted resources and datasources from Terraform state on Read (all remaining services) (#346)
* Remove deleted resources and datasources from state on Read

* Simplify code

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix whitespace

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-04-23 08:59:43 +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
9528ca2307
Update Argus ACL documentation (#312)
* update argus ACL docs

* update datasource docs
2024-03-25 14:03:58 +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
João Palet
09d658942c
Fix inconsistent result after updating Argus instance plan (#233) 2024-01-25 11:00:07 +01: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
Vicente Pinto
03d0e28016
Move functions to conversion pkg (#123) 2023-11-03 08:49:05 +00:00
Vicente Pinto
b6100ec8d5
Replace ValuePointer function with custom conversion (#121) 2023-11-02 15:28:06 +00:00
Henrique Santos
8f5850cdf1
Update dependencies (#112)
* Update dependencies

* Remove set timeout

* Remove set sleep before wait

* Update to new signature, remove unnecessary calls

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-27 15:48:54 +01:00
Henrique Santos
9d11098102
Improve region details (#90)
* Make client config error message more clear

* Add missing log

* Add region detail to resource/data source description

* Generate docs

* Remove resourcemanager using region

* Apply changes to MongoDBFlex user

* Generate docs

* Fix wrong description

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-17 16:02:13 +01: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
Henrique Santos
175ce93f85
Fix data source references (#61)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-29 10:12:18 +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