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

Refactor NomadService to rely on Builder classes #89

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

abhi18av
Copy link
Member

This PR addresses comments by @jagedn in #87

Ideally, we keep the interface for NomadService minimal.

@abhi18av abhi18av linked an issue Sep 16, 2024 that may be closed by this pull request
@abhi18av abhi18av marked this pull request as draft September 16, 2024 16:02
@jagedn
Copy link
Collaborator

jagedn commented Sep 16, 2024

Maybe the JobBuilder can receive a Task and it creates the job/group/task from it

basically what the service is doing right now but in the builder, so the service only "call the builder 1 time" and receive a Job spec

Copy link
Collaborator

@jagedn jagedn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done
maybe we can migrate also the tests to a new spec

@abhi18av
Copy link
Member Author

Thanks for the review Jorge!

Sure, I'll migrate the tests and finalize the PR soon :)

@jagedn
Copy link
Collaborator

jagedn commented Sep 17, 2024

and them .... create a new -edge version 🔥

@abhi18av abhi18av marked this pull request as ready for review September 18, 2024 10:16
@abhi18av abhi18av merged commit b55dc70 into master Sep 18, 2024
1 check passed
@abhi18av abhi18av deleted the feature/builder-classes branch September 18, 2024 10:17
@abhi18av abhi18av self-assigned this Sep 18, 2024
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.

Refactor NomadService
2 participants