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

Added H2 datasource type #56

Merged
merged 4 commits into from
Nov 24, 2024
Merged

Conversation

witx98
Copy link
Member

@witx98 witx98 commented Nov 23, 2024

Reason

To remove warnings from tests:

2024-11-23T19:45:29.121+01:00  WARN 9500 --- [HofundTest] [           main] d.l.h.c.s.d.DataSourceConnectionFactory  : Currently there is no support for DataSource: H2 please create issue at: https://github.com/logchange/hofund
2024-11-23T19:45:29.130+01:00  WARN 9500 --- [HofundTest] [           main] d.l.h.c.s.d.DataSourceConnectionFactory  : Currently there is no support for DataSource: H2 please create issue at: https://github.com/logchange/hofund
2024-11-23T19:45:29.133+01:00  WARN 9500 --- [HofundTest] [           main] d.l.h.c.s.d.DataSourceConnectionFactory  : Currently there is no support for DataSource: H2 please create issue at: https://github.com/logchange/hofund

Result

2024-11-23T20:18:53.214+01:00  INFO 11948 --- [HofundTest] [           main] p.w.h.PrintHofundConnectionsTabel        : 
+----------+--------------------------------------+--------+--------------------------------------------------+
| TYPE     | NAME                                 | STATUS | URL                                              |
+----------+--------------------------------------+--------+--------------------------------------------------+
| HTTP     | google                               | UP     | https://www.google.com/                          |
| DATABASE | 3b53d4d7-2ea0-42dd-8fe9-425c21214032 | UP     | jdbc:h2:mem:3b53d4d7-2ea0-42dd-8fe9-425c21214032 |
+----------+--------------------------------------+--------+--------------------------------------------------+
# HELP hofund_connection Current status of given connection
# TYPE hofund_connection gauge
hofund_connection{db_vendor="H2",id="hofundtest-3b53d4d7-2ea0-42dd-8fe9-425c21214032_database",source="hofundtest",target="3b53d4d7-2ea0-42dd-8fe9-425c21214032_database",type="database"} 1.0
# HELP hofund_edge Information about hofund edge, value is always 1.0, to check status use hofund_connection
# TYPE hofund_edge gauge
hofund_edge{db_vendor="H2",id="hofundtest-3b53d4d7-2ea0-42dd-8fe9-425c21214032_database",source="hofundtest",target="3b53d4d7-2ea0-42dd-8fe9-425c21214032_database",type="database"} 1.0

@witx98 witx98 self-assigned this Nov 23, 2024
@witx98
Copy link
Member Author

witx98 commented Nov 23, 2024

@marwin1991

@marwin1991
Copy link
Collaborator

@witx98 thanks for contrib!

@marwin1991 marwin1991 merged commit d71d948 into logchange:master Nov 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants