blob: 8f16a6d495554885f783c36a87501cc0a7d16524 [file] [log] [blame]
Chen, Jackiefa00af92020-06-08 15:37:56 -04001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3..
4.. Copyright (C) 2019 AT&T Intellectual Property
5
6
7User Guide
8==========
9
10This is the user guide of OSC <COMPONENT>.
11
12.. contents::
13 :depth: 3
14 :local:
15
16.. a user guide should be how to use the component or system; it should not be a requirements document
17.. delete this content after edittng it
18
19
20Description
21-----------
22.. Describe the traget users of the projcet, for example, modeler/data scientist, ORAN-OSC platform admin, marketplace user, design studio end user, etc
23.. Descirbe how the target users can get use of a O-RAN SC component.
24.. 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?
25
26Feature Introduction
27--------------------
28.. 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.
29
30
31Onboarding
32-----------
331) Register for an account on login page
342) Verify email via confirmation link that will be sent to your email
353) To access full features, a site admin will have to enable you
36
37Enabling user
38^^^^^^^^^^^^^^
391) Login to a admin account
402) Go to admin -> user management tab that is located on the side bar
413) Locate new user and enable them by clicking the switch on the Enabled column
42
43Group Management
44------------------
45Users can create new groups that allows you to organize and share workflows easily.
46
47Creating new group
48^^^^^^^^^^^^^^^^^^
491) select the group tab (located on the top) and click the + new group sign
50 .. image:: images/group-tab.PNG
51
522) Fill in basic information about the new group
533) Once the group is created, the creator will automatically be a admin for that group
54
55Managing group
56^^^^^^^^^^^^^^^
571) Go to the group you would like to manage via the group tab located on the top
582) select Manage Group Tab via side bar and the following feature will be available
59
60 - Add/remove new users
61 - Create roles with specific permissions
62 - Edit roles
63 - Manage user's roles
64
65
66Uploading A Workflow
67--------------------
68In order to upload a workflow, select the "Test Designer" tab in the left side bar.
69
70.. image:: /images/testDesignerTab.PNG
71
72Once in the Modeler view, on the top left, select the folder icon which will open up the file explorer.
73
74.. image:: /images/folderModeler.PNG
75
76Choose a local bpmn file to upload.
77After the bpmn is loaded into the modeler, go to the "Test Definitions" panel on the right hand side and enter a Name and Description.
78
79.. image:: /images/testDefinitionTabModeler.PNG
80
81By 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.
82Any specific test Input templates can also be included within this panel.
83When finished, the save icon can be pressed in the top bar on the left side to save the actual workflow.
84Next to the save icon is the deploy icon which is used to deploy the workflow.
85
86.. image:: /images/saveAndDeployIcon.PNG
87
88Creating a Test Instance
89------------------------
90A Test Instance can be created for any Test Definition. To start, navigate to the "Test Definitions" tab on the left side panel.
91
92.. image:: /images/testDefinitionTab.PNG
93
94Select 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.
95
96.. image:: /images/testDefinitionPlus.PNG
97
98This action will open up a modal where the properties of the Test Instance are configured.
99If the latest version of the Test Definition workflow would like to be used, the "Latest Version" option should be in the ON position.
100If there is a test Input template, this information can be included during this step.
101For each of the VTH's within the workflow, the specific template properties defined need to be entered.
102After all of the data has been entered, clicking the "Save" button in the bottom right will essentially save the Test Instance.
103
104.. image:: /images/testDefinitionSave.PNG
105
106If the Test Instance would also want to be executed at this point, the "Save and Execute" button can be pressed.
107
108There is an additional way to create a Test Instance that follows similar steps as the process documented above.
109The 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.
110
111.. image:: /images/testInstanceNew.PNG
112
113Executing the Test Instance
114---------------------------
115Executing a Test Instance is a fairly simple process. Executions are completed from the "Test Instances" page found on the left side panel.
116
117.. image:: /images/testInstancesTab.PNG
118
119A singular Test Instance row needs to be selected. Once selected, there is a play button icon that appears in the top right.
120
121.. image:: /images/testInstancePlay.PNG
122
123Clicking the play button will trigger a confirmation window to ensure that the execution is intentional. Once confirmed, the Test Instance will run.
124
125.. image:: /images/testInstanceExecutionConfirm.PNG
126
127After executing, deselect and reselect the same row which will make the execution appear in the right side panel.
128
129.. image:: /images/listExecutionsTI.PNG
130
131View Details of an Execution
132----------------------------
133Once a Test Instance has started running, the execution can be viewed.
134To view the execution, navigate to the "Test Instances" page and select the Test Instance which was ran.
135Once the row containing the instance has been selected, a panel on the right side will open with all of the executions listed.
136
137.. image:: /images/listExecutionsTI.PNG
138
139Select the specific execution which needs to be viewed.
140In 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.
141The "Overview" tab is where information related to the general execution of the instance is found.
142The "Test Head Results" tab is where data associated with the specific test heads in the workflow are found.
143The "Parameters" tab is where the test data and test head inputs can be found.
144The "Execution Job log" and "Execution External Task Log" tabs are logs used to debugging what occurred during the execution.
145The "Execution Variables" tab show all the properties associated with each variable during the execution.
146
147.. image:: /images/executionTabs.PNG
148
149
150