Move current Octue SDK code into `twined` subpackage
Contents (#737)
IMPORTANT: There are 4 breaking changes.
Fixes
- Update command in dockerfiles to use new
octue twinedCLI
Refactoring
- 💥 BREAKING CHANGE: Move Twined-related
octuecode intotwinedsubpackage - 💥 BREAKING CHANGE: Rename
OCTUE_SERVICES_TOPIC_NAMEtoTWINED_SERVICES_TOPIC_NAME - 💥 BREAKING CHANGE: Move
octue.runnertooctue.twined.runner - 💥 BREAKING CHANGE: Remove unused
folders,isfolder, andisfileutils - Merge
TwinedEncoderwithOctueJSONEncoder - Rename scripts
Testing
- Restructure test directories
- Remove unused base test method
Upgrade instructions
💥 Move Twined-related `octue` code into `twined` subpackage
Import Twined-related code that was formerly in octue from octue.twined
💥 Rename `OCTUE_SERVICES_TOPIC_NAME` to `TWINED_SERVICES_TOPIC_NAME`
Use the TWINED_SERVICES_TOPIC_NAME envvar instead of OCTUE_SERVICES_TOPIC_NAME and ensure its value ends in octue.twined.services
💥 Move `octue.runner` to `octue.twined.runner`
Use the new import path: from octue.twined.runner import Runner (note that from octue.twined import Runner will not work)
💥 Remove unused `folders`, `isfolder`, and `isfile` utils
Stop using the get_file_name_from_strand, isfolder, and isfile functions