use of com.emc.metalnx.core.domain.entity.DataGridMSIPkgInfo in project metalnx-web by irods-contrib.
the class DashboardController method getMSIPackageVersion.
@RequestMapping(value = "/msiPackageVersion/", method = RequestMethod.GET)
public String getMSIPackageVersion(Model model) throws DataGridConnectionRefusedException {
logger.info("getMSIPackageVersion()");
DataGridMSIPkgInfo msiGridInfo = msiService.getMSIPkgInfo();
List<DataGridServer> serverList = msiGridInfo.getServers();
model.addAttribute("msiGridInfo", msiGridInfo);
model.addAttribute("servers", serverList);
model.addAttribute("msiAPIVersionSupported", msiAPIVersionSupported);
return "dashboard/msiPackageVersion";
}
use of com.emc.metalnx.core.domain.entity.DataGridMSIPkgInfo in project metalnx-web by irods-contrib.
the class TestPluginService method testServers.
@Test
public void testServers() throws DataGridConnectionRefusedException, DataGridRuleException {
DataGridMSIPkgInfo msiPkgInfo = msiService.getMSIPkgInfo();
assertEquals(2, msiPkgInfo.getServers().size());
for (DataGridServer server : msiPkgInfo.getServers()) assertEquals(msiVersion, server.getMSIVersion());
}
use of com.emc.metalnx.core.domain.entity.DataGridMSIPkgInfo in project metalnx-web by irods-contrib.
the class TestPluginService method testNoPkgMissing.
@Test
public void testNoPkgMissing() throws DataGridConnectionRefusedException, DataGridRuleException {
DataGridMSIPkgInfo msiPkgInfo = msiService.getMSIPkgInfo();
assertFalse(msiPkgInfo.isThereAnyPkgMissing());
}
use of com.emc.metalnx.core.domain.entity.DataGridMSIPkgInfo in project metalnx-web by irods-contrib.
the class TestPluginService method testNoPkgNotSupported.
@Test
public void testNoPkgNotSupported() throws DataGridConnectionRefusedException, DataGridRuleException {
DataGridMSIPkgInfo msiPkgInfo = msiService.getMSIPkgInfo();
assertFalse(msiPkgInfo.isThereAnyPkgNotSupported());
}
Aggregations