Get from mongo information about all the deployment messages.
Get from mongo information about all the deployment messages. Display as a list.
Fetch from mongo information about all deployment status messages.
Fetch from mongo information about all deployment status messages. Display as a table.
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 versions.
Browse only the tools that have Published versions. 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 the Elasticity Module, using rabbitmq plugin
Show all published interfaces so the admin can choose which to deploy
This is a test method that prints the IP addresses of all VMs from the Elasticity Module database to the console
This is a test method that prints the IP addresses of all VMs from the Elasticity Module database to the console
Called repeatedly by the ajax call in view module Fetches from db feedback message (EM->TC) with the given correleation id.
Called repeatedly by the ajax call in view module Fetches from db feedback message (EM->TC) with the given correleation id.
- successful response with message info _OR_ NotFound if message not in db
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.
go to EM database, find collection "extr", get number of instances for this queuename.
go to EM database, find collection "extr", get number of instances for this queuename. Also need to know the name of the DB for this BrownDog instance. Should be in the TC database, same collection where all BD instance info is stored
Allow unauthorized users to view index page
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.
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
Fetch from db and display the "feedback message" for this correlation id, i.
Fetch from db and display the "feedback message" for this correlation id, i.e. sent from EM to TC.
Checks mongo db and returns all deployment messages for this corr id.
Checks mongo db and returns all deployment messages for this corr id. There should be no more than two messages.