Commit graph

38 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
27e4ef0227
fix(objectstorage): allow to change credentials group id of credential (#995)
relates to STACKITTPR-344, #963
2025-09-16 14:51:03 +02:00
stackit-pipeline
ba6ee8bd23
fix(deps): update stackit sdk modules (#988)
* fix(deps): update stackit sdk modules

* chore(objectstorage): Attribute expires is now a NullableString

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-09-10 09:54:38 +02: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
Ruben Hönle
5e5404b459
chore(terraform): refactor region overrides in mapping funcs (#872) 2025-06-06 16:17:02 +02:00
Ruben Hönle
0733ccbec9
fix(objectstorage): handle bucket not empty error on bucket delete (#865)
relates to STACKITTPR-215
2025-05-28 11:59:32 +02:00
Alexander Dahmen
f572b5c386
feat(objectstorage): Min/Max acceptance tests (#850)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-05-20 13:55:49 +02:00
Ruben Hönle
1ff75104dd
feat(objectstorage): set custom user-agent header for STACKIT API calls (#836)
relates to STACKITTPR-184
2025-05-16 08:22:06 +02:00
Marcel Jacek
d6749b6ce3
fix(STACKITTPR-168): improve error messages (#762)
* remove deprecated argus resources

* improve error messages
2025-04-04 14:18:16 +02:00
Alexander Dahmen
f5f99d1709
fix(objectstorage): Removed unused attributes from datasource (#744)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-28 09:46:20 +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
Marcel Jacek
380ff8c6d8
fix: expiration_timestamp of "stackit_objectstorage_credentials" cannot be parsed (#693)
* fix: expiration_timestamp of ```stackit_objectstorage_credentials```cannot be parsed

* implement review feedback
2025-02-24 14:19:16 +01:00
Marcel Jacek
8f2435be05
fix: new region field in object storage forces recreation (#689) 2025-02-21 15:12:39 +01:00
Alexander Dahmen
a0c2c30ced
Ft/rework acceptance tests follow up (#684)
* Enable CI

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

* Add default local file for IaaS image test

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

* Opensearch acceptance test typo

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

* Postgresflex acceptance test fix ignore

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

* Redis acceptance test remove mid uuid

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

* Objectstorage acceptance test ignore region for import

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

* Add more environment variables for CI build

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

---------

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-02-20 13:36:31 +01:00
Rüdiger Schmitz
3e8dcc542b
fix: make resource/data-source specific region attribute read-only (#682)
* fix: make resource/data-source specific region attribute read-only

* fix: implemented review feedback
2025-02-18 10:51:34 +01:00
Rüdiger Schmitz
9a9e1902e0
fix: corrected merge issue (#676) 2025-02-11 14:02:12 +01:00
Rüdiger Schmitz
e9af986913
fix: handle expiration date in regard to changed timezones (#667) 2025-02-11 10:03:53 +01:00
Rüdiger Schmitz
2923621ab0
Feat/stackittpr 20 region adjustments | tfp (migrate first service to new regions concept) (#664)
* feat: completed bucket and credential group

* feat: fix linter warnings

* feat: updated documentation

* feat: updated to current version of the regional api

* feat: implement review findings

* feat: implement further review findings

* fix: make sure region is stored for the data-source in the state
2025-02-10 14:28:33 +01:00
Alexander Dahmen
3a378c7b38 feat: Update golangci-lint version to 1.62.0 and go version to 1.23
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2024-11-26 15:25:49 +01:00
GokceGK
48d9291329
Fix credential and credential group not found issue (#567)
* fix credential and group not found issue

* simplify error handling
2024-10-21 15:01:12 +02:00
Vicente Pinto
fe777fd9bc
Remove leftover Postgresql code and documentation (#527)
* Remove leftover postgresql code

* Remove examples

* revert go.mod

* Revert loadbalancer doc
2024-09-04 16:16:24 +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
stackit-pipeline
71177d8348
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.10.0 (#280)
* fix(deps): update module github.com/stackitcloud/stackit-sdk-go/core to v0.10.0

* Remove usages of RetryTimeout in tests

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: João Palet <joao.palet@freiheit.com>
2024-02-28 14:47:24 +00:00
Henrique Santos
80666ec3d3
Fix documentation (#253)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2024-02-07 13:51:59 +00:00
Vicente Pinto
cfaf8f2605
Fix object storage credential custom endpoint and resource manager regex commnet (#178) 2023-12-22 16:03:18 +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
506d1afdc2
Fix error handling on object storage service enablement (#165)
* Fix error handling on objecto storage service enablement

* Add message about depends_on

* Update docs
2023-12-18 14:51:32 +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
6e51bdd5bf
Object storage improvements (#84)
* Add example

* Rename bucket_name --> bucket

* Fix examples in wrong folder

* Add example

* Lint examples

* Fix examples

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-13 18:33:45 +01:00
Henrique Santos
248b9834ff
Object storage misc fixes (#82)
* Fix wrong reference

* Fix schema

* Fix mapFields not fetching credentials group id

* Change expiration timestamp

* Fix schema

* Remove fields that don't come in the GET response

* Add RFC3339SecondsOnly

* Change expiration timestamp to not support fractional seconds

* Set retry timeout

* Harmonize expiration timestamp

* Skip import check on credential keys

* Add error check

* Update docs

* Change field description

* Add test case, simplify test

* Add test case, simplify test

* Rename variable

* Generate docs

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-13 15:02:48 +01:00
Henrique Santos
0fb7d0d793
Implement object storage credential (#79)
* Implement credential resource

* Implement test

* Fix test

* Implement data source

* Implement credential acc test

* Add objectstorage credential

* Add test for enableProject

* Add readCredentials test

* Removed unnecessary test case

* Generate docs

* Fix lint

* Fix field name

* Readd credentials group checks

* Fix comment

* Fix comment

* Remove auth

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-12 14:42:31 +01:00
Vicente Pinto
b8d2d94156
Onboard object storage credentials group (#74)
* Onboard credentials group resource

* Update object storage acc test

* Fix typo

* Generate docs, add examples, fix typos

* Refactor map fiels

* Add unit test for readCredentialsGroups

* Fix lint issues§
g

* Use projectId from Model

* Fix errors§
g

* Fix test

* Simplify signature of enableProject

* Change comment

* Add TestEnableProject

* Rename variable

* Add enableProject test

* Remove unused test setting

* Fix wrong error message

* Improve test case, rename mocked data

* Fix typo

* Removed unnecessary test case

* Removed unnecessary test case

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-12 09:34:38 +01: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
Henrique Santos
d926e2d559
Object Storage: implement bucket (#45)
* Add object storage dependency

* Add object storage

* Add object storage

* Implement bucket resource

* Add map fields test

* Fix typos

* Implement data source

* Add Object Storage bucket

* Fix typo

* Implement Object Storage acc tests

* Go mod tidy

* Reword description

* Fix typos

* Fix typo

* Implement check destroy

* Add region in check destroy

* Add timeout in check destroy

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-29 14:37:32 +01:00