ManageIQ/manageiq-providers-ansible_tower

View on GitHub
app/models/manageiq/providers/ansible_tower/automation_manager/credential.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
ManageIQ::Providers::Awx::AutomationManager::Credential.include(ActsAsStiLeafClass)

class ManageIQ::Providers::AnsibleTower::AutomationManager::Credential < ManageIQ::Providers::Awx::AutomationManager::Credential
  # Authentication is associated with EMS through resource_id/resource_type
  # Alias is to make the AutomationManager code more uniformly as those
  # CUD operations in the TowerApi concern

  alias_attribute :manager_id, :resource_id
  alias_attribute :manager, :resource

  supports :create

  FRIENDLY_NAME = 'Ansible Tower Credential'.freeze
end