Skip to content

Commit fcbd10c

Browse files
Hub API: move interfaces to models lib to remove shared core reference
1 parent 9e37495 commit fcbd10c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
File renamed without changes.

src/Certify.Core/Management/CertifyManager/ICertifyManager.cs renamed to src/Certify.Models/Providers/ICertifyManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Threading.Tasks;
55
using Certify.Client;
66
using Certify.Config;
7+
using Certify.Core.Management.Access;
78
using Certify.Models;
89
using Certify.Models.Config;
910
using Certify.Models.Config.Migration;
@@ -78,7 +79,7 @@ public interface ICertifyManager
7879
Task<List<ActionStep>> TestDataStoreConnection(DataStoreConnection connection);
7980

8081
Task<ActionResult> TestCredentials(string storageKey);
81-
Task<Core.Management.Access.IAccessControl> GetCurrentAccessControl();
82+
Task<IAccessControl> GetCurrentAccessControl();
8283

8384
Task<ICollection<ManagedChallenge>> GetManagedChallenges();
8485
Task<ActionResult> UpdateManagedChallenge(ManagedChallenge update);
File renamed without changes.

src/Certify.Server/Certify.Server.Hub.Api/Certify.Server.Hub.Api.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
<ItemGroup>
2727
<ProjectReference Include="..\..\..\..\certify\src\Certify.SourceGenerators\Certify.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
2828
<ProjectReference Include="..\..\..\..\certify\src\Certify.Client\Certify.Client.csproj" />
29-
<ProjectReference Include="..\..\..\..\certify\src\Certify.Shared\Certify.Shared.Core.csproj" />
3029
<ProjectReference Include="..\..\Certify.Aspire\Certify.Aspire.ServiceDefaults\Certify.Aspire.ServiceDefaults.csproj" />
31-
<ProjectReference Include="..\..\Certify.CLI\Certify.CLI.csproj" />
32-
<ProjectReference Include="..\..\Certify.Core\Certify.Core.csproj" />
30+
<ProjectReference Include="..\..\Certify.Models\Certify.Models.csproj" />
3331

3432
</ItemGroup>
3533
</Project>
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<!-- source generators require netstandard2.0 and can't be higher versions like net9 etc-->
45
<TargetFramework>netstandard2.0</TargetFramework>
56
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
67
<LangVersion>latest</LangVersion>
78
</PropertyGroup>
89

910
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
10-
<NoWarn>1701;1702;RS1035</NoWarn>
11+
<NoWarn>1701;1702;RS1035</NoWarn>
1112
</PropertyGroup>
1213

1314
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
14-
<NoWarn>1701;1702;RS1035</NoWarn>
15+
<NoWarn>1701;1702;RS1035</NoWarn>
1516
</PropertyGroup>
1617
<ItemGroup>
1718
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.13.0" PrivateAssets="all" />
1819
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
1920
</ItemGroup>
2021
<ItemGroup>
21-
<ProjectReference Include="..\Certify.Models\Certify.Models.csproj" />
22+
<ProjectReference Include="..\Certify.Models\Certify.Models.csproj" />
2223
</ItemGroup>
2324
</Project>

0 commit comments

Comments
 (0)