mitodl / ol-data-platform

Pipeline definitions for managing data flows to power analytics at MIT Open Learning
BSD 3-Clause "New" or "Revised" License
37 stars 6 forks source link

Update DEDP program certificates model to not use hard-coded program name #738

Closed rachellougee closed 1 year ago

rachellougee commented 1 year ago

Description/Context

There will be a new DEDP Program "Public Policy" launches on 6/28, and the existing DEDP program name will likely be changed as part of the launch. https://github.com/mitodl/hq/issues/1662

There are some hard-coded program names Data, Economics and Development Policy in the intermediate MicroMasters program certificate model. That logic will break once the course team updates the existing DEDP program name, so we need to update that to use dedp_micromasters_program_id (2) and dedp_mitxonline_program_id (1) since the primary ID will unlikely be changed

Plan/Design

Update the hardcoded DEDP program title in the intermediate MicroMasters program certificate model

rachellougee commented 1 year ago

https://github.com/mitodl/ol-data-platform/pull/747 is merged and code is deployed