cloudfoundry-community/cf-java-component — pull request #7 by sebge2 (2014-10-30 13:41:20+00:00)
Title: Introduce dashboard client in the catalog

http://docs.cloudfoundry.org/services/api.html the latest version of the API has introduced the notion of dashboard client in the catalog. That object contains the dashboard client id, secret and redirect URI.

I have introduced the annotation DashboardClient that can be used in the annotation Service. Unfortunatelly, because of Java, this field cannot be null by default. So, by default an empty DashboardClient is set. The existing code that uses this API won't be impacted.

```
@ServiceBroker({
@Service(id = SERVICE_ID, name = SERVICE_NAME, description = SERVICE_DESCRIPTION,
plans = {
@ServicePlan(id = PLAN_ID, name = PLAN_NAME, description = PLAN_DESCRIPTION)
}
),
@Service(id = SERVICE_ID_2, name = SERVICE_NAME_2, description = SERVICE_DESCRIPTION,
plans = {},
dashboardClient = @DashboardClient(id = DASHBOARD_CLIENT_ID, secret = DASHBOARD_SECRET,
redirectUri = DASHBOARD_URI))
})
```