Beispiel #1
0
        public TriceratopsApiClient(IPlatformHttpClient httpClient)
        {
            httpClient.SetBaseUrl(Constants.InternalApiUrl);

            Servers = new ServerApiClient(httpClient);
            Storage = new StorageApiClient(httpClient);
        }
 public PlatformController(IPlatformHttpClient platformHttpClient, IPlatformManager platformManager, IMapper mapper,
                           IDocumentStore documentStoreHolder,
                           ILogger <PlatformController> logger)
 {
     _platformHttpClient = platformHttpClient;
     _platformManager    = platformManager;
     _mapper             = mapper;
     _documentStore      = documentStoreHolder;
     _logger             = logger;
 }
Beispiel #3
0
 public ConnectionManager(IDocumentStore documentStore,
                          IPlatformHttpClient httpClient,
                          IPlatformManager platformManager,
                          IConnectionUserManager connectionUserManager)
 {
     _documentStore         = documentStore;
     _platformManager       = platformManager;
     _httpClient            = httpClient;
     _platformManager       = platformManager;
     _connectionUserManager = connectionUserManager;
 }
 public StorageApiClient(IPlatformHttpClient httpClient) : base(httpClient)
 {
 }
 public AbstractHttpClient(IPlatformHttpClient httpClient)
 {
     Client = httpClient;
 }
 public ServerApiClient(IPlatformHttpClient httpClient) : base(httpClient)
 {
 }
Beispiel #7
0
 public TemporaryStorageContainer(IPlatformHttpClient httpClient, Guid serverId, string dockerContainerId)
     : base(dockerContainerId, serverId)
 {
     _httpClient = httpClient;
 }