Skip to content

Commit 5add130

Browse files
committed
Change endpoint for emulators to keep jenkins happy
1 parent ef5b8a6 commit 5add130

File tree

20 files changed

+47
-24
lines changed

20 files changed

+47
-24
lines changed

bin/createStoreResults.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"AcquisitionEra": "UPDATEME",
4444
"ProcessingVersion": 1, # will be updated too
4545
"Campaign": "StoreResults",
46-
"DbsUrl": "https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader",
46+
#"DbsUrl": "https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader",
47+
"DbsUrl": "https://cmsweb.cern.ch/dbs/prod/phys03/DBSReader",
4748
"GlobalTag": "crab3_tag",
4849
"Memory": 2000,
4950
"RequestPriority": 999999,

src/python/WMQuality/Emulators/DBSClient/MockDbsApi.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@
3636
except IOError:
3737
mockData03 = {}
3838

39-
mockData['https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'] = mockDataGlobal
40-
mockData['https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader'] = mockData03
39+
#mockData['https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'] = mockDataGlobal
40+
#mockData['https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader'] = mockData03
41+
mockData['https://cmsweb.cern.ch/dbs/prod/global/DBSReader'] = mockDataGlobal
42+
mockData['https://cmsweb.cern.ch/dbs/prod/phys03/DBSReader'] = mockData03
4143

4244
class MockDbsApi(object):
4345
def __init__(self, url):

src/python/WMQuality/Emulators/DBSClient/MockedDBSGlobalCalls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
from __future__ import (division, print_function)
44

5-
endpoint = 'https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'
5+
#endpoint = 'https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'
6+
endpoint = 'https://cmsweb.cern.ch/dbs/prod/global/DBSReader'
67

78
# Datasets to get all blocks, array, and lumis from
89
datasets = ['/HighPileUp/Run2011A-v1/RAW', '/MinimumBias/ComissioningHI-v1/RAW', '/Cosmics/ComissioningHI-v1/RAW',

src/python/WMQuality/Emulators/DBSClient/MockedDBSphys03Calls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
from __future__ import (division, print_function)
44

5-
endpoint = 'https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader'
5+
#endpoint = 'https://cmsweb-prod.cern.ch/dbs/prod/phys03/DBSReader'
6+
endpoint = 'https://cmsweb.cern.ch/dbs/prod/phys03/DBSReader'
67

78
datasets = []
89

src/python/WMQuality/Emulators/RucioClient/MockRucioApi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
from Utils.PythonVersion import PY2, PY3
2020
from Utils.Utilities import encodeUnicodeToBytesConditional
2121

22-
PROD_DBS = 'https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'
22+
#PROD_DBS = 'https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader'
23+
PROD_DBS = 'https://cmsweb.cern.ch/dbs/prod/global/DBSReader'
2324

2425
NOT_EXIST_DATASET = 'thisdoesntexist'
2526
# PILEUP_DATASET = '/HighPileUp/Run2011A-v1/RAW'

src/python/WMQuality/Emulators/WMSpecGenerator/Samples/BasicProcessingWorkload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def createWorkload(name="BasicProcessing"):
3232
primary = "Cosmics",
3333
processed = "CRAFT09-PromptReco-v1",
3434
tier = "RECO",
35-
dbsurl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader")
35+
#dbsurl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader")
36+
dbsurl = "https://cmsweb.cern.ch/dbs/prod/global/DBSReader")
3637

3738
# //
3839
# // rereco cmssw step

src/python/WMQuality/Emulators/WMSpecGenerator/Samples/MultiTaskProcessingWorkload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
from WMCore.WMSpec.WMWorkload import newWorkload
99

1010

11-
DBSURL = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader"
11+
#DBSURL = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader"
12+
DBSURL = "https://cmsweb.cern.ch/dbs/prod/global/DBSReader"
1213

1314
# //
1415
# // Set up the basic workload task and step structure

test/python/WMCore_t/Lexicon_t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ def testUrlValidation(self):
793793
Test the validateUrl function for some use case of DBS 3
794794
"""
795795
# Good http(s) urls
796-
for url in ['https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader',
796+
for url in ['https://cmsweb.cern.ch/dbs/prod/global/DBSReader',
797797
'https://mydbs.mydomain.de:8443',
798798
'http://localhost',
799799
'http://192.168.1.1',

test/python/WMCore_t/MicroService_t/MSTransferor_t/DataStructs_t/Workflow_t.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def testCampaignMap(self):
4040
}
4141
wflow = Workflow(tChainSpec['RequestName'], tChainSpec)
4242
self.assertEqual(len(wflow.getDataCampaignMap()), 3)
43-
self.assertEqual(wflow.getDbsUrl(), "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader")
43+
#self.assertEqual(wflow.getDbsUrl(), "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader")
44+
self.assertEqual(wflow.getDbsUrl(), "https://cmsweb.cern.ch/dbs/prod/global/DBSReader")
4445
for dataIn in wflow.getDataCampaignMap():
4546
if dataIn['type'] == "primary":
4647
self.assertItemsEqual(dataIn, {"type": "primary", "campaign": tChainSpec['Task1']['Campaign'],

test/python/WMCore_t/MicroService_t/Tools_t/Common_t.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class CommonTest(unittest.TestCase):
1818
"""Unit test for Common module"""
1919

2020
def setUp(self):
21-
self.dbsUrl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader"
21+
#self.dbsUrl = "https://cmsweb-prod.cern.ch/dbs/prod/global/DBSReader"
22+
self.dbsUrl = "https://cmsweb.cern.ch/dbs/prod/global/DBSReader"
2223
self.datasets = ['/ZMM/Summer11-DESIGN42_V11_428_SLHC1-v1/GEN-SIM',
2324
'/ZMM_14TeV/Summer12-DESIGN42_V17_SLHCTk-v1/GEN-SIM']
2425
self.child = ['/SingleElectron/Run2016B-18Apr2017_ver2-v1/AOD']

0 commit comments

Comments
 (0)