Skip to content

Commit

Permalink
Upgrade WindowsAzure.Storage to Microsoft.Azure.Cosmos.Table and Asur…
Browse files Browse the repository at this point in the history
…e.Storage.Blobs (#151)

* Upgrade WindowsAzure.Storage to Microsoft.Azure.Cosmos.Table and Azure.Microsoft.Azure.Storage.Blob (Step 1)

* Upgrade Microsoft.Azure.Storage.Blob to Asure.Storage.Blobs (stage 2)
  • Loading branch information
Arkatufus authored Apr 13, 2021
1 parent 1a0f8d6 commit ddf9ca3
Show file tree
Hide file tree
Showing 13 changed files with 303 additions and 175 deletions.
2 changes: 1 addition & 1 deletion src/Akka.Persistence.Azure.TestHelpers/DbUtils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
using Akka.Actor;
using Microsoft.WindowsAzure.Storage;
using Microsoft.Azure.Cosmos.Table;

namespace Akka.Persistence.Azure.TestHelpers
{
Expand Down
5 changes: 4 additions & 1 deletion src/Akka.Persistence.Azure/Akka.Persistence.Azure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<PropertyGroup>
<TargetFramework>$(NetStandardLibVersion)</TargetFramework>
<Description>Akka.Persistence support for Windows Azure Table storage and Azure blob storage.</Description>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,7 +15,9 @@

<ItemGroup>
<PackageReference Include="Akka.Persistence.Query" Version="$(AkkaVersion)" />
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
<PackageReference Include="Azure.Storage.Blobs" Version="12.8.1" />
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.8" />
<PackageReference Include="System.Linq.Async" Version="5.0.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Akka.Persistence.Azure/CloudTableExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Microsoft.Azure.Cosmos.Table;

namespace Akka.Persistence.Azure
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
using Akka.Persistence.Azure.Util;
using Akka.Persistence.Journal;
using Akka.Util.Internal;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Akka.Configuration;
using Microsoft.Azure.Cosmos.Table;
using Debug = System.Diagnostics.Debug;

namespace Akka.Persistence.Azure.Journal
Expand Down Expand Up @@ -712,7 +711,7 @@ private async Task<IEnumerable<string>> GetAllPersistenceIds()
{
var query = GenerateAllPersistenceIdsQuery();

TableQuerySegment result = null;
TableQuerySegment<DynamicTableEntity> result = null;

var returnValue = ImmutableList<string>.Empty;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
using System.Linq;
using Akka.Configuration;
using Microsoft.WindowsAzure.Storage;
using Microsoft.Azure.Cosmos.Table;

namespace Akka.Persistence.Azure.Journal
{
Expand Down
3 changes: 1 addition & 2 deletions src/Akka.Persistence.Azure/Journal/HighestSequenceNrEntry.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using Microsoft.Azure.Cosmos.Table;

namespace Akka.Persistence.Azure.Journal
{
Expand Down
Loading

0 comments on commit ddf9ca3

Please sign in to comment.