diff --git a/jenkinsfile b/jenkinsfile index 306cdaf..e1ddd58 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -55,8 +55,8 @@ emailext subject: env.JOB_NAME, mimeType: 'text/html', body: tmp_body, - //to: 'ermis.wieger@nttdata.com, Andreas.DB.Danzer@bmwgroup.com, OOC-Support@bmwgroup.com, michaela.jaeger@bmw.de, thilo.bindel@bmwgroup.com', - to: 'ermis.wieger@nttdata.com', + to: 'ermis.wieger@nttdata.com, Andreas.DB.Danzer@bmwgroup.com, Mohammed.Abadel@bmw.de', + //to: 'ermis.wieger@nttdata.com', replyTo: 'coco-apm@bmw.de', attachmentsPattern: '*.xlsx' diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..35ffa87 --- /dev/null +++ b/readme.md @@ -0,0 +1,43 @@ +# Key Request Monitor +This repository holds the code to generate the Key Request Report. + +Ouput is an excel file of all key requests used in slos, which has no data for 1M and 1W. + + +# Prerequisites + +## Python packages +Before executing scripts, python requirements have to be satisfied. To do so, execute following command: + pip install -r requirements.txt + +## .env file + +To provide authentication for API calls, create ".env" file in the script directory with following definition: + + = + is name of environment variable. This name should be passed to "environment.yaml" file as "env-token-name" parameter + Example: + environment.yaml file: "- env-token-name: "GLOBAL_CONFIG_TOKEN" + .env file: "GLOBAL_CONFIG_TOKEN=XXXXXXXXXXX" + +# Usage + + python createKeyRequestReport.py + +# Files + +## createKeyRequestReport.py + +This scripts generates the report. + +## environment.yaml +File containing environments to execute --auto-upload + + Environment name: + name: string #name ov environment + env-url: str #url of environment + env-token-name: str #name of environment variable containing API token + +## requirements.txt + +File containing required python packages \ No newline at end of file