Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion modules/nf-commons/src/main/nextflow/file/FileHelper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ class FileHelper {
return asPath(toPathURI(str))
}

static final private Map<String,String> PLUGINS_MAP = [s3:'nf-amazon', gs:'nf-google', az:'nf-azure']
static final private Map<String,String> PLUGINS_MAP = [s3:'nf-amazon', gs:'nf-google', az:'nf-azure', seqera:'nf-tower']

static final private Map<String,Boolean> SCHEME_CHECKED = new HashMap<>()

Expand All @@ -373,6 +373,7 @@ class FileHelper {
// find out the default plugin for the given scheme and try to load it
final pluginId = PLUGINS_MAP.get(scheme)
if( pluginId ) try {
log.debug "Detected required plugin '$pluginId'"
if( Plugins.startIfMissing(pluginId) ) {
log.debug "Started plugin '$pluginId' required to handle file: $str"
// return true to signal a new plugin was loaded
Expand Down
6 changes: 5 additions & 1 deletion plugins/nf-tower/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ nextflowPlugin {
'io.seqera.tower.plugin.TowerFactory',
'io.seqera.tower.plugin.TowerFusionToken',
'io.seqera.tower.plugin.auth.AuthCommandImpl',
'io.seqera.tower.plugin.launch.LaunchCommandImpl'
'io.seqera.tower.plugin.launch.LaunchCommandImpl',
'io.seqera.tower.plugin.fs.SeqeraPathFactory'
]
}

Expand All @@ -57,6 +58,9 @@ dependencies {
compileOnly 'io.seqera:lib-httpx:2.1.0'
api 'io.seqera:lib-platform-oidc:0.1.0'

api('io.seqera:tower-api:1.121.0') {
exclude group: 'io.micronaut.servlet'
}
api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.21.1"
api "com.fasterxml.jackson.core:jackson-databind:2.21.1"

Expand Down
Loading
Loading