use of org.mobicents.smsc.domain.MapVersionCache in project smscgateway by RestComm.
the class MtTest method setUpMethod.
@BeforeMethod
public void setUpMethod() throws Exception {
System.out.println("setUpMethod");
SmscPropertiesManagement smscPropertiesManagement = SmscPropertiesManagement.getInstance("Test");
smscPropertiesManagement.setServiceCenterGt("1111");
smscPropertiesManagement.setServiceCenterSsn(8);
smscPropertiesManagement.setHlrSsn(6);
smscPropertiesManagement.setMscSsn(8);
MapVersionCache mvc = MapVersionCache.getInstance("test");
mvc.forceClear();
this.pers = new PersistenceRAInterfaceProxy();
this.cassandraDbInited = this.pers.testCassandraAccess();
if (!this.cassandraDbInited)
return;
this.pers.start();
this.mtSbb = new MtSbbProxy(this.pers);
this.rsdsSbb = new RsdsSbbProxy(this.pers);
this.sriSbb = new SriSbbProxy(this.pers, this.mtSbb, this.rsdsSbb);
this.mtSbb.setSriSbbProxy(this.sriSbb);
this.mtSbb.setRsdsSbbProxy(rsdsSbb);
SmsSetCache.getInstance().clearProcessingSmsSet();
SmscPropertiesManagement.getInstance().setSmscStopped(false);
SmscPropertiesManagement.getInstance().setStoreAndForwordMode(StoreAndForwordMode.normal);
}
Aggregations