public interface HubService extends Plugin, PrioritizedService
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
getPriority
boolean isOnline()
HubUser getMe() throws LiquibaseHubException
LiquibaseHubException
Organization getOrganization() throws LiquibaseHubException
LiquibaseHubException
Project getProject(UUID projectId) throws LiquibaseHubException
LiquibaseHubException
Project findProjectByConnectionIdOrJdbcUrl(UUID connectionId, String jdbcUrl) throws LiquibaseHubException
LiquibaseHubException
List<Project> getProjects() throws LiquibaseHubException
LiquibaseHubException
Project createProject(Project project) throws LiquibaseException
LiquibaseException
void setRanChangeSets(Connection connectionId, List<RanChangeSet> ranChangeSets) throws LiquibaseHubException
LiquibaseHubException
HubChangeLog deactivateChangeLog(HubChangeLog hubChangeLog) throws LiquibaseHubException
LiquibaseHubException
Connection getConnection(Connection exampleConnection, boolean createIfNotExists) throws LiquibaseHubException
LiquibaseHubException
List<Connection> getConnections(Connection exampleConnection) throws LiquibaseHubException
LiquibaseHubException
HubRegisterResponse register(String email) throws LiquibaseException
LiquibaseException
Connection createConnection(Connection connection) throws LiquibaseHubException
LiquibaseHubException
HubChangeLog createChangeLog(HubChangeLog hubChangeLog) throws LiquibaseException
LiquibaseException
HubChangeLog getHubChangeLog(UUID changeLogId) throws LiquibaseHubException
LiquibaseHubException
HubChangeLog getHubChangeLog(UUID changeLogId, String includeStatus) throws LiquibaseHubException
LiquibaseHubException
Operation createOperation(String operationType, String operationCommand, HubChangeLog changeLog, Connection connection) throws LiquibaseHubException
LiquibaseHubException
Operation createOperationInOrganization(String operationType, String operationCommand, UUID organizationId) throws LiquibaseHubException
LiquibaseHubException
OperationEvent sendOperationEvent(Operation operation, OperationEvent operationEvent) throws LiquibaseException
LiquibaseException
String shortenLink(String url) throws LiquibaseException
url
- The link to shortenLiquibaseHubException
- If shortening failsLiquibaseException
OperationEvent sendOperationEvent(Operation operation, OperationEvent operationEvent, UUID organizationId) throws LiquibaseException
LiquibaseException
void sendOperationChangeEvent(OperationChangeEvent operationChangeEvent) throws LiquibaseException
LiquibaseException
void sendOperationChanges(OperationChange operationChange) throws LiquibaseHubException
LiquibaseHubException
CoreInitOnboardingResponse validateOnboardingToken(String token) throws LiquibaseHubException
LiquibaseHubException
Copyright © 2023 Liquibase.org. All rights reserved.