UNCLASSIFIED - NO CUI

Skip to content

Handle dashboard creation

Mark Howard requested to merge handle_dashboard_creation into master
  • Creates a new controller and endpoint for manipulating hygieia dashboards
  • Moves team create/update/delete logic to the hygieia dashboard controller
  • Mark old team endpoints as deprecated, to be removed when frontend is updated
  • Utilizes a basic axios mock for easier testing

The new endpoints will require an API_URL environment variable to be provided that will be the address of the Hygieia API.

For updating the front end to use these new endpoints... The team-service is looking for a request body like this:

{
  "team": {
    "organizationName: string,
    "valueStreamName": string,
    "teamName": string,
    "teamSize: number,
  },
  "dashboard": {
    "codeRepoEntries": [], (items are same as current)
    "featureEntries": [], (items are same as current)
    etc... (no metadata object required)
  }
}
Edited by Mark Howard

Merge request reports