Skip to content

feat: Add parents parameter for team resource - #10

Open
svdimchenko wants to merge 1 commit into
Codility:mainfrom
svdimchenko:feat/team-resource
Open

svdimchenko wants to merge 1 commit into
Codility:mainfrom
svdimchenko:feat/team-resource

Conversation

@svdimchenko

@svdimchenko svdimchenko commented Oct 5, 2026 •

Copy link
Copy Markdown

Multi-version acceptance tests + team parents fix

  • Parameterize docker-compose.yml with ${OPENMETADATA_VERSION} so a single compose file covers all versions. Switch MySQL to a named volume so down -v fully cleans the DB between runs (fixes migration-related test failures).
    Add docker/test/versions listing supported versions (1.12.4, 2.0.3). make testacc OM_VERSION=2.0.3 runs against a specific version; make testacc-all iterates all of them.

  • Replace the single acceptance CI job with a matrix over both versions (fail-fast: false).
    Fix openmetadata_team resource: resolve parent names to UUIDs before sending (the CreateTeam API expects parents: [uuid], not entity ref objects), and preserve the parents value in state instead of overwriting it with null after apply.

  • Add TestAccTeamResourceWithParents acceptance test covering the child-under-parent scenario.

Checklist

  • make test and make lint pass
  • Acceptance tests pass (make testacc), or CI has run them
  • New or changed schema: make docs re-run, docs/ committed, and examples/ updated
  • New resource: registered in provider.go and has an acceptance test
  • Squashed to one commit

@svdimchenko svdimchenko changed the title feat: Add parents parameter for team resourcs feat: Add parents parameter for team resource Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant