Who can do this (User role)

Data Publisher


Description

I want to import a pipeline created using other ODN instance so that I can use it within my own ODN instance. 

Preconditions

  • zip file representing a result of pipeline export containing no DPU JARs exists on local file system

How to do it:

  • selects and clicks 'Unified Views' from 'Tools' combo box on main page of internal catalog
    • 'Home' page of ODN/UV is displayed
  • clicks 'Pipelines' in main menu
    • list of all existing pipelines in the system is displayed
    • 'Import pipeline' button is available
  • clicks 'Import pipeline' button
    • 'Pipeline import' dialog is displayed
      • 'Upload file' button is available
    • clicks 'Upload file' button
      • upload dialog for selection of file to be uploaded from local file system is displayed
    • selects exported zip file containing configurations of DPU instances and optionally also scheduling rule(s) from local file system
      • upload dialog is closed
      • name of the zip file is displayed in dedicated field
      • system checks the content of the file after selection
        • if the name of the pipeline imported already exists in the system an error message is displayed 'Pipeline with such name already exists in the system' 
            • 'Import' button is disabled
        • if the pipeline uses DPU(s) of version older or the same as the DPUs contained in the target system and no 3rd level DPU template is referenced by the DPU instance within the pipeline (there is no DPU within the pipeline containing checked 'Use template configuration' checkbox)
            • empty list of 3rd level DPU templates referenced by the DPU instances of imported pipeline is displayed 
            • empty list of missing or newer DPUs is displayed
            • 'Import' button is available
          • clicks 'Import' button if satisfied
            • system creates the pipeline and uses the imported configurations of DPU instances to configure the pipeline, scheduling rule(s) are assigned if the zip file contains any 
            • 'Pipeline import' dialog is closed with message 'Import of the pipeline was successful. No new DPUs were installed and/or updated.'
            • imported pipeline works exactly the same way as it works on the system it was exported from (as long as the system where the pipeline is imported has the same access to external network resources)
        • if the pipeline uses DPU(s) of version older or the same as the DPUs contained in the target system and there is at least one 3rd level DPU template referenced by the DPU instance within the pipeline (there is at least one DPU within the pipeline containing checked 'Use template configuration' checkbox)
            • list of 3rd level DPU templates referenced by the DPU instances of imported pipeline is displayed 
            • empty list of missing or newer DPUs is displayed
            • 'Import' button is available
          • clicks 'Import' button if satisfied
            • for each 3rd level DPU template referenced by the DPU instance chceck if such 3rd level DPU template exists (name, configuration string) - conflict!
            • if exists, display the following dialog with radio buttons for each such 3rd level DPU template:
              • name of the 3rd level DPU template
                • radio button: change reference to existing 3rd level DPU template (the reference is changed to existing 3rd level DPU template, the exported 3rd level DPU template is discarder)  
                • radio button: import 3rd level DPU template as new with modified name (the name of the exported 3rd level DPU template is changed - user input and imported in the system as child object of the corresponding 3nd level DPU template in the DPU tree 
                • radio button: overwrite existing 3rd level DPU template with the same name (overwrites the 3rd level DPU template with the same name - with warning: 'This will overwrite the 3rd level DPU template, please check the configuration of all pipelines containing DPUs with reference to this template after import.') 
              •  'OK' button
            • for each such 3rd level DPU checks the radio button and clicks 'OK'
            • after the last 3rd level DPU template is checked and confirmed by the user:
              • system creates the pipeline and uses the imported configurations of DPU instances to configure the pipeline, scheduling rule(s) are assigned if the zip file contains any 
              • 'Pipeline import' dialog is closed with message 'Import of the pipeline was successful. No new DPUs were installed and/or updated.'
              • imported pipeline works exactly the same way as it works on the system it was exported from (as long as the system where the pipeline is imported has the same access to external network resources) 
        • if the pipeline uses DPU(s) of version newer and/or DPU(s) that is not installed, an error message is displayed: 'The version of one or more DPUs is outdated or one or more DPUs is missing in the current system, import is not possible before old versions of DPUs are updated and/or missing DPUs are installed.' 
            • list of 3rd level DPU templates referenced by the DPU instances of imported pipeline is displayed
            • list of missing or newer DPUs is displayed containing 
              • DPUs with version newer than DPUs currently installed and/or
              • missing DPUs 
            • 'Import' button is disabled

Note

82v2