added documentation and updated VTHs
[it/otf.git] / docs / user-guide.rst
index e4e423b..8f16a6d 100644 (file)
-.. This work is licensed under a Creative Commons Attribution 4.0 International License.
-.. http://creativecommons.org/licenses/by/4.0
-..
-.. Copyright (C) 2019 AT&T Intellectual Property
-
-
-User Guide
-==========
-
-This is the user guide of OSC <COMPONENT>.
-
-.. contents::
-   :depth: 3
-   :local:
-
-..  a user guide should be how to use the component or system; it should not be a requirements document
-..  delete this content after edittng it
-
-
-Description
------------
-.. Describe the traget users of the projcet, for example, modeler/data scientist, ORAN-OSC platform admin, marketplace user, design studio end user, etc
-.. Descirbe how the target users can get use of a O-RAN SC component.
-.. If the guide contains sections on third-party tools, is it clearly stated why the O-RAN-OSC platform is using those tools? Are there instructions on how to install and configure each tool/toolset?
-
-Feature Introduction
---------------------
-.. Provide enough information that a user will be able to operate the feature on a deployed scenario. content can be added from administration, management, using, Troubleshooting sections perspectives.
-
-
-
-    
-
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.\r
+.. http://creativecommons.org/licenses/by/4.0\r
+..\r
+.. Copyright (C) 2019 AT&T Intellectual Property\r
+\r
+\r
+User Guide\r
+==========\r
+\r
+This is the user guide of OSC <COMPONENT>.\r
+\r
+.. contents::\r
+   :depth: 3\r
+   :local:\r
+\r
+..  a user guide should be how to use the component or system; it should not be a requirements document\r
+..  delete this content after edittng it\r
+\r
+\r
+Description\r
+-----------\r
+.. Describe the traget users of the projcet, for example, modeler/data scientist, ORAN-OSC platform admin, marketplace user, design studio end user, etc\r
+.. Descirbe how the target users can get use of a O-RAN SC component.\r
+.. If the guide contains sections on third-party tools, is it clearly stated why the O-RAN-OSC platform is using those tools? Are there instructions on how to install and configure each tool/toolset?\r
+\r
+Feature Introduction\r
+--------------------\r
+.. Provide enough information that a user will be able to operate the feature on a deployed scenario. content can be added from administration, management, using, Troubleshooting sections perspectives.\r
+\r
+\r
+Onboarding\r
+-----------\r
+1) Register for an account on login page\r
+2) Verify email via confirmation link that will be sent to your email\r
+3) To access full features, a site admin will have to enable you\r
+\r
+Enabling user\r
+^^^^^^^^^^^^^^\r
+1) Login to a admin account\r
+2) Go to admin -> user management tab that is located on the side bar\r
+3) Locate new user and enable them by clicking the switch on the Enabled column\r
+\r
+Group Management\r
+------------------\r
+Users can create new groups that allows you to organize and share workflows easily.\r
+\r
+Creating new group\r
+^^^^^^^^^^^^^^^^^^\r
+1) select the group tab (located on the top) and click the + new group sign\r
+    .. image:: images/group-tab.PNG\r
+\r
+2) Fill in basic information about the new group\r
+3) Once the group is created, the creator will automatically be a admin for that group\r
+\r
+Managing group\r
+^^^^^^^^^^^^^^^\r
+1) Go to the group you would like to manage via the group tab located on the top\r
+2) select Manage Group Tab via side bar and the following feature will be available\r
+\r
+    - Add/remove new users\r
+    - Create roles with specific permissions\r
+    - Edit roles\r
+    - Manage user's roles\r
+\r
+\r
+Uploading A Workflow\r
+--------------------\r
+In order to upload a workflow, select the "Test Designer" tab in the left side bar.\r
+\r
+.. image:: /images/testDesignerTab.PNG\r
+\r
+Once in the Modeler view, on the top left, select the folder icon which will open up the file explorer.\r
+\r
+.. image:: /images/folderModeler.PNG\r
+\r
+Choose a local bpmn file to upload.\r
+After the bpmn is loaded into the modeler, go to the "Test Definitions" panel on the right hand side and enter a Name and Description.\r
+\r
+.. image:: /images/testDefinitionTabModeler.PNG\r
+\r
+By default, the group currently selected in the platform will be associated with the workflow. If a different group is desired, that can be selected also within the "Test Definition" panel on the right hand side.\r
+Any specific test Input templates can also be included within this panel.\r
+When finished, the save icon can be pressed in the top bar on the left side to save the actual workflow.\r
+Next to the save icon is the deploy icon which is used to deploy the workflow.\r
+\r
+.. image:: /images/saveAndDeployIcon.PNG\r
+\r
+Creating a Test Instance\r
+------------------------\r
+A Test Instance can be created for any Test Definition. To start, navigate to the "Test Definitions" tab on the left side panel.\r
+\r
+.. image:: /images/testDefinitionTab.PNG\r
+\r
+Select the specific Test Definition that would need a Test Instance. Once a single row (Test Definition) is selected, click the plus icon in the top right.\r
+\r
+.. image:: /images/testDefinitionPlus.PNG\r
+\r
+This action will open up a modal where the properties of the Test Instance are configured.\r
+If the latest version of the Test Definition workflow would like to be used, the "Latest Version" option should be in the ON position.\r
+If there is a test Input template, this information can be included during this step.\r
+For each of the VTH's within the workflow, the specific template properties defined need to be entered.\r
+After all of the data has been entered, clicking the "Save" button in the bottom right will essentially save the Test Instance.\r
+\r
+.. image:: /images/testDefinitionSave.PNG\r
+\r
+If the Test Instance would also want to be executed at this point, the "Save and Execute" button can be pressed.\r
+\r
+There is an additional way to create a Test Instance that follows similar steps as the process documented above.\r
+The difference is that the "New" button in the top right of the "Test Instances" page is selected. Once the modal pops up, the specific Test Definition that is being used will be selected here.\r
+\r
+.. image:: /images/testInstanceNew.PNG\r
+\r
+Executing the Test Instance\r
+---------------------------\r
+Executing a Test Instance is a fairly simple process. Executions are completed from the "Test Instances" page found on the left side panel.\r
+\r
+.. image:: /images/testInstancesTab.PNG\r
+\r
+A singular Test Instance row needs to be selected. Once selected, there is a play button icon that appears in the top right.\r
+\r
+.. image:: /images/testInstancePlay.PNG\r
+\r
+Clicking the play button will trigger a confirmation window to ensure that the execution is intentional. Once confirmed, the Test Instance will run.\r
+\r
+.. image:: /images/testInstanceExecutionConfirm.PNG\r
+\r
+After executing, deselect and reselect the same row which will make the execution appear in the right side panel.\r
+\r
+.. image:: /images/listExecutionsTI.PNG\r
+\r
+View Details of an Execution\r
+----------------------------\r
+Once a Test Instance has started running, the execution can be viewed.\r
+To view the execution, navigate to the "Test Instances" page and select the Test Instance which was ran.\r
+Once the row containing the instance has been selected, a panel on the right side will open with all of the executions listed.\r
+\r
+.. image:: /images/listExecutionsTI.PNG\r
+\r
+Select the specific execution which needs to be viewed.\r
+In the execution viewer, the workflow can be seen at the top. When a box has been completed successfully, it will appear green. If it has not been completed, it will appear white. If it has failed, it will appear red.\r
+The "Overview" tab is where information related to the general execution of the instance is found.\r
+The "Test Head Results" tab is where data associated with the specific test heads in the workflow are found.\r
+The "Parameters" tab is where the test data and test head inputs can be found.\r
+The "Execution Job log" and "Execution External Task Log" tabs are logs used to debugging what occurred during the execution.\r
+The "Execution Variables" tab show all the properties associated with each variable during the execution.\r
+\r
+.. image:: /images/executionTabs.PNG\r
+\r
+\r
+\r