-
Notifications
You must be signed in to change notification settings - Fork 84
Get All/Resolve All Feature for Retrieve Action, issue #76 #78
Conversation
Sorry, I wasn't aware of the required DCO claim. I have updated the commit message accordingly. |
@mwittig I think you might still have DCO sign off problems |
fb6d855
to
e988467
Compare
I have changed the sign-off messages to make DCO robot happy. |
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.
Thank you for the contribution. I've left a couple of comments. Could you also add some info to the README.md to show how to use this feature please.
@@ -213,7 +223,12 @@ module.exports = function (RED) { | |||
return businessNetworkConnection.getParticipantRegistry(modelName) | |||
.then((participantRegistry) => { | |||
node.log('got participant registry'); | |||
return participantRegistry.get(id); | |||
if (id == null) { | |||
return assetRegistry.getAll(); |
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.
shouldn't this be partcipantRegistry?
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.
Agree. It's a stupid copy-paste error. I'll fix that as part of the next commit
@@ -213,7 +223,12 @@ module.exports = function (RED) { | |||
return businessNetworkConnection.getParticipantRegistry(modelName) | |||
.then((participantRegistry) => { | |||
node.log('got participant registry'); | |||
return participantRegistry.get(id); | |||
if (id == null) { | |||
return assetRegistry.getAll(); |
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.
You can also do a resolveAll() on a participant registry too
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.
OK. The current release does not handle resolve case for participant retrieval and I thought in the first place it is perhaps not required for participant objects.
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.
I think that's probably a bug so if you could add it as part of your implementation that would be really good
34af6e1
to
58dec66
Compare
Please give some more time to revise the README and the help node texts. |
@mwittig any update on these changes? |
@caroline-church Sorry for the delay at my end. I promise to finish up asap. As I am travelling this week I am shooting for early next week. |
@mwittig It has been month since your last update, are you intending to update your pull request? |
Signed-off-by: marcus <wittigmarcus@gmail.com>
Signed-off-by: marcus <wittigmarcus@gmail.com>
Signed-off-by: marcus <wittigmarcus@gmail.com>
…ve action Signed-off-by: marcus <wittigmarcus@gmail.com>
Signed-off-by: marcus <wittigmarcus@gmail.com>
Signed-off-by: marcus <wittigmarcus@gmail.com>
Sorry for the delay. I think I have covered all your review comments. Regarding your request to "add some info to the README.md to show how to use this feature" I have decided to add some text to the info for the |
See issue #76