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

OpencBot configuration from Analysis App #112

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

Conversation

benjessop12
Copy link
Contributor

@benjessop12 benjessop12 commented Apr 8, 2020

Reading configuration settings from the analysis app
https://opencorporates.atlassian.net/browse/DAT-3550

@benjessop12 benjessop12 force-pushed the openc_bot_config_for_fetchers branch 11 times, most recently from a61333b to a35a1a5 Compare April 14, 2020 13:48
This commit allows a fetcher bot to retrieve information about the bot from Analysis App's bots.json output. We will need the jurisdiction_code to be able to pull the data from the JSON. I considered using a Proc select method of getting this data, as it reads nicer, bu this is slightly more performative.
@benjessop12 benjessop12 force-pushed the openc_bot_config_for_fetchers branch 11 times, most recently from bf263fe to b7ca96c Compare April 15, 2020 14:32
benjessop12 added 4 commits April 15, 2020 15:36
PR #53 in Analysis App will return a hash value based on what is stored in the database, to which we will allow the fetcher to access as an OpenStruct.
Travis was complaining about this, so this is to make the integration tests pass.
Spec tests to indicate the behaviour of the new module.
There are many entry points for running an openc_bot, so we will need to return this if already called.
@benjessop12 benjessop12 force-pushed the openc_bot_config_for_fetchers branch from b7ca96c to 8c39c96 Compare April 15, 2020 14:36
@benjessop12 benjessop12 changed the title [WIP] OpencBot configuration from Analysis App OpencBot configuration from Analysis App Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant