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

Remove and refactor rest protobuf types #1296

Merged
merged 2 commits into from
Sep 4, 2019

Conversation

krhubert
Copy link
Contributor

@krhubert krhubert commented Sep 3, 2019

  • remove filter and condition types
  • move filter tests to process
  • replace process type
  • replace event type
  • replace execution type
  • add missing hash and validation tags
  • fix hash tags

close #1283
close #1282
close #1281

@krhubert krhubert added this to the next milestone Sep 3, 2019
@krhubert krhubert self-assigned this Sep 3, 2019
@krhubert krhubert force-pushed the refactor/drop-rest-custom-types branch 2 times, most recently from d38180a to fc94bff Compare September 3, 2019 12:44
- remove filter and condition types
- move filter tests to process
- replace process type
- replace event type
- replace execution type
- add missing hash and validation tags
- fix hash tags
- lint
@krhubert krhubert force-pushed the refactor/drop-rest-custom-types branch from fc94bff to 23a72fc Compare September 3, 2019 19:50
@krhubert
Copy link
Contributor Author

krhubert commented Sep 3, 2019

I've tested all service commands and found that service:logs dosent' work, @antho1404 can you confrim it?

return err
}
}
warnings, err := s.ValidateTaskInputs(taskKey, in)
Copy link
Member

Choose a reason for hiding this comment

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

will it be possible to update the function ValidateTaskInputs and co to accept directly *types.Struct?

Copy link
Member

Choose a reason for hiding this comment

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

I guess it will be possible and maybe even better for the type casting as struct.Value seems to already manage type.

@NicolasMahe
Copy link
Member

NicolasMahe commented Sep 4, 2019

I've tested all service commands and found that service:logs dosent' work, @antho1404 can you confrim it?

yeah logs is broken.. but it is not because of this PR. it doesn't work on dev branch as well. i will investigate. Fixed in mesg-foundation/cli#148.

Otherwise this PR is working well. I'm approving 👍

@krhubert krhubert merged commit c275a29 into dev Sep 4, 2019
@krhubert krhubert deleted the refactor/drop-rest-custom-types branch September 4, 2019 05:39
@NicolasMahe NicolasMahe added the release:change Pull requests that change something existant label Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring release:change Pull requests that change something existant
Projects
None yet
3 participants