aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/pom.xml
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2019-07-12 17:51:59 +0100
committerwaqas.ikram <waqas.ikram@est.tech>2019-07-12 17:53:15 +0100
commit785c77ae295b287678d4842269222c31b3e4c330 (patch)
tree74ce534ef8a42dbdb1093973c95be562f23b8e24 /adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/pom.xml
parent4f7af8bab030fc3d331816a706dd0a9e2974c455 (diff)
Fixing ASDCRestInterface for CSIT to simulate SDC req
Change-Id: I6331d08441b9bf1f621f56ec1b7d911851010e62 Issue-ID: SO-1948 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'adapters/mso-vnfm-adapter/mso-vnfm-etsi-adapter/pom.xml')
0 files changed, 0 insertions, 0 deletions
ground-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# TC_Cred1.30.1.NEG Multiple options available to delete
as XX@NS
expect 201
user cred add m99990@@[user.name].TC_Cred1.test.com pass23Word

as testid@aaf.att.com
expect 201
user cred add m99990@@[user.name].TC_Cred1.test.com pass23worD

# TC_Cred1.30.2.POS Succeeds when we choose last option
expect 200
user cred del m99990@@[user.name].TC_Cred1.test.com 2

# TC_Cred1.30.10.POS Add another credential
expect 201
user cred add m99990@@[user.name].TC_Cred1.test.com password123

# TC_Cred1.30.11.NEG Multiple options available to reset
expect 300
user cred reset m99990@@[user.name].TC_Cred1.test.com password123

# TC_Cred1.30.12.NEG Fails when we choose a bad option
expect 406
user cred reset m99990@@[user.name].TC_Cred1.test.com password123 0 

# TC_Cred1.30.13.POS Succeeds when we choose last option
expect 200
user cred reset m99990@@[user.name].TC_Cred1.test.com password123 2

#TC_Cred1.30.30.NEG Fails when we don't have specific property
expect 403
user cred extend m99990@@[user.name].TC_Cred1.test.com 

#### EXTENDS behavior ####
#TC_Cred1.30.32.POS Setup Temp Role for Extend Permission
expect 201
as XX@NS
role create com.test.TC_Cred1.@[user.name].extendTemp

#TC_Cred1.30.33.POS Grant Extends Permission to Role
expect 201
perm grant com.att.aaf.password com.att extend com.test.TC_Cred1.@[user.name].extendTemp 

#TC_Cred1.30.35.POS Add current User to Temp Role for Extend Permission
expect 201
role user add com.test.TC_Cred1.@[user.name].extendTemp XX@NS

#TC_Cred1.30.36.POS Extend Password, expecting Single Response
expect 200
user cred extend m99990@@[user.name].TC_Cred1.test.com 1

#TC_Cred1.30.39.POS Remove Role
expect 200
set force=true
role delete com.test.TC_Cred1.@[user.name].extendTemp

#### MULTI CLEANUP #####
expect 200
role list user m99990@@[user.name].TC_Cred1.test.com 

# TC_Cred1.30.80.POS Delete all entries for this cred
expect 200
set force=true
user cred del m99990@@[user.name].TC_Cred1.test.com 

# TC_Cred1.30.99.POS List ns shows no creds attached
expect 200
ns list name com.test.TC_Cred1.@[user.name]