...
Creating and Adding a New Tool
- (Gregory Jansen) (Smruti Padhy) Developer downloads BrownDog development environment in docker container (in dockerhub, link on BD webpage)
- Contains running Clowder instance, Polyglot instance, basic development tools, mabye even an IDE configured and ready to go
- Contains a bare-bones extractor ready to be modified for a new tool (with comments suggesting where to edit) (Rui Liu has started this)
- Contains a bare-bones converter ready to be modified for a new tool (with comments suggesting where to edit)
- Formerly Rob's work. Gregory Jansen to drive out this step.
- (Gregory Jansen) (Smruti Padhy) Developer Developer installs tool, creates interface script(s)
- Adds sample input file(s)
- Example extractor: imagemagick edge detector
- Example converter: imagemagick jpg to ico converter
- (Gregory Jansen) (Smruti Padhy) Developer Developer creates dockerfile
- For extractors this should contain only the tool, its dependencies, and the extractor
- For converters this should contain the basic Polyglot setup, ideally only the Software Server, the tool, its dependencies, and the converter interface script
- (Rui Liu) Developer submits tool to Tools Catalog (using BrownDog account)
- Interface script(s), dockerfile, sample input, sample output
- Through web interface
- Through script in development environment (probably the ideal way)
- (Inna Zharnitsky) Admin presses button which deploys tool in a seperate Clowder/Polyglot sandbox, passes in the given input file, and checks the obtained output file against what is provided
- Returns pass/fail
- Inna Zharnitsky has started this UI, Marcus Slavenas to support
- (Rui Liu) Admin selects instances to deploy interface on
- e.g. dts-dev or dts
- selects minimum number of instances to provision (e.g. 5 instances)
- presses button to deploy
- (Sandeep Puthanveetil Satheesan) Admin receives status page showing number of tools deployed and where, load on each tool, etc...
- No support for this at this time.
- How to pull this from MongoDB
- Sandeep Puthanveetil Satheesan to investigate
...