Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / Instructions_for_MTCs / MTC_Appr_README.txt
1 #-------------------------------------------------------------------------------\r
2 # ============LICENSE_START====================================================\r
3 # * org.onap.aaf\r
4 # * ===========================================================================\r
5 # * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6 # * ===========================================================================\r
7 # * Licensed under the Apache License, Version 2.0 (the "License");\r
8 # * you may not use this file except in compliance with the License.\r
9 # * You may obtain a copy of the License at\r
10 # * \r
11 #  *      http://www.apache.org/licenses/LICENSE-2.0\r
12 # * \r
13 #  * Unless required by applicable law or agreed to in writing, software\r
14 # * distributed under the License is distributed on an "AS IS" BASIS,\r
15 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16 # * See the License for the specific language governing permissions and\r
17 # * limitations under the License.\r
18 # * ============LICENSE_END====================================================\r
19 # *\r
20 # * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
21 # *\r
22 #-------------------------------------------------------------------------------\r
23 NOTE: You may find slight differences between this readme doc and your actual output in places such as <YOUR_ATTUID>, times, or other such fields that vary for each run.\r
24 \r
25 Do NOT replace anything inside square brackets such as [user.name] Some commands listed here use this notation, but they are set up to work by just copying & pasting the entire command.\r
26 \r
27 run command:            sh ./tc MTC_Appr1\r
28 you should see:         MTC_Appr1\r
29                                         SUCCESS! [MTC_Appr1.2014-11-03_11-26-26]\r
30 \r
31 \r
32 open a broswer and goto the gui for the machine you're on. For example, this is the home page on test machine zltv1492: \r
33 https://zltv1492.vci.att.com:8085/gui/home \r
34 \r
35 click on My Approvals\r
36 \r
37 click the submit button at the bottom of the form with no approve or deny buttons selected\r
38 \r
39 you should see:     No Approvals have been sent. Try again\r
40 \r
41 click "Try again" link\r
42 \r
43 you should see:     The Approval Request page\r
44 \r
45 NOTE: a radio button is a (filled or unfilled) circle under approve or deny\r
46 click the select all link for approve\r
47 \r
48 you should see:     all radio buttons under approve should be selected\r
49 \r
50 click the select all link for deny\r
51 \r
52 you should see:     all radio buttons under deny should be selected\r
53 \r
54 click the reset button at the bottom of the form\r
55 \r
56 you should see:     NO radio buttons should be selected\r
57 \r
58 Try to select both approve and deny for a single entry\r
59 \r
60 you should:         not be able to\r
61 \r
62 approve or deny entries as you like, then click submit\r
63 \r
64 after you have submitted all approvals, go back to My Approvals page\r
65 \r
66 you should see:     No Approvals to process at this time\r
67 \r
68 in your command line,\r
69 run command:            aafcli ns list name com.test.appr.@[user.name].myProject\r
70 \r
71 NOTE: what you see here will depend on which entries you approved and denied. Included are 2 examples of what you can see:\r
72 \r
73 1) If you approve everything\r
74 \r
75 List Namespaces by Name[com.test.appr.<YOUR_ATTUID>.myProject]\r
76 --------------------------------------------------------------------------------\r
77 com.test.appr.<YOUR_ATTUID>.myProject\r
78     Administrators\r
79         <YOUR_ATTUID>@csp.att.com                                                      \r
80     Responsible Parties\r
81         <YOUR_ATTUID>@csp.att.com                                                      \r
82 \r
83 \r
84 2) If you deny everything\r
85 \r
86 List Namespaces by Name[com.test.appr.<YOUR_ATTUID>.myProject]\r
87 --------------------------------------------------------------------------------\r
88 \r
89 \r
90 run command:            sh ./tc MTC_Appr2 dryrun\r
91 you should see:     a lot of output. It's fine if you see errors for this command.\r
92 \r
93 run command:        aafcli ns list name com.test.appr\r
94 you should see:     List Namespaces by Name[com.test.appr]\r
95 --------------------------------------------------------------------------------\r
96 \r
97 \r
98 run command:        aafcli ns list name com.test.appr.@[user.name]\r
99 you should see:     List Namespaces by Name[com.test.appr.<YOUR_ATTUID>]\r
100 --------------------------------------------------------------------------------\r
101 \r