Native SDK for Connectors Java Test - release notes¶
Release notes for Native SDK for Connectors Java test library.
Version 2.1.0 (July 8th, 2024)¶
Behavior changes¶
Removed
com.snowflake.connectors.taskreactor.InMemoryConfiguredTaskReactorExistenceVerifier
class.Removed
com.snowflake.connectors.taskreactor.InMemoryNotConfiguredTaskReactorExistenceVerifier
class.Removed
com.snowflake.connectors.application.common.task.InMemoryTaskRepository
class.
New features¶
New test builders for various handlers that allow to fully customize objects used by handler classes:
Added
com.snowflake.connectors.application.ingestion.create.CreateResourceHandlerTestBuilder
.Added
com.snowflake.connectors.application.ingestion.enable.EnableResourceHandlerTestBuilder
.Added
com.snowflake.connectors.application.ingestion.disable.DisableResourceHandlerTestBuilder
.Added
com.snowflake.connectors.application.ingestion.update.UpdateResourceHandlerTestBuilder
.Added
com.snowflake.connectors.application.scheduler.CreateSchedulerHandlerTestBuilder
.
New in-memory implementations:
Added
com.snowflake.connectors.application.configuration.connector.InMemoryConnectorConfigurationService
.Added
com.snowflake.connectors.application.status.InMemoryConnectorStatusRepository
.Added
com.snowflake.connectors.application.status.InMemoryConnectorStatusRepository
.Added
com.snowflake.connectors.taskreactor.InMemoryTaskManagement
.Added
com.snowflake.connectors.util.snowflake.InMemoryAccessTools
.Added
com.snowflake.connectors.util.snowflake.InMemoryTransactionManager
.
Added new assertions in
com.snowflake.connectors.common.assertions.NativeSdkAssertions
:Added
com.snowflake.connectors.common.assertions.task.CommandAssert
that allows to assert objects ofcom.snowflake.connectors.taskreactor.commands.queue.Command
class.Added
com.snowflake.connectors.common.assertions.common.object.ObjectNameAssert
that allows to assert objects ofcom.snowflake.connectors.common.object.ObjectName
class.Added
com.snowflake.connectors.common.assertions.common.object.SchemaNameAssert
that allows to assert objects ofcom.snowflake.connectors.common.object.SchemaName
class.Added
com.snowflake.connectors.common.assertions.common.object.ReferenceAssert
that allows to assert objects ofcom.snowflake.connectors.common.object.Reference
class.
com.snowflake.connectors.common.assertions.ingestion.definition.ResourceIngestionDefinitionAssert
:Added
isEnabled()
method.Added
isDisabled()
method.
com.snowflake.connectors.common.assertions.common.response
:Added
hasAdditionalPayload()
method.
Other additions and changes¶
Added
com.snowflake.connectors.application.scheduler.InMemoryDefaultSchedulerCreator
that allows to create an in memory default implementation of the scheduler task.
Bug fixes¶
Not applicable.
Version 2.0.0 (May 24th, 2024)¶
Initial release.