Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into master #17

Merged
merged 53 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
415c9ce
Fix a few typos
kinow Sep 7, 2022
18ac60a
Merge pull request #3 from kinow/typos
jameshawkes Nov 8, 2022
19a8c67
updated requirements to fix github action issues
sametd Jul 31, 2023
81c1323
updated requirements to fix github action issues
sametd Jul 31, 2023
91453b1
black formatting
sametd Jul 31, 2023
9f19c6b
type comparison is improved
sametd Jul 31, 2023
5beb092
relative paths for 2 tests
sametd Jul 30, 2023
7e6af9a
relative path for etcd engine test
sametd Jul 30, 2023
e26868d
more relative path fixes
sametd Jul 30, 2023
d53a535
more relative path fixes and monkey patches whenever necessary)
sametd Jul 30, 2023
20a9c30
relative paths and monkey pathes for system tests
sametd Jul 31, 2023
fbaa455
code quaility fixes
sametd Aug 1, 2023
3f095e0
relative path fixes for aviso-server
sametd Aug 1, 2023
8e5ffde
migration address cleanup
sametd Aug 2, 2023
272a539
macos is added to github actions
sametd Aug 2, 2023
0bf3651
whatchdog is implemented instead of pyinotify
sametd Aug 2, 2023
a74f685
watchdog is added instead of pyinotify
sametd Aug 2, 2023
bae2602
isort for imports
sametd Aug 2, 2023
1405aa7
removed unnecessary blank lines
sametd Aug 2, 2023
69bfc07
black formatter for file-based engine
sametd Aug 2, 2023
5cb36c7
version for watchdog is set to 2.3.1 to keep python 3.6 support
sametd Aug 2, 2023
f36a1ef
monkey patching is not necessary here
sametd Dec 14, 2023
afb8b8e
venv folder is added to gitignore
sametd Dec 14, 2023
cff34c7
tox.ini is refined and venv added to exclude
sametd Dec 14, 2023
ce51a6a
polling logic is added to watchdog
sametd Dec 14, 2023
418455e
logger added to test callback for better debugging
sametd Dec 14, 2023
711553c
gitignore updated for the cases etcd run inside aviso folder
sametd Dec 14, 2023
c598936
new line is added at the end as suggested by flake
sametd Dec 14, 2023
4b50f33
black will ignore venv and directories starting with dot
sametd Dec 14, 2023
061e895
tox.ini improved for black for better ignore operation
sametd Dec 14, 2023
42a4f50
ecmwf auth was failing due to being inherited from etcd auth, instead…
sametd Dec 15, 2023
37fd36f
custom kube_metric support is added to monitoring
sametd Dec 20, 2023
03aebe7
token should only be checked if ssl is enabled
sametd Dec 20, 2023
7032e59
metric token support added for retrieve metrics function
sametd Dec 20, 2023
4089bc2
opsviewreporter instantiated when necessary to retrieve logs
sametd Dec 20, 2023
637b5d4
Revert "opsviewreporter instantiated when necessary to retrieve logs"
sametd Dec 20, 2023
3a202f7
metric token support added for retrieve metrics function
sametd Dec 20, 2023
1026913
mitigate metric variable installation
sametd Dec 20, 2023
964d4c0
namespace is now taken from the pod instead of a fixed name
sametd Dec 20, 2023
884fd4f
namespace is now taken from the pod instead of a fixed name
sametd Dec 20, 2023
7675c3c
name correction for the metric
sametd Dec 20, 2023
9478e9f
unnecessary info log is removed, otherwise same log would be written …
sametd Dec 20, 2023
c0d0f2b
Merge pull request #12 from ecmwf/hotfix/ssl_fix
sametd Dec 20, 2023
611c2ce
rename the token variable
sametd Dec 21, 2023
5b30701
migration is removed from admin as a better migration schema introduc…
sametd Dec 21, 2023
d1d115d
better readibility and seperation of duties
sametd Dec 21, 2023
20c4eeb
info level is better suited for config
sametd Dec 21, 2023
e0eacd2
better representations for user config
sametd Jan 8, 2024
eec9c74
version bumps
sametd Jan 9, 2024
b2ea1ae
documentation updates for whats new and ecmwf usage
sametd Jan 9, 2024
e7f6357
a minor change for post trigger message
sametd Jan 9, 2024
444f78b
ip fix for auth log
sametd Jan 9, 2024
fb9dfc5
Resolved merge conflicts
sametd Jan 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unnecessary info log is removed, otherwise same log would be written …
…over and over
sametd committed Dec 20, 2023
commit 9478e9ff63f4814952ef1925ed97d9a41d4e0227
Original file line number Diff line number Diff line change
@@ -202,9 +202,7 @@ def __init__(self, *args, **kwargs):

def metric(self):
namespace = self.get_k8s_pod_namespace()
if namespace:
logger.info(f"The pod is running in the '{namespace}' namespace.")
else:
if not namespace:
logger.warning("Could not determine the pod's namespace.")
namespace = "aviso"

Original file line number Diff line number Diff line change
@@ -185,9 +185,7 @@ def __init__(self, *args, **kwargs):

def metric(self):
namespace = self.get_k8s_pod_namespace()
if namespace:
logger.info(f"The pod is running in the '{namespace}' namespace.")
else:
if not namespace:
logger.warning("Could not determine the pod's namespace.")
namespace = "aviso"