Skip to content

Commit

Permalink
Merge pull request #34 from logchange/missing-url-set
Browse files Browse the repository at this point in the history
Added missing url setting when building HofundConnection from AbstractHofundBasicHttpConnection
  • Loading branch information
marwin1991 authored Jun 26, 2024
2 parents b520946 + 6e1d0f1 commit 919c074
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public HofundConnection toHofundConnection() {
return HofundConnection.builder()
.target(getTarget())
.type(Type.HTTP)
.url(getUrl())
.fun(new AtomicReference<>(testConnection()))
.build();
} catch (Exception e) {
Expand Down
10 changes: 10 additions & 0 deletions hofund-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
<optional>true</optional>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<!-- usunąć -simpleclient jak hofund oraz softnet-parameters-publisher zostanie dostosowany do SpringBoot 3.3 i micrometer-registry-prometheus 1.13.0-->
<!-- https://github.com/micrometer-metrics/micrometer/wiki/1.13-Migration-Guide -->
<!-- https://github.com/logchange/hofund/issues/32 -->
<!-- https://gitlab.corp.softnet.com.pl/softnet/p31/softnet-parameters-publisher/-/issues/2 -->
<artifactId>micrometer-registry-prometheus-simpleclient</artifactId>
<version>${micrometer-registry-prometheus.version}</version>
<optional>true</optional>
</dependency>
</dependencies>

</project>

0 comments on commit 919c074

Please sign in to comment.