Commit graph

25 commits

Author SHA1 Message Date
Marcel Jacek
24b7387db9
feat: add logging for trace id (#1061)
relates to STACKITTPR-290
2025-11-27 10:06:18 +00:00
Ruben Hönle
52b879b436
refactor(docs): remove duplicate util func to format possible values (#1050) 2025-11-11 16:24:48 +01:00
stackit-pipeline
b32eedd4b4
fix(deps): update stackit sdk modules (#903)
* fix(deps): update stackit sdk modules

* Adjust git and mongodb regarding sdk changes

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-07-28 09:20:55 +02:00
Ruben Hönle
189fa1ece7
feat(mongodbflex): region adjustment (#914)
relates to STACKITTPR-282
2025-07-21 12:37:47 +00:00
Ruben Hönle
b313ef6a39
chore(terraform): use a util func to build internal terraform id (#869) 2025-06-12 14:41:57 +02:00
Marcel Jacek
a47fac0ae7
feat(mongodb): set point_in_time_window_hours as required (#860)
* feat(mongodb): set point_in_time_window_hours as required

* docs update
2025-05-23 14:06:13 +02:00
Ruben Hönle
06af447d61
feat(mongodbflex): set custom user-agent header for STACKIT API calls (#840)
relates to STACKITTPR-184
2025-05-16 15:35:34 +02:00
Marcel Jacek
a8809a4979
fix(mongodb): store partial state (#752)
* fix: mongodb store partial state
 - avoid that an instance is created but not stored in terraform because an error occurred

* add nil checks for CreateInstance response
2025-03-31 14:53:45 +02:00
Marcel Jacek
6dc6f4129c
fix: add required replace for replicas field in mongodb instance (#723) 2025-03-19 13:36:55 +01:00
Rüdiger Schmitz
c257ac49e2
Fix/stackittpr 102 objectstorage handling region in individual resources (#711)
* Revert "fix: make resource/data-source specific region attribute read-only (#682)"

This reverts commit 3e8dcc542b.

* fix: Support individual regions

* fix: review findings
2025-03-12 09:49:47 +00:00
João Palet
2810545ef7
Add additional backup configurations to MongoDB Flex instance resource (#486)
* Extend resource and datasource

* Extend acc test

* Extend example

* Generate docs

* Fix linter

* Update stackit/internal/services/mongodbflex/instance/datasource.go

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>

---------

Co-authored-by: GokceGK <161626272+GokceGK@users.noreply.github.com>
2024-07-31 10:55:14 +01:00
Vicente Pinto
335e1cabb6
Add sqlserverflex instance (#381)
* Draft implementation sqlserverflex instance

* Finish implementation

* Fix acc test

* Changes after review
2024-05-31 15:54:05 +01:00
Diogo Ferrão
035efbd309
Fix replacement of mongoDB instances, make storage class require replace (#350)
* hotfix replacement of mongodb instances by adding delay to delete

* improve explaining comment

* increase delay time

* improve comments regarding the wait timer
2024-04-30 16:10:54 +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
9bd1da7cee
Bugfix inconsistent applies of ListAttributes (#328)
* sort the list of ACLs for MongoDBFlex

* Fix and test other cases of ListAttribute ordering

* fix linting

* revert sorting changes, introduce new reconcilestrlist function

* merge main

* Fix rabbitmq

* fix segmentation fault

* Improve testing

* pass context to mapfields, minor name fixes
2024-04-16 11:20:19 +01:00
João Palet
f0890f9ddf
Add description for MongoDB Flex instance backup_schedule field (#282) 2024-03-04 15:55:07 +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
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
João Palet
25992d6ae4
Increase create and update timeouts for instances (#103) 2023-10-24 17:57:47 +02:00
Henrique Santos
c3618f2b63
Update SDK dependencies (#100)
* Update dependencies

* Fix tests

* Fix field assignment

* Update field assignment

* Remove unused functions

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-24 14:54:04 +01:00
João Palet
e61bfe09a5
Set backupSchedule as required in MongoDB Flex instance (#96)
* Set backupSchedule as required in MongoDB Flex instance

* Update example and generate docs

* Add regex explanation comment

* Fix acceptance test

* Fix map fields
2023-10-20 14:38:19 +02: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
João Palet
ade77eb544
Onboard MongoDB Flex instance (#86)
* Onboard instance resource

* Add options.type as required field

* Implement resource unit tests

* Implement data source

* Implement acc tests

* Adjust update acc test

* Fix typo

* Adjust update unit tests

* Adjustments after review

* Minor adjustment for uniformity

* Adjustments after review
2023-10-17 11:20:22 +02:00