public ConfigurationSetModelEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationSetModelPayloadMapper modelPayloadMapper, IConfigurationModelRegistry configCollection, IConfigurationClientService configClientService)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.configCollection    = configCollection;
     this.modelPayloadMapper  = modelPayloadMapper;
     this.configClientService = configClientService;
 }
 public LocalConfigServerClient(IConfigProvider configProvider, IConfigurationClientService configurationClientService, IConfigurationModelRegistry registry, IClientIdProvider clientIdProvider)
 {
     this.configProvider             = configProvider;
     this.configurationClientService = configurationClientService;
     this.registry         = registry;
     this.clientIdProvider = clientIdProvider;
 }
Beispiel #3
0
 public ConfigInstanceRouter(IConfigurationClientService configClientService, IConfigurationService configurationService, IConfigurationModelRegistry registry)
 {
     this.configClientService   = configClientService;
     this.configModelCollection = registry.SelectMany(s => s.Configs).ToList();
     this.configurationService  = configurationService;
     this.registry = registry;
 }
 public CreateSnapshotCommandHandler(IConfigurationClientService clientService, IConfigurationService configurationService, IConfigurationSnapshotRepository snapshotRepository, IConfigurationModelRegistry configurationModelRegistry)
 {
     this.clientService              = clientService;
     this.configurationService       = configurationService;
     this.snapshotRepository         = snapshotRepository;
     this.configurationModelRegistry = configurationModelRegistry;
 }
Beispiel #5
0
 public ResourceArchiveEndpoint(IConfigurationClientService configClientService, IConfigurationModelRegistry registry, IResourceArchive resourceArchive, IHttpResponseFactory httpResponseFactory)
 {
     this.configClientService = configClientService;
     this.resourceArchive     = resourceArchive;
     this.httpResponseFactory = httpResponseFactory;
     this.registry            = registry;
 }
Beispiel #6
0
 public ConfigArchiveEndPoint(IConfigurationClientService configurationClientService, IConfigurationModelRegistry registry, IConfigArchive archive, IHttpResponseFactory httpResponseFactory)
 {
     this.configurationClientService = configurationClientService;
     this.registry            = registry;
     this.archive             = archive;
     this.httpResponseFactory = httpResponseFactory;
 }
Beispiel #7
0
 public DownloadEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationModelRegistry configCollection, IConfigurationSetService configurationSetService, IConfigurationClientService configClientService)
 {
     this.configurationSetService = configurationSetService;
     this.configCollection        = configCollection;
     this.httpResponseFactory     = httpResponseFactory;
     this.configClientService     = configClientService;
 }
 public SnapshotEndpoint(IConfigurationSnapshotRepository snapShotRepository, ICommandBus commandBus, IConfigurationClientService configurationClientService, IHttpResponseFactory httpResponseFactory)
 {
     this.httpResponseFactory        = httpResponseFactory;
     this.snapShotRepository         = snapShotRepository;
     this.commandBus                 = commandBus;
     this.configurationClientService = configurationClientService;
 }
Beispiel #9
0
 public LocalResourceServerClient(IConfigProvider configProvider, IConfigurationClientService configurationClientService, IConfigurationModelRegistry registry, IResourceStore resourceStore, IClientIdProvider clientIdProvider, LocalServerClientOptions options)
 {
     this.resourceStore              = resourceStore;
     this.clientIdProvider           = clientIdProvider;
     this.pathToConfigServer         = options.ConfigServerUri;
     this.configurationClientService = configurationClientService;
     this.registry = registry;
 }
Beispiel #10
0
 public UploadEnpoint(IHttpResponseFactory httpResponseFactory, IConfigurationModelRegistry configCollection, ICommandBus commandBus, IConfigurationClientService configClientService, IUploadToEditorModelMapper uploadToEditorModelMapper)
 {
     this.httpResponseFactory       = httpResponseFactory;
     this.configCollection          = configCollection;
     this.commandBus                = commandBus;
     this.configClientService       = configClientService;
     this.uploadToEditorModelMapper = uploadToEditorModelMapper;
 }
 public ConfigurationEditorEndpoint(IHttpResponseFactory httpResponseFactory, IConfigInstanceRouter configInstanceRouter, IConfigurationEditModelMapper configurationEditModelMapper, IConfigurationModelRegistry configCollection, IConfigurationClientService configClientService, ICommandBus commandBus)
 {
     this.httpResponseFactory          = httpResponseFactory;
     this.configCollection             = configCollection;
     this.configInstanceRouter         = configInstanceRouter;
     this.configurationEditModelMapper = configurationEditModelMapper;
     this.configClientService          = configClientService;
     this.commandBus = commandBus;
 }
        public ConfigurationClientServiceTest()
        {
            clients    = BuildClients();
            groups     = BuildGroups();
            clientRepo = new Mock <IConfigClientRepository>();
            clientRepo.Setup(r => r.GetClientsAsync()).ReturnsAsync(() => clients);
            clientRepo.Setup(r => r.GetClientGroupsAsync()).ReturnsAsync(() => groups);

            target = new ConfigurationClientService(clientRepo.Object, new NoCachingStrategy());
        }
 public ConfigurationClientUpdatedEventHandler(IConfigurationClientService clientService)
 {
     this.clientService = clientService;
 }
 public PermissionEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationClientService clientService)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.clientService       = clientService;
 }
 public ConfigClientEndPoint(IConfigurationClientService configurationClientService, IHttpResponseFactory httpResponseFactory, ICommandBus commandBus)
 {
     this.httpResponseFactory        = httpResponseFactory;
     this.configurationClientService = configurationClientService;
     this.commandBus = commandBus;
 }
Beispiel #16
0
 public ConfigEndpoint(IConfigInstanceRouter router, IConfigurationClientService configurationClientService, IHttpResponseFactory httpResponseFactory)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.router = router;
     this.configurationClientService = configurationClientService;
 }