{"id":22401860,"url":"https://github.com/lewiswatson/couchbase-spring-cache-demo","last_synced_at":"2025-08-10T16:13:09.476Z","repository":{"id":83481821,"uuid":"170696132","full_name":"LewisWatson/couchbase-spring-cache-demo","owner":"LewisWatson","description":"Example Spring Boot app using couchbase-spring-cache library, which is an \"An implementation for Spring Cache based on Couchbase Java SDK 2.x\".","archived":false,"fork":false,"pushed_at":"2019-02-18T06:40:47.000Z","size":316,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-27T00:30:20.478Z","etag":null,"topics":["couchbase","couchbase-spring-cache","spring-boot","spring-cache"],"latest_commit_sha":null,"homepage":null,"language":null,"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/LewisWatson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-14T13:32:13.000Z","updated_at":"2019-02-18T06:40:48.000Z","dependencies_parsed_at":"2023-07-09T23:03:08.462Z","dependency_job_id":null,"html_url":"https://github.com/LewisWatson/couchbase-spring-cache-demo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LewisWatson/couchbase-spring-cache-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcouchbase-spring-cache-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcouchbase-spring-cache-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcouchbase-spring-cache-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcouchbase-spring-cache-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LewisWatson","download_url":"https://codeload.github.com/LewisWatson/couchbase-spring-cache-demo/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LewisWatson%2Fcouchbase-spring-cache-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269748302,"owners_count":24469119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["couchbase","couchbase-spring-cache","spring-boot","spring-cache"],"created_at":"2024-12-05T09:09:13.061Z","updated_at":"2025-08-10T16:13:09.468Z","avatar_url":"https://github.com/LewisWatson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Couchbase Spring Cache Demo\n\nExample Spring Boot app using [couchbase-spring-cache] library, which is an \"An implementation for Spring Cache based on Couchbase Java SDK 2.x\".\n\nObservations:\n\n- [Java Serialization] is used to store values as a binary document. Therefore they will only be readable by similar JVM's on the other end.\n- Document keys are made up of `cache::\u003ccache-name\u003e::\u003ckey\u003e`\n\n![screenshot](screenshot.png)\n\n## Integration Tests\n\n### Run Integration Tests\n\nA couchbase test server is required in order to run the integration tests. Instructions to set up such a server are provided in [Docker Couchbase Test Server](#DockerCouchbaseTestServer).\n\n```bash\n./gradlew test\n```\n\n### Docker Couchbase Test Server\n\n1. spin up container\n\n    ```bash\n    docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase:6.0.0\n    ```\n\n1. Visit [http://localhost:8091](http://localhost:8091) on the host machine to see the Web Console\n1. Walk through the Setup wizard and accept the default values.\n   - You may need to disable analytics if the defaults won't run in your environment.\n1. Add a `dog_cache` bucket with default settings.\n1. Navigate to `Security -\u003e Add User` to create a new user called `dog_cache`, with password `password`, and `Application Access` permissions on `dog_cache` bucket.\n\nFor further information on the couchbase container, see [dockerhub.com/couchbase].\n\n[Couchbase]: https://www.couchbase.com/\n[Spring Data Couchbase]: https://spring.io/projects/spring-data-couchbase\n[couchbase-spring-cache]: https://github.com/couchbaselabs/couchbase-spring-cache\n[Spring Cache]: https://spring.io/guides/gs/caching/\n[Java Serialization]: https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html\n[dockerhub.com/couchbase]: https://hub.docker.com/_/couchbase","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiswatson%2Fcouchbase-spring-cache-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flewiswatson%2Fcouchbase-spring-cache-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flewiswatson%2Fcouchbase-spring-cache-demo/lists"}