Skip to content

Conversation

@statickidz
Copy link
Member

@statickidz statickidz commented Nov 12, 2025

Description

This PR adds support for configuring capabilities in the oci_queue_queue resource. The capabilities configuration allows users to enable consumer groups functionality with the option to enable primary consumer groups.

Depends on: oci-go-sdk PR #612

Changes

  • Added capabilities field to oci_queue_queue resource schema
  • Implemented create, update, and read operations for capabilities
  • Added integration tests for capabilities configuration
  • Updated documentation for queue resource and data source
  • Updated example configuration

Capabilities Schema

resource "oci_queue_queue" "test_queue" {
  compartment_id      = var.compartment_id
  display_name        = var.queue_display_name
  retention_in_seconds = var.retention_in_seconds
  timeout_in_seconds   = var.timeout_in_seconds
  visibility_in_seconds = var.visibility_in_seconds

  capabilities {
    type = "CONSUMER_GROUPS"
    is_primary_consumer_group_enabled = false
  }
}

Testing

  • Integration tests verify capabilities can be set during create and update operations
  • Tests validate capabilities are correctly read back from the API
  • Example configuration demonstrates usage

Screenshots

Screenshot 2025-11-12 at 11 47 51 Screenshot 2025-11-12 at 11 24 33

Signed-off-by: Adrian Barrio Andres <adrian.barrio.andres@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 12, 2025
Copy link

@dcristobalhMad dcristobalhMad left a comment

Choose a reason for hiding this comment

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

This LGTM

@tf-oci-pub tf-oci-pub added the Pending Test Pending Test label for PRs label Nov 12, 2025
@tf-oci-pub
Copy link
Member

Thank you for your valuable contribution. We greatly appreciate your efforts in submitting this pull request. However, I regret to inform you that we are unable to merge it directly on GitHub at this time.

Our internal policy requires that all pull requests undergo thorough local testing and review before they can be merged into the main codebase. This process ensures the quality and stability of Terraform-Provider-OCI.

We understand that this may cause some inconvenience, but please rest assured that your contribution is highly valued. Our team will carefully review and test your changes locally to ensure they meet our standards.

We appreciate your understanding and patience in this matter. If you have any questions or need further assistance, please don't hesitate to reach out. Thank you once again for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement. Pending Test Pending Test label for PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants