-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ManageIQ::Providers::AnsibleTower::AutomationManager::Credenti…
…al and move api_create there
- Loading branch information
Showing
11 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/models/manageiq/providers/ansible_tower/automation_manager/cloud_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::CloudCredential < ManageIQ::Providers::AutomationManager::Authentication | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::CloudCredential < ManageIQ::Providers::AnsibleTower::AutomationManager::Credential | ||
end |
3 changes: 3 additions & 0 deletions
3
app/models/manageiq/providers/ansible_tower/automation_manager/credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::Credential < ManageIQ::Providers::AutomationManager::Authentication | ||
extend ApiCreate | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
app/models/manageiq/providers/ansible_tower/automation_manager/machine_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::MachineCredential < ManageIQ::Providers::AutomationManager::Authentication | ||
extend ApiCreate | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::MachineCredential < ManageIQ::Providers::AnsibleTower::AutomationManager::Credential | ||
end |
2 changes: 1 addition & 1 deletion
2
app/models/manageiq/providers/ansible_tower/automation_manager/network_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::NetworkCredential < ManageIQ::Providers::AutomationManager::Authentication | ||
class ManageIQ::Providers::AnsibleTower::AutomationManager::NetworkCredential < ManageIQ::Providers::AnsibleTower::AutomationManager::Credential | ||
end |
2 changes: 1 addition & 1 deletion
2
...ls/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-cloud_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_CloudCredential < MiqAeServiceManageIQ_Providers_AutomationManager_Authentication | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_CloudCredential < MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_MachineCredential | ||
end | ||
end |
4 changes: 4 additions & 0 deletions
4
...e_models/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_Credential < MiqAeServiceManageIQ_Providers_AutomationManager_Authentication | ||
end | ||
end |
2 changes: 1 addition & 1 deletion
2
.../miq_ae_service_manageiq-providers-ansible_tower-automation_manager-machine_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_MachineCredential < MiqAeServiceManageIQ_Providers_AutomationManager_Authentication | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_MachineCredential < MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_Credential | ||
end | ||
end |
2 changes: 1 addition & 1 deletion
2
.../miq_ae_service_manageiq-providers-ansible_tower-automation_manager-network_credential.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module MiqAeMethodService | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_NetworkCredential < MiqAeServiceManageIQ_Providers_AutomationManager_Authentication | ||
class MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_NetworkCredential < MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_MachineCredential | ||
end | ||
end |
5 changes: 5 additions & 0 deletions
5
...els/miq_ae_service_manageiq-providers-ansible_tower-automation_manager-credential_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
describe MiqAeMethodService::MiqAeServiceManageIQ_Providers_AnsibleTower_AutomationManager_Credential do | ||
it "get the service model class" do | ||
expect { described_class }.not_to raise_error | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters