BAH-4157 | Migrate HIP Initiated Linking Flow to use ABDM v3 APIs #429
Annotations
10 warnings
build:
src/In.ProjectEKA.DefaultHip/Link/PatientRepository.cs#L23
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/In.ProjectEKA.HipService/Common/Model/CustomAuthenticationHandler.cs#L27
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
|
build:
src/In.ProjectEKA.HipService/Common/Model/CustomAuthenticationHandler.cs#L28
'AuthenticationHandler<CustomAuthenticationOptions>.AuthenticationHandler(IOptionsMonitor<CustomAuthenticationOptions>, ILoggerFactory, UrlEncoder, ISystemClock)' is obsolete: 'ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.'
|
build:
src/In.ProjectEKA.HipService/DataFlow/Encryptor/EncryptorHelper.cs#L20
'RNGCryptoServiceProvider' is obsolete: 'RNGCryptoServiceProvider is obsolete. To generate a random number, use one of the RandomNumberGenerator static methods instead.' (https://aka.ms/dotnet-warnings/SYSLIB0023)
|
build:
src/In.ProjectEKA.HipService/UserAuth/UserAuthController.cs#L260
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/In.ProjectEKA.HipService/Startup.cs#L207
'JsonSerializerOptions.IgnoreNullValues' is obsolete: 'JsonSerializerOptions.IgnoreNullValues is obsolete. To ignore null values when serializing, set DefaultIgnoreCondition to JsonIgnoreCondition.WhenWritingNull.' (https://aka.ms/dotnet-warnings/SYSLIB0020)
|
build:
src/In.ProjectEKA.HipService/Patient/PatientProfileService.cs#L69
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/In.ProjectEKA.HipService/Patient/PatientController.cs#L72
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
build:
src/In.ProjectEKA.HipService/Discovery/PatientDiscovery.cs#L57
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
|
build:
test/In.ProjectEKA.HipServiceTest/Common/TestServer/TestAuthHandler.cs#L14
'ISystemClock' is obsolete: 'Use TimeProvider instead.'
|