Skip to content

Mocks for web services that Yoda depends on.

License

Notifications You must be signed in to change notification settings

UtrechtUniversity/yoda-web-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

yoda-web-mock

This repository contains a Flask project that can mock various web applications that Yoda depends on. It is intended to be used for development and testing purposes.

Running a mocked service

The web mock service would usually be installed using the Yoda Ansible playbook.

If you want to run a mocked service locally, you can run Flask in development mode. The mock type is configured using the MOCK_TYPE environment variable, like so:

MOCK_TYPE="datacite" FLASK_APP="yoda_web_mock/app.py" python3 -m flask run

Currently available mocks

  • Datacite (used by Yoda during the publication process, e.g. to register a DOI persistent identifier)
  • SRAM (SURF Research Access Management, provides services related to authentication and authorization)

Bug reports

We use GitHub for bug tracking. Please search existing issues and create a new one if the issue is not yet tracked.

Questions and ideas

The best place to reach us about questions and ideas regarding Yoda is on our GitHub Discussions page.

License

This project is licensed under the GPL-v3 license. The full license can be found in LICENSE.

About

Mocks for web services that Yoda depends on.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages