{"id":14972946,"url":"https://github.com/spring-projects/spring-session-data-mongodb","last_synced_at":"2025-10-19T11:30:17.968Z","repository":{"id":46886176,"uuid":"92311470","full_name":"spring-projects/spring-session-data-mongodb","owner":"spring-projects","description":"Spring Session for MongoDB","archived":false,"fork":false,"pushed_at":"2023-12-05T22:23:08.000Z","size":19545,"stargazers_count":49,"open_issues_count":26,"forks_count":34,"subscribers_count":27,"default_branch":"main","last_synced_at":"2024-09-28T16:41:26.034Z","etag":null,"topics":["mongodb","spring-session"],"latest_commit_sha":null,"homepage":"https://spring.io/projects/spring-session-data-mongodb","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/spring-projects.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.adoc","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.adoc","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-24T16:05:56.000Z","updated_at":"2024-09-02T08:48:13.000Z","dependencies_parsed_at":"2023-02-01T10:16:31.800Z","dependency_job_id":null,"html_url":"https://github.com/spring-projects/spring-session-data-mongodb","commit_stats":null,"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-session-data-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-session-data-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-session-data-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-session-data-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-projects","download_url":"https://codeload.github.com/spring-projects/spring-session-data-mongodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869249,"owners_count":16555572,"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","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":["mongodb","spring-session"],"created_at":"2024-09-24T13:47:48.096Z","updated_at":"2025-10-19T11:30:17.962Z","avatar_url":"https://github.com/spring-projects.png","language":"Java","readme":"WARNING: This repository is no longer active because Spring Session MongoDB has been moved into https://github.com/spring-projects/spring-session[Spring Session]!\n\nhttps://spring.io/projects/spring-session-data-mongodb[Spring Session for MongoDB] is part of the Spring Session umbrella.\n\nimage:https://jenkins.spring.io/buildStatus/icon?job=spring-session-data-mongodb%2Fmaster\u0026subject=Corn%20(master)[link=https://jenkins.spring.io/view/SpringData/job/spring-session-data-mongodb/]\nimage:https://jenkins.spring.io/buildStatus/icon?job=spring-session-data-mongodb%2F2.1.x\u0026subject=Bean%20(2.1.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-session-data-mongodb/]\nimage:https://jenkins.spring.io/buildStatus/icon?job=spring-session-data-mongodb%2F2.0.x\u0026subject=Apple%20(2.0.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-session-data-mongodb/]\n\n= Spring Session MongoDB\n\nSpring Session MongoDB provides a solution for Spring Session in a MongoDB data store.\n\n* Accessing a session from any environment (i.e. web, messaging infrastructure, etc)\n* In a web environment\n** Support for clustering in a vendor neutral way\n** Pluggable strategy for determining the session id\n** Easily keep the HttpSession alive when a WebSocket is active\n\n== Project Status\n\nWe go to great lengths to ensure smooth upgrades. We also seek to make your upgrade on major versions of Java can be as smooth\nas possible.\n\n[IMPORTANT]\n====\n* Spring Session for MongoDB 2.2.x runs on Spring Framework 5.2.\n* Spring Session for MongoDB  2.1.x runs on Spring Framework 5.1.\n\nBoth of these have support for *JDK 11*.\n\nSpring Session for MongoDB *2.0* runs on Spring Framework 5.0 and is NOT supported on *JDK 11* despite\nour pipelines testing against it. The extra tests are designed to give you a smooth upgrade path. If you are going into production on\nJDK 11, you should be using at least Spring Session for MongoDB *2.1*.\n====\n\nIMPORTANT: *JDK 13* is Java's latest version and is unstable. We are testing against it to catch issues early on, but don't support it directly on any version of Spring Session for MongoDB.\n\n== Building Spring Session MongoDB\n\n. Run `./mvnw clean package`\n\nThis will generate the artifact.\n\nYou can also import the project into your IDE.\n\n== Making a release\n\n1. Create a new release (on the main branch).\n+\n----\n% ci/create-release.sh \u003crelease version\u003e \u003cnext snapshot version\u003e\n----\n+\n2. With the release tagged, push the tagged version to the release branch.\n+\n----\n% git checkout -b release\n% git reset --hard \u003ctag\u003e\n% git push -f origin release\n----\n\nNOTE: You can chain the previous set of commands together using `\u0026\u0026`.\n\nThe pipeline will build and release the \"release\" branch. It will also build a new a new snapshot and stage it on artifactory.\n\nThe pipeline will pick up the next tag and release it. It will also build a new snapshot and stage it on artifactory.\n\n=== Running CI tasks locally\n\nSince the pipeline uses Docker, it's easy to:\n\n* Debug what went wrong on your local machine.\n* Test out a a tweak to your `test.sh` script before sending it out.\n* Experiment against a new image before submitting your pull request.\n\nAll of these use cases are great reasons to essentially run what Jenkins does on your local machine.\n\nIMPORTANT: To do this you must have Docker installed on your machine.\n\n1. `docker run -it --mount type=bind,source=\"$(pwd)\",target=/spring-session-data-mongodb-github adoptopenjdk/openjdk8:latest /bin/bash`\n+\nThis will launch the Docker image and mount your source code at `spring-session-data-mongodb-github`.\n+\n2. `cd spring-session-data-mongodb-github`\n+\nNext, run the `test.sh` script from inside the container:\n+\n2. `PROFILE=none ci/test.sh`\n\nSince the container is binding to your source, you can make edits from your IDE and continue to run build jobs.\n\nIf you need to test the `build.sh` script, then do this:\n\n1. `docker run -it --mount type=bind,source=\"$(pwd)\",target=/spring-session-data-mongodb-github --mount type=bind,source=\"/tmp/spring-session-data-mongodb-artifactory\",target=/spring-session-data-mongodb-artifactory adoptopenjdk/openjdk8:latest /bin/bash`\n+\nThis will launch the Docker image and mount your source code at `spring-session-data-mongodb-github` and the temporary\nartifactory output directory at `spring-session-data-mongodb-artifactory`.\n+\nNext, run the `build.sh` script from inside the container:\n+\n2. `ci/build.sh`\n\nIMPORTANT: `build.sh` will attempt to push to Artifactory. If you don't supply credentials, it will fail.\n\nNOTE: Docker containers can eat up disk space fast! From time to time, run `docker system prune` to clean out old images.\n\n== Code of Conduct\nThis project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].\nBy participating, you  are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.\n\n= Spring Session Project Site\n\nYou can find the documentation, issue management, support, samples, and guides for using Spring Session MongoDB at https://projects.spring.io/spring-session-data-mongodb/\n\n= License\n\nSpring Session is Open Source software released under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-session-data-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-projects%2Fspring-session-data-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-session-data-mongodb/lists"}