CDLUC3 / dmsp_rails_prototype

Prototype DMSP Rails7 API app
0 stars 0 forks source link

Build out Template Model #9

Open briri opened 8 months ago

briri commented 8 months ago

Define what information we need to store for templates

Build the templates table in RDS and the corresponding scaffolding (Model, Controller, Policy).

Build the templates_questions FKey table

Build the template_overlays table

Templates should have a family_id and be versional (use a model concern for this)

Create the default template(s).

Define how we will handle conditional logic here.

A Template Overlay is a series of additional tags/questions an Org can create for a template.

When fetching a Template that has Overlays, the Rails app should be able to fetch the published Template and then simply merge the Overlay.

Refer to the Define Data Model ticket on the dmsp_aws_prototype repo.

Build RSpec tests!