Search in sources :

Example 1 with Initialize

use of org.apache.airavata.app.catalog.util.Initialize in project airavata by apache.

the class ComputeAppCatalogExperimentCatResourceTest method setUp.

@Before
public void setUp() {
    try {
        initialize = new Initialize("appcatalog-derby.sql");
        initialize.initializeDB();
        appcatalog = RegistryFactory.getAppCatalog();
    } catch (AppCatalogException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : AppCatalogException(org.apache.airavata.registry.cpi.AppCatalogException) Initialize(org.apache.airavata.app.catalog.util.Initialize) Before(org.junit.Before)

Example 2 with Initialize

use of org.apache.airavata.app.catalog.util.Initialize in project airavata by apache.

the class GatewayProfileTest method setUp.

@Before
public void setUp() {
    try {
        initialize = new Initialize("appcatalog-derby.sql");
        initialize.initializeDB();
        appcatalog = RegistryFactory.getAppCatalog();
    } catch (AppCatalogException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : AppCatalogException(org.apache.airavata.registry.cpi.AppCatalogException) Initialize(org.apache.airavata.app.catalog.util.Initialize) Before(org.junit.Before)

Example 3 with Initialize

use of org.apache.airavata.app.catalog.util.Initialize in project airavata by apache.

the class AppInterfaceTest method setUp.

@Before
public void setUp() {
    try {
        initialize = new Initialize("appcatalog-derby.sql");
        initialize.initializeDB();
        appcatalog = RegistryFactory.getAppCatalog();
    } catch (AppCatalogException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : AppCatalogException(org.apache.airavata.registry.cpi.AppCatalogException) Initialize(org.apache.airavata.app.catalog.util.Initialize) Before(org.junit.Before)

Example 4 with Initialize

use of org.apache.airavata.app.catalog.util.Initialize in project airavata by apache.

the class AppDeploymentTest method setUp.

@Before
public void setUp() {
    try {
        initialize = new Initialize("appcatalog-derby.sql");
        initialize.initializeDB();
        appcatalog = RegistryFactory.getAppCatalog();
    } catch (AppCatalogException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : Initialize(org.apache.airavata.app.catalog.util.Initialize) Before(org.junit.Before)

Example 5 with Initialize

use of org.apache.airavata.app.catalog.util.Initialize in project airavata by apache.

the class StorageResourceAppCatalogTest method setUp.

@Before
public void setUp() {
    try {
        initialize = new Initialize("appcatalog-derby.sql");
        initialize.initializeDB();
        appcatalog = RegistryFactory.getAppCatalog();
    } catch (AppCatalogException e) {
        logger.error(e.getMessage(), e);
    }
}
Also used : AppCatalogException(org.apache.airavata.registry.cpi.AppCatalogException) Initialize(org.apache.airavata.app.catalog.util.Initialize) Before(org.junit.Before)

Aggregations

Initialize (org.apache.airavata.app.catalog.util.Initialize)6 Before (org.junit.Before)6 AppCatalogException (org.apache.airavata.registry.cpi.AppCatalogException)5