Skip to content

The Plugin services for adding extra features to a Terminology Service.

License

Notifications You must be signed in to change notification settings

TIBHannover/ts-plugin

Repository files navigation

TS Plugin for TIB Terminology Service V2.0

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

alt text

Tasks

  • Authentication
  • Note for semantic artifacts
  • Term request and issue report
  • User defined Collection
  • Advanced search setting storage
  • Contact form
  • Ontology suggestion

Test

Activate the venv on your local machine and then run:

    :~$ python manage.py test

Authentication code for testing

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).

Other tests

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

License

MIT License

About

The Plugin services for adding extra features to a Terminology Service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages