From 64f4440f45ca8c11d2d634ffdd54f4c6de942f63 Mon Sep 17 00:00:00 2001 From: ermisw Date: Thu, 29 Dec 2022 15:17:56 +0100 Subject: [PATCH] activated other environments --- createKeyRequestReport.py | 2 +- environment.yaml | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/createKeyRequestReport.py b/createKeyRequestReport.py index c681263..cdfc1de 100644 --- a/createKeyRequestReport.py +++ b/createKeyRequestReport.py @@ -95,7 +95,7 @@ def main(): slosF=getSLO(env, DTTOKEN, DTURL) for index, row in slosF.iterrows(): - if row['id'] == "7a7f9c66-75c1-30b9-a505-801ffa5f9e98": #or row['id'] == "ab1bf34a-10fc-3446-9cc7-79d257498a52": + #if row['id'] == "7a7f9c66-75c1-30b9-a505-801ffa5f9e98": #or row['id'] == "ab1bf34a-10fc-3446-9cc7-79d257498a52": krs.append(krp.parseBySLO(row)) resultSlos.extend(krs) diff --git a/environment.yaml b/environment.yaml index 310703f..7e9829a 100644 --- a/environment.yaml +++ b/environment.yaml @@ -4,17 +4,16 @@ euprod: - env-url: "https://xxu26128.live.dynatrace.com" - env-token-name: "EUPROD_TOKEN_VAR" - jenkins: "https://jaws.bmwgroup.net/opapm/" - -# naprod: -# - name: "naprod" -# - env-url: "https://wgv50241.live.dynatrace.com" -# - env-token-name: "NAPROD_TOKEN_VAR" -# - jenkins: "https://jaws.bmwgroup.net/opapm/" -# cnprod: -# - name: "cnprod" -# - env-url: "https://dyna-synth-cn.bmwgroup.com.cn/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b" -# - env-token-name: "CNPROD_TOKEN_VAR" -# - jenkins: "https://jaws-china.bmwgroup.net/opmaas/" +naprod: + - name: "naprod" + - env-url: "https://wgv50241.live.dynatrace.com" + - env-token-name: "NAPROD_TOKEN_VAR" + - jenkins: "https://jaws.bmwgroup.net/opapm/" +cnprod: + - name: "cnprod" + - env-url: "https://dyna-synth-cn.bmwgroup.com.cn/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b" + - env-token-name: "CNPROD_TOKEN_VAR" + - jenkins: "https://jaws-china.bmwgroup.net/opmaas/" # #cnpreprod: # - name: "cnpreprod" # - env-url: "https://dynatracemgd-tsp.bmwgroup.net/e/ab88c03b-b7fc-45f0-9115-9e9ecc0ced35"