Skip to content

Commit 90b686e

Browse files
authored
Merge pull request #47977 from makortel/remoteObsoleteStorage
Remove support for gsiftp:, sfn:, storm:, storm-lcg:, and lstore: protocols as obsolete
2 parents 10c8232 + 572ab77 commit 90b686e

File tree

14 files changed

+6
-1029
lines changed

14 files changed

+6
-1029
lines changed

IOPool/TFileAdaptor/src/TFileAdaptor.cc

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
/**
2626
Register TFileAdaptor to be the handler for a given type.
2727
28-
Once registered, URLs matching a specified regexp (for example, ^lstore: to
29-
manage files starting with lstore://) will be managed by a TFileAdaptor instance,
28+
Once registered, URLs matching a specified regexp (for example, ^root: to
29+
manage files starting with root://) will be managed by a TFileAdaptor instance,
3030
possibly overriding any built-in ROOT adaptors.
3131
3232
@param[in] mgr The ROOT plugin manager object.
@@ -180,20 +180,12 @@ TFileAdaptor::TFileAdaptor(edm::ParameterSet const& pset, edm::ActivityRegistry&
180180
if (!native("ftp"))
181181
addType(mgr, "^ftp:");
182182
/* always */ addType(mgr, "^web:");
183-
/* always */ addType(mgr, "^gsiftp:");
184-
/* always */ addType(mgr, "^sfn:");
185183
if (!native("dcache"))
186184
addType(mgr, "^dcache:");
187185
if (!native("dcap"))
188186
addType(mgr, "^dcap:");
189187
if (!native("gsidcap"))
190188
addType(mgr, "^gsidcap:");
191-
if (!native("storm"))
192-
addType(mgr, "^storm:");
193-
if (!native("storm-lcg"))
194-
addType(mgr, "^storm-lcg:");
195-
if (!native("lstore"))
196-
addType(mgr, "^lstore:");
197189
if (!native("root"))
198190
addType(mgr, "^root:", 1); // See comments in addType
199191
if (!native("root"))

IOPool/TFileAdaptor/test/tfileTest.cpp

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,16 @@
1818

1919
int main(int argc, char* argv[]) {
2020
// This list should replicate the addHandler calls in TFileAdaptor
21-
std::array<char const*, 14> const protocols = {{"^file:",
22-
"^http:",
23-
"^http[s]?:",
24-
"^ftp:",
25-
"^web:",
26-
"^gsiftp:",
27-
"^sfn:",
28-
"^dcache:",
29-
"^dcap:",
30-
"^gsidcap:",
31-
"^storm:",
32-
"^storm-lcg:",
33-
"^root:",
34-
"^[x]?root:"}};
35-
std::array<char const*, 14> const uris{{"file:foo",
21+
std::array<char const*, 10> const protocols = {
22+
{"^file:", "^http:", "^http[s]?:", "^ftp:", "^web:", "^dcache:", "^dcap:", "^gsidcap:", "^root:", "^[x]?root:"}};
23+
std::array<char const*, 10> const uris{{"file:foo",
3624
"http://foo",
3725
"https://foo",
3826
"ftp://foo",
3927
"web://foo",
40-
"gsiftp://foo",
41-
"sfn://foo",
4228
"dcache://foo",
4329
"dcap://foo",
4430
"gsidcap://foo",
45-
"storm://foo",
46-
"storm-lcg://foo",
4731
"root://foo",
4832
"xroot://foo"}};
4933

Utilities/LStoreAdaptor/BuildFile.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

Utilities/LStoreAdaptor/interface/LStoreFile.h

Lines changed: 0 additions & 72 deletions
This file was deleted.

Utilities/LStoreAdaptor/plugins/BuildFile.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

Utilities/LStoreAdaptor/plugins/LStoreStorageMaker.cc

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)