whitesource/whitesource-bamboo-agent — pull request #1 by sopel (2012-08-20 03:29:13+00:00)
Title: Added preliminary update of OSS inventory via WSS service client.

Thanks to the recently added TeamCity plugin as well as the recent wss-agent-api update to version 1.1.0, this is almost complete regarding the initial business logic already. Unfortunately the final step is missing currently, the update of the OSS inventory via the WSS service client fails for as of yet unidentified reasons:

```
org.whitesource.api.client.WssServiceException: Server error: null
at org.whitesource.api.client.WssServiceClientImpl.extractResultData(WssServiceClientImpl.java:235)
at org.whitesource.api.client.WssServiceClientImpl.service(WssServiceClientImpl.java:151)
at org.whitesource.api.client.WssServiceClientImpl.updateInventory(WssServiceClientImpl.java:105)
at org.whitesource.api.client.WhitesourceService.update(WhitesourceService.java:73)
at org.whitesource.bamboo.plugins.AgentTask.updateOssInventory(AgentTask.java:91)
```

Worth noting:
* a debugging proxy reveals nothing unusual, but a status code of 3 as additional info (`{"envelopeVersion":"1.0","status":3,"message":"Server error","data":null}`)
* updating via the Maven plugin works just fine, so connectivity as such is not an issue

I need to look at this again after some good rest and will get in touch via mail regarding some other details as well. The pull request can stay open for review/discussion, I'll simply add commits when there are new insights or other improvements available.