Skip to content

About Project

Bubbl is client case management for a support-services provider. Staff keep client records, complete intakes, log incidents and occurrences, set goals, schedule appointments, share documents and work together in staff spaces.

About the project

Bubbl is client case management for a support-services provider. Staff use it to keep client records, complete intakes with consent signatures, log incidents and occurrences with follow-ups, set goals, schedule appointments, manage contacts, share documents and work in staff spaces, conversations and announcements.

It also provides CalDAV and CardDAV device sync, client fact-sheet PDFs, and export and import of tenant data. Bubbl is multi-tenant, with one keyspace per tenant.

Role in the estate

  • Redfly signs staff in (phone code plus TOTP), issues device app passwords and sends SMS digests.
  • Bubbl’s outbox keeps copies of its records in Redfly’s master database; FairFeather delivers each entry.
  • FairFeather also runs Bubbl’s Cassandra repair and nightly encrypted snapshots.
  • Bubbl embeds Cassandra, Solr, SunLink and SeaWave, and listens on HTTPS port 8446.

Runtime

  • JDK 17 and Kotlin 2.2.21 (the template’s kotlin.version is overridden to 2.2.21).
  • Spring Boot 4.1.3 (spring-boot-starter-parent), with the Maven wrapper included.
  • Group id ca.odssbc, version 0.0.1-SNAPSHOT, built with Maven as a flat JAR plus an assembly zip.
  • Kept starters: Cassandra, Data Cassandra, Mustache, Pulsar, Security, OAuth2 client, Spring Session (Redis), WebMVC, WebSocket and Jackson Kotlin.
  • Removed starters: AMQP, Kafka and Kafka Streams, along with their test starters. Pulsar is the only message broker.
  • Package root ca.odssbc.bubbl, built from template/bubbl-spring-template.zip.
  • Views are Mustache, under bundle/views/.
  • Cassandra 5.0.9 runs inside the app JVM on 127.0.0.1:9042, and Spring Session uses the embedded SeaWave on 127.0.0.1:6379.

Deployment

  • StatefulSet bubbl with 3 replicas and a headless service, with PVCs for Cassandra and Solr.
  • The ingress terminates public TLS and routes <subdomain>.<bubbl domain> to 8446 with no session affinity, because SeaWave replicates sessions.

Dependencies

Embedded (in-process)

  • Solr 9.11.0
  • Cassandra 5.0.9
  • SunLink
  • SeaWave

Libraries

  • Apache Shiro
  • The Pulsar client
  • redfly-client
  • An S3 SDK
  • An OpenBao (Vault-API) client

External

  • Redfly
  • FairFeather (through Pulsar)
  • OpenBao
  • S3-compatible storage

Build and packaging

  • Maven, producing a flat JAR repackage and an assembly zip.
  • Dependency versions are the latest stable at build time.