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

The Google Drive node does not report status when uploading #4

Closed
kdo-sw opened this issue Nov 14, 2017 · 3 comments
Closed

The Google Drive node does not report status when uploading #4

kdo-sw opened this issue Nov 14, 2017 · 3 comments

Comments

@kdo-sw
Copy link

kdo-sw commented Nov 14, 2017

There is no way to know if a file upload was successful or not, which can be the case if there for some reason is no network connection. This prevents cleaning up the local files, because the application never knows when the data has arrived to the cloud.

@brettdaman
Copy link
Contributor

This is by design. @rosogon described the component in Agile-IoT/Architecture#5

Output
The node is a regular output node and MUST NOT provide input to other nodes. This way, it behaves as the stock File node.

@rosogon
Copy link

rosogon commented Nov 15, 2017

According to https://nodered.org/docs/creating-nodes/status:

From Node-RED v0.12.x the Status node can be used to catch any node status updates, for example connect and disconnect messages, in order to trigger other flows.

The Status node sends:

  • text: message shown to the user (to be used to detect errors)
  • source.type: type of node updating status
  • source.id: id of node updating status
  • source.name: name of node updating status

@kdo-sw, do you think the Status node is enough for your needs?

@brettdaman, in your current implementation, could you prepare a list of possible status (including success)? To check if they can be normalized between different implementations.

@brettdaman
Copy link
Contributor

v1.0.2 has an output for status updates.
Please verify if this is sufficient for your use case

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

No branches or pull requests

3 participants