-
Notifications
You must be signed in to change notification settings - Fork 387
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
restore jobs with file #654
restore jobs with file #654
Conversation
@Victorcoder |
8ff5c16
to
ad58bed
Compare
e7d4c77
to
d225497
Compare
Thanks for your work @vision9527 are you still interested in this? |
I'm just in this case. Respect your design philosophy. It's up to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions and rebase with master please
Also modify the |
@vision9527 also you will need to fix conflicts |
@Victorcoder done |
@vision9527 could you write the rationale for creating a job tree. I see some test jobs without dependent jobs. In theory if the jobs were exported with the |
76e2309
to
78b0a74
Compare
Oh, it's my mistake. I change the test jobs code and the endpoint is correct. You can review now. The job tree that has parent job and dependent job can be created with a correct structure. The key is to deal with parent job and dependent job in the endpoint. |
@vision9527 Shouldn't the enpoint in this comment #654 (comment) be just I will ask it in another way, what will happen if we just do: // file: api.go
...
var jobs []*Job
err = json.Unmarshal(data, &jobs)
for _, job := range jobs {
err := a.GRPCClient.SetJob(job)
}
... |
8d51938
to
312e51f
Compare
|
@Victorcoder Please review, bro. |
Many changes in master, please fix conflicts or rebase, and we should be good to go, thanks! |
312e51f
to
b04fecf
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reviewing this again, I left some comments
672b1b8
to
f727cfa
Compare
f727cfa
to
4348306
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
restore jobs with file