diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..30c5206 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,24 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Build documentation with MkDocs +#mkdocs: +# configuration: mkdocs.yml + +# Optionally build your docs in additional formats such as PDF +formats: + - pdf + +# Optionally set the version of Python and requirements required to build your docs +python: + version: 3.7 + install: + - requirements: requirements.txt \ No newline at end of file diff --git a/README.md b/README.md index ee84781..b59219b 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# PerformanceTesting \ No newline at end of file +# PerformanceTesting + +Check Documentation at: [performancetesting.readthedocs.io](https://performancetesting.readthedocs.io/) \ No newline at end of file diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..5c24e84 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,22 @@ +# Minimal makefile for Sphinx documentation +# + +# You can set these variables from the command line, and also +# from the environment for the first two. +SPHINXOPTS ?= +SPHINXBUILD ?= sphinx-build +SOURCEDIR = . +BUILDDIR = _build +export DJANGO_SETTINGS_MODULE = "gitApp.settings" +export GITHUBAPPID = -1 + +# Put it first so that "make" without argument is like "make help". +help: + @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +.PHONY: help Makefile + +# Catch-all target: route all unknown targets to Sphinx using the new +# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). +%: Makefile + @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/Overview.rst b/docs/Overview.rst new file mode 100644 index 0000000..3b9d7bf --- /dev/null +++ b/docs/Overview.rst @@ -0,0 +1,12 @@ +Overview +======== + +.. image:: _static/Overview.png + :width: 600 + + +Detail: Check Flow +------------------ + +.. image:: _static/drawIO/CheckFlow.png + :width: 400 \ No newline at end of file diff --git a/docs/Setup.rst b/docs/Setup.rst new file mode 100644 index 0000000..877a801 --- /dev/null +++ b/docs/Setup.rst @@ -0,0 +1,2 @@ +Setup +===== \ No newline at end of file diff --git a/docs/_static/Overview.png b/docs/_static/Overview.png new file mode 100644 index 0000000..4fefe76 Binary files /dev/null and b/docs/_static/Overview.png differ diff --git a/docs/_static/SourceTrail/ImgurUpload.png b/docs/_static/SourceTrail/ImgurUpload.png new file mode 100644 index 0000000..620810a Binary files /dev/null and b/docs/_static/SourceTrail/ImgurUpload.png differ diff --git a/docs/_static/SourceTrail/RunCheck.png b/docs/_static/SourceTrail/RunCheck.png new file mode 100644 index 0000000..332e9a0 Binary files /dev/null and b/docs/_static/SourceTrail/RunCheck.png differ diff --git a/docs/_static/SourceTrail/comparePerformance.png b/docs/_static/SourceTrail/comparePerformance.png new file mode 100644 index 0000000..7392428 Binary files /dev/null and b/docs/_static/SourceTrail/comparePerformance.png differ diff --git a/docs/_static/SourceTrail/receiveHook.png b/docs/_static/SourceTrail/receiveHook.png new file mode 100644 index 0000000..db2b8f5 Binary files /dev/null and b/docs/_static/SourceTrail/receiveHook.png differ diff --git a/docs/_static/UML/gitApp.png b/docs/_static/UML/gitApp.png new file mode 100644 index 0000000..aad607e Binary files /dev/null and b/docs/_static/UML/gitApp.png differ diff --git a/docs/_static/drawIO/CheckFlow.drawio b/docs/_static/drawIO/CheckFlow.drawio new file mode 100644 index 0000000..d2059eb --- /dev/null +++ b/docs/_static/drawIO/CheckFlow.drawio @@ -0,0 +1 @@ +7Vxbc5s4FP41fkyGO/gxzqXZ2fSyTTtp+rIjg2yzAeQFkTj761cCcZPAJjYYO3E705qDkOCc71x1YKRe+qtPIVguPiMHeiNFclYj9WqkKLKq6+Q/SnlNKZbCCPPQddiggnDv/gcZUWLU2HVgVBmIEfKwu6wSbRQE0MYVGghD9FIdNkNeddUlmEOBcG8DT6Q+uA5eZE9hFvRb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+8XZShb7/Bo269rdrKja+Gjvt81UkX36c5+krGVjuC5LKN+m7H4XNuv4fQB70hBN5TL7kYmF77S0xvgLUPf7ykJNWftRZKM42qQ9zGQAkWRSZ6YFbmPZO16iQ9Wg3xMyCXC2g/NSKhvwTlBviuRzlwC71nSGGUoYLFSUod4ppTlqYkp+9NX61tXjPuLUoyBaH+gKHvBgDXfGWjoWtvS0FjthBl+1Z96JYN6/vQp5ZOtza76UPnXg3Qxno7mfXWiG69+1fxap35gPmp1dpXD9MNzO2VHmQbgDVs6f0tYWmXIeiQqG1bVRmoeYX/hKks6Wthy1+gK/oeYCvWfC6RT8WRuAAiN8UAPvVWwTRajurek0w/ScXecM9essTngjp81FJR3QfuOioVkcPi28wpJIovXKvX/wM= \ No newline at end of file diff --git a/docs/_static/drawIO/CheckFlow.png b/docs/_static/drawIO/CheckFlow.png new file mode 100644 index 0000000..14d4818 Binary files /dev/null and b/docs/_static/drawIO/CheckFlow.png differ diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..48ccb97 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,62 @@ +# Configuration file for the Sphinx documentation builder. +# +# This file only contains a selection of the most common options. For a full +# list see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Path setup -------------------------------------------------------------- + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# +import os +import sys +sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('../')) +sys.path.insert(0, os.path.abspath('../gitApp')) +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gitApp.settings') +os.environ.setdefault('GITHUBAPPID', '-1') + +# -- Project information ----------------------------------------------------- + +project = 'Autopas Performance Testing' +copyright = '2020, kruegener' +author = 'kruegener' + +# The full version, including alpha/beta/rc tags +release = 'alpha' + + +# -- General configuration --------------------------------------------------- + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = ['recommonmark', 'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx_rtd_theme', 'sphinx.ext.coverage'] +autodoc_default_options = {"members": True, "undoc-members": True, "private-members": True} +# autodoc_mock_imports = ["mongoengine"] +autodoc_inherit_docstrings = True +autodoc_member_order = 'alphabetical' # 'bysource' + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +# This pattern also affects html_static_path and html_extra_path. +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] + + +# -- Options for HTML output ------------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +# +# html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000..3041d6c --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,38 @@ +.. Autopas Performance Testing documentation master file, created by + sphinx-quickstart on Thu Jul 23 16:18:36 2020. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to Autopas Performance Testing's documentation! +======================================================= + +.. toctree:: + :maxdepth: 4 + :caption: Contents: + + Overview + Setup + + modules/modules + + +===== +TODOs +===== + +- API Flow Charts +- Auth schemes used (Git / Imgur / Openshift / Mongo) +- Openshift Setup +- Database Setup +- TBC ... + + + + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/docs/make.bat b/docs/make.bat new file mode 100644 index 0000000..922152e --- /dev/null +++ b/docs/make.bat @@ -0,0 +1,35 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=. +set BUILDDIR=_build + +if "%1" == "" goto help + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% + +:end +popd diff --git a/docs/modules/gitApp.checks.rst b/docs/modules/gitApp.checks.rst new file mode 100644 index 0000000..6db0a4a --- /dev/null +++ b/docs/modules/gitApp.checks.rst @@ -0,0 +1,64 @@ +===================== +Checks Package +===================== +.. py:currentmodule:: checks + +.. toctree:: + :maxdepth: 2 + +Authenticator +---------------------------------- + +.. autoclass:: Authenticator + :members: + :undoc-members: + :show-inheritance: + +CheckFlow +------------------------------ + +.. autoclass:: CheckFlow + :members: + :undoc-members: + :show-inheritance: + +Commit +--------------------------- + +.. autoclass:: Commit + :members: + :undoc-members: + :show-inheritance: + +ImgurUploader +---------------------------------- + +.. autoclass:: ImgurUploader + :members: + :undoc-members: + :show-inheritance: + +Repository +------------------------------- + +.. autoclass:: Repository + :members: + :undoc-members: + :show-inheritance: + +Worker +--------------------------- + +.. autoclass:: Worker + :members: + :undoc-members: + :show-inheritance: + +YamlSetups - uploadSetups +-------------------------------------------- + +.. autoclass:: yamlSetups.uploadSetups + :members: + :undoc-members: + :show-inheritance: + diff --git a/docs/modules/gitApp.gitApp.rst b/docs/modules/gitApp.gitApp.rst new file mode 100644 index 0000000..0bbdfa4 --- /dev/null +++ b/docs/modules/gitApp.gitApp.rst @@ -0,0 +1,11 @@ +===================== +Django Server gitApp +===================== + +settings +----------------------------- + +.. automodule:: gitApp.settings + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/modules/gitApp.hook.rst b/docs/modules/gitApp.hook.rst new file mode 100644 index 0000000..f2cbae0 --- /dev/null +++ b/docs/modules/gitApp.hook.rst @@ -0,0 +1,33 @@ +=================== +Django App hook +=================== + + +.. toctree:: + :maxdepth: 4 + + +hook.apps +----------------------- + +.. automodule:: hook.apps + :members: + :undoc-members: + :show-inheritance: + +hook.helper +------------------------- + +.. automodule:: hook.helper + :members: + :undoc-members: + :show-inheritance: + + +hook.views +------------------------ + +.. automodule:: hook.views + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/modules/gitApp.mongoDocuments.rst b/docs/modules/gitApp.mongoDocuments.rst new file mode 100644 index 0000000..d058367 --- /dev/null +++ b/docs/modules/gitApp.mongoDocuments.rst @@ -0,0 +1,39 @@ +MongoDocuments Package +============================= + +.. py:currentmodule:: mongoDocuments + +.. toctree:: + :maxdepth: 2 + +Config +----------------------------------- + +.. autoclass:: Config + :members: + :undoc-members: + :show-inheritance: + +QueueObject +---------------------------------------- + +.. autoclass:: QueueObject + :members: + :undoc-members: + :show-inheritance: + +Result +----------------------------------- + +.. autoclass:: Result + :members: + :undoc-members: + :show-inheritance: + +Setup +---------------------------------- + +.. autoclass:: Setup + :members: + :undoc-members: + :show-inheritance: diff --git a/docs/modules/modules.rst b/docs/modules/modules.rst new file mode 100644 index 0000000..dae0cf9 --- /dev/null +++ b/docs/modules/modules.rst @@ -0,0 +1,11 @@ +======= +GitApp +======= + +.. toctree:: + :maxdepth: 4 + + gitApp.checks + gitApp.mongoDocuments + gitApp.hook + gitApp.gitApp \ No newline at end of file diff --git a/gitApp/checks/CheckFlow.py b/gitApp/checks/CheckFlow.py index 0b97078..c16563f 100644 --- a/gitApp/checks/CheckFlow.py +++ b/gitApp/checks/CheckFlow.py @@ -14,12 +14,12 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.join('../gitApp', BASE_DIR) from hook.helper import pretty_request, initialStatus, codeStatus, spawnWorker, get_dyn_keys, generate_label_table -from checks.Authenticator import Authenticator -from checks.Repository import Repository -from mongoDocuments.Config import Config -from mongoDocuments.QueueObject import QueueObject -from mongoDocuments.Result import Result -from checks.ImgurUploader import ImgurUploader +from checks import Authenticator +from checks import ImgurUploader +from checks import Repository +from mongoDocuments import Config +from mongoDocuments import QueueObject +from mongoDocuments import Result """ Codes: diff --git a/gitApp/checks/Commit.py b/gitApp/checks/Commit.py index 3400830..a6f0fe4 100644 --- a/gitApp/checks/Commit.py +++ b/gitApp/checks/Commit.py @@ -1,8 +1,8 @@ -from mongoDocuments.Config import Config -from mongoDocuments.Result import Result -from mongoDocuments.Setup import Setup +from mongoDocuments import Config +from mongoDocuments import Result +from mongoDocuments import Setup from hook.helper import convertOutput, get_dyn_kv_pair, get_dyn_keys, generate_label_table -from checks.ImgurUploader import ImgurUploader +from checks import ImgurUploader from git import Repo import os diff --git a/gitApp/checks/Repository.py b/gitApp/checks/Repository.py index 20daf26..9bd98f3 100644 --- a/gitApp/checks/Repository.py +++ b/gitApp/checks/Repository.py @@ -1,6 +1,6 @@ from git import Repo -from checks.Commit import Commit -from mongoDocuments.Setup import Setup +from checks import Commit +from mongoDocuments import Setup class Repository: diff --git a/gitApp/checks/Worker.py b/gitApp/checks/Worker.py index 85f0bab..b6feeab 100644 --- a/gitApp/checks/Worker.py +++ b/gitApp/checks/Worker.py @@ -1,5 +1,5 @@ -from mongoDocuments.QueueObject import QueueObject -from checks.CheckFlow import CheckFlow +from mongoDocuments import QueueObject +from checks import CheckFlow import sys diff --git a/gitApp/checks/__init__.py b/gitApp/checks/__init__.py index e69de29..fa055b7 100644 --- a/gitApp/checks/__init__.py +++ b/gitApp/checks/__init__.py @@ -0,0 +1,6 @@ +from .Authenticator import Authenticator +from .ImgurUploader import ImgurUploader +from .Commit import Commit +from .Repository import Repository +from .CheckFlow import CheckFlow +from .Worker import Worker diff --git a/gitApp/checks/oldMain.py b/gitApp/checks/oldMain.py index fa22c38..ec0c7ba 100644 --- a/gitApp/checks/oldMain.py +++ b/gitApp/checks/oldMain.py @@ -14,7 +14,7 @@ import argparse import sys, os -from checks.Repository import Repository +from checks import Repository if __name__ == "__main__": diff --git a/gitApp/checks/yamlSetups/uploadSetups.py b/gitApp/checks/yamlSetups/uploadSetups.py index a7a065e..c84d832 100644 --- a/gitApp/checks/yamlSetups/uploadSetups.py +++ b/gitApp/checks/yamlSetups/uploadSetups.py @@ -1,4 +1,4 @@ -from mongoDocuments.Setup import Setup +from mongoDocuments import Setup import mongoengine as me import os diff --git a/gitApp/hook/helper.py b/gitApp/hook/helper.py index 65f3fbf..56362d6 100644 --- a/gitApp/hook/helper.py +++ b/gitApp/hook/helper.py @@ -4,7 +4,7 @@ from typing import List, Union, Tuple import numpy as np -from mongoDocuments.Result import Result +from mongoDocuments import Result from mongoengine import QuerySet VERBOSE = True @@ -146,6 +146,7 @@ def convertOutput(out): def get_dyn_keys(res: Union[List, QuerySet]) -> Tuple[str, List]: """ Return all keys starting with dynamic_ + :param res: QuerySet containing all results to check :return: header string and array with labels """ @@ -167,6 +168,7 @@ def get_dyn_keys(res: Union[List, QuerySet]) -> Tuple[str, List]: def get_dyn_kv_pair(res: Result): """ Return String formatted with all key value pairs starting with dynamic_ + :param res: :return: """ diff --git a/gitApp/hook/views.py b/gitApp/hook/views.py index 7f7bb59..d222a36 100644 --- a/gitApp/hook/views.py +++ b/gitApp/hook/views.py @@ -1,7 +1,7 @@ from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from hook.helper import pretty_request -from checks.CheckFlow import CheckFlow +from checks import CheckFlow import json # Create your views here. diff --git a/gitApp/mongoDocuments/Config.py b/gitApp/mongoDocuments/Config.py index dcbeaed..73ecd03 100644 --- a/gitApp/mongoDocuments/Config.py +++ b/gitApp/mongoDocuments/Config.py @@ -1,4 +1,4 @@ -from mongoDocuments.Setup import Setup +from mongoDocuments import Setup import mongoengine as me diff --git a/gitApp/mongoDocuments/Result.py b/gitApp/mongoDocuments/Result.py index d923354..ca70fb5 100644 --- a/gitApp/mongoDocuments/Result.py +++ b/gitApp/mongoDocuments/Result.py @@ -1,5 +1,5 @@ import mongoengine as me -from mongoDocuments.Config import Config +from mongoDocuments import Config class Result(me.DynamicDocument): diff --git a/gitApp/mongoDocuments/__init__.py b/gitApp/mongoDocuments/__init__.py index e69de29..c2c513f 100644 --- a/gitApp/mongoDocuments/__init__.py +++ b/gitApp/mongoDocuments/__init__.py @@ -0,0 +1,4 @@ +from .Setup import Setup +from .QueueObject import QueueObject +from .Config import Config +from .Result import Result diff --git a/requirements.txt b/requirements.txt index 4f184db..a1fc6b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,28 +1,50 @@ +alabaster==0.7.12 +asgiref==3.2.3 asn1crypto==0.24.0 +Babel==2.8.0 certifi==2019.6.16 cffi==1.12.3 chardet==3.0.4 +commonmark==0.9.1 cryptography==2.7 cycler==0.10.0 ddt==1.2.1 Django==2.2.13 +docutils==0.16 gitdb2==2.0.5 GitPython==3.0.1 idna==2.8 +imagesize==1.2.0 +Jinja2==2.11.2 kiwisolver==1.1.0 +MarkupSafe==1.1.1 matplotlib==3.1.1 mongoengine==0.18.2 +mongomock==3.18.0 numpy==1.17.0 +packaging==20.4 py-cpuinfo==5.0.0 pycparser==2.19 +Pygments==2.6.1 PyJWT==1.7.1 pymongo==3.9.0 pyparsing==2.4.2 python-dateutil==2.8.0 pytz==2019.2 +recommonmark==0.6.0 requests==2.22.0 +sentinels==1.0.0 six==1.12.0 smmap2==2.0.5 +snowballstemmer==2.0.0 +Sphinx==3.1.2 +sphinx-rtd-theme==0.5.0 +sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.4 sqlparse==0.3.0 urllib3==1.25.3 uwsgi==2.0.18