Git Product home page Git Product logo

mod-data-extractor's Introduction

mod-spring-sample

Copyright (C) 2018 The Open Library Foundation

This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.

Additional information

Docker deployment

docker build -t folio/mod-data-extractor .
docker run -d -p 9002:9002 folio/mod-data-extractor

Publish docker image

docker login [docker repo]
docker build -t [docker repo]/folio/mod-data-extractor:[version] .
docker push [docker repo]/folio/mod-data-extractor:[version]

Issue tracker

See project FOLIO at the FOLIO issue tracker.

mod-data-extractor's People

Contributors

wwelling avatar jeremythuff avatar rladdusaw avatar jcreel avatar

Watchers

Michael Nichols avatar Nick Cappadona avatar James Cloos avatar  avatar Douglas Hahn avatar  avatar Micah Cooper avatar Devang Mehta avatar  avatar  avatar Rincy Mathew avatar  avatar  avatar

mod-data-extractor's Issues

Extractor per result row lookup during streaming

An extractor will need an element collection of new embeddable POJO to know how to make subsequent database lookups per result row of stream. The additional lookups should use a single database connection.

New POJO will require SQL template for new lookup query and a strategy for handling the results. The template should use the stream row as its context. The initial strategy will be to order results by column and aggregate by another column as a string. This string will be added to the stream row.

Refer to https://github.com/TAMULib/mod-data-migration#marc-bibliographic-migration for bibliographic migration.

Here is an example of additional lookup and strategy, https://github.com/TAMULib/mod-data-migration/blob/master/src/main/java/org/folio/rest/migration/BibMigration.java#L421

Bibliographic ReferenceLink creation times out after 15 min

2019-11-18 10:05:42.040 INFO 11272 --- [nio-9002-exec-3] o.f.rest.controller.ExtractorController : Running extractor ed3fa3de-4341-4960-bf7e-552ffd2ad04f
2019-11-18 10:07:18.512 ERROR 11272 --- [task-executor-1] tractorStreamingResponseArgumentResolver : java.net.SocketTimeoutException
2019-11-18 10:07:18.520 ERROR 11272 --- [task-executor-1] tractorStreamingResponseArgumentResolver : java.io.IOException: The current thread was interrupted
2019-11-18 10:08:18.530 ERROR 11272 --- [task-executor-1] tractorStreamingResponseArgumentResolver : java.net.SocketTimeoutException

Last exception it was 15 minutes. This time was not.
May be back pressure causing this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.