An author approves a tool version.
An author retires a tool version.
An author retires a tool version. The info are still kept, visible only to the author and admin.
Browse all tools, including the ones that do not have Published versions.
Browse all tools, including the ones that do not have Published versions. Intended for the admin user.
Browse only the tools that were authored by the logged in user.
Browse only the tools that were authored by the logged in user. Intended for authors.
Browse only the tools that have Published scripts.
Browse only the tools that have Published scripts. Intended for non-admin users.
Change the status of a ToolVersion in DB.
Delete a tool.
Delete a tool.
TODO: - authorization: only an author can delete a tool; - condition: first check whether a child version is in Published, Retired, or Revoked, can not delete if yes; - change status: in the implementation, only change the tool's activeStatus to inactive, not really delete.
Really delete one can be done manually by an admin user using mongo shell, or later in another method (reallyDeleteTool).
Processes the 'add' request, sends the message to BD-Status service
Handles GET request to get extractor info JSON for a given BD Script id.
Handles GET request to get extractor info JSON for a given BD Script id.
- id of the BD Script
extractor info JSON for this BD Script
Finds the matching file, if any, increments the download counter, and streams it to the client.
Finds the icon file with the given id, if any, and streams it to the client.
Finds the icon file associated with the given tool id, if any, and streams it to the client.
Allow unauthorized users to view index page
The manage deployments page is a two step process.
The manage deployments page is a two step process. Step 1 - the user selects the cluster they want to manage Step 2 - The user is presented with a list of available tools along with the deployment status
Open external URL
Delete the index, create a new one, and fill it with the current info.
Deletes the icon file with the given id and redirects to the tool display page.
Get the list of all distinct repository urls.
Status "0" means we fetch ALL the scripts.
Status "0" means we fetch ALL the scripts.
Saves the uploaded file as a icon of the tool with the given id, and sets the tool id in the ReadFile's "metadata" field.
Display form to send request to add more instances.
Display form to send request to stop running instances