Skip to content

Implement KeyPair Association Actions #7490

@jopemachine

Description

@jopemachine

Objective

Implement all 4 KeyPair association mutations.

Mutations

  • AssociateScalingGroupWithKeyPair
  • AssociateScalingGroupsWithKeyPair
  • DisassociateScalingGroupWithKeyPair
  • DisassociateScalingGroupsWithKeyPair

Implementation Details

  • actions/keypair_association.py: 4 action definitions (~80 lines)
  • service.py: Add 4 methods (~32 lines)
  • processors.py: Add 4 processors (~20 lines)
  • repository.py: KeyPair association methods (~40 lines)
  • db_source/db_source.py: KeyPair DB operations (~45 lines)
  • GraphQL mutations modification (~25 lines)
  • Unit tests: (~80 lines)

Estimated Lines

~322 lines

Dependencies

  • Story 5: ModifyScalingGroup Action (can run parallel with Story 6, 8)

Acceptance Criteria

  • All 4 KeyPair association actions implemented
  • Single and batch operations working
  • All GraphQL mutations use new processor pattern
  • Unit tests cover all operations

JIRA Issue: BA-3490

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions