User Tools

Site Tools


deema:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
deema:start [2022/03/07 15:42] stanislavsulcdeema:start [2022/03/07 15:43] stanislavsulc
Line 23: Line 23:
   * MuPIF database web interface: http://172.23.1.1:5555/   * MuPIF database web interface: http://172.23.1.1:5555/
   * MuPIF RestAPI documentation: http://172.23.1.1:5000/help   * MuPIF RestAPI documentation: http://172.23.1.1:5000/help
 +
 +==== Using MuPIF Web API ====
 +  * Using of the web interface is demonstrated on a simple workflow, which already exists in the MuPIF database. In the list of workflows (http://172.23.1.1:5555/workflows) there is this workflow with wid "workflow_13" - click on the link to go to its detail (or click here: http://172.23.1.1:5555/workflows/workflow_13). The page shows the inputs and outputs of this workflow and a link to create a new execution - click on the "Initialize new execution record" and you get to the created execution's detail. Click on "Set inputs and Task_ID" and submit the imput data. This workflow assumes that we provide two numbers. After saving by clicking on "Submit" you can get back to execution record by clicking on the displayed link. Now you can click on "Schedule execution", which should change the status from "Created" to "Pending". After some time (scheduler checks new executions in 30 second period) when the simulation finishes or fails, the page reloads. If the status is "Finished", click on the "Discover outputs" to see the results of this simple calculation.
 +
  
 ==== Changelog of Important MuPIF updates (in chronological order) === ==== Changelog of Important MuPIF updates (in chronological order) ===
   * Obj_ID in Inputs/Outputs metadata must be of type string.   * Obj_ID in Inputs/Outputs metadata must be of type string.
   * For Type mupif.Property in Inputs/Outputs metadata the "ValueType" must be specified. Choose from following values: ["Scalar", "Vector", "Tensor"]   * For Type mupif.Property in Inputs/Outputs metadata the "ValueType" must be specified. Choose from following values: ["Scalar", "Vector", "Tensor"]
- 
-==== Using MuPIF Web API ==== 
-  * Using of the web interface is demonstrated on a simple workflow, which already exists in the MuPIF database. In the list of workflows (http://172.23.1.1:5555/workflows) there is this workflow with wid "workflow_13" - click on the link to go to its detail (or click here: http://172.23.1.1:5555/workflows/workflow_13). The page shows the inputs and outputs of this workflow and a link to create a new execution - click on the "Initialize new execution record" and you get to the created execution's detail. Click on "Set inputs and Task_ID" and submit the imput data. This workflow assumes that we provide two numbers. After saving by clicking on "Submit" you can get back to execution record by clicking on the displayed link. Now you can click on "Schedule execution", which should change the status from "Created" to "Pending". After some time (scheduler checks new executions in 30 second period) when the simulation finishes or fails, the page reloads. If the status is "Finished", click on the "Discover outputs" to see the results of this simple calculation. 
  
  
deema/start.txt · Last modified: 2023/12/09 02:50 by stanislavsulc