Upgrade to latest oparent
[aaf/authz.git] / authz-test / TestSuite / TC_NSdelete1 / 10_init
1 as testid@aaf.att.com
2 # TC_NSdelete1.10.0.POS Check for Existing Data
3 expect 200
4 ns list name com.test.TC_NSdelete1.@[user.name].app
5 ns list name com.test.force.@[user.name]
6 ns list name com.@[user.name]
7
8 as XX@NS
9 # TC_NSdelete1.10.1.POS Create Namespaces with valid IDs and Responsible Parties
10 expect 201
11 ns create com.test.TC_NSdelete1.@[user.name].app @[user.name] testid@aaf.att.com
12 ns create com.@[user.name] @[user.name] testid@aaf.att.com
13 ns create com.test.force.@[user.name] @[user.name] testid@aaf.att.com
14 ns create com.test.TC_NSdelete1.@[user.name] @[user.name] testid@aaf.att.com
15
16 # TC_NSdelete1.10.2.POS Expect Namespace to be created
17 expect 200
18 ns list name com.test.TC_NSdelete1.@[user.name].app 
19 ns list name com.test.TC_NSdelete1.@[user.name]
20 ns list name com.@[user.name]
21 ns list name com.test.force.@[user.name]
22
23 # TC_NSdelete1.10.10.POS Create role to assign mechid perm to
24 expect 201
25 role create com.test.TC_NSdelete1.@[user.name].cred_admin
26
27 # TC_NSdelete1.10.11.POS Assign role to mechid perm
28 expect 201
29 perm grant com.att.aaf.mechid com.att create com.test.TC_NSdelete1.@[user.name].cred_admin
30
31 as testid@aaf.att.com
32 # TC_NSdelete1.10.12.POS Assign user for creating creds
33 expect 201
34 user role add testid@aaf.att.com com.test.TC_NSdelete1.@[user.name].cred_admin
35