Interface DeploymentRepository
public interface DeploymentRepository
Interface to be implemented by a persistence provider to access @
Deployments-
Method Summary
Modifier and TypeMethodDescriptionlongfindAllDeploymentForSystemAndEnv(System system, Environment environment) findAllDeploymentsForSystemStartedBetween(System system, ZonedDateTime from, ZonedDateTime to) findAllDeploymentsYearsForSystemAndEnv(System system, Environment environment) findByExternalId(String externalId) findDeploymentForEnvLimited(Environment environment, ZonedDateTime minStartedAt, int limit) findDeploymentForSystemAndEnvLimited(System system, Environment environment, int maxShow) getDeploymentIdsWithMissingOrOutdatedGeneratedPages(int limit, ZonedDateTime from, ZonedDateTime to) getLastDeploymentForComponent(Component component, Environment env) getLastSuccessfulDeploymentForComponent(Component component, Environment env) getLastSuccessfulDeploymentForComponentDifferentToVersion(Component component, Environment env, String version) getSystemNameForDeployment(UUID deploymentId) save(Deployment deployment)
-
Method Details
-
save
-
findByExternalId
-
findAllDeploymentForSystemAndEnv
-
findAllDeploymentsForSystemStartedBetween
List<Deployment> findAllDeploymentsForSystemStartedBetween(System system, ZonedDateTime from, ZonedDateTime to) -
findAllDeploymentsYearsForSystemAndEnv
-
findDeploymentForSystemAndEnvLimited
List<Deployment> findDeploymentForSystemAndEnvLimited(System system, Environment environment, int maxShow) -
findDeploymentForEnvLimited
List<Deployment> findDeploymentForEnvLimited(Environment environment, ZonedDateTime minStartedAt, int limit) -
getById
-
findById
-
getDeploymentIdsWithMissingOrOutdatedGeneratedPages
List<UUID> getDeploymentIdsWithMissingOrOutdatedGeneratedPages(int limit, ZonedDateTime from, ZonedDateTime to) -
countDeploymentsWithMissingOrOutdatedGeneratedPages
-
getLastDeploymentForComponent
-
getLastSuccessfulDeploymentForComponent
-
getLastSuccessfulDeploymentForComponentDifferentToVersion
Optional<Deployment> getLastSuccessfulDeploymentForComponentDifferentToVersion(Component component, Environment env, String version) -
getSystemNameForDeployment
-