Skip to content

Conversation

@vshanthe
Copy link
Contributor

📝 Description

Integrations for IAM role-permissions and Entities

✔️ How to Test

Test Against Devcloud using API TOKEN
and URL - api.devcloud.linode.com
test-int TEST_ARGS="-run TestIAM"

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@vshanthe vshanthe requested a review from a team as a code owner October 14, 2025 11:36
@vshanthe vshanthe requested review from Copilot, ezilber-akamai and zliang-akamai and removed request for a team October 14, 2025 11:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds integration tests for IAM role-permissions and entity management endpoints. The tests verify the functionality of retrieving account and user role permissions, updating user permissions, and listing entities.

Key changes:

  • Added integration tests for IAM role permissions (get account/user permissions, update user permissions)
  • Added integration test for listing IAM entities
  • Added test fixtures (YAML files) containing HTTP request/response recordings for the tests

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/integration/iam_roles_test.go Integration tests for getting and updating account/user role permissions
test/integration/iam_entities_test.go Integration test for listing entities across the account
test/integration/fixtures/TestIAM_GetAccountRolePermissions.yaml HTTP recording fixture for account role permissions test
test/integration/fixtures/TestIAM_GetUserRolePermissions.yaml HTTP recording fixture for user role permissions test
test/integration/fixtures/TestIAM_UpdateUserRolePermissions.yaml HTTP recording fixture for updating user permissions test
test/integration/fixtures/TestIAM_ListEntities.yaml HTTP recording fixture for entities listing test

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@ezilber-akamai ezilber-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passed locally! CI failures should be fixed by merging main back into the project branch later down the line.

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