def testUserAPIConnectivity(self):
     raise unittest.SkipTest('Test disabled')
     try:
         UserClient.getInstance()
     except Exception, e:
         self.fail(
             msg="Could not create a Vidyo UserClient instance. Exception: "
             + str(e))
Exemple #2
0
    def createFilter(cls, apiType, query):
        if apiType == 'admin':
            vidyoClient = AdminClient.getInstance()
        else:
            vidyoClient = UserClient.getInstance()

        newFilter = vidyoClient.factory.create('Filter')
        newFilter.query = query
        newFilter.dir = 'DESC'

        return newFilter
Exemple #3
0
    def createFilter(cls, apiType, query):
        if apiType == 'admin':
            vidyoClient = AdminClient.getInstance()
        else:
            vidyoClient = UserClient.getInstance()

        newFilter = vidyoClient.factory.create('Filter')
        newFilter.query = query
        newFilter.dir = 'DESC'

        return newFilter
Exemple #4
0
 def getVidyoClient(cls):
     return UserClient.getInstance()
Exemple #5
0
 def testUserAPIConnectivity(self):
     raise nose.SkipTest
     try:
         UserClient.getInstance()
     except Exception, e:
         self.fail(msg = "Could not create a Vidyo UserClient instance. Exception: " + str(e))
Exemple #6
0
 def search(cls, searchFilter, confId, bookingId):
     #Logger.get('Vidyo').info("""Evt:%s, booking:%s, opening connection to Vidyo Admin API""" % (confId, bookingId))
     try:
         vidyoClient = UserClient.getInstance()
     except Exception, e:
         raise VidyoConnectionException(e)
Exemple #7
0
 def search(cls, searchFilter, confId, bookingId):
     #Logger.get('Vidyo').info("""Evt:%s, booking:%s, opening connection to Vidyo Admin API""" % (confId, bookingId))
     try:
         vidyoClient = UserClient.getInstance()
     except Exception, e:
         raise VidyoConnectionException(e)