Skip to content

Commit

Permalink
Sorted build issue and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lailafritsvoldrognhaug committed Jul 3, 2024
1 parent 11d0895 commit 62c3d6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<Version>5.2.0-beta03</Version>
<Version>5.2.0-beta04</Version>
</PropertyGroup>
<PropertyGroup>
<Authors>Norsk Helsenett SF</Authors>
Expand Down
6 changes: 6 additions & 0 deletions src/Helsenorge.Registries/AddressRegistryRest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,41 +197,47 @@ public async Task<CertificateDetails> GetCertificateDetailsForEncryptionAsync(in
[Obsolete("This method is no longer supported.")]
public async Task<CertificateDetails> GetCertificateDetailsForEncryptionAsync(int herId, bool forceUpdate)
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}

/// <inheritdoc cref="IAddressRegistry.GetCertificateDetailsForValidatingSignatureAsync(int)"/>
[Obsolete("This method is no longer supported.")]
public async Task<CertificateDetails> GetCertificateDetailsForValidatingSignatureAsync(int herId)
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}

/// <inheritdoc cref="IAddressRegistry.GetCertificateDetailsForValidatingSignatureAsync(int, bool)"/>
[Obsolete("This method is no longer supported.")]
public async Task<CertificateDetails> GetCertificateDetailsForValidatingSignatureAsync(int herId, bool forceUpdate)
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}

/// <inheritdoc cref="IAddressRegistry.SearchByIdAsync"/>/>
[Obsolete("This method is no longer supported.")]
public async Task<IEnumerable<CommunicationPartyDetails>> SearchByIdAsync(string id, bool forceUpdate = false)
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}

/// <inheritdoc cref="IAddressRegistry.GetOrganizationDetailsAsync"/>
[Obsolete("This method is no longer supported.")]
public async Task<OrganizationDetails> GetOrganizationDetailsAsync(int herId, bool forceUpdate = false)
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}

/// <inheritdoc cref="IAddressRegistry.PingAsync"/>
[Obsolete("This method is no longer supported.")]
public async Task PingAsync()
{
await Task.Yield(); // Dummy await to avoid warning
throw new NotImplementedException();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public CollaborationProtocolRegistryRest(

var httpClientFactory = new ProxyHttpClientFactory(settings.RestConfiguration);
_restServiceInvoker = new RestServiceInvoker(_logger, httpClientFactory);
CertificateValidator = new CertificateValidator(_settings.UseOnlineRevocationCheck);
CertificateValidator = new CertificateValidator(_logger, _settings.UseOnlineRevocationCheck);
}

/// <inheritdoc cref="FindProtocolForCounterpartyAsync"/>
Expand Down

0 comments on commit 62c3d6d

Please sign in to comment.