Exemple #1
0
 public PushSnapshotToClientCommandHandler(IConfigurationSnapshotRepository repo, IConfigurationModelRegistry registry, IConfigRepository configRepository, IEventService eventService)
 {
     this.repo             = repo;
     this.registry         = registry;
     this.configRepository = configRepository;
     this.eventService     = eventService;
 }
Exemple #2
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 ConfigurationSetModelEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationSetModelPayloadMapper modelPayloadMapper, IConfigurationModelRegistry configCollection, IConfigurationClientService configClientService)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.configCollection    = configCollection;
     this.modelPayloadMapper  = modelPayloadMapper;
     this.configClientService = configClientService;
 }
Exemple #4
0
 public ResourceArchiveEndpoint(IConfigurationClientService configClientService, IConfigurationModelRegistry registry, IResourceArchive resourceArchive, IHttpResponseFactory httpResponseFactory)
 {
     this.configClientService = configClientService;
     this.resourceArchive     = resourceArchive;
     this.httpResponseFactory = httpResponseFactory;
     this.registry            = registry;
 }
 public LocalConfigServerClient(IConfigProvider configProvider, IConfigurationClientService configurationClientService, IConfigurationModelRegistry registry, IClientIdProvider clientIdProvider)
 {
     this.configProvider             = configProvider;
     this.configurationClientService = configurationClientService;
     this.registry         = registry;
     this.clientIdProvider = clientIdProvider;
 }
 public CreateSnapshotCommandHandler(IConfigurationClientService clientService, IConfigurationService configurationService, IConfigurationSnapshotRepository snapshotRepository, IConfigurationModelRegistry configurationModelRegistry)
 {
     this.clientService              = clientService;
     this.configurationService       = configurationService;
     this.snapshotRepository         = snapshotRepository;
     this.configurationModelRegistry = configurationModelRegistry;
 }
Exemple #7
0
 public ConfigArchiveEndPoint(IConfigurationClientService configurationClientService, IConfigurationModelRegistry registry, IConfigArchive archive, IHttpResponseFactory httpResponseFactory)
 {
     this.configurationClientService = configurationClientService;
     this.registry            = registry;
     this.archive             = archive;
     this.httpResponseFactory = httpResponseFactory;
 }
Exemple #8
0
 public DownloadEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationModelRegistry configCollection, IConfigurationSetService configurationSetService, IConfigurationClientService configClientService)
 {
     this.configurationSetService = configurationSetService;
     this.configCollection        = configCollection;
     this.httpResponseFactory     = httpResponseFactory;
     this.configClientService     = configClientService;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #11
0
 public UpdateConfigurationSetFromJsonUploadCommandHandler(IConfigurationModelRegistry registry, IConfigurationSetUploadMapper configurationSetUploadMapper, IConfigRepository configRepository, IConfigurationValidator configurationValidator, IEventService eventService)
 {
     this.registry = registry;
     this.configurationSetUploadMapper = configurationSetUploadMapper;
     this.configRepository             = configRepository;
     this.configurationValidator       = configurationValidator;
     this.eventService = eventService;
 }
Exemple #12
0
 public UpdateConfigurationFromEditorCommandHandler(IConfigurationService configurationService, IConfigurationUpdatePayloadMapper configurationUpdatePayloadMapper, IConfigurationModelRegistry configSetRegistry, IConfigurationValidator validator, IConfigRepository configRepository, IEventService eventService)
 {
     this.configurationService             = configurationService;
     this.configurationUpdatePayloadMapper = configurationUpdatePayloadMapper;
     this.configSetRegistry = configSetRegistry;
     this.configRepository  = configRepository;
     this.eventService      = eventService;
     this.validator         = validator;
 }
 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 ConfigurationSetEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationModelRegistry configCollection)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.configCollection    = configCollection;
 }
 /// <summary>
 /// contructs new TextStorageSnapshotRepository
 /// </summary>
 /// <param name="connector">Connector for TextStorageSnapshotRepository</param>
 /// <param name="modelRegistry">Model registry for app</param>
 public TextStorageSnapshotRepository(ISnapshotStorageConnector connector, IConfigurationModelRegistry modelRegistry)
 {
     this.connector     = connector;
     this.modelRegistry = modelRegistry;
 }
Exemple #16
0
 public TagEndpoint(IHttpResponseFactory httpResponseFactory, IConfigurationModelRegistry registry)
 {
     this.httpResponseFactory = httpResponseFactory;
     this.registry            = registry;
 }