Search in sources :

Example 16 with Deployment

use of com.openmeap.model.dto.Deployment in project OpenMEAP by OpenMEAP.

the class ModelServiceImplTest method testGetApplicationArchiveByDeployment.

public void testGetApplicationArchiveByDeployment() {
    Application app = modelService.findApplicationByName("Application.name");
    Deployment d = modelService.getLastDeployment(app);
    ApplicationArchive a = modelService.getApplicationArchiveByDeployment(d);
    Assert.assertNotNull(a);
}
Also used : Deployment(com.openmeap.model.dto.Deployment) Application(com.openmeap.model.dto.Application) ApplicationArchive(com.openmeap.model.dto.ApplicationArchive)

Aggregations

Deployment (com.openmeap.model.dto.Deployment)16 Application (com.openmeap.model.dto.Application)8 ApplicationArchive (com.openmeap.model.dto.ApplicationArchive)4 GlobalSettings (com.openmeap.model.dto.GlobalSettings)4 MessagesEvent (com.openmeap.event.MessagesEvent)3 ApplicationVersion (com.openmeap.model.dto.ApplicationVersion)3 Anchor (com.openmeap.web.html.Anchor)3 ArrayList (java.util.ArrayList)3 HashMap (java.util.HashMap)3 NoResultException (javax.persistence.NoResultException)3 Query (javax.persistence.Query)3 Test (org.junit.Test)3 AddSubNavAnchorEvent (com.openmeap.admin.web.events.AddSubNavAnchorEvent)2 ProcessingEvent (com.openmeap.event.ProcessingEvent)2 InvalidPropertiesException (com.openmeap.model.InvalidPropertiesException)2 WebServiceException (com.openmeap.protocol.WebServiceException)2 List (java.util.List)2 PersistenceException (javax.persistence.PersistenceException)2 ClusterNotificationException (com.openmeap.cluster.ClusterNotificationException)1 DigestException (com.openmeap.digest.DigestException)1