Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/Provision API #249

Open
Ben-Hodgkiss opened this issue Jan 21, 2025 · 1 comment
Open

/Provision API #249

Ben-Hodgkiss opened this issue Jan 21, 2025 · 1 comment

Comments

@Ben-Hodgkiss
Copy link
Contributor

Overview

Following the Pipeline API workshop day, we have now identified and prioritised the different APIs that are required to remove the Providers team dependency on datasette.

This ticket is to create the /provision API. At the workshop, we identified the following criteria for this that can be found on this Google sheet.

Method GET
Path /provision

Inputs

Required Optional
organisation
dataset

Outputs

Existing New
organisation provision_reason
organisation_name
dataset
active_endpoint_count
error_endpoint_count

Datasette Tables

provision_summary

Tech Approach

To be completed during Refinement.

Acceptance Criteria

  • [] API created to query on the Provision table
  • [] Queries can filter on organisation and dataset
  • [] Output includes organisation, organisation_name, dataset, active_endpoint_count and error_endpoint_count

Resourcing & Dependencies

  • Developer to attend the Providers Stand-Up on Tuesdays and Thursdays (they do not need to attend the Infra Stand-Up on these days).
  • Providers to offer support including pair programming and PR reviewing.
@Ben-Hodgkiss Ben-Hodgkiss moved this from Backlog to Refine, Prioritise & Plan in Infrastructure Jan 22, 2025
@eveleighoj
Copy link
Contributor

The provision table is an output of the specification data. In order to tackle this we'll need to consider publishing the generated specification to s3 into a bucket for the API to access. We'll likely need to do this for a few things but. think about the approach.

Counts are mentioned above, counts are not present on the normal provsion table so I'd assume it's a different provision summary table?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Refine, Prioritise & Plan
Development

No branches or pull requests

2 participants