Moved global error handlers out of the CertificateController to a separate file.Renamed generic exception handlers.
Added a global error handler for generic exceptions.Covered the added global exception error handler in a test.
Added a global error handler for DatabaseException errors.Covered the added global DatabaseException error handler in a test.
Added a global error handler for CryptographyException errors.Added a dependency ony pytest-mock library in order to be able to mock method calls in tests.Covered the added global CryptographyException error handler in a test.
Re #8708 - Changed /api/certificates/{id}/identity endpoint method back to POST (facepalm)
Changed REST API tests accordingly.
Re #8708 - Changed the endpoint generating PKCS12 identities to GET from POST (the generated identity is not stored on the server)
Changed the endpoint test accordingly
Re #8708 - Added a new REST API endpoint used for generating a PKCS12 identities of certificates
Re #8707 - Logging of used config file improved
Re #8707 - Enhanced logging to set log level based on config file
Re #8570 - Logger configuration- implemented dictionary to string in utils- implemented log functions with parameter message only (name of file, name of class and name of functionare getting automaticaly)
Merge branch 'master' into 8570_Implement_logging
Re #8576 crl endpointMerge branch '8576_crl_endpoint' into 'master'See merge request aswi/aswi-2021/aswi2021jmsd!15
Re #8577 - Added endpoints for OCSP.
Re #8570 - Setted configuration of logging
Re #8576 - implemented CRL endpoint
Merge branch 'master' into 8583_interactive_details_page
Re #8572 - Created endpoint DELETE /api/certificates/<id>, minor reformatting
Re #8583 - Downloading certificate keys
Re #8571 - Added RestAPI endpoint for revoking certificates
Re #8573 - Implemented get_private_key_of_a_certificate method in CertController and added /api/certificates/<id>/private_key endpoint
Re #8573 - Implemented get_public_key_of_a_certificate method in CertController and added /api/certificates/<id>/public_key endpoint
Re #8573 - Removed a leftover print
Renamed X509ManagementApp class and fixed application initialization when ran with gunicorn
Re #8579 - Added FlaskInjector dependency and used it the REST API controller
Re #8569 Added support for handling configuration files
Re #8569 Checking presence of OpenSSL during init
Re #8569 Added application initialization and running dependency injection
Re #8475 - Added redirect from "/" to "/static/index.html"
Re #8476 - Implemented and tested `get_cert_chain(id)`.
Re #8476 - Implemented and tested `get_cert_root(id)`.
Re #8476 - Implemented and tested `get_cert_details(id)`.
Re #8476 - Added and tested `get_certificate(id)`.
Re #8476 - Refactored the application; swagger is not used for code generation anymore, REST API is being implemented from scratch. Migration only, fixing tests.
#8219 - Changed app.py in order to test CI/CG
#8219 - Dockerization improvements and gunicorn WSGI implementation
- when using docker to run the application nginx proxy is now used (app is then available at localhost:80)
#8219 - CI/CD progress
#8219 - Basic project dockerization
- created docker/Dockerfile and docker-compose.yml
#8219 - Python & Flask project initialization with a simple index endpoint
- added auto-generated .gitignore for Python and PyCharm projects