def __init__(self, schema_prefix, host='localhost', port=2280): super(DBTool, self).__init__() self.schema_prefix = schema_prefix self.engine = create_postgres_engine(user='******', password='******', host=host, port=port)
def test1(self): # run(kb_name='db_apptest_local', application_name='JVTEST', engine=create_postgres_engine(user='******',password='******',host='KSHLAP',port=2280)) run(kb_name='db_xpdl_local', application_name='XPDL_APP', engine=create_postgres_engine(user='******', password='******', host='KSHLAP', port=2280))
def test1(self): # run(kb_name='db_apptest_local', application_name='JVTEST', engine=create_postgres_engine(user='******',password='******',host='KSHLAP',port=2280)) # run(kb_name='db_xpdl_local', application_name='XPDL_APP', engine=create_postgres_engine(user='******', password='******', host='KSHLAP', port=2280)) run(kb_name='f_8314_2028_local', application_name='NProject', engine=create_postgres_engine(user='******', password='******', host='localhost', port=2280)) analysis = cast.analysers.test.UATestAnalysis('he') # mandatory for the ast # analysis.add_dependency('com.castsoftware.internal.platform') analysis.add_selection('jee_mongo_01') analysis.set_verbose() analysis.run()
def test1(self): run(kb_name='cafe_local', application_name='cafeapp', engine=create_postgres_engine())
def test2(self): #run(kb_name='sjms_local', application_name='jmsatt', engine=create_postgres_engine()) run(kb_name='jslink_local', application_name='perlsh', engine=create_postgres_engine())
def test1(self): #run(kb_name='jslink_local', application_name='gdp', engine=create_postgres_engine()) run(kb_name='jeegdpr_local', application_name='jeegdp', engine=create_postgres_engine())
def test2(self): run(kb_name='genlink_local', application_name='shopper', engine=create_postgres_engine())
def test2(self): run(kb_name='microsharp_local', application_name='qtest', engine=create_postgres_engine())
def test1(self): #run(kb_name='idms_local', application_name='idms', engine=create_postgres_engine(port=2282)) run(kb_name='psoft_local', application_name='psoftcwe', engine=create_postgres_engine(port=2282))
def test1(self): run(kb_name='sjms_local', application_name='Sjms', engine=create_postgres_engine())
import sys sys.path.append('..') import cast_upgrade_1_6_2 from cast.application import CastSchema,create_postgres_engine import logging engine = create_postgres_engine(user='******', password='******', host='localhost', port=2280) local_schema = CastSchema('webgoat_local', engine=engine) cursor = local_schema.create_cursor() function_call = 'pre_olia' local_schema._execute_function(cursor, function_call) function_call2 = 'OLIA' paramters = '2832, 2, 2, 0, 613' local_schema._execute_function(cursor, function_call2, paramters) sql_str = ''' select distinct t.IdSource, t.IdTarget, sourcekey.KeyNam as caller_name, coalesce(sourceobject.FullName, ' ') as caller_fullname,
def test2(self): run(kb_name='u320_salcus_new_local', application_name='U320 - SALCUS', engine=create_postgres_engine())
def test1(self): run(kb_name='b820_1377_local', application_name='ibatis', engine=create_postgres_engine())
def test1(self): run(kb_name='t19354_local', application_name='T19354', engine=create_postgres_engine())
def test2(self): run(kb_name='ibmdb_local', application_name='IBMdb', engine=create_postgres_engine(port=2282))