File tree Expand file tree Collapse file tree
package/cloudshell/cm/ansible Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313from cloudshell .cm .ansible .domain .http_request_service import HttpRequestService
1414from cloudshell .cm .ansible .domain .inventory_file import InventoryFile
1515from cloudshell .cm .ansible .domain .output .ansible_result import AnsibleResult
16- from cloudshell .cm .ansible .domain .playbook_downloader import PlaybookDownloader , HttpAuth
16+ from cloudshell .cm .ansible .domain .playbook_downloader import PlaybookDownloader
1717from cloudshell .cm .ansible .domain .temp_folder_scope import TempFolderScope
1818from cloudshell .cm .ansible .domain .zip_service import ZipService
1919from cloudshell .core .context .error_handling_context import ErrorHandlingContext
2020from cloudshell .shell .core .session .cloudshell_session import CloudShellSessionContext
2121from cloudshell .shell .core .session .logging_session import LoggingSessionContext
22+ from domain .models import HttpAuth
2223
2324
2425class AnsibleShell (object ):
Original file line number Diff line number Diff line change 11import requests
22from requests import Response
33from Helpers .gitlab_api_url_validator import is_gitlab_rest_url
4- from playbook_downloader import HttpAuth
4+ from models import HttpAuth
55
66
77class HttpRequestService (object ):
Original file line number Diff line number Diff line change 1+ class HttpAuth (object ):
2+ def __init__ (self , username , password ):
3+ self .username = username
4+ self .password = password
Original file line number Diff line number Diff line change 44from cloudshell .cm .ansible .domain .http_request_service import HttpRequestService
55from file_system_service import FileSystemService
66from logging import Logger
7-
8-
9- class HttpAuth (object ):
10- def __init__ (self , username , password ):
11- self .username = username
12- self .password = password
7+ from models import HttpAuth
138
149
1510class PlaybookDownloader (object ):
You can’t perform that action at this time.
0 commit comments