[AAF-21] Initial code import
[aaf/authz.git] / authz-test / TestSuite / Instructions_for_MTCs / MTC_Appr_README.txt
diff --git a/authz-test/TestSuite/Instructions_for_MTCs/MTC_Appr_README.txt b/authz-test/TestSuite/Instructions_for_MTCs/MTC_Appr_README.txt
new file mode 100644 (file)
index 0000000..058508a
--- /dev/null
@@ -0,0 +1,102 @@
+#-------------------------------------------------------------------------------\r
+# ============LICENSE_START====================================================\r
+# * org.onap.aai\r
+# * ===========================================================================\r
+# * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
+# * Copyright © 2017 Amdocs\r
+# * ===========================================================================\r
+# * Licensed under the Apache License, Version 2.0 (the "License");\r
+# * you may not use this file except in compliance with the License.\r
+# * You may obtain a copy of the License at\r
+# * \r
+#  *      http://www.apache.org/licenses/LICENSE-2.0\r
+# * \r
+#  * Unless required by applicable law or agreed to in writing, software\r
+# * distributed under the License is distributed on an "AS IS" BASIS,\r
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# * See the License for the specific language governing permissions and\r
+# * limitations under the License.\r
+# * ============LICENSE_END====================================================\r
+# *\r
+# * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
+# *\r
+#-------------------------------------------------------------------------------\r
+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
+\r
+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
+\r
+run command:           sh ./tc MTC_Appr1\r
+you should see:                MTC_Appr1\r
+                                       SUCCESS! [MTC_Appr1.2014-11-03_11-26-26]\r
+\r
+\r
+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
+https://zltv1492.vci.att.com:8085/gui/home \r
+\r
+click on My Approvals\r
+\r
+click the submit button at the bottom of the form with no approve or deny buttons selected\r
+\r
+you should see:     No Approvals have been sent. Try again\r
+\r
+click "Try again" link\r
+\r
+you should see:     The Approval Request page\r
+\r
+NOTE: a radio button is a (filled or unfilled) circle under approve or deny\r
+click the select all link for approve\r
+\r
+you should see:     all radio buttons under approve should be selected\r
+\r
+click the select all link for deny\r
+\r
+you should see:     all radio buttons under deny should be selected\r
+\r
+click the reset button at the bottom of the form\r
+\r
+you should see:     NO radio buttons should be selected\r
+\r
+Try to select both approve and deny for a single entry\r
+\r
+you should:         not be able to\r
+\r
+approve or deny entries as you like, then click submit\r
+\r
+after you have submitted all approvals, go back to My Approvals page\r
+\r
+you should see:     No Approvals to process at this time\r
+\r
+in your command line,\r
+run command:           aafcli ns list name com.test.appr.@[user.name].myProject\r
+\r
+NOTE: what you see here will depend on which entries you approved and denied. Included are 2 examples of what you can see:\r
+\r
+1) If you approve everything\r
+\r
+List Namespaces by Name[com.test.appr.<YOUR_ATTUID>.myProject]\r
+--------------------------------------------------------------------------------\r
+com.test.appr.<YOUR_ATTUID>.myProject\r
+    Administrators\r
+        <YOUR_ATTUID>@csp.att.com                                                      \r
+    Responsible Parties\r
+        <YOUR_ATTUID>@csp.att.com                                                      \r
+\r
+\r
+2) If you deny everything\r
+\r
+List Namespaces by Name[com.test.appr.<YOUR_ATTUID>.myProject]\r
+--------------------------------------------------------------------------------\r
+\r
+\r
+run command:           sh ./tc MTC_Appr2 dryrun\r
+you should see:     a lot of output. It's fine if you see errors for this command.\r
+\r
+run command:        aafcli ns list name com.test.appr\r
+you should see:     List Namespaces by Name[com.test.appr]\r
+--------------------------------------------------------------------------------\r
+\r
+\r
+run command:        aafcli ns list name com.test.appr.@[user.name]\r
+you should see:     List Namespaces by Name[com.test.appr.<YOUR_ATTUID>]\r
+--------------------------------------------------------------------------------\r
+\r