From cab6bf94541615d8ca01717c57d39c9c4fe1a839 Mon Sep 17 00:00:00 2001 From: eimamagi Date: Thu, 2 Nov 2023 12:53:21 +0100 Subject: [PATCH] ARGO-4420 - endpoint Url for webdav and xrootd metric --- src/modules/NCG/LocalMetricsAttrs/Active.pm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/modules/NCG/LocalMetricsAttrs/Active.pm b/src/modules/NCG/LocalMetricsAttrs/Active.pm index be4f213..aa1b031 100644 --- a/src/modules/NCG/LocalMetricsAttrs/Active.pm +++ b/src/modules/NCG/LocalMetricsAttrs/Active.pm @@ -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 {