Skip to content

Add organization token support and unit tests#114

Closed
NimishaShrivastava-dev wants to merge 8 commits into
hashicorp:next-1.0.0from
NimishaShrivastava-dev:feature/org-tokens-api-specs
Closed

Add organization token support and unit tests#114
NimishaShrivastava-dev wants to merge 8 commits into
hashicorp:next-1.0.0from
NimishaShrivastava-dev:feature/org-tokens-api-specs

Conversation

@NimishaShrivastava-dev

@NimishaShrivastava-dev NimishaShrivastava-dev commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

This PR introduces support for Organization Tokens in the SDK.

The implementation includes the addition of resource definitions, corresponding data models, and unit tests to ensure correct functionality and maintain consistency with existing SDK patterns.

Changes Made

Added resource implementation for organization tokens.
Introduced models to represent organization token data structures.
Implemented unit tests to validate token-related operations.
Followed existing SDK conventions for resource and model design.

Testing

Added unit tests covering the new resource functionality.
Verified that all tests pass successfully.
image

image

@NimishaShrivastava-dev NimishaShrivastava-dev requested a review from a team as a code owner March 16, 2026 06:48
NimishaShrivastava-dev and others added 7 commits March 23, 2026 11:14
… Pydantic (hashicorp#132)

* update models for notification config

* Fix lints and update release number

* update example
* Add pytfe version

* update changelog

* fix error

* bugfix(comment & cost-estimate): Updated attributes of the models to be optional during relationship mapper (hashicorp#137)

* update changelog

* Bugfix/workspace relations (hashicorp#138)

* fix(sshKey & stateVersion): Updated id as only mandatory option for sshkey and state_version models

* fix(workspace): Updated workspace model with right relationship models and resource with additional relationship mapper

* Updated changelog

---------

Co-authored-by: Sivaselvan I <sivaselvan.i@hashicorp.com>
@isivaselvan isivaselvan closed this May 6, 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.

3 participants