Skip to content

Add crud on solution run templates #896

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

Merged
merged 4 commits into from
Mar 21, 2025

Conversation

jreynard-code
Copy link
Member

@jreynard-code jreynard-code commented Mar 21, 2025

Important:

You can now update solution runTemplates via solution update endpoint (/organizations/{organization_id}/solutions/{solution_id}.
Now, If no run Template is specified when a solution update is requested, solution will have empty runTemplates property after update.

Additional endpoints:

As we allowed runTemplates property to be updated when a solution is updated, we added CRUD endpoints for solution runTemplates to manage this property easily:

  • GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates
  • POST /organizations/{organization_id}/solutions/{solution_id}/runTemplates
  • GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}
  • PATCH /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}
  • DELETE /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}

- Remove PATCH /organizations/{organization_id}/solutions/{solution_id}/runTemplates
- Remove DELETE /organizations/{organization_id}/solutions/{solution_id}/runTemplates
- Add GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates
- Add POST /organizations/{organization_id}/solutions/{solution_id}/runTemplates
- Add PATCH /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}
- Add GET /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}
- Add DELETE /organizations/{organization_id}/solutions/{solution_id}/runTemplates/{parameter_group_id}
- Add implementation for these endpoints
- Add RunTemplateCreateRequest and RunTemplateUpdateRequest objects
@jreynard-code jreynard-code requested a review from sjoubert March 21, 2025 15:34
@jreynard-code jreynard-code merged commit 0511604 into main Mar 21, 2025
39 checks passed
@jreynard-code jreynard-code deleted the JREY/add_crud_on_solution_run_templates branch March 21, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants