Commit graph

732 commits

Author SHA1 Message Date
Henrique Santos
b53ef3458f
Update module github.com/stackitcloud/stackit-sdk-go/services/opensearch to v0.3.0 (#42)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: João Palet <joao.palet@outlook.com>
2023-09-28 17:39:35 +02:00
Henrique Santos
367c37888e
Update module github.com/stackitcloud/stackit-sdk-go/services/postgresql to v0.3.0 (#44)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-09-28 17:32:20 +02:00
Henrique Santos
043c83ee14
Fix log typo (#37)
* Fix log typo

* Fix fix

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-27 16:34:54 +01:00
Henrique Santos
538fbd89b1
Update module github.com/stackitcloud/stackit-sdk-go/core to v0.2.0 (#28)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2023-09-27 16:27:13 +02:00
Henrique Santos
cb26399be6
Add details to log (#35)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-27 10:16:03 +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
Vicente Pinto
46be7cfafd
Add warning during ske cluster creation when invalid argus instance id is provided (#32)
* Add warning during cluster creation if argus instance id is invalid

* Update warning message

* Add ske v0.1.1
2023-09-26 18:00:07 +01:00
Vicente Pinto
d3cdbf0e2a
Argus/Postgresflex Credentials import documentation and fix (#22)
* Add documentation

* Remove password from datasource

* Fix bug§

* add warning

* Create logAndWarning function
2023-09-25 10:47:28 +01:00
Henrique Santos
9b5ca058ef
Renovate - Fix config, add setting to update import paths on major module updates (#26)
* Fix wrong config

* Update import paths on major module updates

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-21 18:24:11 +01:00
Henrique Santos
d025012733
Add renovate (#24)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-21 16:03:44 +01:00
Henrique Santos
4e8514df00
Logging and error handling improvements, bug fixes (#21)
- Uniformed logs and diagnostics:
  - Logging and adding to diagnostics is done by the highest level function (Create/Read/Update/Delete/Import) using `LogAndAddError`
  - Lower-level routines' signature changed to return error instead of writing to diagnostics
  - Standardize summary and details across services
  - Removed manual adding of relevant variables to details (they're in the context, TF adds them to logs)
- Changed validators to be closer to official implementation
- Fix logging wrong output after wait
- Fix Argus checking wrong diagnostics
- Fix Resource Manager not updating state after project update
- Fix unnecessary pointer in LogAndAddError
2023-09-21 14:52:52 +01:00
Vicente Pinto
29b8c91999
Refer to contribution guide on README (#23)
* Refer to migration guide on README

* Replace url with path
2023-09-21 09:59:06 +01:00
João Palet
386ccac6b4
Extend DSA Reads to compute plan name and version from plan ID (#20)
* Extend Read to compute plan name and version from plan ID

* Lint

* Fix error handling; Pass client to loadPlanNameAndVersion

* Change error to warning

* Replicate to other DSA

* Update acc tests to test import of plan name and version
2023-09-20 11:00:08 +02:00
Vicente Pinto
7f35b5a1dc
Update CONTRIBUTION.md (#19)
* Update contribution guide

* Update CONTRIBUTION.md

Co-authored-by: João Palet <joao.palet@outlook.com>

* Update CONTRIBUTION.md

Co-authored-by: João Palet <joao.palet@outlook.com>

* Add reference to issues

* Changes after review

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2023-09-13 14:24:05 +01:00
João Palet
41d534a5b5
Reference Migration Guide in README (#18)
* Reference Migration Guide in README

* Adjust phrasing

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2023-09-12 16:05:34 +02:00
Henrique Santos
78dcc66e5e
Add template for provider main page (#17)
* Add template

* Generate docs

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-11 17:58:17 +01:00
Henrique Santos
52d7b3c040
Fix workflow condition (#14)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-11 16:11:08 +01:00
João Palet
cd0e6b255d
Improve MIGRATION.md note regarding read-only fields added to generat… (#16)
* Improve MIGRATION.md note regarding read-only fields added to generation config

* Point users to opening issues

* Add link to community provider
2023-09-11 17:03:00 +02:00
João Palet
1b1301b011
Add migration import examples for the SKE and LogMe services (#15)
* Fix internal ID strucutre description

* Add example to MIGRATION.md

* Add SKE example

* Add LogMe instance and note for import issue
2023-09-11 15:09:33 +02:00
Henrique Santos
e6ffcd1c10
Fix provider address (#13)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-08 18:07:46 +01:00
João Palet
82b0c6ff6c
Document resource's internal ID structure and create foundation for migration guide (#12)
* Add internal ID structure to DSA instance descriptions

* Add internal ID structure to DSA credential descriptions

* Add internal ID structure to Argus descriptions

* Add internal ID structure to DNS descriptions

* Add internal ID structure to PostgresFlex descriptions

* Add internal ID structure to ResourceManager descriptions

* Add internal ID structure to SKE descriptions

* Generate updated docs

* Add first basis for migration guide
2023-09-08 18:03:26 +01:00
Vicente Pinto
135f86d645
Update provider doc (#11) 2023-09-08 17:37:07 +01:00
Henrique Santos
df141199e0
Add goreleaser settings (#10)
* Add goreleaser settings

* Remove before steps

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-08 16:30:31 +01:00
Henrique Santos
25ecf45f82
Implement release pipeline (#9)
* Implement release pipeline

* Add main trigger, fix major versions

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-08 16:03:00 +01:00
João Palet
d5274a83d0
Fix DSA acceptance tests (#7)
* Fix MariaDB acceptance test

* Fix PostgreSQL acceptance test

* Fix LogMe acceptance test

* Fix RabbitMQ acceptance test

* Fix Redis acceptance test

* Fix OpenSearch acceptance test
2023-09-08 13:08:18 +02:00
Henrique Santos
2c93e4a6f0
DNS | Fix zone updates failing (#6)
* Fix API returning error on updates

* Add DNS zone update test

* Fix primaires not used to update

* Add primaries to model

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-08 11:06:07 +01:00
Henrique Santos
6800f7a421
Update DSA dependencies (#5)
Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-09-07 16:09:14 +01:00
João Palet
d5906cb6b1
Fix possible provider inconsistent state with LogMe (#4) 2023-09-07 16:50:05 +02:00
Vicente Pinto
1511996ad2
Update contributing.md (#3)
* Update contributing.md

* Update contributing.md

* Update contributing.md

* Update Contributing.md
2023-09-07 14:28:06 +01:00
João Palet
7a9109afbc
Fix GitHub workflow names (#2) 2023-09-07 11:22:30 +00:00
Vicente Pinto
9d7628a984
Format example (#1) 2023-09-07 11:11:14 +00:00
vicentepinto98
e4c8a6fbf4 Initial commit 2023-09-07 11:34:45 +01:00