You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampipes.apache.org by "bossenti (via GitHub)" <gi...@apache.org> on 2023/10/19 14:59:07 UTC

[I] Move unit measurement definition to backend

bossenti opened a new issue, #2058:
URL: https://github.com/apache/streampipes/issues/2058

   ### Body
   
   Currently, our measurement units are only defined in the [ui](https://github.com/apache/streampipes/blob/a168786190952bd7f62f020fae2d2e90efb3bd14/ui/src/app/connect/services/unit-provider.service.ts). Let's move them to a dedicated enum in the backend for which we can automatically & continuously generate the typescript representation (see #2055). This would allow us to make use of the measurement units even more.
   
   ### StreamPipes Committer
   
   I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Move unit measurement definition to backend

Posted by "dominikriemer (via GitHub)" <gi...@apache.org>.
dominikriemer closed issue #2058: Move unit measurement definition to backend
URL: https://github.com/apache/streampipes/issues/2058


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Move unit measurement definition to backend

Posted by "bossenti (via GitHub)" <gi...@apache.org>.
bossenti commented on issue #2058:
URL: https://github.com/apache/streampipes/issues/2058#issuecomment-1771313736

   If I'm not mistaken, `streampipes-measurement-utils` only has a fraction of the units available in the frontend...
   
   The REST endpoint is even better 👍


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Move unit measurement definition to backend

Posted by "dominikriemer (via GitHub)" <gi...@apache.org>.
dominikriemer commented on issue #2058:
URL: https://github.com/apache/streampipes/issues/2058#issuecomment-1771292778

   Oh yes, it would be great to remove this from the UI. There should be already everything we need in the backend (in `streampipes-measurement-units`, so no need to define an enum with the units) - we just would need to create a REST interface and some asynchronous loading in the UI.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org