Added dynamic loading of notifications and services, refactoring and lot of fixes.
This commit is contained in:
parent
2384c789a7
commit
a0892d0980
57 changed files with 146 additions and 272 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>
|
||||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
@ -22,15 +22,13 @@ OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
"""
|
||||
|
||||
from logging import getLogger
|
||||
from linspector.services.service import Service
|
||||
|
||||
logger = getLogger('linspector')
|
||||
|
||||
|
||||
# TODO: check for all required configuration options and set defaults if needed.
|
||||
class HTTPKeywordService(Service):
|
||||
class HTTPKeywordService:
|
||||
|
||||
def __init__(self, configuration, environment):
|
||||
super().__init__(configuration, environment)
|
||||
self.__configuration = configuration
|
||||
self.__environment = environment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue