Skip to content

feat: add enterprise tooling module#30

Open
grantf04 wants to merge 1 commit into
SCIBASE-AI:mainfrom
grantf04:enterprise-tooling
Open

feat: add enterprise tooling module#30
grantf04 wants to merge 1 commit into
SCIBASE-AI:mainfrom
grantf04:enterprise-tooling

Conversation

@grantf04
Copy link
Copy Markdown

@grantf04 grantf04 commented May 9, 2026

@algora-pbc /claim #19

Closes #19

What this adds

Adds a self-contained enterprise-tooling/ module for institutional admin dashboards, contributor/usage/productivity/compliance analytics, secure API catalogs, webhooks, export pipelines, JSON APIs, tests, and a reviewer dashboard.

Requirement mapping

  • Admin dashboards → implemented by buildAdminDashboard with organization-wide project overview, department metrics, contributor analytics, usage stats, productivity metrics, compliance status, and custom tags.
  • API integrations → implemented by buildRestApiCatalog with secure REST routes, scopes, and integration metadata for DSpace, Canvas, Benchling, and ORCID-style sync.
  • Webhooks → implemented by createWebhookEvent with structured project publication payloads and enabled delivery targets.
  • Export pipelines → implemented by buildExportPipeline for Zenodo/PubMed/arXiv/bioRxiv/funder-style handoffs.
  • Formatting plugins and preserved metadata → represented by target plugin lists plus DOI, ORCID, citation, version history, and funder mandate preservation.
  • Reviewer dashboard and API smoke tests → implemented in src/server.js plus public/ static UI.
  • Tests → implemented in test/enterprise-core.test.js.

How to verify in under 5 minutes

cd enterprise-tooling
npm test
npm start

Open http://localhost:4132 and verify the dashboard shows enterprise metrics, integrations, compliance rows, and export metadata.

Optional API smoke checks:

curl -s http://localhost:4132/api/dashboard
curl -s http://localhost:4132/api/enterprise/webhook-preview
curl -s "http://localhost:4132/api/enterprise/export-preview?target=Zenodo&format=JATS"

Validation

Commands run:

  • npm test - 4 tests passing
  • curl -s http://localhost:4132/api/dashboard - returns 3 projects, 4 integrations, and Zenodo export target
  • curl -s http://localhost:4132/api/enterprise/webhook-preview - returns project.published with 3 delivery targets
  • curl -i -s http://localhost:4132/package.json - returns 404 without crashing the server
  • Browser demo verified at http://127.0.0.1:4132/: admin dashboard, API/webhooks, compliance, and export pipeline panels render with 0 console errors
  • ffprobe verified the committed demo video is 1280x760 and 8 seconds long

Demo

Scope

This PR is intentionally self-contained under enterprise-tooling/ and avoids unrelated root-level changes except adding the module link to the root README.

@grantf04
Copy link
Copy Markdown
Author

grantf04 commented May 9, 2026

@algora-pbc /claim #19

@grantf04
Copy link
Copy Markdown
Author

grantf04 commented May 9, 2026

/claim #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enterprise Tooling

1 participant