@Override public List<VersionDto> getProfileSchemaVersionsByApplicationId(String applicationId) throws ControlServiceException { return profileService.findProfileSchemaVersionsByAppId(applicationId); }
@Test public void findProfileSchemaVersionsByAppIdTest() { String applicationId = generateApplicationDto(null).getId(); List<VersionDto> versions = profileService.findProfileSchemaVersionsByAppId(applicationId); Assert.assertNotNull(versions); Assert.assertFalse(versions.isEmpty()); Assert.assertEquals(1, versions.size()); Assert.assertSame(0, versions.get(0).getVersion()); }
} else if (filterDto.getServerProfileSchemaVersion() == null) { for (VersionDto version : profileService.findProfileSchemaVersionsByAppId(appDto.getId())) { LOG.debug("Processing version {}", version); cacheService.resetFilters(new AppProfileVersionsKey(