Skip to content

Commit 5027206

Browse files
committed
no message
1 parent 596cba4 commit 5027206

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

src/Blauhaus.Push.Abstractions/Client/IPushNotificationsClientConfig.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
public interface IPushNotificationsClientConfig
44
{
55
string NotificationHubName { get; }
6-
string ConnectionString { get; }
76
}
87
}

src/Blauhaus.Push.Client/.Config/ConfigurationPushNotificationsClientConfig.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ public class ConfigurationPushNotificationsClientConfig : IPushNotificationsClie
1010
public ConfigurationPushNotificationsClientConfig(IConfiguration configuration)
1111
{
1212
NotificationHubName = configuration.GetRequiredString("PushNotifications", nameof(NotificationHubName));
13-
ConnectionString = configuration.GetRequiredString("PushNotifications", nameof(ConnectionString));
1413

1514
}
1615

1716
public string NotificationHubName { get; }
18-
public string ConnectionString { get; }
1917
}
2018
}

src/Blauhaus.Push.Client/.Config/PushNotificationsClientConfig.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ namespace Blauhaus.Push.Client.Config
55
public class PushNotificationsClientConfig : IPushNotificationsClientConfig
66
{
77
public string NotificationHubName { get; set; }
8-
public string ConnectionString { get; set; }
98
}
109
}

src/Blauhaus.Push.Runner/Config/MobileJackpotHub.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ public class MobileJackpotHub : BasePushRunnerHub
66
{
77
public MobileJackpotHub() : base(
88
platform: RuntimePlatform.Android,
9-
pnsHandle: "d3qJ5-2cTM-sUG9NfZe-vx:APA91bHjU0niuFut_DwnY2sdFaYhJkdyUHsTR8VHjC9rqFg2UPgusOgWahH4WAbS-xtPXSxk8ImTjhaXOKTNaaVyfc3luqnaeqcRvAVq2MesBSGN8N9AxxlQetPGL-0GCbK7WyIXLfX0",
9+
pnsHandle: "f1z423YdSEm0kxRHElGA5P:APA91bG0nYIt1TYp7tpo2Jhzy3Ynv6kA6WVJlPNm6MhxJPYelEI9_HGpbJ1q119OKa4W1KoO07Y-uHamf3RvfDuaqKAK2S2Jw7ixzNR8vxUoUh4zVkCgqRG4R8cjqqWJlIBn3S_YhLe-",
1010
deviceId: "1bc0bb0585a648e4",
11+
//pnsHandle: "dZaUMiXyRIqrapFMT86HxJ:APA91bHVhN-yRKX05qKrRhYwzvCRkMhNMFFZkd5uvlaQS5iOb_cxcDSEHsGoOjXuKxJZXToavXOUnFeiCeSloqnn8AjXgDLiVBAd33fzbaTMxiX_1a7JXv544HVxMpr_7y6-RSf3rZ7_",
12+
//deviceId: "194782195725107a",
1113
userId: "653")
1214
{
1315
NotificationHubConnectionString = "Endpoint=sb://mobile-jackpot-namespace.servicebus.windows.net/;SharedAccessKeyName=DefaultFullSharedAccessSignature;SharedAccessKey=FgAFw3Mg1aEgTX8vItdZizTg/qXnO+JN6ajcbeIX7VA=";

src/Blauhaus.Push.Server/Service/TargetedPushNotificationsServerService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ namespace Blauhaus.Push.Server.Service
1818
//this does not work on the free tier
1919
public class TargetedPushNotificationsServerService : ITargetedPushNotificationsServerService
2020
{
21-
private readonly IAnalyticsLogger<TargetedPushNotificationsServerService> _logger;
21+
private readonly ILogger<TargetedPushNotificationsServerService> _logger;
2222
private readonly INativeNotificationExtractor _nativeNotificationExtractor;
2323
private readonly INotificationHubClientProxy _hubClientProxy;
2424

2525
public TargetedPushNotificationsServerService(
26-
IAnalyticsLogger<TargetedPushNotificationsServerService> logger,
26+
ILogger<TargetedPushNotificationsServerService> logger,
2727
INativeNotificationExtractor nativeNotificationExtractor,
2828
INotificationHubClientProxy hubClientProxy)
2929
{

src/Blauhaus.Push.Tests.Server/Tests.Server/_Base/BasePushNotificationsServerTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using Blauhaus.TestHelpers.BaseTests;
88
using Blauhaus.TestHelpers.MockBuilders;
99
using Microsoft.Extensions.DependencyInjection;
10+
using Microsoft.Extensions.Logging;
1011
using NUnit.Framework;
1112

1213
namespace Blauhaus.Push.Tests.Tests.Server._Base
@@ -27,7 +28,7 @@ public virtual void SetUp()
2728

2829
protected MockBuilder<IPushNotificationsHub> MockNotificationHub => Mocks.AddMock<IPushNotificationsHub>().Invoke();
2930
protected NotificationHubClientProxyMockBuilder MockNotificationHubClientProxy => Mocks.AddMock<NotificationHubClientProxyMockBuilder, INotificationHubClientProxy>().Invoke();
30-
protected AnalyticsLoggerMockBuilder<TSut> MockLogger => Mocks.AddMock<AnalyticsLoggerMockBuilder<TSut>, IAnalyticsLogger<TSut>>().Invoke();
31+
protected LoggerMockBuilder<TSut> MockLogger => Mocks.AddMock<LoggerMockBuilder<TSut>, ILogger<TSut>>().Invoke();
3132
protected NativeNotificationExtractorMockBuilder MockNativeNotificationExtractor => Mocks.AddMock<NativeNotificationExtractorMockBuilder, INativeNotificationExtractor>().Invoke();
3233
}
3334
}

0 commit comments

Comments
 (0)