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

Fix the configuration loading #47

Open
BenjamenMeyer opened this issue Dec 9, 2017 · 2 comments
Open

Fix the configuration loading #47

BenjamenMeyer opened this issue Dec 9, 2017 · 2 comments
Labels

Comments

@BenjamenMeyer
Copy link

Configuration is loaded from only a couple files specified in rse/__init__.py, one of which (rse.default.conf) no longer exists in the source tree or in a way that can be located as described in rse/__init__.py. This needs some heavy refactoring to fix.

Suggestions:

  • make a new rse/config.py that deals with the configuration data
  • provide a means for the default file to be overridden for easy use in unit tests
@BenjamenMeyer
Copy link
Author

WORK AROUND: test via docker

$ docker-compose build
...
$ docker-compose up

Then run something against the RSE service on the docker container. By default, it uses Mimic as the auth backend. A good test might be to configure it for Public Identity and then run something real against it.

@BenjamenMeyer
Copy link
Author

See Issue #42 per unit tests

@andrew-vant andrew-vant mentioned this issue Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant