Skip to content

[pcu] - Integration with the PCU Group CRUD services #94

@clun

Description

@clun

Access PCU TYPES

https://docs.datastax.com/en/astra-api-docs/_attachments/devops-api/index.html#tag/PCU/operation/pcuGetTypes

  • Connect to listing of PCU Types for a Regions

Caution

The endpoint is not WORKING

Creation of a PCU

https://docs.datastax.com/en/astra-db-serverless/administration/create-pcu.html

  • Align with the instanceType
  • Implement rules for Capacity Allocations

Deletion of a PCU

  • Integrate with the backend Service

Caution

The endpoint is always returning an error

14:56:44.189 ERROR com.dtsx.astra.sdk.utils.HttpClientWrapper      : Error for request, url=https://api.dev.cloud.datastax.com/v2/pcus/57dde257-86c6-4646-9247-670cd8a4d360, method=DELETE, body=body present
14:56:44.191 ERROR com.dtsx.astra.sdk.utils.HttpClientWrapper      : Response  code=403, body={"errors":[{"ID":2000354,"message":"error deleting PCU Group, only non-prod PCU Groups can be deleted by user"}]}
com.dtsx.astra.sdk.exception.AuthenticationException: HTTP_FORBIDDEN (code=403): Invalid permissions. Your token may not have expected permissions to perform this actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions