Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Saturn
-
Fix Version/s: Saturn
-
Component/s: Reporting (Outbound Datafeeds)
-
Labels:None
-
Environment:
Ops script: ops-scripts-3.0.1-BETA1-bin.zip
-
Sprint:Sprint 3, Sprint 4
Description
Exception seen on setting Distribution Reseller Properties for Bing and YahooJapan.
On running setupStack.sh script for Bing and YJ the following exception is seen.
Bing:
[amlops@aml-qa4-monman1 groovy]$ groovy setupStack.groovy -dh aml-qa4-front1 -dl 8080 -u readwrite
DEBUG - Provided Options:
-dh: aml-qa4-front1
-dl: 8080
-u: readwrite
DEBUG - Base path: http://aml-qa4-front1:8080/distribution/rest/
Enter the password for readwrite:
Would you like to set any stack level properties for Bing y
These are the current stack level properties for Bing
Current tracking properties :
NOT SET
Updated tracking properties :
null
Would you like to save these new settings? y
Caught: groovyx.net.http.HttpResponseException: Unsupported Media Type
groovyx.net.http.HttpResponseException: Unsupported Media Type
at groovyx.net.http.RESTClient.defaultFailureHandler(RESTClient.java:240)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:508)
at groovyx.net.http.RESTClient.put(RESTClient.java:162)
at groovyx.net.http.RESTClient$put.call(Unknown Source)
at setupStack.run(setupStack.groovy:158)
Yahoo:
[amlops@aml-qa4-monman1 groovy]$ groovy setupStack.groovy -dh aml-qa4-front1 -dl 8080 -u readwrite
DEBUG - Provided Options:
-dh: aml-qa4-front1
-dl: 8080
-u: readwrite
DEBUG - Base path: http://aml-qa4-front1:8080/distribution/rest/
Enter the password for readwrite:
Would you like to set any stack level properties for Bing n
Would you like to set any stack level properties for Google n
Would you like to set any stack level properties for YahooJapan y
These are the current stack level properties for YahooJapan
Current tracking properties :
NOT SET
Updated tracking properties :
null
Would you like to save these new settings? y
Caught: groovyx.net.http.HttpResponseException: Unsupported Media Type
groovyx.net.http.HttpResponseException: Unsupported Media Type
at groovyx.net.http.RESTClient.defaultFailureHandler(RESTClient.java:240)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:508)
at groovyx.net.http.RESTClient.put(RESTClient.java:162)
at groovyx.net.http.RESTClient$put.call(Unknown Source)
at setupStack.run(setupStack.groovy:158)
Actual Result: Exceptions should not be seen
Expected Result:
No tracking support planned for B and YJ.
But there should not be any exception on running the script for B and YJ.