OpenNTF/SocialSDK — pull request #422 by markewallace (2013-08-21 17:32:24+00:00)
Title: Add new getClientParams method and support to emit these from the library servlet

E.g. SmartCloud endpoints now emit the isSmartCloud
property as follows:
'smartcloudOA2':new Endpoint({"authType":"oauth","authenticator":new
OAuth({"url":"https:\/\/localhost:8443\/sbt.sample.web\/service\/oauth_jsauth\/smartcloudOA2"}),"proxyPath":"smartcloudOA2","isAuthenticated":false,"isSmartCloud":true,"transport":new
Transport({}),"name":"smartcloudOA2","authenticationErrorCode":403,"baseUrl":"https:\/\/apps.lotuslive.com","apiVersion":"3.0","proxy":new
Proxy({proxyUrl:'https://localhost:8443/sbt.sample.web/service/proxy'})}),

Also the exception message from checkValid is emitted as the ErrorTransport message not to aid diagnosing when an ErrorTransport is added e.g.
'twitter':new Endpoint({"invalid":"true","transport":new ErrorTransport('twitter','The Endpoint consumer key is empty, class class com.ibm.sbt.services.endpoints.TwitterOAuthEndpoint')})
'domino':new Endpoint({"invalid":"true","transport":new ErrorTransport('domino','The Endpoint url is empty, class class com.ibm.sbt.services.endpoints.DominoBasicEndpoint')}),