{"id":18135409,"url":"https://github.com/erudika/para-dao-cassandra","last_synced_at":"2025-04-19T13:57:08.519Z","repository":{"id":10800709,"uuid":"66981183","full_name":"Erudika/para-dao-cassandra","owner":"Erudika","description":"Cassandra DAO plugin for Para","archived":false,"fork":false,"pushed_at":"2024-10-31T12:01:35.000Z","size":233,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T08:24:36.867Z","etag":null,"topics":["backend-services","cassandra","para","plugin"],"latest_commit_sha":null,"homepage":"https://paraio.org","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/Erudika.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-30T22:04:53.000Z","updated_at":"2024-10-31T12:01:37.000Z","dependencies_parsed_at":"2023-12-07T17:41:23.560Z","dependency_job_id":"10e45ed8-f10b-4835-bd07-48cf91df8b68","html_url":"https://github.com/Erudika/para-dao-cassandra","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-dao-cassandra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-dao-cassandra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-dao-cassandra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erudika%2Fpara-dao-cassandra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erudika","download_url":"https://codeload.github.com/Erudika/para-dao-cassandra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249708479,"owners_count":21313941,"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":["backend-services","cassandra","para","plugin"],"created_at":"2024-11-01T14:07:24.458Z","updated_at":"2025-04-19T13:57:08.472Z","avatar_url":"https://github.com/Erudika.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://s3-eu-west-1.amazonaws.com/org.paraio/para.png)\n============================\n\n\u003e ### Apache Cassandra DAO plugin for Para\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.erudika/para-dao-cassandra/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.erudika/para-dao-cassandra)\n[![Join the chat at https://gitter.im/Erudika/para](https://badges.gitter.im/Erudika/para.svg)](https://gitter.im/Erudika/para?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## What is this?\n\n**Para** was designed as a simple and modular back-end framework for object persistence and retrieval.\nIt enables your application to store objects directly to a data store (NoSQL) or any relational database (RDBMS)\nand it also automatically indexes those objects and makes them searchable.\n\nThis plugin allows Para to store data in a Cassandra database.\n\n## Documentation\n\n### [Read the Docs](https://paraio.org/docs)\n\n## Getting started\n\nThe plugin is on Maven Central. Here's the Maven snippet to include in your `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.erudika\u003c/groupId\u003e\n  \u003cartifactId\u003epara-dao-cassandra\u003c/artifactId\u003e\n  \u003cversion\u003e{see_green_version_badge_above}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nAlternatively you can download the JAR from the \"Releases\" tab above put it in a `lib` folder alongside the server\nWAR file `para-x.y.z.war`. Para will look for plugins inside `lib` and pick up the Cassandra plugin.\n\n### Configuration\n\nHere are all the configuration properties for this plugin (these go inside your `application.conf`):\n```ini\npara.cassandra.hosts = \"localhost,remotehost\"\npara.cassandra.port = 9042\npara.cassandra.keyspace = \"myapp\"\npara.cassandra.user = \"user\"\npara.cassandra.password = \"pass\"\npara.cassandra.replication_factor = 1\n\n# SSL configuration\npara.cassandra.ssl_enabled = false\npara.cassandra.ssl_protocols = \"\"\npara.cassandra.ssl_keystore = \"\"\npara.cassandra.ssl_keystore_password = \"\"\npara.cassandra.ssl_truststore = \"\"\npara.cassandra.ssl_truststore_password = \"\"\n```\n\nFinally, set the config property:\n```\npara.dao = \"CassandraDAO\"\n```\nThis could be a Java system property or part of a `application.conf` file on the classpath.\nThis tells Para to use the Cassandra Data Access Object (DAO) implementation instead of the default.\n\n### Schema\n\n**BREAKING CHANGE:** The schema has changed in v1.30.0 - column `json_updates` was added.\n**Execute the following statement before switching to the new version:**\n```sql\nALTER TABLE {app_identifier} ADD json_updates NVARCHAR;\n```\nThis is not required for tables created after v1.30.0.\n\nHere's the schema for each table created by Para:\n```sql\nCREATE TABLE {app_identifier} (\n    id            text PRIMARY KEY,\n    json          text,\n    json_updates  text\n)\n```\n\n### Requirements\n\n- Cassandra Java Driver by DataStax\n- [Para Core](https://github.com/Erudika/para)\n\n## License\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferudika%2Fpara-dao-cassandra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferudika%2Fpara-dao-cassandra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferudika%2Fpara-dao-cassandra/lists"}