Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-32632

times-square: add domain model for pages (notebook templates)

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Following the design set in https://sqr-062.lsst.io, this ticket will focus on the domain model and storage of page (parameterized Jupyter notebooks that are rendered as web-accessible HTML pages). Goals are:

      • Set up SQL database, including middleware and testing infastructure
      • Domain model and services for maintaining registered notebook pages
      • Services for syncing notebooks from GitHub repositories using a GitHub App (following the work we've done with semaphore)
      • v1 API endpoints for managing pages

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            This PR sets up the service, domain layer, and storage layers for handling parameterized notebooks, and well as the v1/ endpoints for managing notebooks and getting HTML-rendered pages.

            Highlights:

            • Adds asyncio-based SQLAlchemy with a storage layer on top
            • PageStorage
            • PageService
            • Page domain model and a PageParmater domain model that validates parameters based on a JSON schema
            • Render templated notebooks using Jinja and nbformat
            • Convert notebooks to HTML using nbconvert
            Show
            jsick Jonathan Sick added a comment - This PR sets up the service, domain layer, and storage layers for handling parameterized notebooks, and well as the v1/ endpoints for managing notebooks and getting HTML-rendered pages. Highlights: Adds asyncio-based SQLAlchemy with a storage layer on top PageStorage PageService Page domain model and a PageParmater domain model that validates parameters based on a JSON schema Render templated notebooks using Jinja and nbformat Convert notebooks to HTML using nbconvert

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.