Utilities for Janssen cloud deployment. Used in Janssen docker images.
Testcase files are available under tests
directory.
To run testcase suite, follow steps below:
- Install tox by running
pip install tox
- Run
tox
executable to run all testcase suites (note, to run a single testcase suite, runtox -- tests/path/to/testfile
instead; see avaiable test files undertests
directory)
The sourcecode of jans.pycloudlib
are heavily documented internally using docstrings.
To check whether they are missing docstrings, run the following steps:
- Install pydocstyle by running
pip install pydocstyle[toml]
- Check docstrings by running
pydocstyle jans
- Adjust docstrings if any error is reported by
pydocstyle
We are adding more typehints into the jans.pycloudlib
sourcecode, gradually.
- Run
pip install -r requirements-dev.txt
to install required libraries. - Check typehints by running
mypy --install-types jans
- Fix errors reported by
mypy
Internal docs are generated from mkdocs-based docs at docs
directory.
To generate/preview docs, run the following steps:
- Run
pip install -r requirements-dev.txt
to install required libraries. - Preview docs by running
mkdocs serve -w jans
- Visit http://localhost:8000 to see the generated docs (they are reloaded automatically when source code is modified)
- https://www.linuxfoundation.org/press-release/2020/12/the-janssen-project-takes-on-worlds-most-demanding-digital-trust-challenges-at-linux-foundation/
- https://betanews.com/2020/12/08/linux-foundation-open-source-identity-management/
- https://www.techrepublic.com/article/linux-foundation-debuts-new-secure-open-source-cloud-native-access-management-software-platform/