cloudant / java-cloudant

A Java client for Cloudant
Apache License 2.0
79 stars 68 forks source link

Allow custom service name in CloudFoundry VCAP_SERVICES environment variable. #395

Closed smithsz closed 6 years ago

smithsz commented 7 years ago

Thanks for your hard work, please ensure all items are complete before opening.

What

Previously the service name was hard coded as 'cloudantNoSQLDB'. This can now be customised by passing a serviceName parameter to the ClientBuilder.bluemix method.

Testing

Includes additional unit tests.

Issues

Fixes #391.