{"id":36418858,"url":"https://github.com/icha024/cloudant-spring-boot-starter","last_synced_at":"2026-01-11T17:01:46.529Z","repository":{"id":57718254,"uuid":"50460419","full_name":"icha024/cloudant-spring-boot-starter","owner":"icha024","description":"Cloudant/CouchDB Spring Boot Starter","archived":false,"fork":false,"pushed_at":"2018-07-15T18:50:52.000Z","size":78,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T18:56:26.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icha024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-26T21:27:02.000Z","updated_at":"2022-08-31T12:15:03.000Z","dependencies_parsed_at":"2022-08-24T13:38:21.438Z","dependency_job_id":null,"html_url":"https://github.com/icha024/cloudant-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/icha024/cloudant-spring-boot-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fcloudant-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fcloudant-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fcloudant-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fcloudant-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icha024","download_url":"https://codeload.github.com/icha024/cloudant-spring-boot-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icha024%2Fcloudant-spring-boot-starter/sbom","scorecard":{"id":480228,"data":{"date":"2025-08-11","repo":{"name":"github.com/icha024/cloudant-spring-boot-starter","commit":"4fec4e208f7ca31b6b088520bd6fee4467771d64"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T16:24:56.323Z","repository_id":57718254,"created_at":"2025-08-19T16:24:56.323Z","updated_at":"2025-08-19T16:24:56.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T17:01:46.439Z","updated_at":"2026-01-11T17:01:46.519Z","avatar_url":"https://github.com/icha024.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudant/CouchDB Auto-Configuration for Spring Boot\n[![Build Status](https://travis-ci.org/icha024/cloudant-spring-boot-starter.svg?branch=master)](https://travis-ci.org/icha024/cloudant-spring-boot-starter) [![Coverage Status](https://coveralls.io/repos/github/icha024/cloudant-spring-boot-starter/badge.svg?branch=master)](https://coveralls.io/github/icha024/cloudant-spring-boot-starter?branch=master)\n[![Maven Central](https://img.shields.io/maven-central/v/com.clianz/cloudant-spring-boot-starter.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.clianz%22%20AND%20a%3A%22cloudant-spring-boot-starter%22)\n\nA convienient way to use the [official Cloudant client](https://github.com/cloudant/java-cloudant) with Spring Boot.\n\nCompatible with SpringBoot 2.\n\n## Installing\n**_Maven_**\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.clianz\u003c/groupId\u003e\n  \u003cartifactId\u003ecloudant-spring-boot-starter\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n**_Gradle_**\n```\nrepositories {\n\tmavenCentral()\n}\ndependencies {\n\tcompile('com.clianz:cloudant-spring-boot-starter:2.0.0')\n}\n```\n\n## Previous version\nUse `spring-boot-1.x` branch for the build tested for previous version - `0.9.5`.\n\n## Usage\nInject a database:\n```java\n@Bean\npublic Database mydb(CloudantClient cloudant) {\n\treturn cloudant.database(\"mydb\", true);\n}\n```\nThen start using it:\n```java\n@Autowired\nDatabase mydb;\n```\n```java\nmydb.save(data);\n```\n\n### Using the Cloudant client directly\nAlternatively, you may inject the client for fine-grain controls:\n```java\n@Autowired\nCloudantClient cloudant\n```\n```java\nDatabase db = cloudant.database(\"mydb\", true);\n```\n\n## Configuration\n### Spring Boot Configuration\nConfigurations can be placed in the application.properties (or yml) as usual.\nEither username/password or a URL must be specified.\n```properties\n##### Mandatory: Provide URL or username/password  #####\ncloudant.username=myUserName              #Username as assigned by Cloudant.\ncloudant.password=myPasswd                #Password as assigned by Cloudant.\ncloudant.url=http...                      #Url to CouchDB or a Cloudant instance. Defaults to official Cloudant server.\n\n##### Optional configs #####\ncloudant.account=myAccountName            #Defaults to username if left blank.\ncloudant.proxyURL=http...                 #URL to proxy server.\ncloudant.proxyUser=myUserName             #Proxy username.\ncloudant.proxyPassword=myPasswd           #Proxy password.\ncloudant.connectTimeout=300               #Connect timeout in seconds. Default to 300 sec (5 minutes).\ncloudant.readTimeout=300                  #Read timeout in seconds. Default to 300 sec (5 minutes).\ncloudant.maxConnections=6                 #Default to 6.\ncloudant.disableSSLAuthentication=false   #Defaults to false.\n```\n### Bluemix (CloudFoundry) Configuration\nWhen using Bluemix (CloudFoundry), the client will **automatically use the Cloudant service binded to the app** instead of the Spring configuration.\n\nBluemix's VCAP_SERVICES environment variable containing a Cloudant service will *always* take precedence over any Spring configuration. This is useful - Local development will use the Spring configuration properties, and promoting it to Bluemix will automatically use the environment configured instance. If Spring's configuration is desired, just remove the Cloudant service binding from your Bluemix app.\n\n### CouchDB Compatibility\nSince [Cloudant API is compatible](https://cloudant.com/product/cloudant-features/restful-api/) with Apache CouchDB's API, this client can be used with a regular CouchDB instance. This is useful for things like local development or if you want to host your own service.\n\nTo connect to CouchDB on localhost for example, just set the url:\n```properties\ncloudant.url=http://localhost:5984\n```\n\n### Example\nExample app is available at https://github.com/icha024/cloudant-spring-boot-starter-example\n\n## Requirements\n- Java 1.8+\n- [Official Cloudant client 2.x](https://github.com/cloudant/java-cloudant)    (v2.7.0 is included as transitive dependency) \n\n## License\n\nVersion 2.0 of the Apache License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficha024%2Fcloudant-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficha024%2Fcloudant-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficha024%2Fcloudant-spring-boot-starter/lists"}