Skip to content

v0.7.0.dev0

Choose a tag to compare

@CasperWA CasperWA released this 29 Feb 14:22
· 192 commits to master since this release

Major reworking of the OTE strategy design and philosophy

Simplified session handling

Sessions are now no longer passed in as a separate parameter to any strategy method. Instead it is handled by the OTEAPI Services and merged into the strategy-specific configuration (the configuration key's value) before initializing/creating a strategy.
The merging is done in a basic, conflict-free way at this point, meaning if a key/value-pair in the session would overwrite an existing key in the specific configuration, while the value differs, the merging is stopped and an exception is raised.

The actual merging logic is implemented in this repository and will/should be extended in the future to allow for different merging strategies to be defined and setup by end-users.

Updated Parser and Resource strategy purposes

Parser strategy

The Parser strategy's purpose is not to create and "execute" a Download strategy, parsing the downloaded object afterwards, according to its implementation.
This means the Download strategies will no longer be used directly, but rather only indirectly through the Parser strategies.

Resource strategy

The Resource strategy is no longer meant to represent a REST API service or similar, but rather a data catalogue. This means a Resource strategy can be used to connect to, search through, and resolve references to data in any given data catalogue. Then piping this result into a Parser strategy will ensure the data reference is retrieved (downloaded) and parsed.

Changelog

v0.7.0.dev0 (2024-02-29)

Full Changelog

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator