From e175ece9d875a8b0d8d33a4c39bb110dabd357e1 Mon Sep 17 00:00:00 2001 From: Mirko Bellabarba Date: Fri, 20 Mar 2020 10:24:30 +0100 Subject: [PATCH] wip #53 * fixed watcher persistence contract --- .../Watchers/IAmWatcherPersistenceService.cs | 2 +- .../Persistence/OracleWatcherPersistenceService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Elfo.Wardein.Abstractions/Watchers/IAmWatcherPersistenceService.cs b/Elfo.Wardein.Abstractions/Watchers/IAmWatcherPersistenceService.cs index d152a3b..0186190 100644 --- a/Elfo.Wardein.Abstractions/Watchers/IAmWatcherPersistenceService.cs +++ b/Elfo.Wardein.Abstractions/Watchers/IAmWatcherPersistenceService.cs @@ -7,6 +7,6 @@ namespace Elfo.Firmenich.Wardein.Abstractions.Watchers { public interface IAmWatcherPersistenceService { - Task UpsertCurrentStatus(int watcherConfigurationId, int applicationId, int applicationHostname, bool isHealthy, Exception failureException = null); + Task UpsertCurrentStatus(int watcherConfigurationId, int applicationId, string applicationHostname, bool isHealthy, Exception failureException = null); } } diff --git a/Elfo.Wardein.Core/Persistence/OracleWatcherPersistenceService.cs b/Elfo.Wardein.Core/Persistence/OracleWatcherPersistenceService.cs index 8693bd3..12e76eb 100644 --- a/Elfo.Wardein.Core/Persistence/OracleWatcherPersistenceService.cs +++ b/Elfo.Wardein.Core/Persistence/OracleWatcherPersistenceService.cs @@ -16,7 +16,7 @@ public OracleWatcherPersistenceService(OracleConnectionConfiguration oracleConne this.oracleConnectionConfiguration = oracleConnectionConfiguration; } - public Task UpsertCurrentStatus(int watcherConfigurationId, int applicationId, int applicationHostname, bool isHealthy, Exception failureException = null) + public Task UpsertCurrentStatus(int watcherConfigurationId, int applicationId, string applicationHostname, bool isHealthy, Exception failureException = null) { throw new NotImplementedException(); }