Skip to main content

SC Legacy Stack (Nuxeo 5.6)

Being Replaced

This stack is the current production SC platform but is actively being replaced by the Nuxeo LTS 2025 Stack. New development should target Nuxeo 2025. See Platform Roadmap for the retirement timeline.


The SC Legacy stack is the current production SureClinical content platform. It consists of:

  • A customized Nuxeo 5.6 Tomcat distribution with SureDMS extension bundles layered in
  • A SureDMS AngularJS dashboard WAR deployed as /dashboard — the legacy SC web client
  • A PostgreSQL database pre-seeded with SC schema, study data, and license records

This is not a stock Nuxeo install. It is a Nuxeo 5.6 Tomcat distribution that has been extensively patched with SureClinical-specific:

  • Extension bundles in nxserver/bundles
  • Support JARs in nxserver/lib and Tomcat lib
  • Nuxeo automation operations (491 operations exposed via /nuxeo/site/automation-ext/)
  • Custom deployment profiles in Tomcat bin
  • A dashboard WAR at /dashboard

Docker Compose Stack: sc

ContainerImagePortRole
nuxeo-applicationsc-internal/sc-docker/sureclinical/suredms-app:latest8080→8080SC Nuxeo 5.6 + SureDMS app server
nuxeo-databasesc-internal/sc-docker/sureclinical/suredms-db:latest5432→5432SC pre-seeded PostgreSQL database

Start the stack

docker compose -f sc/docker-compose.yml up

Access

ServiceURL
SC Dashboard (SureDrive AngularJS)http://localhost:8080/dashboard/
Nuxeo serverhttp://localhost:8080/nuxeo/

SureDMS AngularJS Dashboard — SureDrive

The SC dashboard is the SureDrive application — the legacy AngularJS SC web client. It provides:

  • SureDrive project and study list
  • Document folder navigation
  • Document preview and download
  • Study navigator and document navigator flows
  • Workflow and version management

In the SureCentric Platform context, SureDrive is accessed from the SureDrive card on Project Desktop, embedded via iframe. This keeps the legacy UI accessible without rewriting it immediately.

The SureDrive card will remain active until SureArchive (Angular 16) reaches feature parity and replaces it.


Key SC Nuxeo Extension Modules

The SC Nuxeo 5.6 image includes these SureClinical extension bundles:

ModulePurpose
suredms-nuxeo-mobile-api491 Automation operations (the primary SC API surface)
suredms-nuxeo-doctypesSC document types, schemas, SureNetwork repositories
suredms-nuxeo-securityAuthentication, permissions, ACL resolution
suredms-nuxeo-managementRuntime property access, admin behavior
suredms-nuxeo-projectProject and study logic
suredms-nuxeo-databaseDB schema and persistence
suredms-nuxeo-deployment-profileRuntime deployment patching
suredms-nuxeo-workflow-platformWorkflow engine
suredms-nuxeo-flexFlex/legacy UI bridge
suredms-nuxeo-qualityQuality and discrepancy management
suredms-nuxeo-jasperReport generation

Why Two Nuxeo Stacks Exist Simultaneously

During the migration period, both stacks run in parallel:

StackRole
sc (Nuxeo 5.6)Current production behavior; SureDrive AngularJS; all SC extensions present
nuxeo-webui-2025-local (Nuxeo 2025)Development target; extensions being ported; SureDrive not yet wired in

This is intentional. Running them in parallel:

  • Lets developers validate Nuxeo 2025 without breaking the production-equivalent local stack
  • Keeps SureDrive functional during the porting period
  • Allows incremental migration — port one module at a time, validate on Nuxeo 2025, keep 5.6 as fallback

Both stacks have separate PostgreSQL databases. Until the Nuxeo 2025 extensions are fully ported and validated, the two databases remain separate.


Nuxeo Version Pinning

The SC 5.6 build is explicitly pinned in suredms-project/pom.xml:

<nuxeo.version>5.6</nuxeo.version>
<nuxeo.automation.core.version>5.6.0-HF04-sc20241203</nuxeo.automation.core.version>

This means the SC extension layer cannot run unchanged on Nuxeo 2025 without porting work. The porting effort is tracked against the Nuxeo LTS 2025 Stack and detailed in the Platform Roadmap.


Future Integration — Retirement Path

The SC Legacy stack will be retired in phases:

PhaseMilestone
Phase 1Tier 1 SC extensions ported and running on Nuxeo 2025
Phase 2SureDrive iframe wired to Nuxeo 2025 (not 5.6)
Phase 3Full login + document navigator validated on Nuxeo 2025
Phase 4sc stack retired — Nuxeo 2025 is the only Nuxeo
Phase 5SureArchive (Angular 16) replaces SureDrive iframe

After Phase 4, the SC legacy database (PostgreSQL) is absorbed into the Nuxeo 2025 database, reducing the total PostgreSQL instance count.

See Platform Roadmap for the full timeline and sequencing.