Skip to content

Commit

Permalink
Merge pull request #165 from ARGOeu/ARGO-4420
Browse files Browse the repository at this point in the history
ARGO-4420 - endpoint Url for webdav and xrootd metric
  • Loading branch information
eimamagi authored Nov 2, 2023
2 parents e108173 + cab6bf9 commit f9ed7f6
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/modules/NCG/LocalMetricsAttrs/Active.pm
Original file line number Diff line number Diff line change
Expand Up @@ -382,21 +382,6 @@ sub _analyzeURLs {
$self->{SITEDB}->hostAttribute($hostname, 'BROKER_PORT', $cdmiurl->port);};
}

if ($self->{SITEDB}->hasService($hostname, "webdav")) {
unless ($self->{SITEDB}->hostAttribute($hostname, "ARGO_WEBDAV_OPS_URL")) {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_WEBDAV_OPS_URL", $self->{SITEDB}->hostAttribute($hostname, 'webdav_URL'));
}
}
if ($self->{SITEDB}->hasService($hostname, "XRootD")) {
unless ($self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL")) {
if ( $attr = $self->{SITEDB}->hostAttribute($hostname, "XROOTD_URL") ) {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL", $attr);
} else {
$self->{SITEDB}->hostAttribute($hostname, "ARGO_XROOTD_OPS_URL", $self->{SITEDB}->hostAttribute($hostname, 'XRootD_URL'));
}
}
}

}

sub _setDefaultPorts {
Expand Down

0 comments on commit f9ed7f6

Please sign in to comment.