Class DatabaseMigrator
java.lang.Object
org.frankframework.management.bus.endpoints.BusEndpointBase
org.frankframework.management.bus.endpoints.DatabaseMigrator
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
@BusAware("frank-management-bus")
@TopicSelector(JDBC_MIGRATION)
public class DatabaseMigrator
extends BusEndpointBase
-
Field Summary
Fields inherited from class org.frankframework.management.bus.endpoints.BusEndpointBase
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondownloadMigrationScript
(org.springframework.messaging.Message<?> message) getMigrationChanges
(org.springframework.messaging.Message<?> message) Methods inherited from class org.frankframework.management.bus.endpoints.BusEndpointBase
afterPropertiesSet, createBean, doAfterPropertiesSet, getAdapterByName, getApplicationContext, getBean, getConfigurationByName, getIbisManager, getMediaTypeFromName, getPipeByName, getReceiverByName, log2SecurityLog, setApplicationContext
-
Constructor Details
-
DatabaseMigrator
public DatabaseMigrator()
-
-
Method Details
-
downloadMigrationScript
@ActionSelector(DOWNLOAD) @RolesAllowed({"IbisObserver","IbisDataAdmin","IbisAdmin","IbisTester"}) public BinaryMessage downloadMigrationScript(org.springframework.messaging.Message<?> message) throws IOException - Throws:
IOException
-
getMigrationChanges
@ActionSelector(UPLOAD) @RolesAllowed({"IbisObserver","IbisDataAdmin","IbisAdmin","IbisTester"}) public StringMessage getMigrationChanges(org.springframework.messaging.Message<?> message)
-