Skip to content

cx integrations update and test return 501 "Unimplemented: Method Not Allowed" for managed integrations (aws-metrics-collector) #149

Description

@jmsundar

Summary

cx integrations update and cx integrations test both return API request failed (501): Unimplemented: Method Not Allowed for a deployed integration of type aws-metrics-collector (deployed version 0.9.1). Read operations on the same integration work fine, and the equivalent update succeeds when made against the Coralogix Integration Service API directly — so the backend supports the write; the CLI appears to call an unimplemented method/endpoint for this integration type.

Environment

  • cx version: 0.1.10
  • Install method: Homebrew
  • Integration type: aws-metrics-collector (deployed version 0.9.1)

Steps to reproduce

  1. cx integrations list -o json — returns the integration catalog (works).
  2. cx integrations get aws-metrics-collector -o json — returns the deployed instance config (works).
  3. Save a deployed instance's config to config.json, then attempt an update:
    cx integrations update <deployed-integration-id> --from-file config.json --yes
  4. Also attempt a validation:
    cx integrations test --from-file config.json --yes

Expected

The update/test request is processed (or returns a meaningful validation/connection error).

Actual

Both commands fail with:

Updating integration <deployed-integration-id>...
error from profile '<profile>': API request failed (501): Unimplemented: Method Not Allowed
  • Reproduces with every request body shape tried: the raw object returned by cx integrations get, and a { "integrationKey": ..., "version": ..., "parameters": { ... } } form.
  • The same update, applied to the same integration via the Coralogix Integration Service API outside the CLI, succeeds — confirming the backend supports the operation and the gap is in the CLI's request.

Additional (possibly related)

cx integrations deployed <id> and cx integrations definition <id> return 404 Not Found: Integration type by integration key not found: <id> when passed a deployed-instance id — they appear to resolve the argument as an integration type key rather than a deployed-instance id, so there is no way to fetch a single deployed instance by its id via these subcommands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions