blob: 73b2cc783d13070c16069d6c504a5697f1d831cf [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001
2as testid@aaf.att.com
3# TC_NS2.10.0.POS Check for Existing Data
4expect 200
5ns list name com.test.TC_NS2.@[user.name]
6
7# TC_NS2.10.1.POS Create Namespace with valid IDs and Responsible Parties
8expect 201
9ns create com.test.TC_NS2.@[user.name] @[user.name] testid@aaf.att.com
10ns create com.test.TC_NS2.@[user.name].project @[user.name] testunused@aaf.att.com
11
12# TC_NS2.10.10.POS Create role to assign mechid perm to
13expect 201
14role create com.test.TC_NS2.@[user.name].cred_admin testid@aaf.att.com
15
16as XX@NS:<pass>
17# TC_NS2.10.11.POS Assign role to mechid perm
18expect 201
19perm grant com.att.aaf.mechid com.att create com.test.TC_NS2.@[user.name].cred_admin
20
21
22as testid@aaf.att.com
23# TC_NS2.10.70.POS Expect Namespace to be created
24expect 200
25ns list name com.test.TC_NS2.@[user.name]
26
27as testid@aaf.att.com
28# TC_NS2.10.70.POS Expect Namespace to be created
29expect 200
30perm list role com.test.TC_NS2.@[user.name].admin
31
32as testid@aaf.att.com
33# TC_NS2.10.70.POS Expect Namespace to be created
34expect 200
35perm list role com.test.TC_NS2.@[user.name].owner
36
37as testid@aaf.att.com
38# TC_NS2.10.70.POS Expect Namespace to be created
39expect 200
40role list perm com.test.TC_NS2.@[user.name].access * *
41
42as testid@aaf.att.com
43# TC_NS2.10.70.POS Expect Namespace to be created
44expect 200
45role list perm com.test.TC_NS2.@[user.name].access * read
46
47as testid@aaf.att.com
48# TC_NS2.10.80.POS Expect Namespace to be created
49expect 200
50ns list name com.test.TC_NS2.@[user.name].project
51
52as testid@aaf.att.com
53# TC_NS2.10.80.POS Expect Namespace to be created
54expect 200
55perm list role com.test.TC_NS2.@[user.name].project.admin
56
57as testid@aaf.att.com
58# TC_NS2.10.80.POS Expect Namespace to be created
59expect 200
60perm list role com.test.TC_NS2.@[user.name].project.owner
61
62as testid@aaf.att.com
63# TC_NS2.10.80.POS Expect Namespace to be created
64expect 200
65role list perm com.test.TC_NS2.@[user.name].project.access * *
66
67as testid@aaf.att.com
68# TC_NS2.10.80.POS Expect Namespace to be created
69expect 200
70role list perm com.test.TC_NS2.@[user.name].project.access * read
71