Exemplo n.º 1
0
 def rebuildIndex(self):
     try:
         return admin.rebuildIndex(collections)
     except Exception as e:
         return handleError(e)
Exemplo n.º 2
0
 def clean(self):
     try:
         return admin.clean(collections)
     except Exception as e:
         return handleError(e)
Exemplo n.º 3
0
 def updateLinkedResources(self):
     try:
         return package.updateLinkedResources()
     except Exception as e:
         return handleError(e)
Exemplo n.º 4
0
 def pushToSearch(self):
     try:
         return workspaceController.pushToSearch()
     except Exception as e:
         return handleError(e)
Exemplo n.º 5
0
 def updatePackage(self):
     try:
         return package.update()
     except Exception as e:
         return handleError(e)
Exemplo n.º 6
0
 def setPackageOptions(self):
     try:
         return package.setOptions()
     except Exception as e:
         return handleError(e)
Exemplo n.º 7
0
 def getSpectraCount(self):
     try:
         return resource.getSpectraCount()
     except Exception as e:
         return handleError(e)
Exemplo n.º 8
0
 def gitInfo(self):
     try:
         return git.info()
     except Exception as e:
         return handleError(e)
Exemplo n.º 9
0
 def userInfo(self):
     try:
         return user.info()
     except Exception as e:
         return handleError(e)
Exemplo n.º 10
0
 def clearDoi(self):
     try:
         return package.doi.clearDoi()
     except Exception as e:
         return handleError(e)
Exemplo n.º 11
0
 def verifyWorkspace(self):
     try:
         return admin.verifyWorkspace(collections)
     except Exception as e:
         return handleError(e)
Exemplo n.º 12
0
 def doiQuery(self):
     try:
         return package.doi.doiQuery()
     except Exception as e:
         return handleError(e)
Exemplo n.º 13
0
 def fixUnits(self):
     try:
         return admin.fixUnits()
     except Exception as e:
         return handleError(e)
Exemplo n.º 14
0
 def upgrade(self):
     try:
         return admin.upgrade()
     except Exception as e:
         return handleError(e)
Exemplo n.º 15
0
 def getResource(self):
     try:
         return resource.get()
     except Exception as e:
         return handleError(e)
Exemplo n.º 16
0
 def rebuildUSDACollection(self):
     try:
         return admin.rebuildUSDACollection(collections, usdaApiUrl)
     except Exception as e:
         return handleError(e)
Exemplo n.º 17
0
 def getResourceByName(self, package_id, resource_name):
     try:
         return resource.getByName(package_id, resource_name)
     except Exception as e:
         return handleError(e)
Exemplo n.º 18
0
 def gcmdSuggest(self):
     try:
         return spectra.suggestGCMD()
     except Exception as e:
         return handleError(e)
Exemplo n.º 19
0
 def getSpectra(self):
     try:
         return spectra.get()
     except Exception as e:
         return handleError(e)
Exemplo n.º 20
0
 def topSuggest(self):
     try:
         return spectra.suggestAttributeName()
     except Exception as e:
         return handleError(e)
Exemplo n.º 21
0
 def getMetadataInfo(self):
     try:
         return resource.getMetadataInfo()
     except Exception as e:
         return handleError(e)
Exemplo n.º 22
0
 def topOverview(self):
     try:
         return spectra.suggestOverview()
     except Exception as e:
         return handleError(e)
Exemplo n.º 23
0
 def deletePackage(self):
     try:
         return package.delete()
     except Exception as e:
         return handleError(e)
Exemplo n.º 24
0
 def prepareWorkspace(self):
     try:
         return workspaceController.prepare()
     except Exception as e:
         return handleError(e)
Exemplo n.º 25
0
 def cleanTests(self):
     try:
         return admin.cleanTests()
     except Exception as e:
         return handleError(e)
Exemplo n.º 26
0
 def getWorkspace(self):
     try:
         return workspaceController.get()
     except Exception as e:
         return handleError(e)
Exemplo n.º 27
0
 def setPrivate(self):
     try:
         return package.setPrivate()
     except Exception as e:
         return handleError(e)
Exemplo n.º 28
0
 def processResource(self):
     try:
         return resource.process()
     except Exception as e:
         return handleError(e)
Exemplo n.º 29
0
 def getTemplate(self):
     try:
         return package.getTemplate()
     except Exception as e:
         return handleError(e)
Exemplo n.º 30
0
 def deleteResources(self):
     try:
         return resource.deleteMany()
     except Exception as e:
         return handleError(e)