wmglobalqueue 2.4.2rc6__py3-none-any.whl → 2.4.2rc7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wmglobalqueue might be problematic. Click here for more details.
- WMCore/WMInit.py +176 -27
- WMCore/__init__.py +1 -1
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/METADATA +1 -1
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/RECORD +95 -95
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/bin/wmc-dist-patch +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/bin/wmc-dist-unpatch +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/bin/wmc-httpd +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/.couchapprc +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/README.md +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/index.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/js/ElementInfoByWorkflow.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/js/StuckElementInfo.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/js/WorkloadInfoTable.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/js/dataTable.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/js/namespace.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/_attachments/style/main.css +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/couchapp.json +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/filters/childQueueFilter.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/filters/filterDeletedDocs.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/filters/queueFilter.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/language +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lib/mustache.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lib/validate.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lib/workqueue_utils.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lists/elementsDetail.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lists/filter.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lists/stuckElements.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lists/workRestrictions.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/lists/workflowSummary.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/rewrites.json +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/shows/redirect.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/shows/status.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/ElementSummaryByWorkflow.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/StuckElementSummary.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/TaskStatus.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/WorkflowSummary.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/partials/workqueue-common-lib.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/partials/yui-lib-remote.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/templates/partials/yui-lib.html +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/updates/in-place.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/validate_doc_update.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/vendor/couchapp/_attachments/jquery.couch.app.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/vendor/couchapp/_attachments/jquery.pathbinder.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activeData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activeData/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activeParentData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activeParentData/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activePileupData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/activePileupData/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/analyticsData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/analyticsData/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/availableByPriority/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/conflicts/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elements/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByParent/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByParentData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByPileupData/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByStatus/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsBySubscription/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByWorkflow/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsByWorkflow/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/elementsDetailByWorkflowAndStatus/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobInjectStatusByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobInjectStatusByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobStatusByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobStatusByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndPriority/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndPriority/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndStatus/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndStatus/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByStatus/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByStatus/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByStatusAndPriority/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/jobsByStatusAndPriority/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/openRequests/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/recent-items/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/siteWhitelistByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/siteWhitelistByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/specsByWorkflow/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/stuckElements/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsInjectStatusByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsInjectStatusByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsUrl/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsUrl/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsUrlByRequest/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/wmbsUrlByRequest/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/workflowSummary/map.js +0 -0
- {wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/views/workflowSummary/reduce.js +0 -0
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/WHEEL +0 -0
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/licenses/LICENSE +0 -0
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/licenses/NOTICE +0 -0
- {wmglobalqueue-2.4.2rc6.dist-info → wmglobalqueue-2.4.2rc7.dist-info}/top_level.txt +0 -0
WMCore/WMInit.py
CHANGED
|
@@ -13,6 +13,8 @@ import os.path
|
|
|
13
13
|
import sys
|
|
14
14
|
import threading
|
|
15
15
|
import traceback
|
|
16
|
+
import warnings
|
|
17
|
+
import wmcoredb
|
|
16
18
|
|
|
17
19
|
from WMCore.Configuration import loadConfigurationFile
|
|
18
20
|
from WMCore.DAOFactory import DAOFactory
|
|
@@ -20,7 +22,6 @@ from WMCore.Database.DBFactory import DBFactory
|
|
|
20
22
|
from WMCore.Database.Transaction import Transaction
|
|
21
23
|
from WMCore.WMBase import getWMBASE
|
|
22
24
|
from WMCore.WMException import WMException
|
|
23
|
-
from WMCore.WMFactory import WMFactory
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class WMInitException(WMException):
|
|
@@ -54,11 +55,12 @@ def connectToDB():
|
|
|
54
55
|
|
|
55
56
|
socketLoc = getattr(wmAgentConfig.CoreDatabase, "socket", None)
|
|
56
57
|
connectUrl = getattr(wmAgentConfig.CoreDatabase, "connectUrl", None)
|
|
57
|
-
(dialect,
|
|
58
|
+
(dialect, _) = connectUrl.split(":", 1)
|
|
58
59
|
|
|
59
60
|
myWMInit = WMInit()
|
|
60
61
|
myWMInit.setDatabaseConnection(dbConfig=connectUrl, dialect=dialect,
|
|
61
62
|
socketLoc=socketLoc)
|
|
63
|
+
|
|
62
64
|
return
|
|
63
65
|
|
|
64
66
|
|
|
@@ -113,12 +115,12 @@ class WMInit(object):
|
|
|
113
115
|
return
|
|
114
116
|
|
|
115
117
|
options = {}
|
|
116
|
-
if dialect.lower()
|
|
117
|
-
dialect = 'MySQL
|
|
118
|
+
if dialect.lower() in ['mysql', 'mariadb']:
|
|
119
|
+
dialect = 'mariadb' # Both MySQL and MariaDB use the mariadb directory
|
|
118
120
|
if socketLoc != None:
|
|
119
121
|
options['unix_socket'] = socketLoc
|
|
120
122
|
elif dialect.lower() == 'oracle':
|
|
121
|
-
dialect = '
|
|
123
|
+
dialect = 'oracle' # Keep lowercase for consistency
|
|
122
124
|
elif dialect.lower() == 'http':
|
|
123
125
|
dialect = 'CouchDB'
|
|
124
126
|
else:
|
|
@@ -146,31 +148,178 @@ class WMInit(object):
|
|
|
146
148
|
|
|
147
149
|
This method needs to have been preceded by the
|
|
148
150
|
setDatabaseConnection.
|
|
151
|
+
|
|
152
|
+
@deprecated: Use setSchemaFromModules instead
|
|
153
|
+
"""
|
|
154
|
+
warnings.warn("setSchema is deprecated. Use setSchemaFromModules instead.", DeprecationWarning)
|
|
155
|
+
|
|
156
|
+
# create a map of old to new SQL module names
|
|
157
|
+
moduleMap = {
|
|
158
|
+
'WMCore.WMBS': 'wmbs',
|
|
159
|
+
'WMCore.ResourceControl': 'resourcecontrol',
|
|
160
|
+
'WMCore.BossAir': 'bossair',
|
|
161
|
+
'WMCore.Agent.Database': 'agent',
|
|
162
|
+
'WMComponent.DBS3Buffer': 'dbs3buffer',
|
|
163
|
+
'T0.WMBS': 'tier0',
|
|
164
|
+
'WMQuality.TestDB': 'testdb'
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
# convert old module names to new format
|
|
168
|
+
if modules:
|
|
169
|
+
modules = [moduleMap.get(module, module) for module in modules]
|
|
170
|
+
|
|
171
|
+
self.setSchemaFromModules(modules)
|
|
172
|
+
|
|
173
|
+
def setSchemaFromModules(self, sqlModules):
|
|
174
|
+
"""
|
|
175
|
+
Initialize database schema for one or more SQL packages.
|
|
176
|
+
It finds out which dialect is being used and then looks for the
|
|
177
|
+
appropriate SQL files in the sql directory.
|
|
178
|
+
|
|
179
|
+
:param sqlModules: List of SQL database modules to be initialized.
|
|
180
|
+
Current supported values are (default is 'wmbs'):
|
|
181
|
+
- 'wmbs'
|
|
182
|
+
- 'resourcecontrol'
|
|
183
|
+
- 'bossair'
|
|
184
|
+
- 'agent'
|
|
185
|
+
- 'dbs3buffer'
|
|
186
|
+
- 'tier0'
|
|
149
187
|
"""
|
|
150
|
-
modules = modules or []
|
|
151
188
|
myThread = threading.currentThread()
|
|
189
|
+
if not hasattr(myThread, 'dbi'):
|
|
190
|
+
raise WMInitException("Database connection not initialized. Call setDatabaseConnection first.")
|
|
191
|
+
|
|
192
|
+
# Get the database dialect
|
|
193
|
+
dialect = myThread.dialect.lower()
|
|
194
|
+
if dialect not in ['mariadb', 'oracle']:
|
|
195
|
+
raise WMInitException(f"Unsupported database dialect: {dialect}")
|
|
196
|
+
|
|
197
|
+
# Get the base directory (WMCore root)
|
|
198
|
+
if os.environ.get('WMCORE_ROOT'):
|
|
199
|
+
baseDir = os.environ['WMCORE_ROOT']
|
|
200
|
+
logging.info("SQL base directory based on WMCORE_ROOT: %s", baseDir)
|
|
201
|
+
else:
|
|
202
|
+
baseDir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
|
203
|
+
logging.info("SQL base directory based on WMInit-relative path: %s", baseDir)
|
|
204
|
+
|
|
205
|
+
# Define the SQL files needed for each module and their dependencies
|
|
206
|
+
# The order matters - modules that depend on others should come later
|
|
207
|
+
moduleSQLFiles = {
|
|
208
|
+
'wmbs': {
|
|
209
|
+
'files': ['create_wmbs_tables.sql', 'create_wmbs_indexes.sql', 'initial_wmbs_data.sql'],
|
|
210
|
+
'dependencies': []
|
|
211
|
+
},
|
|
212
|
+
'resourcecontrol': {
|
|
213
|
+
'files': ['create_resourcecontrol.sql'],
|
|
214
|
+
'dependencies': ['wmbs']
|
|
215
|
+
},
|
|
216
|
+
'bossair': {
|
|
217
|
+
'files': ['create_bossair.sql'],
|
|
218
|
+
'dependencies': ['wmbs']
|
|
219
|
+
},
|
|
220
|
+
'agent': {
|
|
221
|
+
'files': ['create_agent.sql'],
|
|
222
|
+
'dependencies': []
|
|
223
|
+
},
|
|
224
|
+
'dbs3buffer': {
|
|
225
|
+
'files': ['create_dbs3buffer.sql'],
|
|
226
|
+
'dependencies': ['wmbs']
|
|
227
|
+
},
|
|
228
|
+
'tier0': {
|
|
229
|
+
'files': ['create_tier0_tables.sql', 'create_tier0_indexes.sql', 'create_tier0_functions.sql', 'initial_tier0_data.sql'],
|
|
230
|
+
'dependencies': ['wmbs', 'dbs3buffer']
|
|
231
|
+
},
|
|
232
|
+
'testdb': {
|
|
233
|
+
'files': ['create_testdb.sql'],
|
|
234
|
+
'dependencies': []
|
|
235
|
+
},
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
# Validate all requested modules exist
|
|
239
|
+
for module in sqlModules:
|
|
240
|
+
if module not in moduleSQLFiles:
|
|
241
|
+
raise WMInitException(f"Unknown module: {module}")
|
|
242
|
+
|
|
243
|
+
# Sort modules based on dependencies
|
|
244
|
+
sorted_modules = []
|
|
245
|
+
remaining_modules = set(sqlModules)
|
|
246
|
+
|
|
247
|
+
while remaining_modules:
|
|
248
|
+
# Find modules with no remaining dependencies
|
|
249
|
+
ready_modules = [
|
|
250
|
+
mod for mod in remaining_modules
|
|
251
|
+
if all(dep in sorted_modules for dep in moduleSQLFiles[mod]['dependencies'])
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
if not ready_modules:
|
|
255
|
+
# Circular dependency detected
|
|
256
|
+
raise WMInitException("Circular dependency detected in module dependencies")
|
|
257
|
+
|
|
258
|
+
sorted_modules.extend(ready_modules)
|
|
259
|
+
remaining_modules -= set(ready_modules)
|
|
260
|
+
|
|
261
|
+
# Execute SQL files in dependency order
|
|
262
|
+
for module in sorted_modules:
|
|
263
|
+
logging.info("Executing SQL files for: %s", module)
|
|
264
|
+
for sql_file in moduleSQLFiles[module]['files']:
|
|
265
|
+
dialect_sql_file = wmcoredb.get_sql_file(module_name=module, file_name=sql_file, backend=dialect)
|
|
266
|
+
|
|
267
|
+
# now execute each SQL statement
|
|
268
|
+
for stmt in self._getSQLStatements(dialect_sql_file, dialect):
|
|
269
|
+
try:
|
|
270
|
+
myThread.dbi.processData(stmt)
|
|
271
|
+
except Exception as ex:
|
|
272
|
+
msg = f"Error executing SQL file {dialect_sql_file}. "
|
|
273
|
+
msg += f"Statement: {stmt}"
|
|
274
|
+
msg += str(ex)
|
|
275
|
+
raise WMInitException(msg)
|
|
152
276
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
277
|
+
return
|
|
278
|
+
|
|
279
|
+
def _getSQLStatements(self, sqlFile, dialect):
|
|
280
|
+
"""
|
|
281
|
+
Return the SQL statements from the file.
|
|
282
|
+
For MariaDB, it accepts the whole SQL file content in a single statement.
|
|
283
|
+
For Oracle, it splits the SQL file content into statements using the slash (/) terminator
|
|
284
|
+
when it appears as the first character in a line.
|
|
285
|
+
"""
|
|
286
|
+
if not os.path.exists(sqlFile):
|
|
287
|
+
raise WMInitException(f"SQL file not found: {sqlFile}")
|
|
288
|
+
|
|
289
|
+
with open(sqlFile, 'r', encoding='utf-8') as f:
|
|
290
|
+
sql = f.read()
|
|
291
|
+
|
|
292
|
+
if dialect == 'mariadb':
|
|
293
|
+
return [sql]
|
|
294
|
+
elif dialect == 'oracle':
|
|
295
|
+
statements = []
|
|
296
|
+
current_statement = []
|
|
297
|
+
|
|
298
|
+
for line in sql.split('\n'):
|
|
299
|
+
line = line.strip()
|
|
300
|
+
# Skip empty lines and comments
|
|
301
|
+
if not line or line.startswith('--'):
|
|
302
|
+
continue
|
|
303
|
+
|
|
304
|
+
# If we find a slash terminator at the start of a line
|
|
305
|
+
if line == '/':
|
|
306
|
+
# Join all lines collected so far into a statement
|
|
307
|
+
stmt = '\n'.join(current_statement)
|
|
308
|
+
if stmt.strip():
|
|
309
|
+
statements.append(stmt)
|
|
310
|
+
current_statement = []
|
|
311
|
+
else:
|
|
312
|
+
current_statement.append(line)
|
|
313
|
+
|
|
314
|
+
# Add any remaining statement
|
|
315
|
+
if current_statement:
|
|
316
|
+
stmt = '\n'.join(current_statement)
|
|
317
|
+
if stmt.strip():
|
|
318
|
+
statements.append(stmt)
|
|
319
|
+
|
|
320
|
+
return statements
|
|
321
|
+
else:
|
|
322
|
+
raise WMInitException(f"Unsupported database dialect: {dialect}")
|
|
174
323
|
|
|
175
324
|
def clearDatabase(self, modules=None):
|
|
176
325
|
"""
|
WMCore/__init__.py
CHANGED
|
@@ -30,9 +30,9 @@ WMCore/WMConnectionBase.py,sha256=cW8E-cvmSfEqfyqjvpuKI3Nbj_TmO-M-UrrRVxKKCYM,46
|
|
|
30
30
|
WMCore/WMException.py,sha256=-q-HjPcbvji-vtfZ2Uxr1oupsuF9D0c1KjM4i9TT3og,5502
|
|
31
31
|
WMCore/WMExceptions.py,sha256=1ReKj5kBoXXeOJzPa1CV7i2577rMVoASO5MhR2a9vfc,18794
|
|
32
32
|
WMCore/WMFactory.py,sha256=igQIcDwaDimxbo_kfyF01E8AU9dmCICU_rKsWiE-Wbs,2852
|
|
33
|
-
WMCore/WMInit.py,sha256=
|
|
33
|
+
WMCore/WMInit.py,sha256=w6UKx7YLQ-iRM9LhigCalKcxIGvlRs7RRHyiVdeoiAE,13556
|
|
34
34
|
WMCore/WMLogging.py,sha256=_p6e819wLjVc1pDrOymV4ssMfHd40p56iNRZ63e_RgY,3577
|
|
35
|
-
WMCore/__init__.py,sha256=
|
|
35
|
+
WMCore/__init__.py,sha256=BxqYGX60iAz1CUQ2IBZ2cGGtzn1oVowVCK6pLp1R1M0,128
|
|
36
36
|
WMCore/ACDC/Collection.py,sha256=oQziWoM8zH-Wt6H6Lxv2h7widEefPLcEhTtJv9e_Vvg,1145
|
|
37
37
|
WMCore/ACDC/CollectionTypes.py,sha256=9CW9sO9HDd-hVMgJan6bBdF5ehAZsnpFOBlJN16EnU0,273
|
|
38
38
|
WMCore/ACDC/CouchCollection.py,sha256=ZMJ4sRavIdSJ_UO_Nsq_W4rOyBoMWeZit_ElSxAkYt4,1961
|
|
@@ -251,96 +251,96 @@ WMCore/WorkQueue/Policy/Start/__init__.py,sha256=pco1Wy0Rak-RtHZvc6c9lxme7eHidTF
|
|
|
251
251
|
WMCore/Wrappers/__init__.py,sha256=PWffOkW1-tNdjP66oA8avZR_zsupBpkcwADgwPzs818,76
|
|
252
252
|
WMCore/Wrappers/JsonWrapper/JSONThunker.py,sha256=Zti4Zywlsg_3OtXphVy1IxqSZrKCqTuLBJ8rlntLHOU,12767
|
|
253
253
|
WMCore/Wrappers/JsonWrapper/__init__.py,sha256=lHa_NpXPjLv7AODH7rtwcGl7es-0tx95eZv6rp11df0,165
|
|
254
|
-
wmglobalqueue-2.4.
|
|
255
|
-
wmglobalqueue-2.4.
|
|
256
|
-
wmglobalqueue-2.4.
|
|
257
|
-
wmglobalqueue-2.4.
|
|
258
|
-
wmglobalqueue-2.4.
|
|
259
|
-
wmglobalqueue-2.4.
|
|
260
|
-
wmglobalqueue-2.4.
|
|
261
|
-
wmglobalqueue-2.4.
|
|
262
|
-
wmglobalqueue-2.4.
|
|
263
|
-
wmglobalqueue-2.4.
|
|
264
|
-
wmglobalqueue-2.4.
|
|
265
|
-
wmglobalqueue-2.4.
|
|
266
|
-
wmglobalqueue-2.4.
|
|
267
|
-
wmglobalqueue-2.4.
|
|
268
|
-
wmglobalqueue-2.4.
|
|
269
|
-
wmglobalqueue-2.4.
|
|
270
|
-
wmglobalqueue-2.4.
|
|
271
|
-
wmglobalqueue-2.4.
|
|
272
|
-
wmglobalqueue-2.4.
|
|
273
|
-
wmglobalqueue-2.4.
|
|
274
|
-
wmglobalqueue-2.4.
|
|
275
|
-
wmglobalqueue-2.4.
|
|
276
|
-
wmglobalqueue-2.4.
|
|
277
|
-
wmglobalqueue-2.4.
|
|
278
|
-
wmglobalqueue-2.4.
|
|
279
|
-
wmglobalqueue-2.4.
|
|
280
|
-
wmglobalqueue-2.4.
|
|
281
|
-
wmglobalqueue-2.4.
|
|
282
|
-
wmglobalqueue-2.4.
|
|
283
|
-
wmglobalqueue-2.4.
|
|
284
|
-
wmglobalqueue-2.4.
|
|
285
|
-
wmglobalqueue-2.4.
|
|
286
|
-
wmglobalqueue-2.4.
|
|
287
|
-
wmglobalqueue-2.4.
|
|
288
|
-
wmglobalqueue-2.4.
|
|
289
|
-
wmglobalqueue-2.4.
|
|
290
|
-
wmglobalqueue-2.4.
|
|
291
|
-
wmglobalqueue-2.4.
|
|
292
|
-
wmglobalqueue-2.4.
|
|
293
|
-
wmglobalqueue-2.4.
|
|
294
|
-
wmglobalqueue-2.4.
|
|
295
|
-
wmglobalqueue-2.4.
|
|
296
|
-
wmglobalqueue-2.4.
|
|
297
|
-
wmglobalqueue-2.4.
|
|
298
|
-
wmglobalqueue-2.4.
|
|
299
|
-
wmglobalqueue-2.4.
|
|
300
|
-
wmglobalqueue-2.4.
|
|
301
|
-
wmglobalqueue-2.4.
|
|
302
|
-
wmglobalqueue-2.4.
|
|
303
|
-
wmglobalqueue-2.4.
|
|
304
|
-
wmglobalqueue-2.4.
|
|
305
|
-
wmglobalqueue-2.4.
|
|
306
|
-
wmglobalqueue-2.4.
|
|
307
|
-
wmglobalqueue-2.4.
|
|
308
|
-
wmglobalqueue-2.4.
|
|
309
|
-
wmglobalqueue-2.4.
|
|
310
|
-
wmglobalqueue-2.4.
|
|
311
|
-
wmglobalqueue-2.4.
|
|
312
|
-
wmglobalqueue-2.4.
|
|
313
|
-
wmglobalqueue-2.4.
|
|
314
|
-
wmglobalqueue-2.4.
|
|
315
|
-
wmglobalqueue-2.4.
|
|
316
|
-
wmglobalqueue-2.4.
|
|
317
|
-
wmglobalqueue-2.4.
|
|
318
|
-
wmglobalqueue-2.4.
|
|
319
|
-
wmglobalqueue-2.4.
|
|
320
|
-
wmglobalqueue-2.4.
|
|
321
|
-
wmglobalqueue-2.4.
|
|
322
|
-
wmglobalqueue-2.4.
|
|
323
|
-
wmglobalqueue-2.4.
|
|
324
|
-
wmglobalqueue-2.4.
|
|
325
|
-
wmglobalqueue-2.4.
|
|
326
|
-
wmglobalqueue-2.4.
|
|
327
|
-
wmglobalqueue-2.4.
|
|
328
|
-
wmglobalqueue-2.4.
|
|
329
|
-
wmglobalqueue-2.4.
|
|
330
|
-
wmglobalqueue-2.4.
|
|
331
|
-
wmglobalqueue-2.4.
|
|
332
|
-
wmglobalqueue-2.4.
|
|
333
|
-
wmglobalqueue-2.4.
|
|
334
|
-
wmglobalqueue-2.4.
|
|
335
|
-
wmglobalqueue-2.4.
|
|
336
|
-
wmglobalqueue-2.4.
|
|
337
|
-
wmglobalqueue-2.4.
|
|
338
|
-
wmglobalqueue-2.4.
|
|
339
|
-
wmglobalqueue-2.4.
|
|
340
|
-
wmglobalqueue-2.4.
|
|
341
|
-
wmglobalqueue-2.4.
|
|
342
|
-
wmglobalqueue-2.4.
|
|
343
|
-
wmglobalqueue-2.4.
|
|
344
|
-
wmglobalqueue-2.4.
|
|
345
|
-
wmglobalqueue-2.4.
|
|
346
|
-
wmglobalqueue-2.4.
|
|
254
|
+
wmglobalqueue-2.4.2rc7.data/data/bin/wmc-dist-patch,sha256=N8vwiPeFe27vwoNPcr6fGAW-0aTY1FzJkztwIzHUadc,646
|
|
255
|
+
wmglobalqueue-2.4.2rc7.data/data/bin/wmc-dist-unpatch,sha256=MPHT-EYI6pRpUaZZup_UHnDsZ5duwBztK_1ZltRkv2A,409
|
|
256
|
+
wmglobalqueue-2.4.2rc7.data/data/bin/wmc-httpd,sha256=wt0jRt7KAebb1j0FJFl4zQfg1rKP1mNGj3cw_nEjIII,63
|
|
257
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/.couchapprc,sha256=RBNvo1WzZ4oRRq0W9-hknpT7T8If536DEMBg9hyq_4o,2
|
|
258
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/README.md,sha256=93xySoW6AElCga0OWj2-qzBL-6SZ9MpeIJtNEx2b4qQ,1660
|
|
259
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/couchapp.json,sha256=dTC3iksvMGNQGeX0G3pnanQodY2zteyi-UfT3mZheH4,95
|
|
260
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/language,sha256=7acXRsAcP0Zf_QK22hWmUY5vvI8G8axSW-GTvlUHBp0,10
|
|
261
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/rewrites.json,sha256=cdgUaGXe1zKW1NNwMZ6wpmbqTbQm4UzmZNI0oAbxsQM,1084
|
|
262
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/validate_doc_update.js,sha256=4nsyt92jTfAPJwXIXExjRkPL4-w6cIZgotKI-gDsSnI,218
|
|
263
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/index.html,sha256=zULuvkxSg-Ag3rtfYqW1KkKeckiD-dxc3k5uu1ekfPM,9400
|
|
264
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/js/ElementInfoByWorkflow.js,sha256=9f3fdF2YYgIwJlADNDW5_3f3Ghcsz9UvhWYT6mKukDs,3433
|
|
265
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/js/StuckElementInfo.js,sha256=eU9D_4UJLkAjZ1GedgZpdcZ7AlpoDih876frocI1d8s,2060
|
|
266
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/js/WorkloadInfoTable.js,sha256=2asIM4dWM-vLjiPoLLjob5VbQuckVUcm_M0JeWKpPhI,3010
|
|
267
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/js/dataTable.js,sha256=WcMwNPMj7ZNjTr0TnxMujahssD29VlhiIL_qWIUILFM,1970
|
|
268
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/js/namespace.js,sha256=DJuiPB3Fjb-hnD82RhJ9inXukBvgWyQTiZ9gQj6_I2w,574
|
|
269
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/_attachments/style/main.css,sha256=AnReXS11iik_ASebi-uJL4C8Y_TVXHYiMwm9Fdx0YCQ,886
|
|
270
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/filters/childQueueFilter.js,sha256=RVBRPuD2x6V_9p9orcdcYYhepT-ZUzlXJ07VTARmwUM,349
|
|
271
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/filters/filterDeletedDocs.js,sha256=MuY08stikN4PxLQQtnD8HBfCLtiKInBgwhfdbUiBAHg,48
|
|
272
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/filters/queueFilter.js,sha256=CU2-vwVcgfE274iIzS1cckq-A9KVbPs_O31Fdu2M6F4,402
|
|
273
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lib/mustache.js,sha256=RRQuMFZ_kSvF87QwfS-ZZ8I_hYvdJ5ZzIg-WM-_wbVY,9247
|
|
274
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lib/validate.js,sha256=A7eV6JJi1MIk0an-x8FdsPntSWa7dRM8FbrrmRTN36w,739
|
|
275
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lib/workqueue_utils.js,sha256=oG2brBkNNSyFQM0Ha7LQGF7hOw33M6goMGlnA5omAgI,1768
|
|
276
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lists/elementsDetail.js,sha256=qaCQjHiZW5BhMd5ay00J_ARGbWvHnWRLQ1ix5p3jUvc,868
|
|
277
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lists/filter.js,sha256=0YQmq6LQV_Al-Dh6Z3LVowcLI2sZ7YJDPBNKIWyfp38,1857
|
|
278
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lists/stuckElements.js,sha256=5WOYHnSegosoH11oQjwo7YEinZ5uJhl6y_71wbTMoFo,1316
|
|
279
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lists/workRestrictions.js,sha256=-FoDtMhvlgd3cey_iRkFQqRVKNY1Wm2tZXuMu83c5KA,4667
|
|
280
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/lists/workflowSummary.js,sha256=AwRQzL_Dcz26zTn4v71pPAs2VBDPC1IAEU2Kk_x_kKA,845
|
|
281
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/shows/redirect.js,sha256=S8A_JvZ-IoWW3zIJSZ7bf5E-YIAArH8EyJhSzXevXew,930
|
|
282
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/shows/status.js,sha256=CqMfpYTOJrzEULISF1Pigc-gBLRKroG613jOWO1yQ94,1092
|
|
283
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/ElementSummaryByWorkflow.html,sha256=leNmN9jevNNuiuQo1VHSP2mKpAthJGqPHDs2WjsESHw,563
|
|
284
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/StuckElementSummary.html,sha256=K3z8lMjUz4rvIeWjfFpcIrk01XvJii7cwA8xrhaoT9c,501
|
|
285
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/TaskStatus.html,sha256=r4CFXQuWFQ1cRT20BJuXsBshgvIuRYpvX_cJs2qAUJQ,579
|
|
286
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/WorkflowSummary.html,sha256=C3YK7tZqCABCh3uoCL2u2yeFww2tsecUrvCmiTQuTss,552
|
|
287
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/partials/workqueue-common-lib.html,sha256=fzf0lmAoIxxxX6SBkWPyfAt9_b5vrZg610xpj2rQ3RE,79
|
|
288
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/partials/yui-lib-remote.html,sha256=EvF2GfbbRyli3BybEEDUaYq-4HUyGgKIO0rd7IFwUts,1403
|
|
289
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/templates/partials/yui-lib.html,sha256=0hs1eVSnqYdO5SrCEduAB7U7Mdt-Ox3R5NCu9erxG3c,1345
|
|
290
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/updates/in-place.js,sha256=7HFtVesuIgXdye-BVcNhQ1g42msqMtA9EKxohzjS4DQ,1384
|
|
291
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/vendor/couchapp/_attachments/jquery.couch.app.js,sha256=ZAa-QGSHpmq5G8q20yPuliQeuOenh42XeikXXPCdG6E,7245
|
|
292
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/vendor/couchapp/_attachments/jquery.pathbinder.js,sha256=j51uO-RelZTFaXJTRD21pK52pLgREDp2sN7WMy9U1ZM,4844
|
|
293
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activeData/map.js,sha256=U3-gh_LcmKdn9X1otiO4w_-jfq3jQqr3Io7izEF9nEY,228
|
|
294
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activeData/reduce.js,sha256=JO5DkSBfpqDFB9VTlx8G-fpx-6DpAGbdGqK92OWQsVo,26
|
|
295
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activeParentData/map.js,sha256=3SAcOx-eL2Ym_fLbASnvvctg-p6JfMqaCzQpeZkkXR8,247
|
|
296
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activeParentData/reduce.js,sha256=JO5DkSBfpqDFB9VTlx8G-fpx-6DpAGbdGqK92OWQsVo,26
|
|
297
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activePileupData/map.js,sha256=b9UIf4jfwRCdtvfyw7HHI-l-xrEH9bPu-ALjtHEhS9Y,253
|
|
298
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/activePileupData/reduce.js,sha256=JO5DkSBfpqDFB9VTlx8G-fpx-6DpAGbdGqK92OWQsVo,26
|
|
299
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/analyticsData/map.js,sha256=GH1Xa6UtvDUY17mSWwcW8OQ_Xosb05tIHXaeGuvfheU,474
|
|
300
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/analyticsData/reduce.js,sha256=dqyUOCjOBfdm63Lh2Xvp650cvkIGSPPziiDu59SioKI,4
|
|
301
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/availableByPriority/map.js,sha256=VBTxm-gX3YENMK3DstuklVYmPwspRpTPwLZ3DKnC7A4,216
|
|
302
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/conflicts/map.js,sha256=jSa32z5mwzMPCnqzfBgeFRIZKeAA68e4GpVp80B9DhM,96
|
|
303
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elements/map.js,sha256=JQ2NrPbLggfZZ0-BKGSJkHSPnnGSNoV7n5dwPlcm2yY,137
|
|
304
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByData/map.js,sha256=W_ccKYBsbRKCpyolivBMGRU7BUX8P-s3k4dIxVjsZkM,225
|
|
305
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByParent/map.js,sha256=Ld8-VPjbNEXcxS5jCXmkckxZBWbldqMkCFXfqgqyamk,324
|
|
306
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByParentData/map.js,sha256=Jbf6BYCtBGOReoKbXav1_KflXXBJWpXD60jYDPZy3Eo,247
|
|
307
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByPileupData/map.js,sha256=NA7awhNN7xtyBbnXEsRoHnOtAWMSeuDwnriPQaWP1h8,253
|
|
308
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByStatus/map.js,sha256=NKbL9cwKFXGx-vZC6pxJAPeAqSLH-ee8n4M3dTMx0Zk,331
|
|
309
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsBySubscription/map.js,sha256=Q0GQHQnqd9OID8EHdXrRx9Wp6dSGAN7kjwa7Dtv5bo4,188
|
|
310
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByWorkflow/map.js,sha256=jfY55RFG0mTYpGd16jeJWVOKuJfunoSugFGDsbkoUXs,336
|
|
311
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsByWorkflow/reduce.js,sha256=w2lUOSoqixL2YdqEjBfopKj4_4U43F6bihGIfhTF5nc,41
|
|
312
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/elementsDetailByWorkflowAndStatus/map.js,sha256=uLOvNtGXk0luasoBdTikhCZcxo4BqiAu_qH54fAkXv0,1567
|
|
313
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobInjectStatusByRequest/map.js,sha256=bMazqlpddwjxhwiq94KQDNy8wGQrYyKp35uzQ-ptpKY,361
|
|
314
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobInjectStatusByRequest/reduce.js,sha256=dqyUOCjOBfdm63Lh2Xvp650cvkIGSPPziiDu59SioKI,4
|
|
315
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobStatusByRequest/map.js,sha256=UkoCH1yMTI1AlEag3Ytf8uvtsjm5MUZQtnqo1VokKbs,212
|
|
316
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobStatusByRequest/reduce.js,sha256=nlsMb5H9WpxcnFuMmDHBEPI0r49sIZCIg-iA8d8f8UQ,6
|
|
317
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndPriority/map.js,sha256=cKCa3yJAW6TqF1Gh0mKs6KoZwl1K0yj1p6G4K0aB3Yk,192
|
|
318
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndPriority/reduce.js,sha256=PePqXHjVhLAKzRNrlPJXucgNwB3wv-EDrvUYyQMiLyI,7
|
|
319
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndStatus/map.js,sha256=X2pX7Qo_xhT7raXhJXnHwz7zgsERGBRF_14r72SCPho,190
|
|
320
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByChildQueueAndStatus/reduce.js,sha256=PePqXHjVhLAKzRNrlPJXucgNwB3wv-EDrvUYyQMiLyI,7
|
|
321
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByRequest/map.js,sha256=jMdd5Zc2U834IjQcLksI66NEB2oSGNLG0UXURbjClEE,181
|
|
322
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByRequest/reduce.js,sha256=dqyUOCjOBfdm63Lh2Xvp650cvkIGSPPziiDu59SioKI,4
|
|
323
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByStatus/map.js,sha256=8BfQqM2ap5R2MFNa02dOGrnzFAvngVR7Iu1roMg_4xA,166
|
|
324
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByStatus/reduce.js,sha256=PePqXHjVhLAKzRNrlPJXucgNwB3wv-EDrvUYyQMiLyI,7
|
|
325
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByStatusAndPriority/map.js,sha256=CTDGtmb5YDdx8NTki2e1wXbUT61tmIK48VBrkSC60Xw,185
|
|
326
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/jobsByStatusAndPriority/reduce.js,sha256=PePqXHjVhLAKzRNrlPJXucgNwB3wv-EDrvUYyQMiLyI,7
|
|
327
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/openRequests/map.js,sha256=Ck0k50t0yNwjWdxf2CTxSfiyg23r0-YOfjxXR90f0yA,201
|
|
328
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/recent-items/map.js,sha256=C1d4OesnfG0IsI3u1uWtvEIgwxE1A6RfJpNJoo7JvlE,77
|
|
329
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/siteWhitelistByRequest/map.js,sha256=_345mm2S6Fs1t9mKWFXEtwVG0ktTWeFkhl1ce8vv20M,183
|
|
330
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/siteWhitelistByRequest/reduce.js,sha256=dlvpEElTCvkm4yYUH8x-fiV5v_n-StoOZNAY76G7M0I,14
|
|
331
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/specsByWorkflow/map.js,sha256=fK2QeHHqEzGLMzMyWEsgWR5xS81TgIcFGKp1IZDVIfw,124
|
|
332
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/stuckElements/map.js,sha256=MWedtuYnJ_hjVFnbfBQOcpioSozI6jqjczildNr91x8,1047
|
|
333
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsInjectStatusByRequest/map.js,sha256=Y3hv5tHw8YsdWdesP6GF4U5pz2HlnbMWAN4mn_nAOQ0,400
|
|
334
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsInjectStatusByRequest/reduce.js,sha256=pIJku7721kQoID0yCEn71jMim7Z6_JcmiZe5vT56kT0,99
|
|
335
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsUrl/map.js,sha256=E78AdAhu240C5pKVzeDv3JQkTKEkf3dFlVO9OQvZJD0,173
|
|
336
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsUrl/reduce.js,sha256=JO5DkSBfpqDFB9VTlx8G-fpx-6DpAGbdGqK92OWQsVo,26
|
|
337
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsUrlByRequest/map.js,sha256=XZ_6nCpMtv-1_g4Vedk3Quc9q0a0J4gjsD7hrUh1Gts,195
|
|
338
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/wmbsUrlByRequest/reduce.js,sha256=JO5DkSBfpqDFB9VTlx8G-fpx-6DpAGbdGqK92OWQsVo,26
|
|
339
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/workflowSummary/map.js,sha256=hWsSnOX_XCMVwhGRrIUJu2ysxA6JyfT-U23OmNWm9sk,423
|
|
340
|
+
wmglobalqueue-2.4.2rc7.data/data/data/couchapps/WorkQueue/views/workflowSummary/reduce.js,sha256=Cn94iS8yP0ZU9ds0ZjZkgvHO0phIQqY613zqdftFZ78,378
|
|
341
|
+
wmglobalqueue-2.4.2rc7.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
342
|
+
wmglobalqueue-2.4.2rc7.dist-info/licenses/NOTICE,sha256=Njkrylka4oiNeBPstKAKPGB4_IUKVwLZg0Hswzdyg04,633
|
|
343
|
+
wmglobalqueue-2.4.2rc7.dist-info/METADATA,sha256=cuOGVoWe8akZmWFkA78fdRXCmLzCIo12yZklH4_u7hA,729
|
|
344
|
+
wmglobalqueue-2.4.2rc7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
345
|
+
wmglobalqueue-2.4.2rc7.dist-info/top_level.txt,sha256=Z_Pf5-bMrXyc1te6Q3cG64qHX6CG0ugDIOrgmcPOAXI,13
|
|
346
|
+
wmglobalqueue-2.4.2rc7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wmglobalqueue-2.4.2rc6.data → wmglobalqueue-2.4.2rc7.data}/data/data/couchapps/WorkQueue/language
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|