Ejemplo n.º 1
0
 public etlController(IDiscoverItemService iDiscoverItemService, IRepositoriesConfigService iRepositoriesConfigService, IShapesConfigService iShapeConfigService, ConfigSparql configSparql, CallOAIPMH callOAIPMH, CallConversor callConversor, ConfigUrlService configUrlService, IRabbitMQService amqpService)
 {
     _discoverItemService       = iDiscoverItemService;
     _repositoriesConfigService = iRepositoriesConfigService;
     _shapeConfigService        = iShapeConfigService;
     _configSparql     = configSparql;
     _callOAIPMH       = callOAIPMH;
     _callConversor    = callConversor;
     _configUrlService = configUrlService;
     _amqpService      = amqpService;
 }
Ejemplo n.º 2
0
 public OaiPublishRDFService(EntityContext context, ICallNeedPublishData publishData, CallTokenService tokenService, ConfigUrlService configUrlService)
 {
     if (tokenService != null)
     {
         _token         = tokenService.CallTokenCarga();
         _callConversor = new CallConversor(tokenService);
     }
     _context          = context;
     _publishData      = publishData;
     _configUrlService = configUrlService;
 }