Skip to content

refactor: use openapi generated contentful sdk #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 238 commits into from

Conversation

mvantellingen
Copy link

  • Space resource is migrated to SDK
  • Locale resource migration
  • error type check
  • ApiKey is migrated to SDK
  • webhook resource sdk integration
  • delete models
  • Space update test
  • Content type resource
  • Add Dockerfile for testing
  • Add Makefile for building/testing Docker image
  • Add circle.yml
  • Override dependencies to workaround CI
  • webhook resource test case
  • Content types first tests
  • webhook fixture configuration fix
  • Delete unused content_type files
  • Run SDK in debug mode when TF_LOG env is presented
  • Webhook destroy check fix
  • CT update and tests ok
  • changes to content type
  • Run tests in verbose mode
  • [Changed] Sdk package name
  • use new sdk usage, only store sdk client in provider config
  • Add Makefile command for end-to-end tests
  • Run end-to-end tests on Circle CI
  • Ignore .envrc
  • Don't run end-to-end tests on CI
  • Cache go get dependencies
  • Added MIT license
  • Adjusted README
  • Adjusted README a bit more
  • Removed Versioning section from README as no versioning will be implemented
  • Resource contenttype (Resource contenttype #12)
  • [Added] locale resource and test
  • apikey resource fixes and testing
  • [Fix] removed hardcoded space_id from test
  • Remove unused id field
  • Bump Golang version
  • Update Contentful description
  • local-setup
  • Fixed non working code and some test related bugs.
  • Correct project setup
  • Minor changes
  • Rename circle.yml to .circleci/config.yml
  • Create go.yml
  • Update go.yml
  • Space id to environment variable
  • Docker working
  • removed some redundant code
  • go mod versioning fix
  • go test wildcard fix
  • go test wildcard?
  • Hoping this works...
  • Maybe this?
  • test config change
  • test config change
  • test config change
  • test config change
  • test config change
  • test config change
  • test config change
  • test config now using secrets as environment variables for tests.
  • Terraform account boolean now set to True/1
  • Update README.md
  • Updated ReadMe to display correct project data.
  • Added Environments as resources for the provider. The provider is now able to create, read, update and delete the environments inside Contentful.
  • Added support for entries.
  • Added support for assets.
  • Fixed versioning bug.
  • Fixed early-return bug.
  • Features/assets (use new sdk usage, only store sdk client in provider config #6)
  • Fixed optional fields of asset.
  • Added uploads service.
  • Optional fields
  • Uploads resource to different branch.
  • Uploads resource to different branch.
  • Update README
  • Change build make target
  • Rename to terraform-provider-contentful
  • Set contentful-go to v0.5.0
  • Add release action
  • Prepare changelog
  • Removed unfinished 'upload' resources
  • v0.1.0
  • Add goreleaser
  • Fixed typo
  • try GPG_PASSPHRASE
  • Add testacc option to makefile to run without docker, update changelog
  • Fix validations issue (Cache go get dependencies #8)
  • Update Changelog
  • Add tfplugindocs generated docs with examples, update gitignore
  • feat: Update go version to 1.17 and use the terraform plugin SDK
  • feat: Compatibility with terraform standards and SDK v2
  • local-setup
  • Fixed non working code and some test related bugs.
  • Correct project setup
  • Minor changes
  • Space id to environment variable
  • Docker working
  • removed some redundant code
  • go mod versioning fix
  • Create go.yml
  • Update go.yml
  • go test wildcard fix
  • test config change
  • test config change
  • test config change
  • test config change
  • test config now using secrets as environment variables for tests.
  • Terraform account boolean now set to True/1
  • Update README.md
  • Updated ReadMe to display correct project data.
  • Added Environments as resources for the provider. The provider is now able to create, read, update and delete the environments inside Contentful.
  • Added support for entries.
  • Added support for assets.
  • Fixed versioning bug.
  • Fixed early-return bug.
  • Fixed optional fields of asset.
  • Added uploads service.
  • Features/assets (use new sdk usage, only store sdk client in provider config #6)
  • Optional fields
  • Uploads resource to different branch.
  • Uploads resource to different branch.
  • Update README
  • Change build make target
  • Rename to terraform-provider-contentful
  • Set contentful-go to v0.5.0
  • Add release action
  • Prepare changelog
  • Removed unfinished 'upload' resources
  • v0.1.0
  • Add goreleaser
  • Fixed typo
  • try GPG_PASSPHRASE
  • Add testacc option to makefile to run without docker, update changelog
  • Fix validations issue (Cache go get dependencies #8)
  • Update Changelog
  • Add tfplugindocs generated docs with examples, update gitignore
  • Synchronized project metafiles from labd/.github-private
  • 🔄 synced local '.github/' with remote 'projects/go/.github'
  • Minor cleanup
  • Added changie, updated docs, updated to go 1.21
  • Added changie file
  • Release v0.4.0
  • PLT-684 - Add support for locales in env
  • PLT-684 - Prepare release
  • Release v0.5.0
  • PLT-684 - Fix passphrase
  • Release v0.5.1
  • PLT-684 - Fix action
  • Release v0.5.2
  • PLT-684 - Extend support in content types
  • Release v1.0.0
  • PLT-684 - Allow dedicated content type id
  • PLT-684 - Improve control settings (Locale resource test case added, some fixes on locale resource #11)
  • Release v1.1.0 (Resource contenttype #12)
  • PLT-0 - Fix issue that default values are not set in contentful (Plans for the provider? #13)
  • Release v1.1.1 (Provider uses reserved field names #14)
  • PLT-0 - Prevent field type change (Remove unused id field #15)
  • Release v1.2.0 (Update Contentful description #16)
  • PLT-0 - Prevent field type change (Fixed contentful-go repo address #17)
  • Release v1.2.1 (29 mistake in asset resource usage docs #18)
  • PLT-0 - update go releaser (28 provider does not work with contentful eu residency projects #19)
  • PLT-746 - Add support for apps (34 does this provider support richtext #20)
  • PLT-747 - Reorder of fields is not working (refactor: use openapi generated contentful sdk #22)
  • Release v1.3.0 (feat: merge all the flaconi changes #21)
  • PLT-751 - Add support for app_installation (#23)
  • Release v1.4.0 (#24)
  • PLT-0 - Use flaconi (#25)
  • PLT-0 - Update API Keys (#27)
  • Release v2.0.0 (#26)
  • PLT-824 - Fixing for duplicated fields in content type (#28)
  • Release v3.0.0 (#29)
  • fix: fixed incorrect documentation
  • feat: added option to set different base url
  • Release v0.5.0
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • 🔄 synced local '.changie.yaml' with remote 'projects/go-terraform-provider/.changie.yaml'
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • feat: support rich text fields
  • feat: added changie files
  • Release v0.5.1
  • Revert "Release v0.5.1"
  • Release v0.5.1
  • Update release.yaml
  • Release v0.5.1
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • 🔄 synced local '.github/' with remote 'projects/go-terraform-provider/.github'
  • chore: use labd/contentful-go package
  • refactor: initial steps with openapi generated sdk

tolgaio and others added 30 commits March 14, 2017 10:59
Use SDK for space and locale resources
We're using Docker as our base testing environment. Circle CI is trying
to infer our project to a go project and build the dependencies. We need
to override the dependency stage to ensure Circle CI does not infer
anything.
…file

Add Dockerfile; Add Makefile; Add circle.yml
C & P from the terraform test source code:

// Tests will fail unless the verbose flag (`go test -v`, or explicitly
// the "-test.v" flag) is set. Because some acceptance tests take quite
// long, we require the verbose flag so users are able to see progress
// output.

The tests don't seem to fail, however it's not visible that the
terraform tests are skipped when -v is not used.
demeyerthom and others added 29 commits April 19, 2024 09:59
…ntful-eu-residency-projects

feat: added option to set different base url
feat: merge all changes in the flaconi version
The `contentful-go` package was updated with the flaconi changes
This adds a reverse-engineered openapi spec to generate the contentful
sdk. It updates the code to use this sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.