Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingestion service that fetches data from endpoint at regular intervals CSProjectsEAL/GraBID#12 #1

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

alex855k
Copy link

@alex855k alex855k commented Nov 23, 2018

@alex855k alex855k changed the title (#12) Add repository class IngestionService Ingestion service that fetches data from endpoint at regular intervals #12 Nov 23, 2018
@alex855k alex855k changed the title Ingestion service that fetches data from endpoint at regular intervals #12 Ingestion service that fetches data from endpoint at regular intervals#12 Nov 23, 2018
@alex855k alex855k changed the title Ingestion service that fetches data from endpoint at regular intervals#12 Ingestion service that fetches data from endpoint at regular intervals #12 Nov 23, 2018
@alex855k alex855k changed the title Ingestion service that fetches data from endpoint at regular intervals #12 Ingestion service that fetches data from endpoint at regular intervals CSProjectsEAL/GraBID#12 Nov 23, 2018
@alex855k alex855k self-assigned this Nov 23, 2018
@IulianBogdan IulianBogdan force-pushed the Ingestion-service-CSProjectsEAL/GraBID#12 branch from 4f305a6 to 0790103 Compare December 9, 2018 13:21
Copy link
Member

@elit0451 elit0451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alex855k , @IulianBogdan Should remove the files related to the Refiner service (Source code, tests and docker files related to mongo db) from this commit

byte[] messageBodyBytes = System.Text.Encoding.UTF8.GetBytes(envelopedMessage);

_channel.BasicPublish(exchange, "", _channel.CreateBasicProperties(), messageBodyBytes);
Console.WriteLine(" [x] Sent '{0}':'{1}'", exchange, message);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the _logger be used in this line?

logger.Error("Incorrect argument for ingestion dll crontab: " + e.Message);
}
*/
sourceID = "ResellerData";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be defined in line 15 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ingestion service that fetches data from endpoint at regular intervals
2 participants