Skip to main content

LSMC Dewey canonical artifact registry service

Project description

Dewey

Dewey is the canonical artifact registry and artifact-resolution service in this workspace.

It owns:

  • artifact identity and metadata
  • artifact-set identity and membership
  • artifact resolution and storage metadata lookup
  • share-reference issuance
  • external object links to artifacts and artifact sets

It does not own:

  • customer release visibility decisions
  • Atlas storage policy authority
  • Bloom or Ursa execution state

Runtime Shape

Primary package: dewey_service

Primary entrypoints:

  • app factory: dewey_service.app:create_app
  • CLI command: dewey

The service exposes both API routes and a small Cognito-backed operator UI.

API Surface

Current routes:

  • GET /api/v1/artifacts
  • GET /api/v1/artifacts/{artifact_euid}
  • POST /api/v1/artifacts
  • POST /api/v1/artifacts/import
  • GET /api/v1/artifact-sets
  • GET /api/v1/artifact-sets/{artifact_set_euid}
  • POST /api/v1/artifact-sets
  • POST /api/v1/artifact-sets/{artifact_set_euid}/members
  • DELETE /api/v1/artifact-sets/{artifact_set_euid}/members/{artifact_euid}
  • POST /api/v1/resolve/artifact
  • POST /api/v1/resolve/artifact-set
  • POST /api/v1/share-references
  • POST /api/v1/external-objects
  • POST /api/v1/external-object-relations
  • GET /api/v1/{target_type}/{target_euid}/external-object-relations

UI/auth routes:

  • /login
  • /auth/login
  • /auth/callback
  • /ui
  • POST /logout

Auth

  • API routes require Authorization: Bearer <token>
  • mutating API routes require Idempotency-Key
  • operator UI uses Cognito Hosted UI session auth

CLI Surface

Primary root commands:

  • dewey version
  • dewey info
  • dewey config
  • dewey env

Primary plugin groups:

  • dewey server: start the API/UI server
  • dewey db: build, seed, reset Dewey on top of TapDB
  • dewey test, dewey quality

Quick Start

source ./activate
pip install -e .[dev]
dewey config init
dewey db build --target local
dewey server start --port 8914

HTTPS is mandatory. Place certs at certs/cert.pem and certs/key.pem before starting the server.

dewey config show now prints raw YAML. Use dewey config status to inspect merged runtime settings.

Use tapdb directly for shared DB/runtime lifecycle and daycog directly for shared Cognito lifecycle. Dewey keeps only Dewey-specific overlay build/seed/reset behavior.

Literature search/save flows require metapub to be installed separately from the forked source repo identified for this workspace. Dewey keeps that dependency optional at runtime and will return a clear 503 on literature endpoints when it is not installed.

Current Docs

Historical cutover planning lives in docs/ as background only.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dewey_service-0.2.0.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dewey_service-0.2.0-py3-none-any.whl (67.0 kB view details)

Uploaded Python 3

File details

Details for the file dewey_service-0.2.0.tar.gz.

File metadata

  • Download URL: dewey_service-0.2.0.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dewey_service-0.2.0.tar.gz
Algorithm Hash digest
SHA256 433fa1b38fd9f2e4585cee5703fa015b97c4be85f67c9b4c31c4ebeacfd92a67
MD5 d173ffdb13a43015ba92e44c12c87e5f
BLAKE2b-256 2b0e2faa7025c02532cfefce249f314c1ccb5a521740f141c53bbac288cc3032

See more details on using hashes here.

File details

Details for the file dewey_service-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dewey_service-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for dewey_service-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91b603614943dfe869dbdb15a6263256cb871f259ff8048d5d464ca3c5055b91
MD5 d5db50d2eeb4c1480acb9b848d1355cd
BLAKE2b-256 bfa93d46a92ba2cf53a0a2bf439f7a6c87b409c08fcbd11f64cda305be4720f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page