Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Harmonize domain properties #1243

Closed
flomickl opened this issue Feb 8, 2023 · 2 comments
Closed

Harmonize domain properties #1243

flomickl opened this issue Feb 8, 2023 · 2 comments
Labels
backend Everything that is related to the StreamPipes backend
Milestone

Comments

@flomickl
Copy link
Contributor

flomickl commented Feb 8, 2023

What to change
by default, domainProperties are stored in an ArrayList
grafik
but some methods just allow creating domain properties as a single string input.
This has to be harmonized

  1. Make sure that streamrequirement can read List<URI>
  2. Harmonize all methods in EventPropertyPrimitive and extend input parameters from String domainProperty to List<URI>
  3. change naming of domainProperty to semanticType
  4. EventPropertiyPrimitiveBuilder extend .domainProperty(String domainProperty) to List
  5. EpProperty Double, Integer, Number General, Boolean, Image has only a single string

Output should be something like the EpProperty.longEp with the parameters
(Label label, String runtimeName, List< URI> domainProperty)

In the end it is possible to add / read more than one semanticType


In the required Stream process, you can only ask for single String domainProperty in the methods
https://cwiki.apache.org/confluence/x/i5NbDg

In the EventPropertyBuilder it is also just a single String
https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EventPropertiyPrimitiveBuilder

But some methods in the EpProperty have a List Options

https://cwiki.apache.org/confluence/display/STREAMPIPES/01+Data+in+StreamPipes+%7C+Event+Properties#id-01DatainStreamPipes|EventProperties-EpProperty

Originally posted by @flomickl in #1185

@flomickl flomickl added the backend Everything that is related to the StreamPipes backend label Feb 8, 2023
@flomickl flomickl added this to the 1.0.0 milestone Feb 8, 2023
@bossenti
Copy link
Contributor

bossenti commented Feb 9, 2023

@flomickl can you formulate an expected outcome? That would be great :)

@flomickl
Copy link
Contributor Author

@bossenti hope it is now easier to understand and the output clearer :)

@bossenti bossenti modified the milestones: 0.95.0, 0.97.0 Apr 8, 2024
@dominikriemer dominikriemer closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
backend Everything that is related to the StreamPipes backend
Projects
None yet
Development

No branches or pull requests

3 participants