Skip to content

Questions about the promise modules protocol #4481

Answered by olehermanse
amousset asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, @amousset!

Thanks for testing out promise modules, a complete overview of what is currently implemented and what is missing can be found in the epic:

https://tracker.mender.io/browse/CFE-1939

In the python implementation I read:

evaluate_promise should return either a result or a (result, result_classes) pair

But don't see that mentioned in the specs (only the result field). Is it part of the protocol?

Thank you for pointing this out. I have updated the spec here:

#4482

Common attribute 'action' not implemented for custom promises (git)

Correct, ticket to implement is here: https://tracker.mender.io/browse/CFE-3433

But when testing, it appears the promise_type parameter is not p…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@amousset
Comment options

@olehermanse
Comment options

@olehermanse
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by amousset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants