-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3652 from cisagov/feature/CRRM-128
Refactor ImportManager Into Injectable Service
- Loading branch information
Showing
4 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
CSETWebApi/CSETWeb_Api/CSETWebCore.Interfaces/AssessmentIO/IImportManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//////////////////////////////// | ||
// | ||
// Copyright 2023 Battelle Energy Alliance, LLC | ||
// | ||
// | ||
//////////////////////////////// | ||
using CSETWebCore.DataLayer.Model; | ||
using System.Threading.Tasks; | ||
|
||
namespace CSETWebCore.Business.AssessmentIO.Import | ||
{ | ||
public interface IImportManager | ||
{ | ||
Task ProcessCSETAssessmentImport(byte[] zipFileFromDatabase, int? currentUserId, string accessKey, CSETContext context, string password = "", bool overwriteAssessment = false); | ||
void LaunchLegacyCSETProcess(string csetFilePath, string token, string processPath, string apiURL); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters