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

Feature/issue#3/integration test worker #4

Conversation

jonnybazookatone
Copy link
Contributor

No description provided.

jonnybazookatone and others added 8 commits January 28, 2016 13:56
Added an integration test worker that subscribes to the deploy queue, and publishes
to the after_deploy, regardless of the outcome.

Currently, no database writing is going on, assuming there will be a worker doing
this task.

Tests have been included for functional tests - although they are not THAT useful,
as the core of the test is mocked. More educational than anything.

Unit tests should cover most of the scenarios expected from raising, to failing,
and cleanup should be carried out.

TODO: adsrex configuration on runtime
Conflicts:
	ADSDeploy/config.py
	ADSDeploy/tests/test_unit/test_workers.py
Worker now creates the local config required to run ADS_REX. These
config parameters can be moved elsewhere in deployment, database values
or even available from the UI. Currently, it is hardcoded in the worker.
Raise if certain keywords are missing
Conflicts:
	ADSDeploy/pipeline/generic.py
	ADSDeploy/tests/test_unit/test_workers.py
@jonnybazookatone
Copy link
Contributor Author

Closes #3.

jonnybazookatone added a commit that referenced this pull request Feb 1, 2016
…on-test-worker

Feature/issue#3/integration test worker
@jonnybazookatone jonnybazookatone merged commit 1607ea3 into adsabs:master Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant