Commit a6de7356 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix on AMSService on pics check

parent 719d4daf
...@@ -233,7 +233,7 @@ Post Expire Notification ...@@ -233,7 +233,7 @@ Post Expire Notification
*** Keywords *** *** Keywords ***
Get Registered AMS information Get Registered AMS information
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
...@@ -243,7 +243,7 @@ Get Registered AMS information ...@@ -243,7 +243,7 @@ Get Registered AMS information
Get Registered AMS information using attribute-selector Get Registered AMS information using attribute-selector
[Arguments] ${key} ${value} [Arguments] ${key} ${value}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
...@@ -253,7 +253,7 @@ Get Registered AMS information using attribute-selector ...@@ -253,7 +253,7 @@ Get Registered AMS information using attribute-selector
Get Registered AMS information using bad parameters Get Registered AMS information using bad parameters
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
...@@ -264,7 +264,7 @@ Get Registered AMS information using bad parameters ...@@ -264,7 +264,7 @@ Get Registered AMS information using bad parameters
Create a new application mobility service Create a new application mobility service
[Arguments] ${content} [Arguments] ${content}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
...@@ -276,7 +276,7 @@ Create a new application mobility service ...@@ -276,7 +276,7 @@ Create a new application mobility service
Get Subscriptions for registered AMS Get Subscriptions for registered AMS
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions
...@@ -286,7 +286,7 @@ Get Subscriptions for registered AMS ...@@ -286,7 +286,7 @@ Get Subscriptions for registered AMS
Get Subscriptions for registered AMS with wrong attbirube parameter Get Subscriptions for registered AMS with wrong attbirube parameter
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions?subscriptionTyp=${SUBSCRIPTION_TYPE} Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions?subscriptionTyp=${SUBSCRIPTION_TYPE}
...@@ -297,7 +297,7 @@ Get Subscriptions for registered AMS with wrong attbirube parameter ...@@ -297,7 +297,7 @@ Get Subscriptions for registered AMS with wrong attbirube parameter
Post a new notification subscription Post a new notification subscription
[Arguments] ${content} [Arguments] ${content}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
...@@ -311,7 +311,7 @@ Post a new notification subscription ...@@ -311,7 +311,7 @@ Post a new notification subscription
Get individual subscription for AMS services Get individual subscription for AMS services
[Arguments] ${content} [Arguments] ${content}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${content} Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${content}
...@@ -321,7 +321,7 @@ Get individual subscription for AMS services ...@@ -321,7 +321,7 @@ Get individual subscription for AMS services
Delete individual subscription for AMS services Delete individual subscription for AMS services
[Arguments] ${content} [Arguments] ${content}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${content} Get ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${content}
${output}= Output response ${output}= Output response
...@@ -330,7 +330,7 @@ Delete individual subscription for AMS services ...@@ -330,7 +330,7 @@ Delete individual subscription for AMS services
Update individual subscription for AMS services Update individual subscription for AMS services
[Arguments] ${identifier} ${content} [Arguments] ${identifier} ${content}
Should Be True ${PIC_AMS} == '1' Should Be True ${PIC_AMS} == 1
Set Headers {"Accept":"application/json"} Set Headers {"Accept":"application/json"}
Set Headers {"Content-Type":"application/json"} Set Headers {"Content-Type":"application/json"}
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment