use of org.mobicents.smsc.slee.resources.persistence.PersistenceRAInterfaceProxy in project smscgateway by RestComm.
the class DeliveryCommonSbbTest method setUpClass.
@BeforeMethod
public void setUpClass() throws Exception {
System.out.println("setUpClass");
this.pers = new PersistenceRAInterfaceProxy();
this.cassandraDbInited = this.pers.testCassandraAccess();
if (!this.cassandraDbInited)
return;
this.pers.start();
MProcManagement.getInstance("TestDeliveryCommonSbb");
SmscPropertiesManagement.getInstance("TestDeliveryCommonSbb");
SmscPropertiesManagement smscPropertiesManagement = SmscPropertiesManagement.getInstance();
smscPropertiesManagement.setGenerateArchiveTable(new GenerateType(0));
smscPropertiesManagement.setGenerateCdr(new GenerateType(0));
// 15 min
smscPropertiesManagement.setVpProlong(15 * 60);
}
use of org.mobicents.smsc.slee.resources.persistence.PersistenceRAInterfaceProxy in project smscgateway by RestComm.
the class MtDatabaseCassandraTest method setUpClass.
// private byte[] msg = { 11, 12, 13, 14, 15, 15 };
// private byte[] msg_ref_num = { 0, 10 };
@BeforeMethod
public void setUpClass() throws Exception {
System.out.println("setUpClass");
this.pers = new PersistenceRAInterfaceProxy();
this.cassandraDbInited = this.pers.testCassandraAccess();
if (!this.cassandraDbInited)
return;
this.pers.start();
SmscPropertiesManagement.getInstance("Test");
SmsSetCache.getInstance().clearProcessingSmsSet();
this.sbb = new MtSbbProxy(this.pers);
}
use of org.mobicents.smsc.slee.resources.persistence.PersistenceRAInterfaceProxy in project smscgateway by RestComm.
the class AlertTest method setUpClass.
@BeforeMethod
public void setUpClass() throws Exception {
System.out.println("setUpClass");
this.pers = new PersistenceRAInterfaceProxy();
this.cassandraDbInited = this.pers.testCassandraAccess();
if (!this.cassandraDbInited)
return;
this.pers.start();
this.sbb = new AlertSbbProxy(this.pers);
SmscPropertiesManagement.getInstance("Test");
}
Aggregations