Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 74548d4

Browse files
Release of version SPPMon 1.2.3 and SPPCheck 1.0.2
## SPPMon [1.2.3] - 2022-12-05 ### Changed * Upgraded Dockerfile python version from 3.8 to 3.10 ### Fixed * Upgraded requirements file ### Known Issues * There might be an issue with the alerts saved within the dashboard, requires investigation. ## SPPCheck [1.0.2] - 2022-12-05 ### Added * Debug information for accessing the excel json structure ### Fixed * Removed another feature to allow comparability with python3.8 instead of 3.9 * Choosing the an automatic RP in report controller no longer debugs the keyword-content prefix, but the self defined variable rp_prefix * Excel Json structure path within the excel controller has now the correct `sppCheck` case, as windows is case-insensitive * Temporary directory path within the report controller has now the correct `sppCheck` case, as windows is case-insensitive * Crash of Grafana-Panel downloader when using https fixed * Upgraded requirements file ### Known Issues
2 parents 65e681d + b0282a1 commit 74548d4

File tree

9 files changed

+44
-11
lines changed

9 files changed

+44
-11
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2525

2626
### Known Issues
2727

28+
## SPPMon [1.2.3] - 2022-12-05
29+
30+
### Changed
31+
32+
* Upgraded Dockerfile python version from 3.8 to 3.10
33+
34+
### Fixed
35+
36+
* Upgraded requirements file
37+
38+
### Known Issues
39+
40+
* There might be an issue with the alerts saved within the dashboard, requires investigation.
41+
42+
## SPPCheck [1.0.2] - 2022-12-05
43+
44+
### Added
45+
46+
* Debug information for accessing the excel json structure
47+
48+
### Fixed
49+
50+
* Removed another feature to allow comparability with python3.8 instead of 3.9
51+
* Choosing the an automatic RP in report controller no longer debugs the keyword-content prefix, but the self defined variable rp_prefix
52+
* Excel Json structure path within the excel controller has now the correct `sppCheck` case, as windows is case-insensitive
53+
* Temporary directory path within the report controller has now the correct `sppCheck` case, as windows is case-insensitive
54+
* Crash of Grafana-Panel downloader when using https fixed
55+
* Upgraded requirements file
56+
57+
### Known Issues
58+
2859
## SPPMon [1.2.2] - 2022-08-30
2960

3061
### Changed

python/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,4 @@ python.sln
187187

188188
# sppcheck temp files
189189
# created when executing SPPCheck
190-
sppcheck/report/temp_files/*
190+
sppCheck/report/temp_files/*

python/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM python:3.8
1+
FROM python:3.10
22

33
# For a smaller container use the following instead
4-
#FROM python:3.8-slim
4+
#FROM python:3.10-slim
55

66
WORKDIR /usr/src/app
77

python/sppCheck/excel/excel_controller.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ def __init__(self, sheet_path: str, sizer_version: str,
8383
if not re.match(r"^v\d+(\.\d+)+$", sizer_version):
8484
raise ValueError("The version is not in the correct format of \"v1.0\".")
8585

86-
json_structure_path = Path("sppcheck","json_structures")
86+
json_structure_path = Path("sppCheck","json_structures")
8787

8888
excel_structure_name = "excel_structure"
8989
excel_structure_path = json_structure_path.joinpath(f"{excel_structure_name}_{sizer_version}.json")
90+
LOGGER.debug(excel_structure_path)
9091
if(not exists(excel_structure_path)):
91-
raise ValueError(f"The this version of the Blueprint Sizer sheet is not supported. Please try using another version.")
92+
raise ValueError(f"This version of the Blueprint Sizer sheet is not supported. Please try using another version.")
9293
self.__excel_structure_path = excel_structure_path
9394

9495
if not influx_client:

python/sppCheck/report/grafana_panel_downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(
9494

9595
#### Preparing URL to server ####
9696
if ssl:
97-
self.__srv_url += "https://"
97+
self.__srv_url = "https://"
9898
else:
9999
self.__srv_url = "http://"
100100
# disable the verify to avoid bugs

python/sppCheck/report/report_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(
8484
LOGGER.debug(f"end_date: {self.__end_date}")
8585

8686
# also change the gitignore if you change this!
87-
self.__temp_dir_path = Path("sppcheck", "report", "temp_files")
87+
self.__temp_dir_path = Path("sppCheck", "report", "temp_files")
8888
LOGGER.debug(f"temp dir path: {self.__temp_dir_path}")
8989
self.__html_file_path = Path(self.__temp_dir_path, "report.html")
9090
LOGGER.debug(f"html file path: {self.__html_file_path}")

python/sppcheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
from utils.sppcheck_utils import Themes
4747

4848
# Version:
49-
VERSION = "1.0.1 (2022/08/30)"
49+
VERSION = "1.0.2 (2022/12/05)"
5050

5151

5252
# ----------------------------------------------------------------------------
5353
# command line parameter parsing
5454
# ----------------------------------------------------------------------------
5555
parser = ArgumentParser(
56-
exit_on_error=False,
56+
#exit_on_error=False,
5757
description="""
5858
SPPCheck is a system requirement verification and prediction tool aiming to enhance the existing functionality by verifying whether a system was set up correctly according to IBM's recommendations and predicting its future development.
5959
It focuses on the storage consumption of all associated vSnaps and the server's memory and catalog space and is open to future expansion of its capabilities.

python/sppmon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
06/17/2022 version 1.2.0 Change of logfile location, bug and documentation fixes. Removes deprecated functions.
8686
08/21/2022 version 1.2.1 Bugfixes and changes from SPPCheck
8787
08/21/2022 version 1.2.2 Upgrade of the requirements file, removal of Python10 features
88+
12/05/2022 version 1.2.3 Requirementsfile, docker python version
8889
8990
"""
9091
from __future__ import annotations
@@ -113,7 +114,7 @@
113114
from utils.spp_utils import SppUtils
114115

115116
# Version:
116-
VERSION = "1.2.2 (2022/08/30)"
117+
VERSION = "1.2.3 (2022/12/05)"
117118

118119

119120
# ----------------------------------------------------------------------------

python/utils/sppcheck_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def choose_latest_rp(influx_client: InfluxClient, rp_prefix: str ):
9999
latest_rp_name = None
100100

101101
for rp_name in rp_dict_full.keys():
102-
LOGGER.debug(f"Checking if RP {rp_name} matches the prefix {prefix}.")
102+
LOGGER.debug(f"Checking if RP {rp_name} matches the prefix {rp_prefix}.")
103103

104104
match = re.match(
105105
# this does not include UTC offset

0 commit comments

Comments
 (0)