コード例 #1
0
 public async Task <IActionResult> Applications([FromHeader] string authenticationToken)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.GetApplications(authenticationToken)));
 }
コード例 #2
0
 public async Task <IActionResult> DeleteJobTemplate([FromHeader] string authenticationToken, string jobtemplateId)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.DeleteJobTemplate(authenticationToken, jobtemplateId)));
 }
コード例 #3
0
 public async Task <IActionResult> Login(string user, string password)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.Login(user, password)));
 }
コード例 #4
0
 public async Task <IActionResult> Ping()
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.Ping()));
 }
コード例 #5
0
 public async Task <IActionResult> JobSchedule([FromHeader] string authenticationToken, int idJob)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.GetCanJobSchedule(authenticationToken, idJob)));
 }
コード例 #6
0
 public async Task <IActionResult> Jobs([FromHeader] string authenticationToken, string searchCriteria)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.GetJobs(authenticationToken, searchCriteria)));
 }
コード例 #7
0
 public async Task <IActionResult> Projects([FromHeader] string authenticationToken, CreateProjectRequestDto createCredentialRequest)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.CreateProject(authenticationToken, createCredentialRequest)));
 }
コード例 #8
0
 public async Task <IActionResult> Inventories([FromHeader] string authenticationToken, CreateInventoryRequestDto inventoryRequest)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.CreateInventory(authenticationToken, inventoryRequest)));
 }
コード例 #9
0
 public async Task <IActionResult> Inventories([FromHeader] string authenticationToken, string inventoryId)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.GetInventoryById(authenticationToken, inventoryId)));
 }
コード例 #10
0
 public async Task <IActionResult> PostOrganization([FromHeader] string authenticationToken, CreateOrganizationRequestDto organizationRequest)
 {
     Devon4NetLogger.Debug("Executing Login from controller AnsibleTowerController");
     return(Ok(await AnsibleTowerHandler.CreateOrganization(authenticationToken, organizationRequest)));
 }