Skip to content

genkor/appsian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Development of an Automation Pipeline

The application will receive as input a commands file and execute them one by one in sequence.

Stage 1:

  • Implement a list of basic commands where each command can have different parameters:

    • File Copy
      • Parameters: Source File, Destination File
    • File Delete
      • Parameters: File Path
    • Query Folder Files
      • Parameter: Folder Path
      • Output: print to console list of all files in folders
    • Create Folder
      • Parameter: Folder Path , new Folder Name
    • Download File
      • Parameters: Source url, output File
    • Wait
      • Parameter: wait time in seconds
    • Conditional Count Rows File:
      • Parameter: source file, string to search in rows
      • Output: Count of rows in the file that contain the search string
  • reading of the command file from a plain text file

Stage 2:

  • Execute a command to run a command file

In step 3

  • Implement reading of the script file as an XML file

In stage 4

  • Allow the customer to build execute own commands (plugins / extensions)

Implementation of the Task

  • MyPipeline uses commands configuration inside App.config file in the section MyPipeline.commands
  • MyPipeline has two command extenders (PipelineExecuter and FolderExecuter), which are loaded using reflections.
  • Compile and run the MyPipeline application using following commands:
    • MyPipeline -cmd copy file1.dat file2.dat
    • MyPipeline -file commands_example.txt
    • MyPipeline -file commands_example.xml

About

Development of an Automation Pipeline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages