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

Add a start and stop compiler endpoints #18

Merged
merged 5 commits into from
Apr 29, 2022

Conversation

azu-b
Copy link
Contributor

@azu-b azu-b commented Apr 22, 2022

Description

It adds two new endpoints: /start-compiler and stop-compiler. They can be used to manually start and stop a specific compiler.

Context / Why are we making this change?

These endpoints will give users more control of the things they have compiled.

Testing and QA Plan

  1. Pull this branch: abarraza_WEBPLAT-4421_start-and-stop-compiler-endpoints
  2. Use the local copy of Kevin middleware using yarnpkg link
  3. Run your server.
  4. Use the new endpoints to start and stop a compiler.

Impact

This change adds new functionality to Kevin. It doesn't affect what existed before these commits.

azu-b added 5 commits April 12, 2022 18:31
This commit creates an endpoint that accepts POST requests with the name
of a compiler that will be stopped.
As with the /stop-compiler endpoint, this accepts a POST request
Kevin has a maximum of compilers that can be active, so with this change
the endpoint will not start anything if the maximum has been reached.
@azu-b azu-b requested a review from a team April 22, 2022 17:27
@azu-b azu-b merged commit c7557f1 into master Apr 29, 2022
@azu-b azu-b deleted the abarraza_WEBPLAT-4421_start-and-stop-compiler-endpoints branch April 29, 2022 19:09
@azu-b azu-b mentioned this pull request Apr 29, 2022
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