Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update app.module.ts #210

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Dwapi/client-src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -201,10 +201,10 @@ import { CrsDocketComponent } from "../dockets/crs-docket/crs-docket.component";
import { MtsDocketComponent } from "../dockets/mts-docket/mts-docket.component";

import { exportComponent } from "../exports/file-exports.component";
import { UploadComponent } from "../upload/file-upload.component";
import { UploadComponent } from "../Upload/file-upload.component";
import { DownloadComponent } from '../download/download.component';
import { UploadService } from '../dockets/services/upload-service';
import { DndDirective } from "../upload/upload.directive";
import { DndDirective } from "../Upload/upload.directive";

import {AutoloadComponent} from "../autoload/autoload.component";
import {MtsService} from "../dockets/services/mts.service";

Unchanged files with check annotations Beta

{
public class DatabaseProtocol : DbProtocol
{
public Guid EmrSystemId { get; set; }

Check warning on line 10 in src/Dwapi.SettingsManagement.Core/Model/DatabaseProtocol.cs

GitHub Actions / build

'DatabaseProtocol.EmrSystemId' hides inherited member 'DbProtocol.EmrSystemId'. Use the new keyword if hiding was intended.
public ICollection<Extract> Extracts { get; set; }=new List<Extract>();
public DatabaseProtocol()
_integrityCheckRepository = integrityCheckRepository;
}
public async Task<Result> Handle(PerformSingleCheck request, CancellationToken cancellationToken)

Check warning on line 40 in src/Dwapi.SettingsManagement.Core/Application/Checks/Commands/PerformSingleCheck.cs

GitHub Actions / build

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.
{
_integrityCheckRepository.ClearById(request.IntegrityCheckId);
_integrityCheckRepository = integrityCheckRepository;
}
public async Task<Result> Handle(PerformCheck request, CancellationToken cancellationToken)

Check warning on line 37 in src/Dwapi.SettingsManagement.Core/Application/Checks/Commands/PerformCheck.cs

GitHub Actions / build

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.
{
_integrityCheckRepository.Clear();
{
public class EmrSystemRepository: BaseRepository<EmrSystem,Guid>, IEmrSystemRepository
{
private readonly ISourceReader _reader;

Check warning on line 15 in src/Dwapi.SettingsManagement.Infrastructure/Repository/EmrSystemRepository.cs

GitHub Actions / build

The field 'EmrSystemRepository._reader' is never used
public EmrSystemRepository(SettingsContext context) : base(context)
{
}
public void Clear(string docket)
{
var sql = $@"DELETE FROM {nameof(TransportLog)}s WHERE {nameof(TransportLog.Docket)}='{docket}'";
Context.Database

Check warning on line 19 in src/Dwapi.SettingsManagement.Infrastructure/Repository/TransportLogRepository.cs

GitHub Actions / build

The SQL expression passed to 'ExecuteSqlCommand' embeds data that will not be parameterized. Review for potential SQL injection vulnerability. See https://go.microsoft.com/fwlink/?linkid=871170 for more information.
.ExecuteSqlCommand(sql);
}
managedEmrs.ForEach(x =>
{
var sql = $"DELETE FROM {nameof(Extracts)} WHERE {nameof(Extract.EmrSystemId)} = '{x}'";
Database.ExecuteSqlCommand(sql);

Check warning on line 84 in src/Dwapi.SettingsManagement.Infrastructure/SettingsContext.cs

GitHub Actions / build

The SQL expression passed to 'ExecuteSqlCommand' embeds data that will not be parameterized. Review for potential SQL injection vulnerability. See https://go.microsoft.com/fwlink/?linkid=871170 for more information.
});
this.SeedNewOnly<Extract>(typeof(SettingsContext).Assembly, "|", "Seed", $"{nameof(Extracts)}").Wait();
using Dwapi.ExtractsManagement.Core.Interfaces.Cleaner.Crs;
using Dwapi.ExtractsManagement.Core.Interfaces.Repository;
using Dwapi.ExtractsManagement.Core.Interfaces.Repository.Crs;
using Dwapi.ExtractsManagement.Core.Interfaces.Repository.Crs;

Check warning on line 6 in src/Dwapi.ExtractsManagement.Core/Cleaner/Crs/ClearCrsExtracts.cs

GitHub Actions / build

The using directive for 'Dwapi.ExtractsManagement.Core.Interfaces.Repository.Crs' appeared previously in this namespace
using Dwapi.ExtractsManagement.Core.Model.Destination.Crs;
using Dwapi.ExtractsManagement.Core.Model.Destination.Crs;

Check warning on line 8 in src/Dwapi.ExtractsManagement.Core/Cleaner/Crs/ClearCrsExtracts.cs

GitHub Actions / build

The using directive for 'Dwapi.ExtractsManagement.Core.Model.Destination.Crs' appeared previously in this namespace
using Dwapi.ExtractsManagement.Core.Notifications;
using Dwapi.SharedKernel.Enum;
using Dwapi.SharedKernel.Events;
namespace Dwapi.ExtractsManagement.Core.Interfaces.Loaders.Hts
{
public interface IHTSClientLinkageLoader : ILoader<TempHTSClientLinkageExtract>

Check warning on line 5 in src/Dwapi.ExtractsManagement.Core/Interfaces/Loaders/Hts/IHTSClientLinkageLoader.cs

GitHub Actions / build

'TempHTSClientLinkageExtract' is obsolete: 'Class is obsolete,use TempHtsClientLinkage'
{
}
namespace Dwapi.ExtractsManagement.Core.Interfaces.Loaders.Hts
{
public interface IHTSClientLoader: ILoader<TempHTSClientExtract>

Check warning on line 5 in src/Dwapi.ExtractsManagement.Core/Interfaces/Loaders/Hts/IHTSClientLoader.cs

GitHub Actions / build

'TempHTSClientExtract' is obsolete: 'Class is obsolete,use TempHtsClients'
{
}
}