• High
    • Hide
      6.5.2: add cloning parameter
      5.9.0: FIX: increase timeout
      5.7.13: Added new cli command for migrating OpenTM2 to t5memory.
      Check the usage of
      ./translate5.sh help otm2:migrate
      Show
      6.5.2: add cloning parameter 5.9.0: FIX: increase timeout 5.7.13: Added new cli command for migrating OpenTM2 to t5memory. Check the usage of ./translate5.sh help otm2:migrate

      For the rollout, the existing memories need to be migrated from OpenTM2 via TMX to t5Memory.

      For this we need to implement an automated process based on our api:

      • implement that all as CLI tool which needs as argument the URL to the new t5memory instance
        • Since the script should be able to be called multiple times, the config must be checked if the given URL does already exist
      • loop over each instance → another level of implementation - done on  the server
      • create a new t5memory URL in the config of URLs, pointing to the new prod server
      • in once instance: loop over all existing OpenTM2 language resources
      • export each TM as TMX from, save it into a folder in /data/
      • re-import each TMX into t5memory, using the HttpApi directly with a mocked language resource instance since the underlying service resource will point to a wrong URL (the OpenTM2 one)
      • Update the filename in specificData if it has changed in t5memory
      • update the resourceId to the entry of the new t5memory → this should be done in the end, not in between in the case of an error
      • after looping over all resources, remove the OpenTM2 URL and update the resourceIds due the changed URL array

      change GUI appearances of the name "OpenTM2" in translate5 to t5memory.

          [TRANSLATE-2994] t5memory roll-out

          Leon Kiz added a comment -

          Return to the development because enhancement is needed:
          Need to add new option `sourceUrl` (shortcut -s). Option should be not required and if provided then this URL should be chosen as a source for exporting. If not provided - default behavior should work (search resources for `otmmemoryservice` URL part) 

          Leon Kiz added a comment - Return to the development because enhancement is needed: Need to add new option `sourceUrl` (shortcut -s). Option should be not required and if provided then this URL should be chosen as a source for exporting. If not provided - default behavior should work (search resources for `otmmemoryservice` URL part) 

          Leon Kiz added a comment -

          UI part should be done within TRANSLATE-3078

          Leon Kiz added a comment - UI part should be done within TRANSLATE-3078

          Additional Fix for TRANSLATE-2835 (of 22.8.2022) must be released before the TMX export can be proceeded.

          Thomas Lauria added a comment - Additional Fix for TRANSLATE-2835 (of 22.8.2022) must be released before the TMX export can be proceeded.

            leonkiz Leon Kiz
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: