Skip to content

Commit

Permalink
Rename clamscan client script
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Sep 17, 2024
1 parent 323120e commit 64e6d6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/MCPClient/lib/archivematicaClientModules
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
assignfileuuids_v0.0 = assign_file_uuids
bindpid_v0.0 = bind_pid
removeunneededfiles_v0.0 = remove_unneeded_files
archivematicaclamscan_v0.0 = archivematica_clamscan
antivirus_v0.0 = antivirus
createevent_v0.0 = create_event
examinecontents_v0.0 = examine_contents
identifydspacefiles_v0.0 = identify_dspace_files
Expand Down
10 changes: 5 additions & 5 deletions src/MCPServer/lib/assets/workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,7 @@
"@manager": "linkTaskManagerFiles",
"@model": "StandardTaskConfig",
"arguments": "\"%fileUUID%\" \"%relativeLocation%\" \"%date%\"",
"execute": "archivematicaClamscan_v0.0",
"execute": "antivirus_v0.0",
"filter_subdir": "objects/submissionDocumentation",
"stderr_file": "%SIPLogsDirectory%clamAVScan.txt"
},
Expand Down Expand Up @@ -2556,7 +2556,7 @@
"@manager": "linkTaskManagerFiles",
"@model": "StandardTaskConfig",
"arguments": "\"%fileUUID%\" \"%relativeLocation%\" \"%date%\"",
"execute": "archivematicaClamscan_v0.0",
"execute": "antivirus_v0.0",
"stderr_file": "%SIPLogsDirectory%clamAVScan.txt"
},
"description": {
Expand Down Expand Up @@ -2885,7 +2885,7 @@
"@manager": "linkTaskManagerFiles",
"@model": "StandardTaskConfig",
"arguments": "\"%fileUUID%\" \"%relativeLocation%\" \"%date%\"",
"execute": "archivematicaClamscan_v0.0",
"execute": "antivirus_v0.0",
"stderr_file": "%SIPLogsDirectory%clamAVScan.txt"
},
"description": {
Expand Down Expand Up @@ -6624,7 +6624,7 @@
"@manager": "linkTaskManagerFiles",
"@model": "StandardTaskConfig",
"arguments": "\"%fileUUID%\" \"%relativeLocation%\" \"%date%\"",
"execute": "archivematicaClamscan_v0.0",
"execute": "antivirus_v0.0",
"filter_subdir": "objects/"
},
"description": {
Expand Down Expand Up @@ -7203,7 +7203,7 @@
"@manager": "linkTaskManagerFiles",
"@model": "StandardTaskConfig",
"arguments": "\"%fileUUID%\" \"%relativeLocation%\" \"%date%\"",
"execute": "archivematicaClamscan_v0.0",
"execute": "antivirus_v0.0",
"filter_subdir": "objects/metadata",
"stderr_file": "%SIPLogsDirectory%clamAVScan.txt"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/MCPClient/test_antivirus.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from unittest import mock

import pytest
from archivematica_clamscan import scan_file
from antivirus import scan_file
from clamav_client.scanner import Scanner
from clamav_client.scanner import ScanResult

Expand Down

0 comments on commit 64e6d6b

Please sign in to comment.