The Plugin services for adding extra features to a Terminology Service.
Implemented as part of TIB and NFDI4Chem Terminology Services.
Hosted: https://service.tib.eu/ts-plugin
- Authentication
- Note for semantic artifacts
- Term request and issue report
- User defined Collection
- Advanced search setting storage
- Contact form
- Ontology suggestion
Activate the venv on your local machine and then run:
:~$ python manage.py test
The authentication (test_login.py) Test part requires the login code as input. You need to manually create the login code by opening these links and authenticate yourself:
After you autheticate, copy the code (after code= in the url) in to the env variable name "GITHUB_LOGIN_CODE" and "ORCID_LOGIN_CODE" (for Github and ORCID) in the .env file (look at .env.example in the user_service directory).
For the other tests, just use a valid token in the .env file for test. (To avoid producing new login code each time). Vars to use are:
- GITHUB_TEST_ACCESS_TOKE
- ORCID_TEST_ACCESS_TOKE
- ORCID_LOGIN_USERNAME
MIT License